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

Side by Side Diff: ui/gfx/rect_unittest.cc

Issue 6246027: Move src/gfx/ to src/ui/gfx... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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
« no previous file with comments | « ui/gfx/rect.cc ('k') | ui/gfx/run_all_unittests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/basictypes.h" 5 #include "base/basictypes.h"
6 #include "gfx/rect.h" 6 #include "gfx/rect.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 typedef testing::Test RectTest; 9 typedef testing::Test RectTest;
10 10
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 gfx::Rect just_above_no_edge(2, 1, 5, 2); // too wide 305 gfx::Rect just_above_no_edge(2, 1, 5, 2); // too wide
306 gfx::Rect just_below_no_edge(2, 8, 3, 2); // too narrow 306 gfx::Rect just_below_no_edge(2, 8, 3, 2); // too narrow
307 gfx::Rect just_left_no_edge(0, 3, 2, 6); // too tall 307 gfx::Rect just_left_no_edge(0, 3, 2, 6); // too tall
308 gfx::Rect just_right_no_edge(6, 3, 2, 4); // too short 308 gfx::Rect just_right_no_edge(6, 3, 2, 4); // too short
309 309
310 EXPECT_FALSE(r.SharesEdgeWith(just_above_no_edge)); 310 EXPECT_FALSE(r.SharesEdgeWith(just_above_no_edge));
311 EXPECT_FALSE(r.SharesEdgeWith(just_below_no_edge)); 311 EXPECT_FALSE(r.SharesEdgeWith(just_below_no_edge));
312 EXPECT_FALSE(r.SharesEdgeWith(just_left_no_edge)); 312 EXPECT_FALSE(r.SharesEdgeWith(just_left_no_edge));
313 EXPECT_FALSE(r.SharesEdgeWith(just_right_no_edge)); 313 EXPECT_FALSE(r.SharesEdgeWith(just_right_no_edge));
314 } 314 }
OLDNEW
« no previous file with comments | « ui/gfx/rect.cc ('k') | ui/gfx/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698