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

Side by Side Diff: third_party/WebKit/Source/platform/geometry/DoubleRectTest.cpp

Issue 2795713004: Rewrite references to "wtf/" to "platform/wtf/" in platform/geometry. (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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "platform/geometry/DoubleRect.h" 5 #include "platform/geometry/DoubleRect.h"
6 6
7 #include "platform/wtf/text/WTFString.h"
7 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
8 #include "wtf/text/WTFString.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 TEST(DoubleRectTest, ToString) { 12 TEST(DoubleRectTest, ToString) {
13 DoubleRect emptyRect = DoubleRect(); 13 DoubleRect emptyRect = DoubleRect();
14 EXPECT_EQ("0,0 0x0", emptyRect.toString()); 14 EXPECT_EQ("0,0 0x0", emptyRect.toString());
15 15
16 DoubleRect rect(1, 2, 3, 4); 16 DoubleRect rect(1, 2, 3, 4);
17 EXPECT_EQ("1,2 3x4", rect.toString()); 17 EXPECT_EQ("1,2 3x4", rect.toString());
18 18
19 DoubleRect granularRect(1.6, 2.7, 3.8, 4.9); 19 DoubleRect granularRect(1.6, 2.7, 3.8, 4.9);
20 EXPECT_EQ("1.6,2.7 3.8x4.9", granularRect.toString()); 20 EXPECT_EQ("1.6,2.7 3.8x4.9", granularRect.toString());
21 } 21 }
22 22
23 } // namespace blink 23 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/geometry/DoubleRect.cpp ('k') | third_party/WebKit/Source/platform/geometry/DoubleSize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698