Searched refs:testService (Results 1 – 3 of 3) sorted by relevance
56 TestServiceImpl testService = new TestServiceImpl(); in serverAllowsServicesToBeAddedViaServiceRegistry_withoutDirectExecutor() local58 grpcServerRule1.getServiceRegistry().addService(testService); in serverAllowsServicesToBeAddedViaServiceRegistry_withoutDirectExecutor()70 assertThat(testService.unaryCallRequests).containsExactly(request1, request2); in serverAllowsServicesToBeAddedViaServiceRegistry_withoutDirectExecutor()75 TestServiceImpl testService = new TestServiceImpl(); in serviceIsNotRunOnSameThreadAsTest_withoutDirectExecutor() local77 grpcServerRule1.getServiceRegistry().addService(testService); in serviceIsNotRunOnSameThreadAsTest_withoutDirectExecutor()84 assertThat(testService.lastServerStreamingRpcThread).isNotEqualTo(Thread.currentThread()); in serviceIsNotRunOnSameThreadAsTest_withoutDirectExecutor()106 TestServiceImpl testService = new TestServiceImpl(); in serverAllowsServicesToBeAddedViaServiceRegistry_withDirectExecutor() local108 grpcServerRule2.getServiceRegistry().addService(testService); in serverAllowsServicesToBeAddedViaServiceRegistry_withDirectExecutor()120 assertThat(testService.unaryCallRequests).containsExactly(request1, request2); in serverAllowsServicesToBeAddedViaServiceRegistry_withDirectExecutor()125 TestServiceImpl testService = new TestServiceImpl(); in serviceIsRunOnSameThreadAsTest_withDirectExecutor() local[all …]
20 public void testService() { in testService() method in GuiceParentModuleTest
50 def testService(self): member in FooUnitTest