Bug 891187 - Remove unused ABOUT_HOME_URL constants. r=mcomella
authorRoberta De Viti <r.deviti@gmail.com>
Wed, 10 Jul 2013 10:06:13 -0400
changeset 137982 fef3c4558c3c06210d99bab474edcb02dab42787
parent 137981 82afb38d2b141186436a0541494b1a641fe2accc
child 137983 841f4cfec36cb4c4125cbc8595a8bdd56c33237c
push id30766
push userryanvm@gmail.com
push dateWed, 10 Jul 2013 14:07:47 +0000
treeherdermozilla-inbound@fef3c4558c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcomella
bugs891187
milestone25.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 891187 - Remove unused ABOUT_HOME_URL constants. r=mcomella
mobile/android/base/tests/testAllPagesTab.java.in
mobile/android/base/tests/testHistoryTab.java.in
mobile/android/base/tests/testMigration.java.in
--- a/mobile/android/base/tests/testAllPagesTab.java.in
+++ b/mobile/android/base/tests/testAllPagesTab.java.in
@@ -16,17 +16,16 @@ import java.util.Arrays;
 import java.util.ArrayList;
 import @ANDROID_PACKAGE_NAME@.*;
 
 /* Tests opening the all pages tab, that items look correct, clicking on an item
    and long tapping on an item
 */
 
 public class testAllPagesTab extends BaseTest {
-    private static final String ABOUT_HOME_URL = "about:home";
     private static ListView listview = null;
 
     private String[] mBookmarks = new String[] {
         "Firefox: About your browser",
         "Firefox Start",
         "Firefox: Support",
         "Firefox: Customize with add-ons"
     };
--- a/mobile/android/base/tests/testHistoryTab.java.in
+++ b/mobile/android/base/tests/testHistoryTab.java.in
@@ -18,17 +18,16 @@ import java.util.ArrayList;
 import java.util.Calendar;
 import java.util.GregorianCalendar;
 
 /* Tests opening the history tab, that items look correct, clicking on an item
    and long tapping on an item
 */
 
 public class testHistoryTab extends PixelTest {
-    private static final String ABOUT_HOME_URL = "about:home";
     private static ListView listview = null;
     private String[] mBookmarks = new String[] {
         "Browser Blank Page 01",
         "Firefox: Customize with add-ons"
     };
     private View mChild;
     private boolean mNearMidnight;
 
--- a/mobile/android/base/tests/testMigration.java.in
+++ b/mobile/android/base/tests/testMigration.java.in
@@ -216,18 +216,17 @@ public class testMigration extends Conte
 
         final String[] knownBookmarks = new String[] {
             "http://www.androidpolice.com/",
             "https://developer.mozilla.org/En/Mozilla_Coding_Style_Guide",
             "http://planet.mozilla.org/",
             "http://www.crockford.com/",
             "https://wiki.mozilla.org/Mobile/Fennec/Android"
         };
-        final String ABOUT_HOME_URL = "about:home";
-
+        
         for (String url: knownBookmarks) {
             try {
                 // Check for some bookmarks we know must exist
                 boolean isbookmark =
                     (Boolean)isBookmarked.invoke(db,
                                                  mResolver,
                                                  url);
                 mAsserter.is(isbookmark, true, "Expected page is bookmarked: " + url);