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

Commit 8f543418 authored by quddusc's avatar quddusc
Browse files

docs: Fixed deprecated constructor.

Bug: 10581815

Change-Id: I057acf1ad3037418c7247f865b6cb0847a9eb7b6
parent 7cd6cd31
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.