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

Issue 11085008: [Android] Upstream content detection and ChromeBrowserProvider tests. (Closed)

Created:
8 years, 2 months ago by Leandro Graciá Gil
Modified:
8 years, 2 months ago
Reviewers:
klundberg, Yaron, sky
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, browser-components-watch_chromium.org, darin-cc_chromium.org, David Trainor- moved to gerrit
Visibility:
Public.

Description

[Android] Upstream content detection and ChromeBrowserProvider tests. BUG=125390, 138755 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=161101

Patch Set 1 #

Patch Set 2 : clean-up for review. #

Total comments: 12

Patch Set 3 : move tests and review fixes. #

Patch Set 4 : uploading again (git cl upload failure) #

Patch Set 5 : rebase after landing resources separately. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2067 lines, -15 lines) Patch
A chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderBookmarkNodeTest.java View 1 2 1 chunk +175 lines, -0 lines 0 comments Download
A chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderBookmarksUriTest.java View 1 2 1 chunk +373 lines, -0 lines 0 comments Download
A chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderSearchesUriTest.java View 1 2 1 chunk +197 lines, -0 lines 0 comments Download
A chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderTestBase.java View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/android/javatests/src/org/chromium/chrome/browser/test/util/BookmarkUtils.java View 1 chunk +56 lines, -0 lines 0 comments Download
M chrome/android/testshell/chrome_main_delegate_testshell_android.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/android/testshell/chrome_main_delegate_testshell_android.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/ChromiumTestShellTestBase.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/android/android_provider_backend.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java View 1 chunk +4 lines, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/common/CommandLine.java View 1 chunk +3 lines, -0 lines 0 comments Download
A content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java View 1 2 1 chunk +102 lines, -0 lines 0 comments Download
A content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java View 1 2 1 chunk +136 lines, -0 lines 0 comments Download
A content/public/android/javatests/src/org/chromium/content/browser/EmailAddressDetectionTest.java View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A content/public/android/javatests/src/org/chromium/content/browser/PhoneNumberDetectionTest.java View 1 2 1 chunk +220 lines, -0 lines 0 comments Download
A content/public/test/android/javatests/src/org/chromium/content/browser/test/util/DOMUtils.java View 1 2 1 chunk +120 lines, -0 lines 0 comments Download
A content/public/test/android/javatests/src/org/chromium/content/browser/test/util/JavaScriptUtils.java View 1 chunk +53 lines, -0 lines 0 comments Download
M content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java View 3 chunks +17 lines, -1 line 0 comments Download
M content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClient.java View 3 chunks +13 lines, -0 lines 0 comments Download
A content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java View 1 2 1 chunk +193 lines, -0 lines 0 comments Download
M content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java View 1 2 5 chunks +20 lines, -1 line 0 comments Download
M content/shell/android/javatests/src/org/chromium/content_shell/ContentShellTestBase.java View 2 chunks +24 lines, -6 lines 0 comments Download
M content/shell/android/res/values/strings.xml View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
A content/test/data/android/device_files/content_detection/click_listeners.html View 1 chunk +26 lines, -0 lines 0 comments Download
A content/test/data/android/device_files/content_detection/email.html View 1 chunk +19 lines, -0 lines 0 comments Download
A content/test/data/android/device_files/content_detection/empty.html View 1 chunk +3 lines, -0 lines 0 comments Download
A content/test/data/android/device_files/content_detection/geo_address_limits.html View 1 chunk +25 lines, -0 lines 0 comments Download
A content/test/data/android/device_files/content_detection/geo_address_multiple.html View 1 chunk +19 lines, -0 lines 0 comments Download
A content/test/data/android/device_files/content_detection/geo_address_real.html View 1 chunk +20 lines, -0 lines 0 comments Download
A content/test/data/android/device_files/content_detection/geo_address_special_chars.html View 1 chunk +13 lines, -0 lines 0 comments Download
A content/test/data/android/device_files/content_detection/geo_address_split.html View 1 chunk +19 lines, -0 lines 0 comments Download
A content/test/data/android/device_files/content_detection/phone_international.html View 1 chunk +39 lines, -0 lines 0 comments Download
A content/test/data/android/device_files/content_detection/phone_local.html View 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Leandro Graciá Gil
sky: change in android_provider_backend.cc yfriedman: upstreaming the Android code. The only relevant changes compared with ...
8 years, 2 months ago (2012-10-09 00:52:53 UTC) #1
Yaron
lgtm % some comments and +Karin I think you need to split the .png files ...
8 years, 2 months ago (2012-10-09 02:12:45 UTC) #2
Leandro Graciá Gil
A few comments: On 2012/10/09 02:12:45, Yaron wrote: > I think you need to split ...
8 years, 2 months ago (2012-10-09 13:16:27 UTC) #3
sky
android_provider_backend LGTM
8 years, 2 months ago (2012-10-09 16:05:35 UTC) #4
klundberg
See inline comments wrt location of the tests. https://codereview.chromium.org/11085008/diff/6001/chrome/android/javatests/src/org/chromium/chrome/browser/test/util/BookmarkUtils.java File chrome/android/javatests/src/org/chromium/chrome/browser/test/util/BookmarkUtils.java (right): https://codereview.chromium.org/11085008/diff/6001/chrome/android/javatests/src/org/chromium/chrome/browser/test/util/BookmarkUtils.java#newcode5 chrome/android/javatests/src/org/chromium/chrome/browser/test/util/BookmarkUtils.java:5: package ...
8 years, 2 months ago (2012-10-09 17:07:01 UTC) #5
klundberg
And I have updated the documentation: https://sites.google.com/a/chromium.org/dev/developers/testing/android-tests Please let me know if you have any ...
8 years, 2 months ago (2012-10-09 17:20:12 UTC) #6
Leandro Graciá Gil
I'm temporarily disabling all the provider tests. There seems to be random flakiness affecting the ...
8 years, 2 months ago (2012-10-10 00:35:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leandrogracia@chromium.org/11085008/2004
8 years, 2 months ago (2012-10-10 00:36:18 UTC) #8
commit-bot: I haz the power
Can't process patch for file chrome/test/data/android/device_files/provider/icon1.png. Binary file support is temporarilly disabled due to a ...
8 years, 2 months ago (2012-10-10 00:36:25 UTC) #9
Leandro Graciá Gil
Despite this bug very probably doesn't affect this case I'll be doing as suggested. Here's ...
8 years, 2 months ago (2012-10-10 00:42:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leandrogracia@chromium.org/11085008/10005
8 years, 2 months ago (2012-10-10 01:29:54 UTC) #11
commit-bot: I haz the power
Presubmit check for 11085008-10005 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-10-10 01:30:16 UTC) #12
Yaron
On 2012/10/10 01:30:16, I haz the power (commit-bot) wrote: > Presubmit check for 11085008-10005 failed ...
8 years, 2 months ago (2012-10-10 01:34:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leandrogracia@chromium.org/11085008/10005
8 years, 2 months ago (2012-10-10 01:36:31 UTC) #14
commit-bot: I haz the power
8 years, 2 months ago (2012-10-10 01:36:49 UTC) #15
Presubmit check for 11085008-10005 failed and returned exit status 1.


Running presubmit commit checks ...

** Presubmit Warnings **
Found lines longer than 80 characters (first 5 shown).
 
content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java,
line 18, 101 chars \
 
content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClient.java,
line 11, 101 chars

Presubmit checks took 1.8s to calculate.

Powered by Google App Engine
This is Rietveld 408576698