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

Side by Side Diff: third_party/WebKit/Source/core/fileapi/FileTest.cpp

Issue 1538363002: Remove config.h inclusion from third_party/WebKit/Source/core/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "config.h"
6 #include "core/fileapi/File.h" 5 #include "core/fileapi/File.h"
7 6
8 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
9 8
10 namespace blink { 9 namespace blink {
11 10
12 TEST(FileTest, nativeFile) 11 TEST(FileTest, nativeFile)
13 { 12 {
14 File* const file = File::create("/native/path"); 13 File* const file = File::create("/native/path");
15 EXPECT_TRUE(file->hasBackingFile()); 14 EXPECT_TRUE(file->hasBackingFile());
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 EXPECT_TRUE(blobFileA1->hasSameSource(*blobFileA1)); 75 EXPECT_TRUE(blobFileA1->hasSameSource(*blobFileA1));
77 EXPECT_TRUE(blobFileA1->hasSameSource(*blobFileA2)); 76 EXPECT_TRUE(blobFileA1->hasSameSource(*blobFileA2));
78 EXPECT_FALSE(blobFileA1->hasSameSource(*blobFileB)); 77 EXPECT_FALSE(blobFileA1->hasSameSource(*blobFileB));
79 78
80 EXPECT_TRUE(fileSystemFileA1->hasSameSource(*fileSystemFileA1)); 79 EXPECT_TRUE(fileSystemFileA1->hasSameSource(*fileSystemFileA1));
81 EXPECT_TRUE(fileSystemFileA1->hasSameSource(*fileSystemFileA2)); 80 EXPECT_TRUE(fileSystemFileA1->hasSameSource(*fileSystemFileA2));
82 EXPECT_FALSE(fileSystemFileA1->hasSameSource(*fileSystemFileB)); 81 EXPECT_FALSE(fileSystemFileA1->hasSameSource(*fileSystemFileB));
83 } 82 }
84 83
85 } // namespace blink 84 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/FileReaderSync.cpp ('k') | third_party/WebKit/Source/core/frame/BarProp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698