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

Issue 3295002: Migration unit tests to web database for missing images on the search ballot (Closed)

Created:
10 years, 3 months ago by dhollowa
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., ben+cc_chromium.org
Visibility:
Public.

Description

Migration unit tests to web database for missing images on the search ballot Adds migration unit tests to web database for missing images on the search ballot. This is follow-up from review http://codereview.chromium.org/3189004. BUG=52452, 50699, 10913 TEST=WebDatabaseMigrationTest.MigrateVersion22ToCurrent, WebDatabaseMigrationTest.MigrateVersion22CorruptToCurrent, WebDatabaseMigrationTest.MigrateVersion24ToCurrent Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=58247

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removing friends. #

Total comments: 4

Patch Set 3 : Strengthening checks. #

Total comments: 6

Patch Set 4 : More EXPECT, remove dead method. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+453 lines, -1 line) Patch
M chrome/browser/webdata/web_database.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/webdata/web_database.cc View 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/webdata/web_database_unittest.cc View 1 2 3 4 chunks +449 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
dhollowa
10 years, 3 months ago (2010-09-01 16:34:33 UTC) #1
sky
Rather than duplicating all the code for creating the schema couldn't you copy over a ...
10 years, 3 months ago (2010-09-01 16:42:49 UTC) #2
dhollowa
On 2010/09/01 16:42:49, sky wrote: > Rather than duplicating all the code for creating the ...
10 years, 3 months ago (2010-09-01 16:51:57 UTC) #3
sky
That's true. One minor suggestion then. http://codereview.chromium.org/3295002/diff/1/2 File chrome/browser/webdata/web_database.h (right): http://codereview.chromium.org/3295002/diff/1/2#newcode311 chrome/browser/webdata/web_database.h:311: FRIEND_TEST_ALL_PREFIXES(WebDatabaseMigrationTest, MigrateVersion22ToCurrent); Is ...
10 years, 3 months ago (2010-09-01 16:58:33 UTC) #4
dhollowa
http://codereview.chromium.org/3295002/diff/1/2 File chrome/browser/webdata/web_database.h (right): http://codereview.chromium.org/3295002/diff/1/2#newcode311 chrome/browser/webdata/web_database.h:311: FRIEND_TEST_ALL_PREFIXES(WebDatabaseMigrationTest, MigrateVersion22ToCurrent); On 2010/09/01 16:58:33, sky wrote: > Is ...
10 years, 3 months ago (2010-09-01 17:17:33 UTC) #5
sky
LGTM
10 years, 3 months ago (2010-09-01 17:24:23 UTC) #6
Scott Hess - ex-Googler
thanks for tackling this! Overall LGTM, but I think we should tighten it up a ...
10 years, 3 months ago (2010-09-01 18:22:05 UTC) #7
dhollowa
http://codereview.chromium.org/3295002/diff/7001/8003 File chrome/browser/webdata/web_database_unittest.cc (right): http://codereview.chromium.org/3295002/diff/7001/8003#newcode1804 chrome/browser/webdata/web_database_unittest.cc:1804: ASSERT_LE(23, db.GetVersionNumber()); On 2010/09/01 18:22:05, shess wrote: > This ...
10 years, 3 months ago (2010-09-01 18:37:39 UTC) #8
Scott Hess - ex-Googler
On 2010/09/01 18:37:39, dhollowa wrote: > http://codereview.chromium.org/3295002/diff/7001/8003 > File chrome/browser/webdata/web_database_unittest.cc (right): > > http://codereview.chromium.org/3295002/diff/7001/8003#newcode1804 > ...
10 years, 3 months ago (2010-09-01 18:42:56 UTC) #9
dhollowa
Done, yes. I like it. http://codereview.chromium.org/3295002/diff/7001/8003 File chrome/browser/webdata/web_database_unittest.cc (right): http://codereview.chromium.org/3295002/diff/7001/8003#newcode1804 chrome/browser/webdata/web_database_unittest.cc:1804: ASSERT_LE(23, db.GetVersionNumber()); On 2010/09/01 ...
10 years, 3 months ago (2010-09-01 20:02:17 UTC) #10
Scott Hess - ex-Googler
looking good. http://codereview.chromium.org/3295002/diff/17001/18002 File chrome/browser/webdata/web_database.h (right): http://codereview.chromium.org/3295002/diff/17001/18002#newcode302 chrome/browser/webdata/web_database.h:302: int GetVersionNumber(); With your change to pull ...
10 years, 3 months ago (2010-09-01 20:15:52 UTC) #11
dhollowa
http://codereview.chromium.org/3295002/diff/17001/18002 File chrome/browser/webdata/web_database.h (right): http://codereview.chromium.org/3295002/diff/17001/18002#newcode302 chrome/browser/webdata/web_database.h:302: int GetVersionNumber(); On 2010/09/01 20:15:52, shess wrote: > With ...
10 years, 3 months ago (2010-09-01 20:27:29 UTC) #12
Scott Hess - ex-Googler
10 years, 3 months ago (2010-09-01 21:28:33 UTC) #13
LGTM

Again, thanks for putting this in place.  Someday shipping a bug will be
unpossible!

Powered by Google App Engine
This is Rietveld 408576698