• Home
  • Raw
  • Download

Lines Matching refs:NanopbMethod

65 static_assert(NanopbMethod::template matches<&TestNanopbService::Unary,
69 NanopbMethod::template matches<&TestNanopbService::ServerStreaming,
72 static_assert(NanopbMethod::template matches<&TestNanopbService::StaticUnary,
76 NanopbMethod::template matches<&TestNanopbService::StaticServerStreaming,
81 static_assert(!NanopbMethod::template matches<&TestNanopbService::UnaryWrongArg,
85 !NanopbMethod::template matches<&TestNanopbService::StaticUnaryVoidReturn,
88 static_assert(!NanopbMethod::template matches<
92 static_assert(!NanopbMethod::template matches<
100 static_assert(!NanopbMethod::template matches<&TestNanopbService::Unary,
103 static_assert(!NanopbMethod::template matches<&TestNanopbService::Unary,
106 static_assert(!NanopbMethod::template matches<&TestNanopbService::Unary,
110 !NanopbMethod::template matches<&TestNanopbService::ServerStreaming,
114 static_assert(!NanopbMethod::template matches<&TestNanopbService::StaticUnary,
118 !NanopbMethod::template matches<&TestNanopbService::StaticServerStreaming,
122 TEST(MethodImplTester, NanopbMethod) { in TEST() argument
123 constexpr MethodImplTester<NanopbMethod, TestNanopbService, nullptr, nullptr> in TEST()
155 NanopbMethod::Unary<DoNothing>(
157 NanopbMethod::Unary<AddFive>(
159 NanopbMethod::ServerStreaming<StartStream>(
164 TEST(NanopbMethod, UnaryRpc_SendsResponse) { in TEST() argument
168 const NanopbMethod& method = in TEST()
187 TEST(NanopbMethod, UnaryRpc_InvalidPayload_SendsError) { in TEST() argument
190 const NanopbMethod& method = in TEST()
202 TEST(NanopbMethod, UnaryRpc_BufferTooSmallForResponse_SendsInternalError) { in TEST() argument
207 const NanopbMethod& method = in TEST()
225 TEST(NanopbMethod, ServerStreamingRpc_SendsNothingWhenInitiallyCalled) { in TEST() argument
229 const NanopbMethod& method = in TEST()
239 TEST(NanopbMethod, ServerWriter_SendsResponse) { in TEST() argument
240 const NanopbMethod& method = in TEST()
260 TEST(NanopbMethod, ServerWriter_WriteWhenClosed_ReturnsFailedPrecondition) { in TEST() argument
261 const NanopbMethod& method = in TEST()
271 TEST(NanopbMethod, ServerWriter_WriteAfterMoved_ReturnsFailedPrecondition) { in TEST() argument
272 const NanopbMethod& method = in TEST()
287 TEST(NanopbMethod, in TEST() argument
289 const NanopbMethod& method = in TEST()