Lines Matching refs:PacketResult

22 typedef GDBRemoteCommunication::PacketResult PacketResult;  typedef
81 ASSERT_EQ(PacketResult::Success, server.SendPacket("T01")); in TEST_F()
84 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
88 ASSERT_EQ(PacketResult::Success, server.SendPacket("W01")); in TEST_F()
91 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
95 ASSERT_EQ(PacketResult::Success, server.SendPacket("X01")); in TEST_F()
98 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
111 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
119 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
121 ASSERT_EQ(PacketResult::Success, server.SendPacket("T13")); in TEST_F()
124 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
129 ASSERT_EQ(PacketResult::Success, server.SendPacket("T47")); in TEST_F()
141 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
147 PacketResult::ErrorSendFailed, in TEST_F()
150 std::future<PacketResult> async_result = std::async(std::launch::async, [&] { in TEST_F()
156 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
158 ASSERT_EQ(PacketResult::Success, server.SendPacket("T13")); in TEST_F()
161 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
165 ASSERT_EQ(PacketResult::Success, server.SendPacket("QTest2")); in TEST_F()
166 ASSERT_EQ(PacketResult::Success, async_result.get()); in TEST_F()
170 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
172 ASSERT_EQ(PacketResult::Success, server.SendPacket("T01")); in TEST_F()
186 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
194 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
196 ASSERT_EQ(PacketResult::Success, server.SendPacket("T13")); in TEST_F()
210 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
219 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
221 ASSERT_EQ(PacketResult::Success, server.SendPacket("T01")); in TEST_F()
227 ASSERT_EQ(PacketResult::Success, server.SendPacket("T01")); in TEST_F()
230 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
244 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
252 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
254 ASSERT_EQ(PacketResult::Success, server.SendPacket("T13")); in TEST_F()
255 ASSERT_EQ(PacketResult::Success, server.SendPacket("T13")); in TEST_F()
263 std::future<PacketResult> send_result = std::async(std::launch::async, [&] { in TEST_F()
267 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
269 ASSERT_EQ(PacketResult::Success, server.SendPacket("QTest")); in TEST_F()
270 ASSERT_EQ(PacketResult::Success, send_result.get()); in TEST_F()
279 ASSERT_EQ(PacketResult::Success, server.SendPacket("O4142")); in TEST_F()
280 ASSERT_EQ(PacketResult::Success, server.SendPacket("Apro")); in TEST_F()
281 ASSERT_EQ(PacketResult::Success, server.SendPacket("O4344")); in TEST_F()
282 ASSERT_EQ(PacketResult::Success, server.SendPacket("Afile")); in TEST_F()
283 ASSERT_EQ(PacketResult::Success, server.SendPacket("T01")); in TEST_F()
286 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
310 ASSERT_EQ(PacketResult::Success, server.SendPacket(stream.GetData())); in TEST_F()
311 ASSERT_EQ(PacketResult::Success, server.SendPacket("T01")); in TEST_F()
327 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
335 ASSERT_EQ(PacketResult::Success, server.GetPacket(response)); in TEST_F()
347 ASSERT_EQ(PacketResult::Success, server.SendPacket("O")); in TEST_F()
348 ASSERT_EQ(PacketResult::Success, server.SendPacket("O48656c6c6f2c")); in TEST_F()
349 ASSERT_EQ(PacketResult::Success, server.SendPacket("O20")); in TEST_F()
350 ASSERT_EQ(PacketResult::Success, server.SendPacket("O")); in TEST_F()
351 ASSERT_EQ(PacketResult::Success, server.SendPacket("O776f726c64")); in TEST_F()
352 ASSERT_EQ(PacketResult::Success, server.SendPacket("OK")); in TEST_F()
354 PacketResult result = client.SendPacketAndReceiveResponseWithOutputSupport( in TEST_F()
358 ASSERT_EQ(PacketResult::Success, result); in TEST_F()