| Index: trunk/src/chrome/browser/chromeos/file_system_provider/service_unittest.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/chromeos/file_system_provider/service_unittest.cc (revision 264799)
|
| +++ trunk/src/chrome/browser/chromeos/file_system_provider/service_unittest.cc (working copy)
|
| @@ -82,6 +82,10 @@
|
| 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_;
|
| @@ -101,7 +105,7 @@
|
| 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::GetMountPath(profile_.get(), kExtensionId, file_system_id);
|
| + util::GetMountPointPath(profile_.get(), kExtensionId, file_system_id);
|
| EXPECT_EQ(expected_mount_path.AsUTF8Unsafe(),
|
| observer.mounts[0].file_system_info().mount_path().AsUTF8Unsafe());
|
| EXPECT_EQ(kFileSystemName,
|
| @@ -187,7 +191,7 @@
|
| 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::GetMountPath(profile_.get(), kExtensionId, file_system_id);
|
| + util::GetMountPointPath(profile_.get(), kExtensionId, file_system_id);
|
| EXPECT_EQ(
|
| expected_mount_path.AsUTF8Unsafe(),
|
| observer.unmounts[0].file_system_info().mount_path().AsUTF8Unsafe());
|
|
|