• Home
  • Raw
  • Download

Lines Matching refs:decoded

41   Request decoded;  in TEST()  local
42 EncodeAndDecode(request, &decoded); in TEST()
44 EXPECT_EQ(COMMAND_GET_INFO, decoded.payload.which()); in TEST()
45 EXPECT_TRUE(decoded.payload.get<COMMAND_GET_INFO>()); in TEST()
65 Response decoded; in TEST() local
66 EncodeAndDecode(response, &decoded); in TEST()
69 EXPECT_EQ(COMMAND_GET_INFO, decoded.payload.which()); in TEST()
71 decoded.payload.get<COMMAND_GET_INFO>(); in TEST()
98 Request decoded; in TEST() local
99 EncodeAndDecode(request, &decoded); in TEST()
101 EXPECT_EQ(COMMAND_CREATE_SPACE, decoded.payload.which()); in TEST()
103 decoded.payload.get<COMMAND_CREATE_SPACE>(); in TEST()
122 Response decoded; in TEST() local
123 EncodeAndDecode(response, &decoded); in TEST()
126 EXPECT_EQ(COMMAND_CREATE_SPACE, decoded.payload.which()); in TEST()
127 EXPECT_TRUE(decoded.payload.get<COMMAND_CREATE_SPACE>()); in TEST()
136 Request decoded; in TEST() local
137 EncodeAndDecode(request, &decoded); in TEST()
139 EXPECT_EQ(COMMAND_GET_SPACE_INFO, decoded.payload.which()); in TEST()
141 decoded.payload.get<COMMAND_GET_SPACE_INFO>(); in TEST()
159 Response decoded; in TEST() local
160 EncodeAndDecode(response, &decoded); in TEST()
163 EXPECT_EQ(COMMAND_GET_SPACE_INFO, decoded.payload.which()); in TEST()
165 decoded.payload.get<COMMAND_GET_SPACE_INFO>(); in TEST()
186 Request decoded; in TEST() local
187 EncodeAndDecode(request, &decoded); in TEST()
189 EXPECT_EQ(COMMAND_DELETE_SPACE, decoded.payload.which()); in TEST()
191 decoded.payload.get<COMMAND_DELETE_SPACE>(); in TEST()
206 Response decoded; in TEST() local
207 EncodeAndDecode(response, &decoded); in TEST()
210 EXPECT_EQ(COMMAND_DELETE_SPACE, decoded.payload.which()); in TEST()
211 EXPECT_TRUE(decoded.payload.get<COMMAND_DELETE_SPACE>()); in TEST()
218 Request decoded; in TEST() local
219 EncodeAndDecode(request, &decoded); in TEST()
221 EXPECT_EQ(COMMAND_DISABLE_CREATE, decoded.payload.which()); in TEST()
222 EXPECT_TRUE(decoded.payload.get<COMMAND_DISABLE_CREATE>()); in TEST()
230 Response decoded; in TEST() local
231 EncodeAndDecode(response, &decoded); in TEST()
234 EXPECT_EQ(COMMAND_DISABLE_CREATE, decoded.payload.which()); in TEST()
235 EXPECT_TRUE(decoded.payload.get<COMMAND_DISABLE_CREATE>()); in TEST()
249 Request decoded; in TEST() local
250 EncodeAndDecode(request, &decoded); in TEST()
252 EXPECT_EQ(COMMAND_WRITE_SPACE, decoded.payload.which()); in TEST()
254 decoded.payload.get<COMMAND_WRITE_SPACE>(); in TEST()
272 Response decoded; in TEST() local
273 EncodeAndDecode(response, &decoded); in TEST()
276 EXPECT_EQ(COMMAND_WRITE_SPACE, decoded.payload.which()); in TEST()
277 EXPECT_TRUE(decoded.payload.get<COMMAND_WRITE_SPACE>()); in TEST()
289 Request decoded; in TEST() local
290 EncodeAndDecode(request, &decoded); in TEST()
292 EXPECT_EQ(COMMAND_READ_SPACE, decoded.payload.which()); in TEST()
294 decoded.payload.get<COMMAND_READ_SPACE>(); in TEST()
312 Response decoded; in TEST() local
313 EncodeAndDecode(response, &decoded); in TEST()
316 EXPECT_EQ(COMMAND_READ_SPACE, decoded.payload.which()); in TEST()
318 decoded.payload.get<COMMAND_READ_SPACE>(); in TEST()
334 Request decoded; in TEST() local
335 EncodeAndDecode(request, &decoded); in TEST()
337 EXPECT_EQ(COMMAND_LOCK_SPACE_WRITE, decoded.payload.which()); in TEST()
339 decoded.payload.get<COMMAND_LOCK_SPACE_WRITE>(); in TEST()
354 Response decoded; in TEST() local
355 EncodeAndDecode(response, &decoded); in TEST()
358 EXPECT_EQ(COMMAND_LOCK_SPACE_WRITE, decoded.payload.which()); in TEST()
359 EXPECT_TRUE(decoded.payload.get<COMMAND_LOCK_SPACE_WRITE>()); in TEST()
371 Request decoded; in TEST() local
372 EncodeAndDecode(request, &decoded); in TEST()
374 EXPECT_EQ(COMMAND_LOCK_SPACE_READ, decoded.payload.which()); in TEST()
376 decoded.payload.get<COMMAND_LOCK_SPACE_READ>(); in TEST()
391 Response decoded; in TEST() local
392 EncodeAndDecode(response, &decoded); in TEST()
395 EXPECT_EQ(COMMAND_LOCK_SPACE_READ, decoded.payload.which()); in TEST()
396 EXPECT_TRUE(decoded.payload.get<COMMAND_LOCK_SPACE_READ>()); in TEST()