Граф коммитов

107 Коммитов

Автор SHA1 Сообщение Дата
Brian Nicholson 4814f3a90a Bug 1076438 - Add tracking ID to SuggestedSites API. r=lucasr 2014-10-02 09:48:50 -07:00
Brian Nicholson 09e2ca928a Bug 1076438 - Undo ID and imageurl/bgcolor cursor changes. r=lucasr 2014-10-02 09:48:50 -07:00
Jim Chen 331fc99555 Bug 1062377 - Add JUnit test for new GeckoBackgroundThread; r=rnewman 2014-09-30 18:19:26 -04:00
Nick Alexander 0a9a9e30db Bug 1069648 - Add instrumentation manifests to moz.build. r=ted
These manifests are special in that they don't package their test files
into the test package.  Each test listed in an instrumentation manifest
serves as an identifier rather than a file.

--HG--
extra : rebase_source : 0321528a2dc380e57b824746efbcf61d295204a9
2014-09-26 11:44:58 -07:00
Brian Nicholson c167c0f4f3 Bug 1071039 - Update TestSuggestedSites to check IDs. r=lucasr 2014-09-26 11:37:04 -07:00
Brian Nicholson 56cfa7a499 Bug 1073257 - Get imageurl and bgcolor from cursor 2014-09-26 11:34:39 -07:00
Nick Alexander 690610ab35 Bug 1063028 - Change tests/browser/junit3 Java package root to be org.mozilla.gecko. r=rnewman
--HG--
rename : mobile/android/tests/browser/junit3/src/tests/BrowserTestCase.java => mobile/android/tests/browser/junit3/src/BrowserTestCase.java
rename : mobile/android/tests/browser/junit3/src/tests/TestDistribution.java => mobile/android/tests/browser/junit3/src/TestDistribution.java
rename : mobile/android/tests/browser/junit3/src/tests/TestGeckoMenu.java => mobile/android/tests/browser/junit3/src/TestGeckoMenu.java
rename : mobile/android/tests/browser/junit3/src/tests/TestGeckoProfilesProvider.java => mobile/android/tests/browser/junit3/src/TestGeckoProfilesProvider.java
rename : mobile/android/tests/browser/junit3/src/tests/TestGeckoSharedPrefs.java => mobile/android/tests/browser/junit3/src/TestGeckoSharedPrefs.java
rename : mobile/android/tests/browser/junit3/src/tests/TestImageDownloader.java => mobile/android/tests/browser/junit3/src/TestImageDownloader.java
rename : mobile/android/tests/browser/junit3/src/tests/TestJarReader.java => mobile/android/tests/browser/junit3/src/TestJarReader.java
rename : mobile/android/tests/browser/junit3/src/tests/TestRawResource.java => mobile/android/tests/browser/junit3/src/TestRawResource.java
rename : mobile/android/tests/browser/junit3/src/tests/TestSuggestedSites.java => mobile/android/tests/browser/junit3/src/TestSuggestedSites.java
rename : mobile/android/tests/browser/junit3/src/tests/TestTopSitesCursorWrapper.java => mobile/android/tests/browser/junit3/src/TestTopSitesCursorWrapper.java
2014-09-08 12:58:33 -07:00
Nick Alexander f92c349a34 Bug 1026005 - Bustage follow-up: Include support library v4 in background JUnit 3 tests. r=bustage
CLOSED TREE
2014-08-22 11:40:16 -07:00
Nick Alexander 2f89b3cf6d Bug 1026005 - Create Loader for querying/updating Accounts status. r=mcomella
========

3cd96669bc
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Aug 18 17:43:24 2014 -0700

    Bug 1026005 - Review comments.

========

5aefe1f716
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Jun 16 11:16:16 2014 -0700

    Bug 1026005 - Part 2: Add AccountLoader.

========

61bc36bd7d
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Jun 16 11:12:37 2014 -0700

    Bug 1026005 - Part 1: Add and broadcast ACCOUNT_STATE_CHANGED_ACTION.

========

