diff options
Diffstat (limited to 'webkit/database/database_tracker_unittest.cc')
-rw-r--r-- | webkit/database/database_tracker_unittest.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/webkit/database/database_tracker_unittest.cc b/webkit/database/database_tracker_unittest.cc index 88e8981..e606c7e 100644 --- a/webkit/database/database_tracker_unittest.cc +++ b/webkit/database/database_tracker_unittest.cc @@ -167,7 +167,7 @@ TEST(DatabaseTrackerTest, DeleteOpenDatabase) { tracker->RemoveObserver(&observer); } -TEST(DatabaseTrackerTest, TestIt) { +TEST(DatabaseTrackerTest, DatabaseTracker) { // Initialize the tracker database. ScopedTempDir temp_dir; EXPECT_TRUE(temp_dir.CreateUniqueTempDir()); @@ -361,4 +361,10 @@ TEST(DatabaseTrackerTest, TestIt) { EXPECT_EQ(origin1_quota, tracker->GetOriginSpaceAvailable(kOrigin1)); } +TEST(DatabaseTrackerTest, NoInitIncognito) { + scoped_refptr<DatabaseTracker> tracker(new DatabaseTracker(FilePath())); + EXPECT_TRUE(tracker->is_incognito_); + EXPECT_FALSE(tracker->LazyInit()); +} + } // namespace webkit_database |