Bug 907624 - Change testTabHistory to inherit from BaseTest (r=gbrown)
authorLucas Rocha <lucasr@mozilla.com>
Thu, 22 Aug 2013 12:44:05 +0100
changeset 143865 ce310c31ae66aad4aa8c34f81b9d4be97f3c64a6
parent 143864 25f0a3b012ff7a4ba938c15d726a36b16cf364ae
child 143866 c9b8531aa5cbf242de817a6c45afb99a4622c830
push id25142
push userryanvm@gmail.com
push dateThu, 22 Aug 2013 19:34:20 +0000
treeherdermozilla-central@1b26ad79d831 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs907624
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 907624 - Change testTabHistory to inherit from BaseTest (r=gbrown)
mobile/android/base/tests/testTabHistory.java.in
--- a/mobile/android/base/tests/testTabHistory.java.in
+++ b/mobile/android/base/tests/testTabHistory.java.in
@@ -1,12 +1,12 @@
 #filter substitution
 package @ANDROID_PACKAGE_NAME@.tests;
 
-public class testTabHistory extends PixelTest {
+public class testTabHistory extends BaseTest {
 
     @Override
     protected int getTestType() {
         return TEST_MOCHITEST;
     }
 
     /* This test will check the functionality of the Back, Forward and Reload buttons.
     First it will determine the Device and the OS.
@@ -16,21 +16,21 @@ public class testTabHistory extends Pixe
     public void testTabHistory() {
         blockForGeckoReady();
 
         String url = getAbsoluteUrl("/robocop/robocop_blank_01.html");
         String url2 = getAbsoluteUrl("/robocop/robocop_blank_02.html");
         String url3 = getAbsoluteUrl("/robocop/robocop_blank_03.html");
 
         // Create tab history
-        loadAndPaint(url);
+        inputAndLoadUrl(url);
         verifyPageTitle("Browser Blank Page 01");
-        loadAndPaint(url2);
+        inputAndLoadUrl(url2);
         verifyPageTitle("Browser Blank Page 02");
-        loadAndPaint(url3);
+        inputAndLoadUrl(url3);
         verifyPageTitle("Browser Blank Page 03");
 
         // Get the device information and create the navigation for it
         Navigation nav = new Navigation(mDevice);
         mAsserter.dumpLog("device type: "+mDevice.type);
         mAsserter.dumpLog("device version: "+mDevice.version);
         mAsserter.dumpLog("device width: "+mDevice.width);
         mAsserter.dumpLog("device height: "+mDevice.height);