OLD | NEW |
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 package org.chromium.mojo.bindings; | 5 package org.chromium.mojo.bindings; |
6 | 6 |
7 import android.test.suitebuilder.annotation.SmallTest; | 7 import android.support.test.filters.SmallTest; |
8 | 8 |
9 import org.chromium.base.test.util.UrlUtils; | 9 import org.chromium.base.test.util.UrlUtils; |
10 import org.chromium.mojo.HandleMock; | 10 import org.chromium.mojo.HandleMock; |
11 import org.chromium.mojo.MojoTestCase; | 11 import org.chromium.mojo.MojoTestCase; |
12 import org.chromium.mojo.bindings.test.mojom.mojo.ConformanceTestInterface; | 12 import org.chromium.mojo.bindings.test.mojom.mojo.ConformanceTestInterface; |
13 import org.chromium.mojo.bindings.test.mojom.mojo.IntegrationTestInterface; | 13 import org.chromium.mojo.bindings.test.mojom.mojo.IntegrationTestInterface; |
14 import org.chromium.mojo.bindings.test.mojom.mojo.IntegrationTestInterfaceTestHe
lper; | 14 import org.chromium.mojo.bindings.test.mojom.mojo.IntegrationTestInterfaceTestHe
lper; |
15 import org.chromium.mojo.system.Handle; | 15 import org.chromium.mojo.system.Handle; |
16 import org.chromium.mojo.system.impl.CoreImpl; | 16 import org.chromium.mojo.system.impl.CoreImpl; |
17 | 17 |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 @SmallTest | 228 @SmallTest |
229 public void testIntegrationResponseMessage() throws FileNotFoundException { | 229 public void testIntegrationResponseMessage() throws FileNotFoundException { |
230 runTest("integration_intf_resp_", | 230 runTest("integration_intf_resp_", |
231 new RoutingMessageReceiver(IntegrationTestInterface.MANAGER.buil
dStub(null, | 231 new RoutingMessageReceiver(IntegrationTestInterface.MANAGER.buil
dStub(null, |
232 IntegrationTestInterface.MANAGER.buildProxy(null, | 232 IntegrationTestInterface.MANAGER.buildProxy(null, |
233 new SinkMessageReceiver())), | 233 new SinkMessageReceiver())), |
234 IntegrationTestInterfaceTestHelper | 234 IntegrationTestInterfaceTestHelper |
235 .newIntegrationTestInterfaceMethodCallback())); | 235 .newIntegrationTestInterfaceMethodCallback())); |
236 } | 236 } |
237 } | 237 } |
OLD | NEW |