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

Unified Diff: athena/common/fill_layout_manager_unittest.cc

Issue 558483003: Rename athena/common to athena/util (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert unnecessary change Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/common/fill_layout_manager.cc ('k') | athena/common/switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/common/fill_layout_manager_unittest.cc
diff --git a/athena/common/fill_layout_manager_unittest.cc b/athena/common/fill_layout_manager_unittest.cc
deleted file mode 100644
index 3f17c7bc6960ae82a46cc8ddf75f6c2be2fe17b6..0000000000000000000000000000000000000000
--- a/athena/common/fill_layout_manager_unittest.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "athena/common/fill_layout_manager.h"
-
-#include "testing/gtest/include/gtest/gtest.h"
-#include "ui/aura/window.h"
-
-namespace athena {
-
-TEST(FillLayoutManagerTest, ChildWindowSizedCorrectly) {
- scoped_ptr<aura::Window> parent(new aura::Window(NULL));
- parent->SetBounds(gfx::Rect(10, 20, 30, 40));
- parent->SetLayoutManager(new FillLayoutManager(parent.get()));
-
- scoped_ptr<aura::Window> child(new aura::Window(NULL));
- child->SetBounds(gfx::Rect(0, 0, 5, 10));
-
- EXPECT_NE(child->bounds().size().ToString(),
- parent->bounds().size().ToString());
-
- parent->AddChild(child.get());
- EXPECT_EQ(child->bounds().size().ToString(),
- parent->bounds().size().ToString());
-
- parent->SetBounds(gfx::Rect(0, 0, 100, 200));
- EXPECT_EQ(child->bounds().size().ToString(),
- parent->bounds().size().ToString());
-}
-
-} // namespace athena
« no previous file with comments | « athena/common/fill_layout_manager.cc ('k') | athena/common/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698