9d80df0aa7
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Aug 18 17:42:11 2014 -0700

    Bug 1026005 - Pre: Allow testing with |mvn integration-test|.

    This avoids errors like:

    W dalvikvm(24082)             Class resolved by unexpected DEX: Lorg/mozilla/gecko/fxa/AccountLoader;(0x42c13358):0x75440000 ref [Landroid/support/v4/content/AsyncTaskLoader;] Landroid/support/v4/content/AsyncTaskLoader;(0x42c13358):0x74a71000
    W dalvikvm(24082)             (Lorg/mozilla/gecko/fxa/AccountLoader; had used a different Landroid/support/v4/content/AsyncTaskLoader; during pre-verification)
    W dalvikvm(24082)             Unable to resolve superclass of Lorg/mozilla/gecko/fxa/AccountLoader; (247)
    W dalvikvm(24082)             Link of class 'Lorg/mozilla/gecko/fxa/AccountLoader;' failed
    E dalvikvm(24082)             Could not find class 'org.mozilla.gecko.fxa.AccountLoader', referenced from method org.mozilla.gecko.background.fxa.TestAccountLoader.testInitialLoad
    W dalvikvm(24082)             VFY: unable to resolve new-instance 1299 (Lorg/mozilla/gecko/fxa/AccountLoader;) in Lorg/mozilla/gecko/background/fxa/TestAccountLoader;
    D dalvikvm(24082)             VFY: replacing opcode 0x22 at 0x0005
    W dalvikvm(24082)             Class resolved by unexpected DEX: Lorg/mozilla/gecko/fxa/AccountLoader;(0x42c13358):0x75440000 ref [Landroid/support/v4/content/AsyncTaskLoader;] Landroid/support/v4/content/AsyncTaskLoader;(0x42c13358):0x74a71000
    W dalvikvm(24082)             (Lorg/mozilla/gecko/fxa/AccountLoader; had used a different Landroid/support/v4/content/AsyncTaskLoader; during pre-verification)
    W dalvikvm(24082)             Unable to resolve superclass of Lorg/mozilla/gecko/fxa/AccountLoader; (247)
    W dalvikvm(24082)             Link of class 'Lorg/mozilla/gecko/fxa/AccountLoader;' failed
    D dalvikvm(24082)             DexOpt: unable to opt direct call 0x1df8 at 0x07 in Lorg/mozilla/gecko/background/fxa/TestAccountLoader;.testInitialLoad
    I TestRunner(24082)           started: testInitialLoad(org.mozilla.gecko.background.fxa.TestAccountLoader)
    I TestRunner(24082)           failed: testInitialLoad(org.mozilla.gecko.background.fxa.TestAccountLoader)
    I TestRunner(24082)           ----- begin exception -----
    I TestRunner(24082)
    I TestRunner(24082)           java.lang.NoClassDefFoundError: org.mozilla.gecko.fxa.AccountLoader
    I TestRunner(24082)           	at org.mozilla.gecko.background.fxa.TestAccountLoader.testInitialLoad(TestAccountLoader.java:145)
    I TestRunner(24082)           	at java.lang.reflect.Method.invokeNative(Native Method)
    I TestRunner(24082)           	at java.lang.reflect.Method.invoke(Method.java:525)
    I TestRunner(24082)           	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
    I TestRunner(24082)           	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
    I TestRunner(24082)           	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
    I TestRunner(24082)           	at junit.framework.TestCase.runBare(TestCase.java:134)
    I TestRunner(24082)           	at junit.framework.TestResult$1.protect(TestResult.java:115)
    I TestRunner(24082)           	at junit.framework.TestResult.runProtected(TestResult.java:133)
    I TestRunner(24082)           	at junit.framework.TestResult.run(TestResult.java:118)
    I TestRunner(24082)           	at junit.framework.TestCase.run(TestCase.java:124)
    I TestRunner(24082)           	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
    I TestRunner(24082)           	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
    I TestRunner(24082)           	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
    I TestRunner(24082)           	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1738)
    I TestRunner(24082)           ----- end exception -----
    I TestRunner(24082)           finished: testInitialLoad(org.mozilla.gecko.background.fxa.TestAccountLoader)
