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

Side by Side Diff: mojo/edk/system/endpoint_relayer_unittest.cc

Issue 1408003013: Reland "EDK: Move //mojo/edk/system/waitable_event* to edk/util." (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « mojo/edk/system/dispatcher_unittest.cc ('k') | mojo/edk/system/ipc_support_unittest.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 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 "mojo/edk/system/endpoint_relayer.h" 5 #include "mojo/edk/system/endpoint_relayer.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "mojo/edk/system/channel_endpoint_id.h" 8 #include "mojo/edk/system/channel_endpoint_id.h"
9 #include "mojo/edk/system/channel_test_base.h" 9 #include "mojo/edk/system/channel_test_base.h"
10 #include "mojo/edk/system/message_in_transit_queue.h" 10 #include "mojo/edk/system/message_in_transit_queue.h"
11 #include "mojo/edk/system/message_in_transit_test_utils.h" 11 #include "mojo/edk/system/message_in_transit_test_utils.h"
12 #include "mojo/edk/system/test/timeouts.h" 12 #include "mojo/edk/system/test/timeouts.h"
13 #include "mojo/edk/system/test_channel_endpoint_client.h" 13 #include "mojo/edk/system/test_channel_endpoint_client.h"
14 #include "mojo/edk/system/waitable_event.h"
15 #include "mojo/edk/util/make_unique.h" 14 #include "mojo/edk/util/make_unique.h"
16 #include "mojo/edk/util/ref_ptr.h" 15 #include "mojo/edk/util/ref_ptr.h"
16 #include "mojo/edk/util/waitable_event.h"
17 #include "mojo/public/cpp/system/macros.h" 17 #include "mojo/public/cpp/system/macros.h"
18 18
19 using mojo::util::MakeRefCounted; 19 using mojo::util::MakeRefCounted;
20 using mojo::util::ManualResetWaitableEvent;
20 using mojo::util::RefPtr; 21 using mojo::util::RefPtr;
21 22
22 namespace mojo { 23 namespace mojo {
23 namespace system { 24 namespace system {
24 namespace { 25 namespace {
25 26
26 class EndpointRelayerTest : public test::ChannelTestBase { 27 class EndpointRelayerTest : public test::ChannelTestBase {
27 public: 28 public:
28 EndpointRelayerTest() {} 29 EndpointRelayerTest() {}
29 ~EndpointRelayerTest() override {} 30 ~EndpointRelayerTest() override {}
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 ASSERT_TRUE(message); 229 ASSERT_TRUE(message);
229 test::VerifyTestMessage(message.get(), message_id); 230 test::VerifyTestMessage(message.get(), message_id);
230 } 231 }
231 } 232 }
232 233
233 // TODO(vtl): Add some "shutdown" tests. 234 // TODO(vtl): Add some "shutdown" tests.
234 235
235 } // namespace 236 } // namespace
236 } // namespace system 237 } // namespace system
237 } // namespace mojo 238 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/dispatcher_unittest.cc ('k') | mojo/edk/system/ipc_support_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698