Home
last modified time | relevance | path

Searched refs:testHelper (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/routeguide/
DRouteGuideClient.java48 private TestHelper testHelper; field in RouteGuideClient
77 if (testHelper != null) { in getFeature()
78 testHelper.onMessage(feature); in getFeature()
82 if (testHelper != null) { in getFeature()
83 testHelper.onRpcError(e); in getFeature()
117 if (testHelper != null) { in listFeatures()
118 testHelper.onMessage(feature); in listFeatures()
123 if (testHelper != null) { in listFeatures()
124 testHelper.onRpcError(e); in listFeatures()
143 if (testHelper != null) { in recordRoute()
[all …]
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/routeguide/
DRouteGuideClientTest.java68 private final TestHelper testHelper = mock(TestHelper.class); field in RouteGuideClientTest
97 client.setTestHelper(testHelper); in setUp()
131 verify(testHelper).onMessage(responseFeature); in getFeature()
132 verify(testHelper, never()).onRpcError(any(Throwable.class)); in getFeature()
159 verify(testHelper).onRpcError(errorCaptor.capture()); in getFeature_error()
196 verify(testHelper).onMessage(responseFeature1); in listFeatures()
197 verify(testHelper).onMessage(responseFeature2); in listFeatures()
198 verify(testHelper, never()).onRpcError(any(Throwable.class)); in listFeatures()
235 verify(testHelper).onMessage(responseFeature1); in listFeatures_error()
236 verify(testHelper).onRpcError(errorCaptor.capture()); in listFeatures_error()
[all …]
/external/toolchain-utils/bestflags/
Dpipeline_worker_test.py38 def testHelper(self): member in PipelineWorkerTest