2014-08-22 11:15:38 -07:00
Richard Newman 87da4b8c44 Bug 1045085 - Remove main Product Announcements code. r=mcomella 2014-07-31 11:24:02 -07:00
Lucas Rocha 0b216e16ae Bug 1012462 - Part 11: Support image loading for distribution files (r=rnewman) 2014-07-15 20:56:48 +01:00
Lucas Rocha f5e15712db Bug 1012462 - Part 5: Add distribution support in SuggestedSites (r=rnewman) 2014-07-15 20:54:27 +01:00
Lucas Rocha ba12615ce2 Bug 1012462 - Part 2: Add prefix argument to generateSites() in TestSuggestedSites (r=rnewman) 2014-07-15 20:54:26 +01:00
Lucas Rocha 080a073cc0 Bug 1037439 - Remove DISPLAY column from TopSitesCursorWrapper (r=rnewman) 2014-07-14 16:52:41 +01:00
Nick Alexander 6fa6af293a Bug 1033481 - Use a .mozbuild file rather than a .mk in m/a/tests/background/junit3. r=rnewman
--HG--
rename : mobile/android/tests/background/junit3/android-services.mozbuild => mobile/android/tests/background/junit3/background_junit3_sources.mozbuild
2014-07-07 21:49:34 -07:00
Chris Kitching 65cb74e38f Bug 1024289: Part 3: remove display column from combined view. r=rnewman 2014-07-07 14:52:37 -07:00
Richard Newman 16986508fc Bug 1013024 - Part 1: catch install intent and deliver it to the distribution handler, processing the distribution file dynamically. r=mfinkle 2014-07-03 19:45:24 -07:00
Nick Alexander f718c2014c Bug 1019793 - Avoid UnsupportedOperationException in TestHealthReportPruneService. r=mcomella
========

ce21e7f19a
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Jun 4 14:15:09 2014 -0700

    Bug 1019793 - Always upload in TestHealthReportUploadService.

========

e4c7393c6f
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Jun 3 15:47:33 2014 -0700

    Bug 1019793 - Don't create storage in TestHealthReportPruneService.

    Creating real storage requires a valid Context, and in this test, we
    only have MockContext.
2014-06-21 15:42:44 -07:00
Nick Alexander 1cc245ea64 Bug 993134 - Make TestAccountPickler tolerate multiple accounts. r=mcomella
========

872d926e32
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Jun 4 14:21:17 2014 -0700

    Bug 993134 - Part 5: Work around Android intermittent issue.

========

c76bb53901
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Jun 3 17:02:15 2014 -0700

    Bug 993134 - Part 4: Make fxa.TestAccountPickler robust.

    This tested extracting data from an AndroidFxAccount before, and another
    after, backed by different Android Accounts.  Unfortunately, one Account
    replaced the other, but had the same name, leading to a race
    condition (between reading and deleting the first account).  To address
    this, we extract all the data before deleting, and then compare it to
    the data from the newly pickled account.

========

bd32978f7b
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Jun 3 15:34:09 2014 -0700

    Bug 993134 - Part 3: Use AndroidSyncTestCaseWithAccounts to make fxa.TestAccountPickler when accounts exist.

========

ec7d910187
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Jun 3 15:33:29 2014 -0700

    Bug 993134 - Part 2: Extract AndroidSyncTestCaseWithAccounts.

========

6563ad7bd8
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Jun 3 15:30:15 2014 -0700

    Bug 993134 - Part 1: Make getApplicationContext return getTargetContext.

    I was finding that repeated instrumentation-test runs were returning a
    null application context, indicating a race between test start-up and
    target instantiation.  This works well for me on two test devices.
2014-06-21 15:42:38 -07:00
Nick Alexander fd0bc71e4a Bug 993136 - Fix TestSyncConfiguration. r=mcomella
========

