| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |