Home
last modified time | relevance | path

Searched refs:TestService (Results 1 – 25 of 95) sorted by relevance

1234

/external/pigweed/pw_rpc/
Dbase_server_writer_test.cc30 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 …]
Dservice_test.cc57 class TestService : public Service { class
59 constexpr TestService() : Service(0xabcd, kMethods) {} in TestService() function in pw::rpc::__anon6a8e1dc30111::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/
Dmethod_impl_tester.h46 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/
DAbstractIdleServiceTest.java97 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
DAbstractScheduledServiceTest.java91 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/
DAbstractIdleServiceTest.java97 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
DAbstractScheduledServiceTest.java91 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/
DInteropClient.cs137 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 …]
DMetadataCredentialsTest.cs37 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
DGeneratedServiceBaseTest.cs37 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
DCustomErrorDetailsTest.cs43 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
DSslCredentialsTest.cs42 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
DInteropClientServerTest.cs39 TestService.TestServiceClient client;
47 Services = { TestService.BindService(new TestServiceImpl()) }, in Init()
58 client = new TestService.TestServiceClient(channel); in Init()
DGeneratedClientTest.cs34 TestService.TestServiceClient unimplementedClient = new UnimplementedTestServiceClient();
63 private class UnimplementedTestServiceClient : TestService.TestServiceClient
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DServiceTest.java42 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/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DServiceTest.java40 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/libchrome/dbus/
Dobject_proxy_unittest.cc56 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()
Dsignal_sender_verification_unittest.cc43 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()
Dend_to_end_sync_unittest.cc26 TestService::Options options; in SetUp()
27 test_service_.reset(new TestService(options)); in SetUp()
50 std::unique_ptr<TestService> test_service_;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowApplicationTest.java197 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/nanopb/
Dcodegen_test.cc25 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/pigweed/pw_rpc/raw/
Dcodegen_test.cc25 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/
Dhttp2_client.h49 TestService::Stub* Get();
52 std::unique_ptr<TestService::Stub> stub_;
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dservice_reflection_test.py59 class MyService(unittest_pb2.TestService):
77 service_descriptor = unittest_pb2.TestService.GetDescriptor()
84 class MyServiceImpl(unittest_pb2.TestService):
/external/protobuf/python/google/protobuf/internal/
Dservice_reflection_test.py64 class MyService(unittest_pb2.TestService):
82 service_descriptor = unittest_pb2.TestService.GetDescriptor()
93 class MyServiceImpl(unittest_pb2.TestService):

1234