diff options
author | tzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-19 05:23:50 +0000 |
---|---|---|
committer | tzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-19 05:23:50 +0000 |
commit | 8c9d342df31426c4ad03029fdb9bc657b22a3a81 (patch) | |
tree | fc2bbd669b7f12fc9fd0be9af46b9090d746c318 /webkit/quota/quota_database_unittest.cc | |
parent | c7a4a10f9b942a0d00781283e249927bbb6883c0 (diff) | |
download | chromium_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.cc | 3 |
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()); |