Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5938b9a0 authored by quddusc's avatar quddusc Committed by Android Git Automerger
Browse files

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

* commit '5ad0e628':
  docs: Fixed deprecated constructor. Bug: 10581815
parents 39b79982 5ad0e628
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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.