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

Unified Diff: components/mus/public/cpp/tests/window_unittest.cc

Issue 1416453005: Adds window resizing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « components/mus/public/cpp/tests/test_window.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/tests/window_unittest.cc
diff --git a/components/mus/public/cpp/tests/window_unittest.cc b/components/mus/public/cpp/tests/window_unittest.cc
index a4af4b1956799062d4b8cdd53f2935c281142246..04f907a7ba122646c6295a493bd76bc41226e167 100644
--- a/components/mus/public/cpp/tests/window_unittest.cc
+++ b/components/mus/public/cpp/tests/window_unittest.cc
@@ -8,6 +8,7 @@
#include "base/strings/stringprintf.h"
#include "components/mus/public/cpp/lib/window_private.h"
#include "components/mus/public/cpp/property_type_converters.h"
+#include "components/mus/public/cpp/tests/test_window.h"
#include "components/mus/public/cpp/util.h"
#include "components/mus/public/cpp/window_observer.h"
#include "components/mus/public/cpp/window_property.h"
@@ -18,17 +19,7 @@ namespace mus {
// Window ---------------------------------------------------------------------
-typedef testing::Test WindowTest;
-
-// Subclass with public ctor/dtor.
-class TestWindow : public Window {
- public:
- TestWindow() { WindowPrivate(this).set_id(1); }
- ~TestWindow() {}
-
- private:
- MOJO_DISALLOW_COPY_AND_ASSIGN(TestWindow);
-};
+using WindowTest = testing::Test;
TEST_F(WindowTest, AddChild) {
TestWindow w1;
« no previous file with comments | « components/mus/public/cpp/tests/test_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698