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

Unified Diff: webkit/fileapi/file_system_util_unittest.cc

Issue 15754005: Fix dependency: make file_system_util not depend on FileSystemURL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « webkit/fileapi/file_system_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_util_unittest.cc
diff --git a/webkit/fileapi/file_system_util_unittest.cc b/webkit/fileapi/file_system_util_unittest.cc
index c370618b593e78425dc83956557dd48ad9b76244..2b603410bb0ba269892640f3bbbe364528048f84 100644
--- a/webkit/fileapi/file_system_util_unittest.cc
+++ b/webkit/fileapi/file_system_util_unittest.cc
@@ -199,29 +199,5 @@ TEST_F(FileSystemUtilTest, RejectBadIsolatedFileSystemName) {
EXPECT_FALSE(CrackIsolatedFileSystemName("foo:Isolated_", &fsid));
}
-TEST_F(FileSystemUtilTest, AreSameFileSystem) {
- FileSystemURL url_foo_temp_a = FileSystemURL::CreateForTest(
- GURL("http://foo"), kFileSystemTypeTemporary,
- base::FilePath::FromUTF8Unsafe("a"));
- FileSystemURL url_foo_temp_b = FileSystemURL::CreateForTest(
- GURL("http://foo"), kFileSystemTypeTemporary,
- base::FilePath::FromUTF8Unsafe("b"));
- FileSystemURL url_foo_perm_a = FileSystemURL::CreateForTest(
- GURL("http://foo"), kFileSystemTypePersistent,
- base::FilePath::FromUTF8Unsafe("a"));
- FileSystemURL url_bar_temp_a = FileSystemURL::CreateForTest(
- GURL("http://bar"), kFileSystemTypeTemporary,
- base::FilePath::FromUTF8Unsafe("a"));
- FileSystemURL url_bar_perm_a = FileSystemURL::CreateForTest(
- GURL("http://bar"), kFileSystemTypePersistent,
- base::FilePath::FromUTF8Unsafe("a"));
-
- EXPECT_TRUE(AreSameFileSystem(url_foo_temp_a, url_foo_temp_a));
- EXPECT_TRUE(AreSameFileSystem(url_foo_temp_a, url_foo_temp_b));
- EXPECT_FALSE(AreSameFileSystem(url_foo_temp_a, url_foo_perm_a));
- EXPECT_FALSE(AreSameFileSystem(url_foo_temp_a, url_bar_temp_a));
- EXPECT_FALSE(AreSameFileSystem(url_foo_temp_a, url_bar_perm_a));
-}
-
} // namespace (anonymous)
} // namespace fileapi
« no previous file with comments | « webkit/fileapi/file_system_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698