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

Side by Side Diff: mojo/public/tests/utility/bindings_support_impl_unittest.cc

Issue 134823005: Mojo: re-organize public tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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/public/tests/test_structs.mojom ('k') | mojo/public/tests/utility/run_loop_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 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/public/utility/bindings_support_impl.h" 5 #include "mojo/public/utility/bindings_support_impl.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "mojo/public/system/core_cpp.h" 8 #include "mojo/public/system/core_cpp.h"
9 #include "mojo/public/tests/test_support.h" 9 #include "mojo/public/tests/test_support.h"
10 #include "mojo/public/utility/environment.h" 10 #include "mojo/public/utility/environment.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 BindingsSupport::Get()->CancelWait( 104 BindingsSupport::Get()->CancelWait(
105 BindingsSupport::Get()->AsyncWait(test_pipe.handle0.get(), 105 BindingsSupport::Get()->AsyncWait(test_pipe.handle0.get(),
106 MOJO_WAIT_FLAG_READABLE, &callback)); 106 MOJO_WAIT_FLAG_READABLE, &callback));
107 RunLoop::current()->Run(); 107 RunLoop::current()->Run();
108 EXPECT_EQ(0, callback.result_count()); 108 EXPECT_EQ(0, callback.result_count());
109 } 109 }
110 110
111 } // namespace 111 } // namespace
112 } // namespace mojo 112 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/tests/test_structs.mojom ('k') | mojo/public/tests/utility/run_loop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698