summaryrefslogtreecommitdiffstats
path: root/webkit/quota/quota_database_unittest.cc
diff options
context:
space:
mode:
authortzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 05:23:50 +0000
committertzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 05:23:50 +0000
commit8c9d342df31426c4ad03029fdb9bc657b22a3a81 (patch)
treefc2bbd669b7f12fc9fd0be9af46b9090d746c318 /webkit/quota/quota_database_unittest.cc
parentc7a4a10f9b942a0d00781283e249927bbb6883c0 (diff)
downloadchromium_src-8c9d342df31426c4ad03029fdb9bc657b22a3a81.zip
chromium_src-8c9d342df31426c4ad03029fdb9bc657b22a3a81.tar.gz
chromium_src-8c9d342df31426c4ad03029fdb9bc657b22a3a81.tar.bz2
fix QuotaDatabaseTest.BootstrapFlag
BUG=61676 TEST=QuotaDatabaseTest.BootstrapFlag Review URL: http://codereview.chromium.org/7039056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/quota/quota_database_unittest.cc')
-rw-r--r--webkit/quota/quota_database_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/webkit/quota/quota_database_unittest.cc b/webkit/quota/quota_database_unittest.cc
index f65bea2..c3c0b80 100644
--- a/webkit/quota/quota_database_unittest.cc
+++ b/webkit/quota/quota_database_unittest.cc
@@ -184,14 +184,13 @@ TEST_F(QuotaDatabaseTest, OriginLastAccessTimeLRU) {
OriginLastAccessTimeLRU(FilePath());
}
-TEST(QuotaDatabaseTest, BootstrapFlag) {
+TEST_F(QuotaDatabaseTest, BootstrapFlag) {
ScopedTempDir data_dir;
ASSERT_TRUE(data_dir.CreateUniqueTempDir());
const FilePath kDbFile = data_dir.path().AppendASCII("quota_manager.db");
QuotaDatabase db(kDbFile);
-
EXPECT_FALSE(db.IsOriginDatabaseBootstrapped());
EXPECT_TRUE(db.SetOriginDatabaseBootstrapped(true));
EXPECT_TRUE(db.IsOriginDatabaseBootstrapped());