diff options
| author | quddusc <quddusc@google.com> | 2013-12-20 14:07:45 -0800 |
|---|---|---|
| committer | quddusc <quddusc@google.com> | 2013-12-20 14:07:45 -0800 |
| commit | 8f5434183ead0c36e1f10d40897e585c9b7cafca (patch) | |
| tree | 589a9ecfacce937053724b8c79683d66c07f7fd8 /docs/html/tools/testing | |
| parent | 7cd6cd3178b8fb3b25a2c2ddeaff2733bfab9f43 (diff) | |
| download | frameworks_base-8f5434183ead0c36e1f10d40897e585c9b7cafca.zip frameworks_base-8f5434183ead0c36e1f10d40897e585c9b7cafca.tar.gz frameworks_base-8f5434183ead0c36e1f10d40897e585c9b7cafca.tar.bz2 | |
docs: Fixed deprecated constructor.
Bug: 10581815
Change-Id: I057acf1ad3037418c7247f865b6cb0847a9eb7b6
Diffstat (limited to 'docs/html/tools/testing')
| -rw-r--r-- | docs/html/tools/testing/activity_test.jd | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/html/tools/testing/activity_test.jd b/docs/html/tools/testing/activity_test.jd index 2d1a5bf..036407a 100644 --- a/docs/html/tools/testing/activity_test.jd +++ b/docs/html/tools/testing/activity_test.jd @@ -443,12 +443,11 @@ import com.android.example.spinner.SpinnerActivity; </p> <pre> public SpinnerActivityTest() { - super("com.android.example.spinner", SpinnerActivity.class); + super(SpinnerActivity.class); } // end of SpinnerActivityTest constructor definition </pre> <p> - This calls the superclass constructor with the Android package name (<code>com.android.example.spinner</code>)and main activity's class - (<code>SpinnerActivity.class</code>) for the application under test. Android uses this information to find the application and activity to test. + This calls the superclass constructor with the main activity's class (<code>SpinnerActivity.class</code>) for the application under test. Android uses this information to find the application and activity to test. </p> <p> You are now ready to add tests, by adding test methods to the class. |
