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

Side by Side Diff: mojo/embedder/embedder_unittest.cc

Issue 472903002: Mojo: Get rid of some unneeded namespace qualifiers in mojo/embedder/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « mojo/embedder/channel_init.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/embedder/embedder.h" 5 #include "mojo/embedder/embedder.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 MOJO_DEADLINE_INDEFINITE)); 449 MOJO_DEADLINE_INDEFINITE));
450 #endif 450 #endif
451 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(mp2)); 451 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(mp2));
452 } 452 }
453 453
454 EXPECT_TRUE(multiprocess_test_helper.WaitForChildTestShutdown()); 454 EXPECT_TRUE(multiprocess_test_helper.WaitForChildTestShutdown());
455 EXPECT_TRUE(test::Shutdown()); 455 EXPECT_TRUE(test::Shutdown());
456 } 456 }
457 457
458 MOJO_MULTIPROCESS_TEST_CHILD_TEST(MultiprocessChannelsClient) { 458 MOJO_MULTIPROCESS_TEST_CHILD_TEST(MultiprocessChannelsClient) {
459 embedder::ScopedPlatformHandle client_platform_handle = 459 ScopedPlatformHandle client_platform_handle =
460 mojo::test::MultiprocessTestHelper::client_platform_handle.Pass(); 460 mojo::test::MultiprocessTestHelper::client_platform_handle.Pass();
461 EXPECT_TRUE(client_platform_handle.is_valid()); 461 EXPECT_TRUE(client_platform_handle.is_valid());
462 462
463 system::test::TestIOThread test_io_thread( 463 system::test::TestIOThread test_io_thread(
464 system::test::TestIOThread::kAutoStart); 464 system::test::TestIOThread::kAutoStart);
465 Init(); 465 Init();
466 466
467 { 467 {
468 ScopedTestChannel client_channel(test_io_thread.task_runner(), 468 ScopedTestChannel client_channel(test_io_thread.task_runner(),
469 client_platform_handle.Pass()); 469 client_platform_handle.Pass());
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 581
582 EXPECT_TRUE(test::Shutdown()); 582 EXPECT_TRUE(test::Shutdown());
583 } 583 }
584 584
585 // TODO(vtl): Test immediate write & close. 585 // TODO(vtl): Test immediate write & close.
586 // TODO(vtl): Test broken-connection cases. 586 // TODO(vtl): Test broken-connection cases.
587 587
588 } // namespace 588 } // namespace
589 } // namespace embedder 589 } // namespace embedder
590 } // namespace mojo 590 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/embedder/channel_init.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698