am bb6316db: am 5938b9a0: am 5ad0e628: am 12182bc2: Merge "docs: Fixed deprecated constructor. Bug: 10581815" into klp-docs

* commit 'bb6316db12418c3f010f8c730f6d4644920bbe8a':
  docs: Fixed deprecated constructor. Bug: 10581815
This commit is contained in:
quddusc
2013-12-26 23:49:45 +00:00
committed by Android Git Automerger

View File

@@ -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.