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

Issue 7633016: Test cleanup: Using MockSpecialStoragePolicy instead of local subclasses of SpecialStoragePolicy. (Closed)

Created:
9 years, 4 months ago by marja
Modified:
9 years, 4 months ago
CC:
chromium-reviews, kinuko+watch, darin-cc_chromium.org, Paweł Hajdan Jr., jochen (gone - plz use gerrit)
Visibility:
Public.

Description

Test cleanup: Using MockSpecialStoragePolicy instead of local subclasses of SpecialStoragePolicy. BUG=NONE TEST=Existing tests pass: FileSystemDirURLRequestJobTest.*, FileSystemURLRequestJobTest.*, FileSystemContextTest.*, DatabaseTrackerTest.*, QuotaFileUtilTest.*, FileSystemPathManagerTest.*, SandboxMountPointProviderMigrationTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97119

Patch Set 1 #

Patch Set 2 : Oops, cleaning up leftover TestSpecialStoragePolicy classes. #

Total comments: 10

Patch Set 3 : Code review modifications. #

Patch Set 4 : More code review modifications (removing class-static scoped_refptr). #

Patch Set 5 : Keeping up to date with trunk. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -140 lines) Patch
M webkit/database/database_tracker_unittest.cc View 1 2 3 4 5 chunks +17 lines, -24 lines 0 comments Download
M webkit/fileapi/file_system_context_unittest.cc View 1 2 3 4 3 chunks +5 lines, -16 lines 0 comments Download
M webkit/fileapi/file_system_dir_url_request_job_unittest.cc View 1 2 3 4 4 chunks +3 lines, -17 lines 0 comments Download
M webkit/fileapi/file_system_path_manager_unittest.cc View 1 2 3 4 3 chunks +2 lines, -17 lines 0 comments Download
M webkit/fileapi/file_system_test_helper.cc View 1 2 3 4 2 chunks +5 lines, -26 lines 0 comments Download
M webkit/fileapi/file_system_url_request_job_unittest.cc View 1 2 3 4 4 chunks +3 lines, -17 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider_unittest.cc View 1 2 3 4 3 chunks +5 lines, -22 lines 0 comments Download
M webkit/quota/mock_special_storage_policy.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M webkit/quota/mock_special_storage_policy.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
marja
Hi Michael, Here's the small test cleanup we discussed yesterday. Please review.
9 years, 4 months ago (2011-08-12 08:55:18 UTC) #1
michaeln
thnx for following up on this! http://codereview.chromium.org/7633016/diff/3001/webkit/database/database_tracker_unittest.cc File webkit/database/database_tracker_unittest.cc (right): http://codereview.chromium.org/7633016/diff/3001/webkit/database/database_tracker_unittest.cc#newcode608 webkit/database/database_tracker_unittest.cc:608: static scoped_refptr<quota::MockSpecialStoragePolicy> special_storage_policy_; ...
9 years, 4 months ago (2011-08-12 18:53:52 UTC) #2
marja
Hi, Thanks for comments. http://codereview.chromium.org/7633016/diff/3001/webkit/database/database_tracker_unittest.cc File webkit/database/database_tracker_unittest.cc (right): http://codereview.chromium.org/7633016/diff/3001/webkit/database/database_tracker_unittest.cc#newcode608 webkit/database/database_tracker_unittest.cc:608: static scoped_refptr<quota::MockSpecialStoragePolicy> special_storage_policy_; On 2011/08/12 ...
9 years, 4 months ago (2011-08-16 10:54:25 UTC) #3
michaeln
LGTM, thanx!
9 years, 4 months ago (2011-08-16 16:36:01 UTC) #4
commit-bot: I haz the power
9 years, 4 months ago (2011-08-17 09:23:05 UTC) #5
Change committed as 97119

Powered by Google App Engine
This is Rietveld 408576698