OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/file_util.h" | 6 #include "base/files/file_util.h" |
7 #include "base/files/scoped_file.h" | 7 #include "base/files/scoped_file.h" |
8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "sql/connection.h" | 10 #include "sql/connection.h" |
11 #include "sql/meta_table.h" | 11 #include "sql/meta_table.h" |
12 #include "sql/statement.h" | 12 #include "sql/statement.h" |
13 #include "sql/test/error_callback_support.h" | 13 #include "sql/test/error_callback_support.h" |
14 #include "sql/test/scoped_error_ignorer.h" | 14 #include "sql/test/scoped_error_ignorer.h" |
15 #include "sql/test/test_helpers.h" | 15 #include "sql/test/test_helpers.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 EXPECT_LT(1u, messages.size()); | 861 EXPECT_LT(1u, messages.size()); |
862 EXPECT_NE(kOk, messages[0]); | 862 EXPECT_NE(kOk, messages[0]); |
863 ASSERT_TRUE(ignore_errors.CheckIgnoredErrors()); | 863 ASSERT_TRUE(ignore_errors.CheckIgnoredErrors()); |
864 } | 864 } |
865 | 865 |
866 // TODO(shess): CorruptTableOrIndex could be used to produce a | 866 // TODO(shess): CorruptTableOrIndex could be used to produce a |
867 // file that would pass the quick check and fail the full check. | 867 // file that would pass the quick check and fail the full check. |
868 } | 868 } |
869 | 869 |
870 } // namespace | 870 } // namespace |
OLD | NEW |