Home
last modified time | relevance | path

Searched refs:sideeffect (Results 1 – 1 of 1) sorted by relevance

/ndk/sources/third_party/googletest/googletest/test/
Dgtest-death-test_test.cc200 int DieInDebugElse12(int* sideeffect) { in DieInDebugElse12() argument
201 if (sideeffect) *sideeffect = 12; in DieInDebugElse12()
628 int sideeffect = 0; in TEST_F() local
630 EXPECT_DEBUG_DEATH(DieInDebugElse12(&sideeffect), "death.*DieInDebugElse12") in TEST_F()
636 EXPECT_EQ(12, sideeffect); in TEST_F()
641 EXPECT_EQ(0, sideeffect); in TEST_F()
654 int sideeffect = 0; in TEST_F() local
656 ASSERT_DEBUG_DEATH(DieInDebugElse12(&sideeffect), "death.*DieInDebugElse12") in TEST_F()
662 EXPECT_EQ(12, sideeffect); in TEST_F()
667 EXPECT_EQ(0, sideeffect); in TEST_F()