summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-01-19 14:29:43 -0800
committercretin45 <cretin45@gmail.com>2015-01-19 14:29:43 -0800
commit48ca24eb9b92c9b62970c3a12e963f497fc65bbc (patch)
tree22fd632ddb0216535656ce636159e11432850995 /tests
parent74ca6faf3aca5658e163a8f3930b67cfeb646698 (diff)
downloadpackages_apps_SetupWizard-48ca24eb9b92c9b62970c3a12e963f497fc65bbc.zip
packages_apps_SetupWizard-48ca24eb9b92c9b62970c3a12e963f497fc65bbc.tar.gz
packages_apps_SetupWizard-48ca24eb9b92c9b62970c3a12e963f497fc65bbc.tar.bz2
SetupWizard: Add Cyanogen services page
Change-Id: I39970b1b659a3a7ed3bb5b4350707aa0e53aba24
Diffstat (limited to 'tests')
-rw-r--r--tests/Android.mk4
-rw-r--r--tests/res/values/strings.xml2
-rw-r--r--tests/src/com/cyanogenmod/account/tests/ManualTestActivity.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/Android.mk b/tests/Android.mk
index c67fc99..9444a01 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -9,9 +9,9 @@ LOCAL_JAVA_LIBRARIES := android.test.runner
# Include all test java files.
LOCAL_SRC_FILES := $(call all-java-files-under, src)
-LOCAL_PACKAGE_NAME := CMSetupWizardTests
+LOCAL_PACKAGE_NAME := CyanogenSetupWizardTests
LOCAL_CERTIFICATE := platform
-LOCAL_INSTRUMENTATION_FOR := CMSetupWizard
+LOCAL_INSTRUMENTATION_FOR := CyanogenSetupWizard
include $(BUILD_PACKAGE)
diff --git a/tests/res/values/strings.xml b/tests/res/values/strings.xml
index 94d85cb..b396dd8 100644
--- a/tests/res/values/strings.xml
+++ b/tests/res/values/strings.xml
@@ -15,7 +15,7 @@
limitations under the License.
-->
<resources>
- <string name="app_test">CMSetupWizard Test</string>
+ <string name="app_test">SetupWizard Test</string>
<string name="enable_setup">Enable Setup Wizard</string>
<string name="enable_google_setup">Enable Google Setup Wizard</string>
</resources>
diff --git a/tests/src/com/cyanogenmod/account/tests/ManualTestActivity.java b/tests/src/com/cyanogenmod/account/tests/ManualTestActivity.java
index 1e4adef..9caf5a1 100644
--- a/tests/src/com/cyanogenmod/account/tests/ManualTestActivity.java
+++ b/tests/src/com/cyanogenmod/account/tests/ManualTestActivity.java
@@ -51,7 +51,7 @@ public class ManualTestActivity extends Activity {
Intent intent = new Intent("android.intent.action.MAIN");
intent.addCategory("android.intent.category.HOME");
final PackageManager pm = getPackageManager();
- ComponentName componentName = new ComponentName("com.cyanogenmod.account", "com.cyanogenmod.account.ui.SetupWizardActivity");
+ ComponentName componentName = new ComponentName("com.cyanogenmod.setupwizard", "com.cyanogenmod.setupwizard.ui.SetupWizardActivity");
pm.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP);
componentName = new ComponentName("com.google.android.setupwizard", "com.google.android.setupwizard.SetupWizardActivity");
pm.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP);