diff options
Diffstat (limited to 'webkit/appcache/appcache_database_unittest.cc')
-rw-r--r-- | webkit/appcache/appcache_database_unittest.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/webkit/appcache/appcache_database_unittest.cc b/webkit/appcache/appcache_database_unittest.cc index baaeb16..62ff4ca 100644 --- a/webkit/appcache/appcache_database_unittest.cc +++ b/webkit/appcache/appcache_database_unittest.cc @@ -89,7 +89,6 @@ TEST(AppCacheDatabaseTest, EntryRecords) { entry.url = GURL("http://blah/1"); entry.flags = AppCacheEntry::MASTER; entry.response_id = 1; - entry.response_size = 100; EXPECT_TRUE(db.InsertEntry(&entry)); EXPECT_FALSE(db.InsertEntry(&entry)); @@ -97,14 +96,12 @@ TEST(AppCacheDatabaseTest, EntryRecords) { entry.url = GURL("http://blah/2"); entry.flags = AppCacheEntry::EXPLICIT; entry.response_id = 2; - entry.response_size = 200; EXPECT_TRUE(db.InsertEntry(&entry)); entry.cache_id = 2; entry.url = GURL("http://blah/3"); entry.flags = AppCacheEntry::MANIFEST; entry.response_id = 3; - entry.response_size = 300; EXPECT_TRUE(db.InsertEntry(&entry)); std::vector<AppCacheDatabase::EntryRecord> found; @@ -115,7 +112,6 @@ TEST(AppCacheDatabaseTest, EntryRecords) { EXPECT_EQ(GURL("http://blah/1"), found[0].url); EXPECT_EQ(AppCacheEntry::MASTER, found[0].flags); EXPECT_EQ(1, found[0].response_id); - EXPECT_EQ(100, found[0].response_size); found.clear(); EXPECT_TRUE(db.AddEntryFlags(GURL("http://blah/1"), 1, @@ -131,12 +127,10 @@ TEST(AppCacheDatabaseTest, EntryRecords) { EXPECT_EQ(GURL("http://blah/2"), found[0].url); EXPECT_EQ(AppCacheEntry::EXPLICIT, found[0].flags); EXPECT_EQ(2, found[0].response_id); - EXPECT_EQ(200, found[0].response_size); EXPECT_EQ(2, found[1].cache_id); EXPECT_EQ(GURL("http://blah/3"), found[1].url); EXPECT_EQ(AppCacheEntry::MANIFEST, found[1].flags); EXPECT_EQ(3, found[1].response_id); - EXPECT_EQ(300, found[1].response_size); found.clear(); EXPECT_TRUE(db.DeleteEntriesForCache(2)); @@ -165,7 +159,6 @@ TEST(AppCacheDatabaseTest, CacheRecords) { record.group_id = 1; record.online_wildcard = true; record.update_time = kZeroTimeTicks; - record.cache_size = 100; EXPECT_TRUE(db.InsertCache(&record)); EXPECT_FALSE(db.InsertCache(&record)); @@ -175,7 +168,6 @@ TEST(AppCacheDatabaseTest, CacheRecords) { EXPECT_EQ(1, record.group_id); EXPECT_TRUE(record.online_wildcard); EXPECT_TRUE(kZeroTimeTicks == record.update_time); - EXPECT_EQ(100, record.cache_size); record = kZeroRecord; EXPECT_TRUE(db.FindCacheForGroup(1, &record)); @@ -183,7 +175,6 @@ TEST(AppCacheDatabaseTest, CacheRecords) { EXPECT_EQ(1, record.group_id); EXPECT_TRUE(record.online_wildcard); EXPECT_TRUE(kZeroTimeTicks == record.update_time); - EXPECT_EQ(100, record.cache_size); EXPECT_TRUE(db.DeleteCache(1)); EXPECT_FALSE(db.FindCache(1, &record)); |