• Home
  • Raw
  • Download

Lines Matching refs:RawMethod

67 static_assert(RawMethod::template matches<&TestRawService::Unary>());
68 static_assert(RawMethod::template matches<&TestRawService::ServerStreaming>());
69 static_assert(RawMethod::template matches<&TestRawService::StaticUnary>());
71 RawMethod::template matches<&TestRawService::StaticServerStreaming>());
74 static_assert(!RawMethod::template matches<&TestRawService::UnaryWrongArg>());
76 !RawMethod::template matches<&TestRawService::StaticUnaryVoidReturn>());
78 !RawMethod::template matches<&TestRawService::ServerStreamingBadReturn>());
79 static_assert(!RawMethod::template matches<
82 TEST(MethodImplTester, RawMethod) { in TEST() argument
83 constexpr MethodImplTester<RawMethod, TestRawService> method_tester; in TEST()
138 RawMethod::Unary<AddFive>(10u),
139 RawMethod::ServerStreaming<StartStream>(11u),
143 TEST(RawMethod, UnaryRpc_SendsResponse) { in TEST() argument
150 const RawMethod& method = std::get<0>(FakeService::kMethods).raw_method(); in TEST()
167 TEST(RawMethod, ServerStreamingRpc_SendsNothingWhenInitiallyCalled) { in TEST() argument
174 const RawMethod& method = std::get<1>(FakeService::kMethods).raw_method(); in TEST()
187 const RawMethod& method = std::get<1>(FakeService::kMethods).raw_method(); in TEST()
209 const RawMethod& method = std::get<1>(FakeService::kMethods).raw_method(); in TEST()
227 const RawMethod& method = std::get<1>(FakeService::kMethods).raw_method(); in TEST()
238 const RawMethod& method = std::get<1>(FakeService::kMethods).raw_method(); in TEST()
250 const RawMethod& method = std::get<1>(FakeService::kMethods).raw_method(); in TEST()