Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Issue 2929133003: Fix crashing TabPersistentStoreTest. (Closed)

Created:
3 years, 6 months ago by troyhildebrandt
Modified:
3 years, 6 months ago
Reviewers:
Ted C
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crashing TabPersistentStoreTest. Migrates TabPersistentStoreTest to JUnit4, and uses ChromeBrowserTestRule to ensure we no longer receive crashes related to AccountManagerHelper. Also runs appropriate portions of the tests on the UI thread using ThreadUtils. This is the first of many fixes for several tests that are failing in the same way. BUG=710901 Review-Url: https://codereview.chromium.org/2929133003 Cr-Commit-Position: refs/heads/master@{#479079} Committed: https://chromium.googlesource.com/chromium/src/+/9c9874f171dcdc89467c07d06b5a0d99316cbbad

Patch Set 1 #

Patch Set 2 : Move activity init to setUp instead. #

Patch Set 3 : . #

Patch Set 4 : Hopefully caught all the changes to mChromeActivity this time... #

Patch Set 5 : Fix flaky test. #

Patch Set 6 : Maybe now? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -96 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabPersistentStoreTest.java View 1 2 3 4 5 20 chunks +160 lines, -96 lines 0 comments Download

Messages

Total messages: 36 (26 generated)
troyhildebrandt
3 years, 6 months ago (2017-06-09 16:10:32 UTC) #3
Ted C
lgtm
3 years, 6 months ago (2017-06-12 17:21:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2929133003/20001
3 years, 6 months ago (2017-06-12 17:24:44 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/315547)
3 years, 6 months ago (2017-06-12 17:44:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2929133003/40001
3 years, 6 months ago (2017-06-12 17:59:18 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/315601)
3 years, 6 months ago (2017-06-12 18:22:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2929133003/60001
3 years, 6 months ago (2017-06-12 18:31:03 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/315706)
3 years, 6 months ago (2017-06-12 20:30:37 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2929133003/100001
3 years, 6 months ago (2017-06-13 18:37:13 UTC) #33
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 18:43:58 UTC) #36
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/9c9874f171dcdc89467c07d06b5a...

Powered by Google App Engine
This is Rietveld 408576698