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 <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/process/process.h" | 11 #include "base/process/process.h" |
12 #include "base/test/multiprocess_test.h" | 12 #include "base/test/multiprocess_test.h" |
13 #include "base/test/test_timeouts.h" | |
14 #include "mojo/edk/embedder/scoped_platform_handle.h" | 13 #include "mojo/edk/embedder/scoped_platform_handle.h" |
15 #include "mojo/public/cpp/system/macros.h" | 14 #include "mojo/public/cpp/system/macros.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; |
22 } | 21 } |
23 | 22 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 ::testing::Test::HasNonfatalFailure()) \ | 89 ::testing::Test::HasNonfatalFailure()) \ |
91 ? 1 \ | 90 ? 1 \ |
92 : 0; \ | 91 : 0; \ |
93 } \ | 92 } \ |
94 void test_child_name##TestChildTest() | 93 void test_child_name##TestChildTest() |
95 | 94 |
96 } // namespace test | 95 } // namespace test |
97 } // namespace mojo | 96 } // namespace mojo |
98 | 97 |
99 #endif // MOJO_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_ | 98 #endif // MOJO_EDK_TEST_MULTIPROCESS_TEST_HELPER_H_ |
OLD | NEW |