Home
last modified time | relevance | path

Searched refs:FakeService (Results 1 – 9 of 9) sorted by relevance

/external/pigweed/pw_rpc/nanopb/
Dnanopb_method_test.cc150 class FakeService : public Service { class
152 FakeService(uint32_t id) : Service(id, kMethods) {} in FakeService() function in pw::rpc::internal::__anon4f1875440111::FakeService
169 std::get<1>(FakeService::kMethods).nanopb_method(); in TEST()
170 ServerContextForTest<FakeService> context(method); in TEST()
191 std::get<0>(FakeService::kMethods).nanopb_method(); in TEST()
192 ServerContextForTest<FakeService> context(method); in TEST()
208 std::get<1>(FakeService::kMethods).nanopb_method(); in TEST()
210 ServerContextForTest<FakeService, 22> context(method); in TEST()
230 std::get<2>(FakeService::kMethods).nanopb_method(); in TEST()
231 ServerContextForTest<FakeService> context(method); in TEST()
[all …]
/external/pigweed/pw_rpc/raw/
Draw_method_test.cc133 class FakeService : public Service { class
135 FakeService(uint32_t id) : Service(id, kMethods) {} in FakeService() function in pw::rpc::internal::__anonf6436d3c0111::FakeService
150 const RawMethod& method = std::get<0>(FakeService::kMethods).raw_method(); in TEST()
151 ServerContextForTest<FakeService> context(method); in TEST()
174 const RawMethod& method = std::get<1>(FakeService::kMethods).raw_method(); in TEST()
175 ServerContextForTest<FakeService> context(method); in TEST()
187 const RawMethod& method = std::get<1>(FakeService::kMethods).raw_method(); in TEST()
188 ServerContextForTest<FakeService> context(method); in TEST()
209 const RawMethod& method = std::get<1>(FakeService::kMethods).raw_method(); in TEST()
210 ServerContextForTest<FakeService> context(method); in TEST()
[all …]
/external/python/apitools/apitools/base/py/
Dbase_api_test.py91 class FakeService(base_api.BaseApiService): class
96 super(FakeService, self).__init__(client)
123 service = FakeService()
140 service = FakeService(FakeClient(
183 service = FakeService(client=client)
202 service = FakeService(client=client)
217 service = FakeService(client=client)
231 service = FakeService()
242 service = FakeService()
263 service = FakeService()
[all …]
Dbatch_test.py52 class FakeService(object): class
102 mock_service = FakeService()
163 mock_service = FakeService()
237 mock_service = FakeService()
273 mock_service = FakeService()
339 batch_api_request.Add(FakeService(), 'unused', None, {
/external/perfetto/src/ipc/
Dhost_impl_unittest.cc51 class FakeService : public Service { class
58 static_cast<FakeService*>(service)->OnFakeMethod1( in Invoker()
69 explicit FakeService(const char* service_name) { in FakeService() function in perfetto::ipc::__anon3cf0bd540111::FakeService
212 std::unique_ptr<Service>(new FakeService("FakeService")))); in TEST_F()
224 FakeService* fake_service = new FakeService("FakeService"); in TEST_F()
244 FakeService* fake_service = new FakeService("FakeService"); in TEST_F()
282 FakeService* fake_service = new FakeService("FakeService"); in TEST_F()
327 FakeService* fake_service = new FakeService("FakeService"); in TEST_F()
371 FakeService* fake_service = new FakeService("FakeService"); in TEST_F()
408 FakeService* fake_service = new FakeService("FakeService"); in TEST_F()
[all …]
Dclient_impl_unittest.cc91 struct FakeService { struct in perfetto::ipc::__anon2c0b15d50111::FakeHost
115 FakeService* AddFakeService(const std::string& name) { in AddFakeService()
117 services.emplace(name, std::unique_ptr<FakeService>(new FakeService())); in AddFakeService()
119 FakeService* svc = it_and_inserted.first->second.get(); in AddFakeService()
149 const FakeService& svc = *svc_it->second; in OnFrameReceived()
196 std::map<std::string, std::unique_ptr<FakeService>> services;
/external/pigweed/pw_rpc/
Dclient_server_test.cc38 class FakeService : public Service { class
40 FakeService(uint32_t id) : Service(id, kMethods) {} in FakeService() function in pw::rpc::internal::__anon50dece6e0111::FakeService
47 FakeService service(kFakeServiceId);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractExecutionThreadServiceTest.java329 FakeService service = in testStopWhileStarting_runNotCalled()
330 new FakeService() { in testStopWhileStarting_runNotCalled()
348 FakeService service = new FakeService(); in testStop_noStart()
390 private class FakeService extends AbstractExecutionThreadService implements TearDown { class in AbstractExecutionThreadServiceTest
394 FakeService() { in FakeService() method in AbstractExecutionThreadServiceTest.FakeService
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DAbstractExecutionThreadServiceTest.java329 FakeService service = in testStopWhileStarting_runNotCalled()
330 new FakeService() { in testStopWhileStarting_runNotCalled()
348 FakeService service = new FakeService(); in testStop_noStart()
390 private class FakeService extends AbstractExecutionThreadService implements TearDown { class in AbstractExecutionThreadServiceTest
394 FakeService() { in FakeService() method in AbstractExecutionThreadServiceTest.FakeService