summaryrefslogtreecommitdiffstats
path: root/chrome/PRESUBMIT.py
diff options
context:
space:
mode:
authorrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 02:42:14 +0000
committerrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 02:42:14 +0000
commit0f9aaafa8e60e7534f8bcfc818ab3acea335a682 (patch)
treec9ec691f6e1a4b312fc581088415b05f5f7ce9b2 /chrome/PRESUBMIT.py
parent6f899a390868a2fad43cd34ad71027d693615577 (diff)
downloadchromium_src-0f9aaafa8e60e7534f8bcfc818ab3acea335a682.zip
chromium_src-0f9aaafa8e60e7534f8bcfc818ab3acea335a682.tar.gz
chromium_src-0f9aaafa8e60e7534f8bcfc818ab3acea335a682.tar.bz2
Merge 63606 - Full refactor / rewrite of bookmark sync integration tests
Note: This is required to fix the sync tests on chrome OS. See http://code.google.com/p/chromium-os/issues/detail?id=9262 The LiveBookmarksSyncTest and BookmarkModelVerifier classes were designed over a year ago and are badly in need of a refactor. Bookmark sync integration test cases are extremely cumbersome to write, review and read, with individual tests requiring a lot of repeated code. This patch contains the following: - A refactor of the BookmarkModelVerifier class. - A major update to the LiveBookmarksSyncTest class, providing test cases with a bunch of new easy-to-use methods to perform various bookmark operations. - A complete rewrite of every single bookmark sync integration test case using the new methods. (phew!) In addition, this patch does the following: - Replaces all instances of EXPECT_* in test cases with ASSERT_*, thereby avoiding several pages of irrelevant logs in case of failures, and making logs a lot easier to read. - Annotates a few methods with WARN_UNUSED_RESULT so that test cases are forced to verify their results before proceeding. BUG=59301,56043,19769 TEST=sync_integration_tests Review URL: http://codereview.chromium.org/3971003 TBR=rsimha@chromium.org Review URL: http://codereview.chromium.org/5143001 git-svn-id: svn://svn.chromium.org/chrome/branches/552d/src@66372 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/PRESUBMIT.py')
0 files changed, 0 insertions, 0 deletions