• Home
  • Raw
  • Download

Lines Matching refs:testing

52 class DwarfSectionTest : public ::testing::Test {
61 EXPECT_CALL(*section_, GetFdeFromPc(0x1000)).WillOnce(::testing::Return(nullptr)); in TEST_F()
72 EXPECT_CALL(*section_, GetFdeFromPc(0x1000)).WillOnce(::testing::Return(&fde)); in TEST_F()
84 EXPECT_CALL(*section_, GetFdeFromPc(0x1000)).WillOnce(::testing::Return(&fde)); in TEST_F()
85 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_)) in TEST_F()
86 .WillOnce(::testing::Return(false)); in TEST_F()
98 EXPECT_CALL(*section_, GetFdeFromPc(0x1000)).WillOnce(::testing::Return(&fde)); in TEST_F()
99 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_)) in TEST_F()
100 .WillOnce(::testing::Return(true)); in TEST_F()
103 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, nullptr, ::testing::_)) in TEST_F()
104 .WillOnce(::testing::Return(true)); in TEST_F()
110 static bool MockGetCfaLocationInfo(::testing::Unused, const DwarfFde* fde, in MockGetCfaLocationInfo()
124 EXPECT_CALL(*section_, GetFdeFromPc(0x1000)).WillOnce(::testing::Return(&fde)); in TEST_F()
125 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde, ::testing::_)) in TEST_F()
126 .WillOnce(::testing::Invoke(MockGetCfaLocationInfo)); in TEST_F()
129 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, nullptr, ::testing::_)) in TEST_F()
130 .WillRepeatedly(::testing::Return(true)); in TEST_F()
144 EXPECT_CALL(*section_, GetFdeFromPc(0x1000)).WillOnce(::testing::Return(&fde0)); in TEST_F()
145 EXPECT_CALL(*section_, GetCfaLocationInfo(0x1000, &fde0, ::testing::_)) in TEST_F()
146 .WillOnce(::testing::Invoke(MockGetCfaLocationInfo)); in TEST_F()
149 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, nullptr, ::testing::_)) in TEST_F()
150 .WillRepeatedly(::testing::Return(true)); in TEST_F()
159 EXPECT_CALL(*section_, GetFdeFromPc(0x600)).WillOnce(::testing::Return(&fde1)); in TEST_F()
160 EXPECT_CALL(*section_, GetCfaLocationInfo(0x600, &fde1, ::testing::_)) in TEST_F()
161 .WillOnce(::testing::Invoke(MockGetCfaLocationInfo)); in TEST_F()