| Index: chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc
|
| diff --git a/chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc b/chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc
|
| index 583bfe86c46dd8d5278d714a1def3e739605ad68..3cb27ec3bf56f91e5b400ffd2a1c894b9442783b 100644
|
| --- a/chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc
|
| +++ b/chrome/browser/sync_file_system/syncable_file_system_util_unittest.cc
|
| @@ -111,43 +111,6 @@ TEST(SyncableFileSystemUtilTest,
|
| RevokeSyncableFileSystem();
|
| }
|
|
|
| -TEST(SyncableFileSystemUtilTest, SerializeBeforeOpenFileSystem) {
|
| - ScopedEnableSyncFSDirectoryOperation enable_directory_operation_;
|
| - const std::string serialized = kSyncableFileSystemRootURI +
|
| - CreateNormalizedFilePath(kPath).AsUTF8Unsafe();
|
| - FileSystemURL deserialized;
|
| - base::MessageLoop message_loop;
|
| -
|
| - // Setting up a full syncable filesystem environment.
|
| - CannedSyncableFileSystem file_system(GURL(kOrigin),
|
| - base::MessageLoopProxy::current().get(),
|
| - base::MessageLoopProxy::current().get());
|
| - file_system.SetUp();
|
| - scoped_refptr<LocalFileSyncContext> sync_context =
|
| - new LocalFileSyncContext(base::MessageLoopProxy::current().get(),
|
| - base::MessageLoopProxy::current().get());
|
| -
|
| - // Before calling initialization we would not be able to get a valid
|
| - // deserialized URL.
|
| - EXPECT_FALSE(DeserializeSyncableFileSystemURL(serialized, &deserialized));
|
| - EXPECT_FALSE(deserialized.is_valid());
|
| -
|
| - ASSERT_EQ(sync_file_system::SYNC_STATUS_OK,
|
| - file_system.MaybeInitializeFileSystemContext(sync_context.get()));
|
| -
|
| - // After initialization this should be ok (even before opening the file
|
| - // system).
|
| - EXPECT_TRUE(DeserializeSyncableFileSystemURL(serialized, &deserialized));
|
| - EXPECT_TRUE(deserialized.is_valid());
|
| -
|
| - // Shutting down.
|
| - file_system.TearDown();
|
| - RevokeSyncableFileSystem();
|
| - sync_context->ShutdownOnUIThread();
|
| - sync_context = NULL;
|
| - base::MessageLoop::current()->RunUntilIdle();
|
| -}
|
| -
|
| TEST(SyncableFileSystemUtilTest, SyncableFileSystemURL_IsParent) {
|
| RegisterSyncableFileSystem();
|
|
|
|
|