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

Side by Side Diff: storage/browser/fileapi/local_file_util_unittest.cc

Issue 2813353003: Move some File API backend unit tests next to the files that they cover. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file.h" 10 #include "base/files/file.h"
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 CreateURL(from_dir), 373 CreateURL(from_dir),
374 CreateURL(to_dir))); 374 CreateURL(to_dir)));
375 375
376 EXPECT_FALSE(DirectoryExists(from_dir)); 376 EXPECT_FALSE(DirectoryExists(from_dir));
377 EXPECT_TRUE(DirectoryExists(to_dir)); 377 EXPECT_TRUE(DirectoryExists(to_dir));
378 EXPECT_TRUE(FileExists(to_file)); 378 EXPECT_TRUE(FileExists(to_file));
379 EXPECT_EQ(1020, GetSize(to_file)); 379 EXPECT_EQ(1020, GetSize(to_file));
380 } 380 }
381 381
382 } // namespace content 382 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698