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

Side by Side Diff: mojo/common/test/multiprocess_test_helper_unittest.cc

Issue 203373004: Mojo: Move mojo/system/embedder to mojo/embedder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 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/common/test/multiprocess_test_helper.cc ('k') | mojo/common/test/run_all_perftests.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 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 #include "mojo/common/test/multiprocess_test_helper.h" 5 #include "mojo/common/test/multiprocess_test_helper.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "mojo/common/test/test_utils.h" 9 #include "mojo/common/test/test_utils.h"
10 #include "mojo/system/embedder/scoped_platform_handle.h" 10 #include "mojo/embedder/scoped_platform_handle.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 #if defined(OS_POSIX) 13 #if defined(OS_POSIX)
14 #include <fcntl.h> 14 #include <fcntl.h>
15 #endif 15 #endif
16 16
17 namespace mojo { 17 namespace mojo {
18 namespace test { 18 namespace test {
19 namespace { 19 namespace {
20 20
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 EXPECT_FALSE(MultiprocessTestHelper::client_platform_handle.is_valid()) 148 EXPECT_FALSE(MultiprocessTestHelper::client_platform_handle.is_valid())
149 << "DISREGARD: Expected failure #1 in child process"; 149 << "DISREGARD: Expected failure #1 in child process";
150 EXPECT_FALSE(IsNonBlocking( 150 EXPECT_FALSE(IsNonBlocking(
151 MultiprocessTestHelper::client_platform_handle.get())) 151 MultiprocessTestHelper::client_platform_handle.get()))
152 << "DISREGARD: Expected failure #2 in child process"; 152 << "DISREGARD: Expected failure #2 in child process";
153 } 153 }
154 154
155 } // namespace 155 } // namespace
156 } // namespace test 156 } // namespace test
157 } // namespace mojo 157 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/common/test/multiprocess_test_helper.cc ('k') | mojo/common/test/run_all_perftests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698