Index: mojo/common/message_pump_mojo_unittest.cc |
diff --git a/mojo/common/message_pump_mojo_unittest.cc b/mojo/common/message_pump_mojo_unittest.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4276a0d45737cfff9f1337dc3d26f05f10a854e4 |
--- /dev/null |
+++ b/mojo/common/message_pump_mojo_unittest.cc |
@@ -0,0 +1,22 @@ |
+// Copyright 2013 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 "mojo/common/message_pump_mojo.h" |
+ |
+#include "base/message_loop/message_loop_test.h" |
+#include "testing/gtest/include/gtest/gtest.h" |
+ |
+namespace mojo { |
+namespace common { |
+namespace test { |
+ |
+base::MessagePump* CreateMojoMessagePump() { |
+ return new MessagePumpMojo(); |
+} |
+ |
+RUN_MESSAGE_LOOP_TESTS(Mojo, &CreateMojoMessagePump); |
+ |
+} // namespace test |
+} // namespace common |
+} // namespace mojo |