| OLD | NEW | 
|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "chrome/browser/chromeos/drive/file_system/remove_operation.h" | 5 #include "chrome/browser/chromeos/drive/file_system/remove_operation.h" | 
| 6 | 6 | 
| 7 #include "chrome/browser/chromeos/drive/file_change.h" | 7 #include "chrome/browser/chromeos/drive/file_change.h" | 
| 8 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h" | 8 #include "chrome/browser/chromeos/drive/file_system/operation_test_base.h" | 
| 9 #include "chrome/browser/chromeos/drive/file_system_util.h" | 9 #include "chrome/browser/chromeos/drive/file_system_core_util.h" | 
| 10 #include "content/public/test/test_utils.h" | 10 #include "content/public/test/test_utils.h" | 
| 11 #include "google_apis/drive/test_util.h" | 11 #include "google_apis/drive/test_util.h" | 
| 12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" | 
| 13 | 13 | 
| 14 namespace drive { | 14 namespace drive { | 
| 15 namespace file_system { | 15 namespace file_system { | 
| 16 | 16 | 
| 17 typedef OperationTestBase RemoveOperationTest; | 17 typedef OperationTestBase RemoveOperationTest; | 
| 18 | 18 | 
| 19 TEST_F(RemoveOperationTest, RemoveFile) { | 19 TEST_F(RemoveOperationTest, RemoveFile) { | 
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 123   content::RunAllBlockingPoolTasksUntilIdle(); | 123   content::RunAllBlockingPoolTasksUntilIdle(); | 
| 124   EXPECT_EQ(FILE_ERROR_OK, error); | 124   EXPECT_EQ(FILE_ERROR_OK, error); | 
| 125   EXPECT_EQ(FILE_ERROR_NOT_FOUND, | 125   EXPECT_EQ(FILE_ERROR_NOT_FOUND, | 
| 126             GetLocalResourceEntry(non_empty_dir, &entry)); | 126             GetLocalResourceEntry(non_empty_dir, &entry)); | 
| 127   EXPECT_EQ(FILE_ERROR_NOT_FOUND, | 127   EXPECT_EQ(FILE_ERROR_NOT_FOUND, | 
| 128             GetLocalResourceEntry(file_in_non_empty_dir, &entry)); | 128             GetLocalResourceEntry(file_in_non_empty_dir, &entry)); | 
| 129 } | 129 } | 
| 130 | 130 | 
| 131 }  // namespace file_system | 131 }  // namespace file_system | 
| 132 }  // namespace drive | 132 }  // namespace drive | 
| OLD | NEW | 
|---|