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

Unified Diff: chrome/browser/chromeos/file_system_provider/service_unittest.cc

Issue 237583015: [fsp] Add FileSystemURLParser to the file system provider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplified. Created 6 years, 8 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 | « chrome/browser/chromeos/file_system_provider/service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/file_system_provider/service_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/service_unittest.cc b/chrome/browser/chromeos/file_system_provider/service_unittest.cc
index a24dd236db5def565ae132ccfa67d4a4f61c5573..27eb767a479430fd04b671b1ddf1864456385b30 100644
--- a/chrome/browser/chromeos/file_system_provider/service_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/service_unittest.cc
@@ -82,10 +82,6 @@ class FileSystemProviderServiceTest : public testing::Test {
base::Bind(&FakeProvidedFileSystem::Create));
}
- virtual void TearDown() {
- fileapi::ExternalMountPoints::GetSystemInstance()->RevokeAllFileSystems();
- }
-
content::TestBrowserThreadBundle thread_bundle_;
scoped_ptr<TestingProfile> profile_;
scoped_ptr<ScopedUserManagerEnabler> user_manager_enabler_;
@@ -105,7 +101,7 @@ TEST_F(FileSystemProviderServiceTest, MountFileSystem) {
EXPECT_EQ(kExtensionId, observer.mounts[0].file_system_info().extension_id());
EXPECT_EQ(1, observer.mounts[0].file_system_info().file_system_id());
base::FilePath expected_mount_path =
- util::GetMountPointPath(profile_.get(), kExtensionId, file_system_id);
+ util::GetMountPath(profile_.get(), kExtensionId, file_system_id);
EXPECT_EQ(expected_mount_path.AsUTF8Unsafe(),
observer.mounts[0].file_system_info().mount_path().AsUTF8Unsafe());
EXPECT_EQ(kFileSystemName,
@@ -191,7 +187,7 @@ TEST_F(FileSystemProviderServiceTest, UnmountFileSystem) {
observer.unmounts[0].file_system_info().extension_id());
EXPECT_EQ(1, observer.unmounts[0].file_system_info().file_system_id());
base::FilePath expected_mount_path =
- util::GetMountPointPath(profile_.get(), kExtensionId, file_system_id);
+ util::GetMountPath(profile_.get(), kExtensionId, file_system_id);
EXPECT_EQ(
expected_mount_path.AsUTF8Unsafe(),
observer.unmounts[0].file_system_info().mount_path().AsUTF8Unsafe());
« no previous file with comments | « chrome/browser/chromeos/file_system_provider/service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698