|
Create ChromeSyncShell and ChromeSyncShellTest
This CL enables usage of the Sync FakeServer in Android tests. This is
done by creating a new ChromeShell-based APK, ChromeSyncShell, and a
test APK that instruments it (ChromeSyncShellTest).
As part of this CL, previously-disabled tests (SyncTest.java) are
re-enabled. However, these tests will not run as part of the Chromium
waterfall/trybots as they are not configured to run ChromeSyncShellTest.
How to run the tests:
1) Build these targets:
chrome_sync_shell_apk
chrome_sync_shell_test_apk
2) Run test script
build/android/adb_install_apk.py \
--apk=ChromeSyncShell.apk && \
build/android/test_runner.py instrumentation \
--test-apk ChromeSyncShellTest
BUG= 323265, 348951, 348117
TBR=cpu@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291190
Total comments: 27
Total comments: 8
Total comments: 5
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+475 lines, -281 lines) |
Patch |
 |
D |
chrome/android/host_driven_tests/SyncTest.py
|
View
|
|
1 chunk |
+0 lines, -68 lines |
0 comments
|
Download
|
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java
|
View
|
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/android/javatests/src/org/chromium/chrome/browser/sync/SyncTest.java
|
View
|
1
2
|
1 chunk |
+0 lines, -182 lines |
0 comments
|
Download
|
 |
M |
chrome/android/shell/java/src/org/chromium/chrome/shell/sync/SyncController.java
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
A |
chrome/android/sync_shell/DEPS
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/android/sync_shell/OWNERS
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
chrome/android/sync_shell/README
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.h
|
View
|
1
2
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.cc
|
View
|
1
2
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/android/sync_shell/java/AndroidManifest.xml
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
chrome/android/sync_shell/javatests/AndroidManifest.xml
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
chrome/android/sync_shell/javatests/DEPS
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/FakeServerHelper.java
|
View
|
1
2
3
4
5
6
|
1 chunk |
+123 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/SyncTest.java
|
View
|
1
2
3
4
5
|
4 chunks |
+22 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_android.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_android.cc
|
View
|
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_shell.gypi
|
View
|
1
2
|
5 chunks |
+80 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sync_tests.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/test/DEPS
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/test/fake_server/android/fake_server_helper_android.h
|
View
|
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/test/fake_server/android/fake_server_helper_android.cc
|
View
|
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
Total messages: 38 (0 generated)
|