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

Unified Diff: webkit/fileapi/file_system_context_unittest.cc

Issue 7715024: Add browser_tests for FileAPI with Quota. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased. Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: webkit/fileapi/file_system_context_unittest.cc
diff --git a/webkit/fileapi/file_system_context_unittest.cc b/webkit/fileapi/file_system_context_unittest.cc
index 19da15777426e790b81a322de97d263289afd8ef..f5d6983eba997bd862428006fd55806cd0fc46f4 100644
--- a/webkit/fileapi/file_system_context_unittest.cc
+++ b/webkit/fileapi/file_system_context_unittest.cc
@@ -49,15 +49,6 @@ TEST(FileSystemContextTest, IsStorageUnlimited) {
EXPECT_FALSE(context->IsStorageUnlimited(GURL(kTestOrigins[i])));
}
- // With allow_file_access=true cases.
- context = NewFileSystemContext(true, false, NULL);
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestOrigins); ++i) {
- SCOPED_TRACE(testing::Message() << "IsStorageUnlimited /w "
- "allow_file_access=true #" << i << " " << kTestOrigins[i]);
- GURL origin(kTestOrigins[i]);
- EXPECT_EQ(origin.SchemeIsFile(), context->IsStorageUnlimited(origin));
- }
-
// With unlimited_quota=true cases.
context = NewFileSystemContext(false, true, NULL);
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestOrigins); ++i) {

Powered by Google App Engine
This is Rietveld 408576698