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

Side by Side Diff: components/webdata/autofill/web_database_migration_unittest.cc

Issue 13650007: Move WebData component unittests to //components/webdata. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « components/webdata/autofill/web_data_service_unittest.cc ('k') | components/webdata/common/web_data_service_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698