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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
9 #include "base/guid.h" | 9 #include "base/guid.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
(...skipping 1971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1982 ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection)); | 1982 ASSERT_TRUE(sql::MetaTable::DoesTableExist(&connection)); |
1983 | 1983 |
1984 // Check version. | 1984 // Check version. |
1985 EXPECT_EQ(kCurrentTestedVersionNumber, VersionFromConnection(&connection)); | 1985 EXPECT_EQ(kCurrentTestedVersionNumber, VersionFromConnection(&connection)); |
1986 | 1986 |
1987 // A new column should have been created. | 1987 // A new column should have been created. |
1988 EXPECT_TRUE(connection.DoesColumnExist("keywords", | 1988 EXPECT_TRUE(connection.DoesColumnExist("keywords", |
1989 "search_terms_replacement_key")); | 1989 "search_terms_replacement_key")); |
1990 } | 1990 } |
1991 } | 1991 } |
OLD | NEW |