summaryrefslogtreecommitdiffstats
path: root/docs/html
diff options
context:
space:
mode:
authorquddusc <quddusc@google.com>2013-12-20 22:59:05 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-12-20 22:59:05 +0000
commit12182bc236dd8e120a1f25d1a1862db744425558 (patch)
tree936421489d1650a7c7e2c669b0e9890fb0b87b49 /docs/html
parent240aca333e340445f977d2a0e268a7c8d3a591e0 (diff)
parent8f5434183ead0c36e1f10d40897e585c9b7cafca (diff)
downloadframeworks_base-12182bc236dd8e120a1f25d1a1862db744425558.zip
frameworks_base-12182bc236dd8e120a1f25d1a1862db744425558.tar.gz
frameworks_base-12182bc236dd8e120a1f25d1a1862db744425558.tar.bz2
Merge "docs: Fixed deprecated constructor. Bug: 10581815" into klp-docs
Diffstat (limited to 'docs/html')
-rw-r--r--docs/html/tools/testing/activity_test.jd5
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.