Searched refs:testHelper (Results 1 – 3 of 3) sorted by relevance
48 private TestHelper testHelper; field in RouteGuideClient77 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 …]
68 private final TestHelper testHelper = mock(TestHelper.class); field in RouteGuideClientTest97 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 …]
38 def testHelper(self): member in PipelineWorkerTest