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

Unified Diff: mash/wm/accelerator_registrar_unittest.cc

Issue 2009563002: NOCOMMIT: Try using AuraTestBase and ViewsTestBase in mash_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « mash/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/accelerator_registrar_unittest.cc
diff --git a/mash/wm/accelerator_registrar_unittest.cc b/mash/wm/accelerator_registrar_unittest.cc
index f108c69b0fd60d20382cb3a29b2fd2fc15985a3b..18b339087ea649ee168335b14792c52dbcf2dbc7 100644
--- a/mash/wm/accelerator_registrar_unittest.cc
+++ b/mash/wm/accelerator_registrar_unittest.cc
@@ -15,6 +15,9 @@
#include "mojo/public/cpp/bindings/binding.h"
#include "services/shell/public/cpp/shell_test.h"
+#include "ui/aura/test/aura_test_base.h"
+#include "ui/views/test/views_test_base.h"
+
using mus::mojom::AcceleratorHandler;
using mus::mojom::AcceleratorHandlerPtr;
using mus::mojom::AcceleratorRegistrar;
@@ -112,5 +115,25 @@ TEST_F(AcceleratorRegistrarTest, AcceleratorRegistrarBasic) {
mus::mojom::kEventFlagShiftDown)));
}
+class FooTest : public aura::test::AuraTestBase {
+ public:
+ FooTest() {}
+ ~FooTest() override {}
+};
+
+TEST_F(FooTest, Bar) {
+ EXPECT_TRUE(false);
+}
+
+class ViewsTest : public views::ViewsTestBase {
+ public:
+ ViewsTest() {}
+ ~ViewsTest() override {}
+};
+
+TEST_F(ViewsTest, Bar) {
+ EXPECT_TRUE(false);
+}
+
} // namespace wm
} // namespace mash
« no previous file with comments | « mash/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698