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

Side by Side Diff: mojo/public/tests/bindings/handle_passing_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
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/bindings/lib/remote_ptr.h" 5 #include "mojo/public/bindings/lib/remote_ptr.h"
6 #include "mojo/public/tests/simple_bindings_support.h" 6 #include "mojo/public/tests/bindings/simple_bindings_support.h"
7 #include "mojo/public/tests/test_support.h" 7 #include "mojo/public/tests/test_support.h"
8 #include "mojom/sample_factory.h" 8 #include "mojom/sample_factory.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 namespace test { 12 namespace test {
13 namespace { 13 namespace {
14 14
15 const char kText1[] = "hello"; 15 const char kText1[] = "hello";
16 const char kText2[] = "world"; 16 const char kText2[] = "world";
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 EXPECT_FALSE(factory_client.got_response()); 165 EXPECT_FALSE(factory_client.got_response());
166 166
167 PumpMessages(); 167 PumpMessages();
168 168
169 EXPECT_TRUE(factory_client.got_response()); 169 EXPECT_TRUE(factory_client.got_response());
170 } 170 }
171 171
172 } // namespace test 172 } // namespace test
173 } // namespace mojo 173 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/tests/bindings/connector_unittest.cc ('k') | mojo/public/tests/bindings/math_calculator.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698