|
Allow sync integration tests to operate on multiple datatypes: Apps, Extensions, Themes
The sync integration tests currently use a class hierarchy where the test classes for each datatype are subclasses of LiveSyncTest. While this design worked in the past, it allows tests to work with only one datatype at a time, and therefore doesn't allow us to test the interplay between datatypes.
This patch is another in the series of patches that will move away from an inheritance model to one where test cases can operate on more than one datatype. It updates the Apps, Extensions and Themes datatypes to the new model, and contains the following changes:
- LiveAppsSyncTest is no longer a class that inherits from LiveSyncTest, but is now a namespace called apps_helper, and contains a bunch of methods that perform various operations related to Apps. Similar changes were made to Extensions and Themes.
- SingleClientLiveAppsSyncTest is renamed to SingleClientAppsSyncTest, and is a subclass of LiveSyncTest. It uses the methods in namespace apps_helper by including its header file and attaching itself to the helper. Similar changes were made to Extensions and Themes.
- LiveSyncExtensionHelper is renamed to SyncExtensionHelper.
BUG= 88510
TEST=sync_integration_tests, sync_performance_tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96292
Total comments: 2
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+686 lines, -2104 lines) |
Patch |
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
|
4 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
A |
chrome/test/live_sync/apps_helper.h
|
View
|
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/live_sync/apps_helper.cc
|
View
|
1
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/live_sync/extensions_helper.h
|
View
|
|
1 chunk |
+73 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/live_sync/extensions_helper.cc
|
View
|
1
|
1 chunk |
+125 lines, -0 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/live_apps_sync_test.h
|
View
|
|
1 chunk |
+0 lines, -62 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/live_apps_sync_test.cc
|
View
|
|
1 chunk |
+0 lines, -84 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/live_extensions_sync_test.h
|
View
|
|
1 chunk |
+0 lines, -109 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/live_extensions_sync_test.cc
|
View
|
|
1 chunk |
+0 lines, -135 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/live_sync_extension_helper.h
|
View
|
|
1 chunk |
+0 lines, -113 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/live_sync_extension_helper.cc
|
View
|
|
1 chunk |
+0 lines, -348 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/live_themes_sync_test.h
|
View
|
|
1 chunk |
+0 lines, -68 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/live_themes_sync_test.cc
|
View
|
|
1 chunk |
+0 lines, -81 lines |
0 comments
|
Download
|
 |
M |
chrome/test/live_sync/performance/extensions_sync_perf_test.cc
|
View
|
1
|
3 chunks |
+17 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/live_sync/single_client_apps_sync_test.cc
|
View
|
|
2 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/live_sync/single_client_extensions_sync_test.cc
|
View
|
|
2 chunks |
+18 lines, -6 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/single_client_live_apps_sync_test.cc
|
View
|
|
1 chunk |
+0 lines, -56 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/single_client_live_extensions_sync_test.cc
|
View
|
|
1 chunk |
+0 lines, -45 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/single_client_live_themes_sync_test.cc
|
View
|
|
1 chunk |
+0 lines, -89 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/live_sync/single_client_themes_sync_test.cc
|
View
|
|
3 chunks |
+20 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/live_sync/sync_extension_helper.h
|
View
|
1
|
4 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/live_sync/sync_extension_helper.cc
|
View
|
1
2
|
9 chunks |
+40 lines, -27 lines |
0 comments
|
Download
|
 |
A |
chrome/test/live_sync/themes_helper.h
|
View
|
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/live_sync/themes_helper.cc
|
View
|
1
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/live_sync/two_client_apps_sync_test.cc
|
View
|
|
10 chunks |
+28 lines, -23 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/live_sync/two_client_extensions_sync_test.cc
|
View
|
|
10 chunks |
+34 lines, -15 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/two_client_live_apps_sync_test.cc
|
View
|
|
1 chunk |
+0 lines, -275 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/two_client_live_extensions_sync_test.cc
|
View
|
|
1 chunk |
+0 lines, -264 lines |
0 comments
|
Download
|
 |
D |
chrome/test/live_sync/two_client_live_themes_sync_test.cc
|
View
|
|
1 chunk |
+0 lines, -233 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/live_sync/two_client_themes_sync_test.cc
|
View
|
|
10 chunks |
+30 lines, -18 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|