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

Side by Side Diff: storage/browser/quota/quota_database_unittest.cc

Issue 2817133002: Move a couple of quota unit tests next to the files they cover. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « storage/browser/BUILD.gn ('k') | storage/browser/quota/usage_tracker_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <iterator> 9 #include <iterator>
10 #include <set> 10 #include <set>
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 ASSERT_TRUE(sql::test::CorruptSizeInHeader(kDbFile)); 689 ASSERT_TRUE(sql::test::CorruptSizeInHeader(kDbFile));
690 { 690 {
691 sql::test::ScopedErrorExpecter expecter; 691 sql::test::ScopedErrorExpecter expecter;
692 expecter.ExpectError(SQLITE_CORRUPT); 692 expecter.ExpectError(SQLITE_CORRUPT);
693 Reopen(kDbFile); 693 Reopen(kDbFile);
694 EXPECT_TRUE(expecter.SawExpectedErrors()); 694 EXPECT_TRUE(expecter.SawExpectedErrors());
695 } 695 }
696 } 696 }
697 697
698 } // namespace content 698 } // namespace content
OLDNEW
« no previous file with comments | « storage/browser/BUILD.gn ('k') | storage/browser/quota/usage_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698