OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "third_party/mojo/src/mojo/edk/system/endpoint_relayer.h" | 5 #include "third_party/mojo/src/mojo/edk/system/endpoint_relayer.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/synchronization/waitable_event.h" | 8 #include "base/synchronization/waitable_event.h" |
9 #include "base/test/test_timeouts.h" | 9 #include "base/test/test_timeouts.h" |
10 #include "mojo/public/cpp/system/macros.h" | |
11 #include "third_party/mojo/src/mojo/edk/system/channel_endpoint_id.h" | 10 #include "third_party/mojo/src/mojo/edk/system/channel_endpoint_id.h" |
12 #include "third_party/mojo/src/mojo/edk/system/channel_test_base.h" | 11 #include "third_party/mojo/src/mojo/edk/system/channel_test_base.h" |
13 #include "third_party/mojo/src/mojo/edk/system/message_in_transit_queue.h" | 12 #include "third_party/mojo/src/mojo/edk/system/message_in_transit_queue.h" |
14 #include "third_party/mojo/src/mojo/edk/system/message_in_transit_test_utils.h" | 13 #include "third_party/mojo/src/mojo/edk/system/message_in_transit_test_utils.h" |
15 #include "third_party/mojo/src/mojo/edk/system/test_channel_endpoint_client.h" | 14 #include "third_party/mojo/src/mojo/edk/system/test_channel_endpoint_client.h" |
| 15 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h" |
16 | 16 |
17 namespace mojo { | 17 namespace mojo { |
18 namespace system { | 18 namespace system { |
19 namespace { | 19 namespace { |
20 | 20 |
21 class EndpointRelayerTest : public test::ChannelTestBase { | 21 class EndpointRelayerTest : public test::ChannelTestBase { |
22 public: | 22 public: |
23 EndpointRelayerTest() {} | 23 EndpointRelayerTest() {} |
24 ~EndpointRelayerTest() override {} | 24 ~EndpointRelayerTest() override {} |
25 | 25 |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 ASSERT_TRUE(message); | 222 ASSERT_TRUE(message); |
223 test::VerifyTestMessage(message.get(), message_id); | 223 test::VerifyTestMessage(message.get(), message_id); |
224 } | 224 } |
225 } | 225 } |
226 | 226 |
227 // TODO(vtl): Add some "shutdown" tests. | 227 // TODO(vtl): Add some "shutdown" tests. |
228 | 228 |
229 } // namespace | 229 } // namespace |
230 } // namespace system | 230 } // namespace system |
231 } // namespace mojo | 231 } // namespace mojo |
OLD | NEW |