/external/pigweed/pw_rpc/ |
D | base_server_writer_test.cc | 30 class TestService : public Service { class 32 constexpr TestService(uint32_t id) : Service(id, method) {} in TestService() function in pw::rpc::TestService 43 ServerContextForTest<TestService> context(TestService::method.method()); in TEST() 51 ServerContextForTest<TestService> context(TestService::method.method()); in TEST() 87 ServerContextForTest<TestService> context(TestService::method.method()); in TEST() 98 ServerContextForTest<TestService> context(TestService::method.method()); in TEST() 106 ServerContextForTest<TestService> context(TestService::method.method()); in TEST() 116 ServerContextForTest<TestService> context(TestService::method.method()); in TEST() 131 ServerContextForTest<TestService> context(TestService::method.method()); in TEST() 139 ServerContextForTest<TestService> context(TestService::method.method()); in TEST() [all …]
|
D | service_test.cc | 57 class TestService : public Service { class 59 constexpr TestService() : Service(0xabcd, kMethods) {} in TestService() function in pw::rpc::__anon3e6944ca0111::TestService 69 TestService service; in TEST() 71 &TestService::kMethods[0].method()); in TEST() 73 &TestService::kMethods[1].method()); in TEST() 75 &TestService::kMethods[2].method()); in TEST() 79 TestService service; in TEST()
|
/external/pigweed/pw_rpc/pw_rpc_private/ |
D | method_impl_tester.h | 46 template <typename MethodImpl, typename TestService, auto... extra_method_args> 49 static_assert(MethodTraits<decltype(&TestService::Unary)>::kType == 51 static_assert(MethodTraits<decltype(&TestService::StaticUnary)>::kType == 53 static_assert(MethodTraits<decltype(&TestService::ServerStreaming)>::kType == 56 MethodTraits<decltype(&TestService::StaticServerStreaming)>::kType == 61 MethodImpl::template Unary<&TestService::Unary>(1, extra_method_args...); 65 MethodImpl::template Unary<&TestService::StaticUnary>( 70 MethodImpl::template ServerStreaming<&TestService::ServerStreaming>( 75 MethodImpl::template ServerStreaming<&TestService::StaticServerStreaming>(
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | AbstractIdleServiceTest.java | 97 TestService service = new TestService(); in testStart() 107 TestService service = in testStart_failed() 108 new TestService() { in testStart_failed() 128 TestService service = new TestService(); in testStop_withoutStart() 137 TestService service = new TestService(); in testStop_afterStart() 152 TestService service = in testStop_failed() 153 new TestService() { in testStop_failed() 178 AbstractIdleService service = new TestService(); in testServiceToString() 189 new TestService() { in testTimeout() 213 private static class TestService extends AbstractIdleService { class in AbstractIdleServiceTest
|
D | AbstractScheduledServiceTest.java | 91 TestService service = new TestService(); in testFailOnExceptionFromRun() 108 TestService service = new TestService(); in testFailOnExceptionFromStartUp() 123 TestService service = new TestService(); in testFailOnErrorFromStartUpListener() 147 TestService service = new TestService(); in testFailOnExceptionFromShutDown() 163 TestService service = new TestService(); in testRunOneIterationCalledMultipleTimes() 177 TestService service = new TestService(); in testExecutorOnlyCalledOnce() 255 TestService service = new TestService(); in testSchedulerOnlyCalledOnce() 304 private class TestService extends AbstractScheduledService { class in AbstractScheduledServiceTest
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AbstractIdleServiceTest.java | 97 TestService service = new TestService(); in testStart() 107 TestService service = in testStart_failed() 108 new TestService() { in testStart_failed() 128 TestService service = new TestService(); in testStop_withoutStart() 137 TestService service = new TestService(); in testStop_afterStart() 152 TestService service = in testStop_failed() 153 new TestService() { in testStop_failed() 178 AbstractIdleService service = new TestService(); in testServiceToString() 189 new TestService() { in testTimeout() 213 private static class TestService extends AbstractIdleService { class in AbstractIdleServiceTest
|
D | AbstractScheduledServiceTest.java | 91 TestService service = new TestService(); in testFailOnExceptionFromRun() 108 TestService service = new TestService(); in testFailOnExceptionFromStartUp() 123 TestService service = new TestService(); in testFailOnErrorFromStartUpListener() 147 TestService service = new TestService(); in testFailOnExceptionFromShutDown() 163 TestService service = new TestService(); in testRunOneIterationCalledMultipleTimes() 177 TestService service = new TestService(); in testExecutorOnlyCalledOnce() 255 TestService service = new TestService(); in testSchedulerOnlyCalledOnce() 304 private class TestService extends AbstractScheduledService { class in AbstractScheduledServiceTest
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
D | InteropClient.cs | 137 var client = new TestService.TestServiceClient(channel); in RunTestCaseAsync() 202 public static void RunEmptyUnary(TestService.TestServiceClient client) in RunEmptyUnary() 210 public static void RunLargeUnary(TestService.TestServiceClient client) in RunLargeUnary() 224 public static async Task RunClientStreamingAsync(TestService.TestServiceClient client) in RunClientStreamingAsync() 240 public static async Task RunServerStreamingAsync(TestService.TestServiceClient client) in RunServerStreamingAsync() 259 public static async Task RunPingPongAsync(TestService.TestServiceClient client) in RunPingPongAsync() 308 public static async Task RunEmptyStreamAsync(TestService.TestServiceClient client) in RunEmptyStreamAsync() 321 …public static void RunComputeEngineCreds(TestService.TestServiceClient client, string defaultServi… in RunComputeEngineCreds() 343 public static void RunJwtTokenCreds(TestService.TestServiceClient client) in RunJwtTokenCreds() 362 …public static async Task RunOAuth2AuthTokenAsync(TestService.TestServiceClient client, string oaut… in RunOAuth2AuthTokenAsync() [all …]
|
D | MetadataCredentialsTest.cs | 37 TestService.TestServiceClient client; 47 Services = { TestService.BindService(new FakeTestService()) }, in Init() 77 client = new TestService.TestServiceClient(channel); in MetadataCredentials() 86 client = new TestService.TestServiceClient(channel); in MetadataCredentials_PerCall() 111 var client = new TestService.TestServiceClient(channel); in MetadataCredentials_Composed() 121 var client = new TestService.TestServiceClient(channel); in MetadataCredentials_ComposedPerCall() 146 client = new TestService.TestServiceClient(channel); in MetadataCredentials_InterceptorLeavesMetadataEmpty() 163 client = new TestService.TestServiceClient(channel); in MetadataCredentials_InterceptorThrows() 170 private class FakeTestService : TestService.TestServiceBase
|
D | GeneratedServiceBaseTest.cs | 37 TestService.TestServiceClient client; 45 Services = { TestService.BindService(new UnimplementedTestServiceImpl()) }, in Init() 50 client = new TestService.TestServiceClient(channel); in Init() 97 private class UnimplementedTestServiceImpl : TestService.TestServiceBase
|
D | CustomErrorDetailsTest.cs | 43 TestService.TestServiceClient client; 51 Services = { TestService.BindService(new CustomErrorDetailsTestServiceImpl()) }, in Init() 57 client = new TestService.TestServiceClient(channel); in Init() 109 private class CustomErrorDetailsTestServiceImpl : TestService.TestServiceBase
|
D | SslCredentialsTest.cs | 42 TestService.TestServiceClient client; 58 Services = { TestService.BindService(new SslCredentialsTestServiceImpl()) }, in Init() 69 client = new TestService.TestServiceClient(channel); in Init() 95 private class SslCredentialsTestServiceImpl : TestService.TestServiceBase
|
D | InteropClientServerTest.cs | 39 TestService.TestServiceClient client; 47 Services = { TestService.BindService(new TestServiceImpl()) }, in Init() 58 client = new TestService.TestServiceClient(channel); in Init()
|
D | GeneratedClientTest.cs | 34 TestService.TestServiceClient unimplementedClient = new UnimplementedTestServiceClient(); 63 private class UnimplementedTestServiceClient : TestService.TestServiceClient
|
/external/libchrome/dbus/ |
D | object_proxy_unittest.cc | 56 TestService::Options options; in TEST_F() 57 TestService test_service(options); in TEST_F() 93 TestService::Options options; in TEST_F() 94 TestService test_service(options); in TEST_F() 117 TestService::Options options; in TEST_F() 118 TestService test_service(options); in TEST_F()
|
D | signal_sender_verification_unittest.cc | 43 TestService::Options options; in SetUp() 45 test_service_.reset(new TestService(options)); in SetUp() 85 test_service2_.reset(new TestService(options)); in SetUp() 163 void SafeServiceStop(TestService* test_service) { in SafeServiceStop() 174 std::unique_ptr<TestService> test_service_; 175 std::unique_ptr<TestService> test_service2_; 272 TestService::Options options; in TEST_F() 276 TestService stealable_test_service(options); in TEST_F()
|
D | end_to_end_sync_unittest.cc | 26 TestService::Options options; in SetUp() 27 test_service_.reset(new TestService(options)); in SetUp() 50 std::unique_ptr<TestService> test_service_;
|
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | ServiceTest.java | 40 import protobuf_unittest.UnittestProto.TestService; 65 TestService.getDescriptor().getMethods().get(0); 67 TestService.getDescriptor().getMethods().get(1); 84 TestService mockService = control.createMock(TestService.class); in testCallMethod() 101 TestService mockService = control.createMock(TestService.class); in testGetPrototype() 120 TestService stub = TestService.newStub(mockChannel); in testStub() 147 TestService.BlockingInterface stub = in testBlockingStub() 148 TestService.newBlockingStub(mockChannel); in testBlockingStub()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | ServiceTest.java | 42 import protobuf_unittest.UnittestProto.TestService; 61 TestService.getDescriptor().getMethods().get(0); 63 TestService.getDescriptor().getMethods().get(1); 80 TestService mockService = control.createMock(TestService.class); in testCallMethod() 103 TestService mockService = control.createMock(TestService.class); in testGetPrototype() 118 TestService stub = TestService.newStub(mockChannel); in testStub() 144 TestService.BlockingInterface stub = TestService.newBlockingStub(mockChannel); in testBlockingStub()
|
/external/pigweed/pw_rpc/nanopb/ |
D | codegen_test.cc | 25 class TestService final : public generated::TestService<TestService> { class 51 test::TestService service; in TEST() 57 PW_NANOPB_TEST_METHOD_CONTEXT(test::TestService, TestRpc) context; in TEST() 71 PW_NANOPB_TEST_METHOD_CONTEXT(test::TestService, TestStreamRpc) context; in TEST() 94 PW_NANOPB_TEST_METHOD_CONTEXT(test::TestService, TestStreamRpc, 3) context; in TEST() 109 PW_NANOPB_TEST_METHOD_CONTEXT(test::TestService, TestStreamRpc, 3) context; in TEST()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowApplicationTest.java | 197 TestService service = new TestService(); in bindServiceShouldCallOnServiceConnectedWithDefaultValues() 212 TestService service = new TestService(); in bindServiceShouldCallOnServiceConnectedWithNullValues() 228 TestService service = new TestService(); in bindServiceShouldCallOnServiceConnectedWhenNotPaused() 242 TestService service = new TestService(); in unbindServiceShouldCallOnServiceDisconnectedWhenNotPaused() 260 TestService service = new TestService(); in unbindServiceAddsEntryToUnboundServicesCollection() 275 TestService service = new TestService(); in declaringServiceUnbindableMakesBindServiceReturnFalse() 291 TestService service = new TestService(); in bindServiceWithMultipleIntentsMapping() 311 TestService service = new TestService(); in bindServiceWithMultipleIntentsMappingWithDefault() 334 TestService serviceOne = new TestService(); in unbindServiceWithMultipleIntentsMapping() 338 TestService serviceTwo = new TestService(); in unbindServiceWithMultipleIntentsMapping() [all …]
|
/external/pigweed/pw_rpc/raw/ |
D | codegen_test.cc | 25 class TestService final : public generated::TestService<TestService> { class 99 test::TestService service; in TEST() 105 PW_RAW_TEST_METHOD_CONTEXT(test::TestService, TestRpc) context; in TEST() 131 PW_RAW_TEST_METHOD_CONTEXT(test::TestService, TestStreamRpc) context; in TEST()
|
/external/grpc-grpc/test/cpp/interop/ |
D | http2_client.h | 49 TestService::Stub* Get(); 52 std::unique_ptr<TestService::Stub> stub_;
|
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | service_reflection_test.py | 59 class MyService(unittest_pb2.TestService): 77 service_descriptor = unittest_pb2.TestService.GetDescriptor() 84 class MyServiceImpl(unittest_pb2.TestService):
|
/external/protobuf/python/google/protobuf/internal/ |
D | service_reflection_test.py | 64 class MyService(unittest_pb2.TestService): 82 service_descriptor = unittest_pb2.TestService.GetDescriptor() 93 class MyServiceImpl(unittest_pb2.TestService):
|