OLD | NEW |
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_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_ | 5 #ifndef MOJO_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_ |
6 #define MOJO_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_ | 6 #define MOJO_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "base/compiler_specific.h" | |
12 #include "base/process/process_handle.h" | 11 #include "base/process/process_handle.h" |
13 #include "base/test/multiprocess_test.h" | 12 #include "base/test/multiprocess_test.h" |
14 #include "base/test/test_timeouts.h" | 13 #include "base/test/test_timeouts.h" |
15 #include "mojo/edk/embedder/scoped_platform_handle.h" | 14 #include "mojo/edk/embedder/scoped_platform_handle.h" |
16 #include "testing/multiprocess_func_list.h" | 15 #include "testing/multiprocess_func_list.h" |
17 | 16 |
18 namespace mojo { | 17 namespace mojo { |
19 | 18 |
20 namespace embedder { | 19 namespace embedder { |
21 class PlatformChannelPair; | 20 class PlatformChannelPair; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 ::testing::Test::HasNonfatalFailure()) \ | 83 ::testing::Test::HasNonfatalFailure()) \ |
85 ? 1 \ | 84 ? 1 \ |
86 : 0; \ | 85 : 0; \ |
87 } \ | 86 } \ |
88 void test_child_name##TestChildTest() | 87 void test_child_name##TestChildTest() |
89 | 88 |
90 } // namespace test | 89 } // namespace test |
91 } // namespace mojo | 90 } // namespace mojo |
92 | 91 |
93 #endif // MOJO_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_ | 92 #endif // MOJO_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_ |
OLD | NEW |