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

Side by Side Diff: mojo/common/test/multiprocess_test_base.h

Issue 133533007: Mojo: Move PlatformChannelPair to its own files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | mojo/common/test/multiprocess_test_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_COMMON_TEST_MULTIPROCESS_TEST_BASE_H_ 5 #ifndef MOJO_COMMON_TEST_MULTIPROCESS_TEST_BASE_H_
6 #define MOJO_COMMON_TEST_MULTIPROCESS_TEST_BASE_H_ 6 #define MOJO_COMMON_TEST_MULTIPROCESS_TEST_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/process/process_handle.h" 12 #include "base/process/process_handle.h"
13 #include "base/test/multiprocess_test.h" 13 #include "base/test/multiprocess_test.h"
14 #include "mojo/system/platform_channel.h"
15 #include "testing/multiprocess_func_list.h" 14 #include "testing/multiprocess_func_list.h"
16 15
17 namespace mojo { 16 namespace mojo {
17
18 namespace system {
19 class PlatformChannel;
20 class PlatformChannelPair;
21 }
22
18 namespace test { 23 namespace test {
19 24
20 class MultiprocessTestBase : public base::MultiProcessTest { 25 class MultiprocessTestBase : public base::MultiProcessTest {
21 public: 26 public:
22 MultiprocessTestBase(); 27 MultiprocessTestBase();
23 virtual ~MultiprocessTestBase(); 28 virtual ~MultiprocessTestBase();
24 29
25 virtual void SetUp() OVERRIDE; 30 virtual void SetUp() OVERRIDE;
26 virtual void TearDown() OVERRIDE; 31 virtual void TearDown() OVERRIDE;
27 32
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // code (but see the comment about |WaitForChildShutdown()|). 67 // code (but see the comment about |WaitForChildShutdown()|).
63 #define MOJO_MULTIPROCESS_TEST_CHILD_MAIN(test_child_name) \ 68 #define MOJO_MULTIPROCESS_TEST_CHILD_MAIN(test_child_name) \
64 MULTIPROCESS_TEST_MAIN_WITH_SETUP( \ 69 MULTIPROCESS_TEST_MAIN_WITH_SETUP( \
65 test_child_name ## TestChildMain, \ 70 test_child_name ## TestChildMain, \
66 ::mojo::test::MultiprocessTestBase::ChildSetup) 71 ::mojo::test::MultiprocessTestBase::ChildSetup)
67 72
68 } // namespace test 73 } // namespace test
69 } // namespace mojo 74 } // namespace mojo
70 75
71 #endif // MOJO_COMMON_TEST_MULTIPROCESS_TEST_BASE_H_ 76 #endif // MOJO_COMMON_TEST_MULTIPROCESS_TEST_BASE_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/common/test/multiprocess_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698