Lines Matching refs:Mock
40 class Mock { class
42 Mock() {} in Mock() function in Mock
47 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock);
187 EXPECT_TRUE(Mock::IsNaggy(&raw_foo)); in TEST()
188 EXPECT_FALSE(Mock::IsNice(&raw_foo)); in TEST()
189 EXPECT_FALSE(Mock::IsStrict(&raw_foo)); in TEST()
288 Mock::AllowLeak(leaked); in TEST()
300 NiceMock< ::Mock> nice; in TEST()
307 EXPECT_FALSE(Mock::IsNaggy(&nice_foo)); in TEST()
308 EXPECT_TRUE(Mock::IsNice(&nice_foo)); in TEST()
309 EXPECT_FALSE(Mock::IsStrict(&nice_foo)); in TEST()
391 Mock::AllowLeak(leaked); in TEST()
403 NaggyMock< ::Mock> naggy; in TEST()
410 EXPECT_TRUE(Mock::IsNaggy(&naggy_foo)); in TEST()
411 EXPECT_FALSE(Mock::IsNice(&naggy_foo)); in TEST()
412 EXPECT_FALSE(Mock::IsStrict(&naggy_foo)); in TEST()
475 Mock::AllowLeak(leaked); in TEST()
487 StrictMock< ::Mock> strict; in TEST()
494 EXPECT_FALSE(Mock::IsNaggy(&strict_foo)); in TEST()
495 EXPECT_FALSE(Mock::IsNice(&strict_foo)); in TEST()
496 EXPECT_TRUE(Mock::IsStrict(&strict_foo)); in TEST()