Home | History | Annotate | Download | only in test

Lines Matching refs:service

53 // The method's ID is based on the order of declaration in the service.
56 Hello service{client};
65 service.Third(request, &response);
66 service.First(request, &response);
67 service.Second(request, &response);
73 Hello service{client};
89 EXPECT_THAT(service.Greet(request, &real_response), Eq(APP_SUCCESS));
96 Hello service{client};
105 EXPECT_THAT(service.Greet(request, nullptr), Eq(APP_SUCCESS));
112 Hello service{client};
125 EXPECT_THAT(service.Greet(request, &real_response), Eq(APP_ERROR_BOGUS_ARGS));
132 Hello service{client};
140 EXPECT_THAT(service.Greet(request, &response), Eq(APP_ERROR_RPC));
146 Hello service{client};
154 EXPECT_THAT(service.Greet(request, &response), Eq(APP_ERROR_TOO_MUCH));
157 // Example using generate service mocks.
168 // Use as an instance of the service to mimic a real test
169 IHello& service = mockService;
172 EXPECT_THAT(service.Greet(request, &real_response), Eq(APP_SUCCESS));