Lines Matching refs:GetQOffsets
635 TEST_F(GDBRemoteCommunicationClientTest, GetQOffsets) { in TEST_F() argument
636 const auto &GetQOffsets = [&](llvm::StringRef response) { in TEST_F() local
638 std::launch::async, [&] { return client.GetQOffsets(); }); in TEST_F()
644 GetQOffsets("Text=1234;Data=1234")); in TEST_F()
646 GetQOffsets("Text=1234;Data=1234;Bss=1234")); in TEST_F()
647 EXPECT_EQ((QOffsets{true, {0x1234}}), GetQOffsets("TextSeg=1234")); in TEST_F()
649 GetQOffsets("TextSeg=1234;DataSeg=2345")); in TEST_F()
651 EXPECT_EQ(llvm::None, GetQOffsets("E05")); in TEST_F()
652 EXPECT_EQ(llvm::None, GetQOffsets("Text=bogus")); in TEST_F()
653 EXPECT_EQ(llvm::None, GetQOffsets("Text=1234")); in TEST_F()
654 EXPECT_EQ(llvm::None, GetQOffsets("Text=1234;Data=1234;")); in TEST_F()
655 EXPECT_EQ(llvm::None, GetQOffsets("Text=1234;Data=1234;Bss=1234;")); in TEST_F()
656 EXPECT_EQ(llvm::None, GetQOffsets("TEXTSEG=1234")); in TEST_F()
657 EXPECT_EQ(llvm::None, GetQOffsets("TextSeg=0x1234")); in TEST_F()
658 EXPECT_EQ(llvm::None, GetQOffsets("TextSeg=12345678123456789")); in TEST_F()