diff options
author | Xia Wang <xiaw@google.com> | 2010-05-17 12:01:18 -0700 |
---|---|---|
committer | Xia Wang <xiaw@google.com> | 2010-05-17 12:08:05 -0700 |
commit | 0b90d76ef8640378c8906226175a8080064b8f11 (patch) | |
tree | 2485ac2a066f578f30081e445047c857e3f3609a | |
parent | eb8f850d0b7e53956e917fd9645f808c1a09bc88 (diff) | |
download | frameworks_base-0b90d76ef8640378c8906226175a8080064b8f11.zip frameworks_base-0b90d76ef8640378c8906226175a8080064b8f11.tar.gz frameworks_base-0b90d76ef8640378c8906226175a8080064b8f11.tar.bz2 |
ConnectivityManagerTestActivity can be launched from launcher.
Help to track bug 2680352.
Add a resource file for string.
Corrent some typos.
Change-Id: I42fefe49c360168ec807ed82dc220ab68681d14e
-rw-r--r-- | core/tests/ConnectivityManagerTest/AndroidManifest.xml | 10 | ||||
-rw-r--r-- | core/tests/ConnectivityManagerTest/res/values/strings.xml | 4 |
2 files changed, 10 insertions, 4 deletions
diff --git a/core/tests/ConnectivityManagerTest/AndroidManifest.xml b/core/tests/ConnectivityManagerTest/AndroidManifest.xml index c318577..5480993 100644 --- a/core/tests/ConnectivityManagerTest/AndroidManifest.xml +++ b/core/tests/ConnectivityManagerTest/AndroidManifest.xml @@ -24,17 +24,19 @@ <application> <uses-library android:name="android.test.runner" /> <activity android:name="ConnectivityManagerTestActivity" - android:label="CMTest"> + android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> - <category android:name="android.intent.category.TEST" /> + <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> <!-- This declares that this app uses the instrumentation test runner targeting - the package of browserpowertest. To run the tests use the command: - "adb shell am instrument -w com.android.connectivitymanagertest/.ConnectivityManagerTestRunner" + the package of connectivitymanagertest. To run the tests use the command: + "adb shell am instrument -e ssid <SSID> -w + com.android.connectivitymanagertest/.ConnectivityManagerTestRunner", + the access point <SSID> should be an open AP. --> <instrumentation android:name=".ConnectivityManagerTestRunner" android:targetPackage="com.android.connectivitymanagertest" diff --git a/core/tests/ConnectivityManagerTest/res/values/strings.xml b/core/tests/ConnectivityManagerTest/res/values/strings.xml new file mode 100644 index 0000000..fb6e82f --- /dev/null +++ b/core/tests/ConnectivityManagerTest/res/values/strings.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="app_name">ConnectivityManagerTest</string> +</resources> |