306fb330a9
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Jun 3 15:29:55 2014 -0700

    Bug 993136 - Fix TestSyncConfiguration.
2014-06-21 15:42:31 -07:00
Hathibelagal A bc2a0aa8c3 Bug 1027831 - Switch from deprecated FILL_PARENT to MATCH_PARENT in Java and XML. r=bnicholson 2014-06-20 09:21:31 -07:00
Richard Newman 73d5c81fca Bug 1025937 - Silently drop null intents in background IntentServices. r=mcomella 2014-06-16 16:18:59 -07:00
Chenxia Liu 4efcd51719 Bug 1010266 - Part 2: Tests. r=lucasr 2014-06-12 12:07:09 -07:00
Nick Alexander 943b7aee84 Bug 1021055 - Add Sync client device type to Fennec's tabs provider. r=rnewman
This is the expedient thing to do.  The right thing to do is to
deprecate Sync's clients database in favour of Fennec's clients table,
but that's a good chunk of work for a small gain.
2014-06-11 14:20:24 -07:00
Nick Alexander 7b560b6fda Bug 788688 - Allow setting client's device name in FxAccountStatusActivity. r=rnewman
========

8c7b253142
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Jun 3 15:48:40 2014 -0700

    Bug 788688 - Review comment: Include timestamp in setClientName.

========

b53b9092c2
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu May 29 16:05:25 2014 -0700

    Bug 788688 - Post: PII client data to ease debugging.

========

fd59f3c984
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Wed Jun 4 15:01:12 2014 -0700

    Bug 788688 - Part 4: Work around Android DialogPreference caching bug.

========

87d10bc16a
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu May 29 14:44:24 2014 -0700

    Bug 788688 - Part 3: Add "Device name" pref to Status activity.

    In the edge case where what the user has entered (empty text) and what
    is persisted (default client name) differ, Android does not update the
    contents of the dialog's EditText correctly.  Removing and re-creating
    all preferences is the only way I found to work around this; that's in
    the next commit.

========

7af72f6c2f
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu May 29 16:05:59 2014 -0700

    Bug 788688 - Part 2: Upload clients and tabs records when client name changes.

========

0e99eae1b5
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu May 29 15:28:36 2014 -0700

    Bug 788688 - Part 1: Add setClientName with timestamp to ClientsDataDelegate.

========

1999e263db
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Thu May 29 14:10:40 2014 -0700

    Bug 788688 - Pre: Clean some imports.
2014-06-04 16:37:25 -07:00
Lucas Rocha 6899d83b0c Bug 1017574 - Force suggested sites refresh on locale changes (r=mfinkle) 2014-05-29 21:30:32 +01:00
Lucas Rocha 65163d79c8 Bug 1009587 - Part 4: Use suggested thumbnail on top sites whenever it's available (r=mfinkle) 2014-05-29 13:04:36 +01:00
Lucas Rocha 934dce9fa1 Bug 1009587 - Part 2: Add SuggestedSites API to get image URL and bg color (r=mfinkle) 2014-05-29 13:04:35 +01:00
Lucas Rocha 247c85247c Bug 1016949 - Add unit test for enabling/disabling suggested sites (r=mfinkle) 2014-05-29 13:04:35 +01:00
Lucas Rocha 6a575f0f59 Bug 997888 - Add API to exclude URLs from suggested sites (r=mfinkle) 2014-05-13 16:33:19 +01:00
Richard Newman 279e4a4c1c Bug 965371 - Follow-up: test and misc fixes. r=me 2014-05-09 21:25:51 -07:00
Richard Newman 9cf7154a60 Bug 965371 - Part 1: introduce v3 environment format. r=mcomella 2014-05-09 19:19:13 -07:00
Lucas Rocha 4f6cd13d30 Bug 997782 - Wrap suggested sites in TopSitesCursorWrapper (r=mfinkle) 2014-05-09 16:34:54 +01:00
Lucas Rocha abd374562f Bug 997772 - Introduce SuggestedSites component (r=mfinkle) 2014-05-09 09:39:14 +01:00
Lucas Rocha 1b49637043 Bug 996657 - Streamline schema for TopSitesCursorWrapper (r=wesj) 2014-05-07 12:01:19 +01:00
Lucas Rocha fa88af331f Bug 996657 - Store pinned sites cursor and fetch values from it (r=wesj) 2014-05-07 12:01:18 +01:00
Lucas Rocha 8f6a685e85 Bug 996657 - Change TopSitesCursorWrapper to be a Cursor (r=wesj) 2014-05-07 12:01:18 +01:00
Lucas Rocha 7417d5e925 Bug 999398 - Rename RawResource.get() to RawResource.getAsString() (r=nalexander) 2014-04-22 17:45:51 +01:00
Lucas Rocha b56e88ab13 Bug 994195 - Add tests for RawResource (r=margaret) 2014-04-22 14:53:59 +01:00
Nick Alexander 441af56ac8 Bug 995157 - Specify default profile when syncing tabs and remote clients. r=rnewman
========

