• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "mojo/common/message_pump_mojo.h"
6 
7 #include "base/message_loop/message_loop_test.h"
8 #include "testing/gtest/include/gtest/gtest.h"
9 
10 namespace mojo {
11 namespace common {
12 namespace test {
13 
CreateMojoMessagePump()14 scoped_ptr<base::MessagePump> CreateMojoMessagePump() {
15   return scoped_ptr<base::MessagePump>(new MessagePumpMojo());
16 }
17 
18 RUN_MESSAGE_LOOP_TESTS(Mojo, &CreateMojoMessagePump);
19 
20 }  // namespace test
21 }  // namespace common
22 }  // namespace mojo
23