Bug 1395370: Add deprecation to BaseTest. r=nechen
authorMichael Comella <michael.l.comella@gmail.com>
Mon, 23 Oct 2017 09:20:34 -0700
changeset 685762 a684fee00172988f384f79f74814ff9fcbc8069e
parent 685761 5129a4cc02b95dd53f295027e000823a1f6050c5
child 685763 41053a4acfa1b0abecbf32392259b1f32c843eac
push id86016
push userkgupta@mozilla.com
push dateWed, 25 Oct 2017 01:53:44 +0000
reviewersnechen
bugs1395370
milestone58.0a1
Bug 1395370: Add deprecation to BaseTest. r=nechen MozReview-Commit-ID: J6Kl14vkNdX
mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/BaseTest.java
--- a/mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/BaseTest.java
+++ b/mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/BaseTest.java
@@ -41,18 +41,21 @@ import android.widget.EditText;
 import android.widget.ListAdapter;
 import android.widget.TextView;
 
 import com.robotium.solo.Condition;
 import com.robotium.solo.Timeout;
 
 /**
  *  A convenient base class suitable for most Robocop tests.
+ *
+ *  This class is <strong>deprecated</strong>: please use {@link UITest} instead.
  */
 @SuppressWarnings("unchecked")
+@Deprecated
 abstract class BaseTest extends BaseRobocopTest {
     private static final int VERIFY_URL_TIMEOUT = 2000;
     private static final int MAX_WAIT_ENABLED_TEXT_MS = 15000;
     private static final int MAX_WAIT_HOME_PAGER_HIDDEN_MS = 15000;
     private static final int MAX_WAIT_VERIFY_PAGE_TITLE_MS = 15000;
     public static final int MAX_WAIT_MS = 4500;
     public static final int LONG_PRESS_TIME = 6000;
     private static final int GECKO_READY_WAIT_MS = 180000;