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

Issue 1748853002: [Android] Revise handling of document-mode-only tests. (Closed)

Created:
4 years, 9 months ago by jbudorick
Modified:
4 years, 9 months ago
Reviewers:
Yaron, newt (away)
CC:
chromium-reviews, vmpstr+watch_chromium.org, megjablon
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Revise handling of document-mode-only tests. This forces document-only tests to run Chrome in document mode at test set-up time, which eliminates (most of) the need for @DisableInTabbedMode. BUG=589663 Committed: https://crrev.com/8816e34f3a7ee1cef01354e0c9ccee6798a48ff1 Cr-Commit-Position: refs/heads/master@{#378528}

Patch Set 1 #

Total comments: 8

Patch Set 2 : rebase #

Patch Set 3 : fix DocumentActivity after bad rebase in https://codereview.chromium.org/1688603004/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -34 lines) Patch
M base/test/android/javatests/src/org/chromium/base/test/BaseInstrumentationTestRunner.java View 2 chunks +19 lines, -7 lines 0 comments Download
M base/test/android/javatests/src/org/chromium/base/test/BaseTestResult.java View 2 chunks +2 lines, -2 lines 0 comments Download
M base/test/android/javatests/src/org/chromium/base/test/util/MinAndroidSdkLevel.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/DocumentModeManager.java View 3 chunks +8 lines, -3 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/document/DocumentModeLowEndTest.java View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/document/DocumentModeReferrerTest.java View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/document/DocumentModeTest.java View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/document/DocumentModeTestBase.java View 1 2 4 chunks +17 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/hardware_acceleration/DocumentActivityHWATest.java View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/hardware_acceleration/IncognitoDocumentActivityHWATest.java View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/ntp/DocumentModeRecentlyClosedTest.java View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/document/AsyncDocumentLauncherTest.java View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappModeTest.java View 5 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
jbudorick
4 years, 9 months ago (2016-03-01 00:07:52 UTC) #4
Yaron
https://codereview.chromium.org/1748853002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java File chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java (right): https://codereview.chromium.org/1748853002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java#newcode581 chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java:581: if (params != null && params.getTabToReparent() != null) { ...
4 years, 9 months ago (2016-03-01 02:09:42 UTC) #5
jbudorick
https://codereview.chromium.org/1748853002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java File chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java (right): https://codereview.chromium.org/1748853002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java#newcode581 chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java:581: if (params != null && params.getTabToReparent() != null) { ...
4 years, 9 months ago (2016-03-01 04:00:47 UTC) #7
Yaron
lgtm
4 years, 9 months ago (2016-03-01 16:29:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1748853002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1748853002/40001
4 years, 9 months ago (2016-03-01 18:12:20 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-01 19:42:27 UTC) #12
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 19:44:23 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8816e34f3a7ee1cef01354e0c9ccee6798a48ff1
Cr-Commit-Position: refs/heads/master@{#378528}

Powered by Google App Engine
This is Rietveld 408576698