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

Side by Side Diff: webkit/browser/fileapi/native_file_util_unittest.cc

Issue 14895013: Move webkit/fileapi/file_system_mount_point_provider.h to webkit/browser/fileapi (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/files/scoped_temp_dir.h" 6 #include "base/files/scoped_temp_dir.h"
7 #include "base/platform_file.h" 7 #include "base/platform_file.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "webkit/fileapi/native_file_util.h" 9 #include "webkit/browser/fileapi/native_file_util.h"
10 10
11 namespace fileapi { 11 namespace fileapi {
12 12
13 class NativeFileUtilTest : public testing::Test { 13 class NativeFileUtilTest : public testing::Test {
14 public: 14 public:
15 NativeFileUtilTest() {} 15 NativeFileUtilTest() {}
16 16
17 virtual void SetUp() { 17 virtual void SetUp() {
18 ASSERT_TRUE(data_dir_.CreateUniqueTempDir()); 18 ASSERT_TRUE(data_dir_.CreateUniqueTempDir());
19 } 19 }
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 Path("nodir").AppendASCII("file"), 331 Path("nodir").AppendASCII("file"),
332 false)); 332 false));
333 // Destination's parent is a file. 333 // Destination's parent is a file.
334 EXPECT_EQ(base::PLATFORM_FILE_ERROR_NOT_FOUND, 334 EXPECT_EQ(base::PLATFORM_FILE_ERROR_NOT_FOUND,
335 NativeFileUtil::CopyOrMoveFile(from_file, 335 NativeFileUtil::CopyOrMoveFile(from_file,
336 Path("tofile1").AppendASCII("file"), 336 Path("tofile1").AppendASCII("file"),
337 false)); 337 false));
338 } 338 }
339 339
340 } // namespace fileapi 340 } // namespace fileapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698