7fd50fef23
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Fri Apr 18 13:11:34 2014 -0700

    Bug 995157 - Part 2: Specify default profile when syncing tabs and remote clients.

========

79da665d74
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Fri Apr 18 15:22:02 2014 -0700

    Bug 995157 - Part 1: Use FORM_HISTORY_AUTHORITY_URI.
2014-04-20 14:42:45 -07:00
Nick Alexander 086431af3b Bug 996749 - Kill PrefsSource. r=rnewman
========

6ced7b05cd
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 996749 - Part 3: Finally kill PrefsSource.

========

b37547fbd8
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Apr 15 10:47:11 2014 -0700

    Bug 996749 - Part 2: Remove storageEndpoint from FxAccountGlobalSession constructor.

    This is just a separation of concerns: let's inject our dependency as
    configured as possible.

========

42e8fe761f
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Apr 14 12:30:21 2014 -0700

    Bug 996749 - Part 1: Remove debugAssertion.

    This is no longer valuable, since we're not getting timestamp HAWK
    errors from the server.
2014-04-15 10:59:00 -07:00
Lucas Rocha 3ebca0f11a Bug 993970 - Add tests for TopSitesCursorWrapper (r=wesj) 2014-04-15 16:31:56 +01:00
Richard Newman 0737bf6e03 Bug 970176 - Part 0: remove AppConstants dependency on .App by moving things to TestConstants. r=nalexander 2014-04-10 10:09:34 -07:00
Nick Alexander 57c47e042f Bug 966104 - Add Sync status listener to Android FxA activities. r=rnewman 2014-04-04 16:24:00 -07:00
Nick Alexander 26d08daab4 Bug 990116 - Part 3: Use BROWSER_INTENT_CLASS in browser JUnit 3 tests. r=mcomella 2014-04-01 22:00:46 -07:00
Nick Alexander 99da817f3a Bug 990680 - Remove extras from GlobalSession constructor. r=rnewman 2014-04-01 15:31:28 -07:00
Lucas Rocha f1fc78b9e8 Bug 940575 - Implement scopes for SharedPreferences (r=rnewman) 2014-04-01 15:02:14 +01:00
Brad Lassey eade3f50ca bug 979438 - Unify android target SDK versions r=nalexander
--HG--
rename : embedding/android/geckoview_example/AndroidManifest.xml => embedding/android/geckoview_example/AndroidManifest.xml.in
rename : mobile/android/geckoview_library/AndroidManifest.xml => mobile/android/geckoview_library/AndroidManifest.xml.in
rename : mobile/android/geckoview_library/project.properties => mobile/android/geckoview_library/project.properties.in
2014-03-25 23:27:16 -04:00
Nick Alexander 0108f912d1 Bug 983856 - Message when syncing is disabled by Android. r=rnewman 2014-03-26 22:11:05 -07:00
Michael Comella dd0219ba2f Bug 957894: Update account pickling code for Firefox Accounts. r=nalexander 2014-03-26 11:31:43 -07:00