OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef SQL_TEST_TEST_HELPERS_H_ | 5 #ifndef SQL_TEST_TEST_HELPERS_H_ |
6 #define SQL_TEST_TEST_HELPERS_H_ | 6 #define SQL_TEST_TEST_HELPERS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
12 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
13 | 12 |
14 // Collection of test-only convenience functions. | 13 // Collection of test-only convenience functions. |
15 | 14 |
16 namespace base { | 15 namespace base { |
17 class FilePath; | 16 class FilePath; |
18 } | 17 } |
19 | 18 |
20 namespace sql { | 19 namespace sql { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 77 |
79 // Return the results of running "PRAGMA integrity_check" on |db|. | 78 // Return the results of running "PRAGMA integrity_check" on |db|. |
80 // TODO(shess): sql::Connection::IntegrityCheck() is basically the | 79 // TODO(shess): sql::Connection::IntegrityCheck() is basically the |
81 // same, but not as convenient for testing. Maybe combine. | 80 // same, but not as convenient for testing. Maybe combine. |
82 std::string IntegrityCheck(sql::Connection* db) WARN_UNUSED_RESULT; | 81 std::string IntegrityCheck(sql::Connection* db) WARN_UNUSED_RESULT; |
83 | 82 |
84 } // namespace test | 83 } // namespace test |
85 } // namespace sql | 84 } // namespace sql |
86 | 85 |
87 #endif // SQL_TEST_TEST_HELPERS_H_ | 86 #endif // SQL_TEST_TEST_HELPERS_H_ |
OLD | NEW |