OLD | NEW |
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 Loading... |
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 |
OLD | NEW |