Lines Matching refs:DeathRegex
37 std::string DeathRegex = "Double Free.*"; in TEST_F() local
38 DeathRegex.append("DeallocateMemory2.*"); in TEST_F()
40 DeathRegex.append("was deallocated.*"); in TEST_F()
41 DeathRegex.append("DeallocateMemory.*"); in TEST_F()
43 DeathRegex.append("was allocated.*"); in TEST_F()
44 DeathRegex.append("AllocateMemory.*"); in TEST_F()
45 ASSERT_DEATH(DeallocateMemory2(GPA, Ptr), DeathRegex); in TEST_F()
57 std::string DeathRegex = "Use After Free.*"; in TEST_F() local
58 DeathRegex.append("TouchMemory.*"); in TEST_F()
60 DeathRegex.append("was deallocated.*"); in TEST_F()
61 DeathRegex.append("DeallocateMemory.*"); in TEST_F()
63 DeathRegex.append("was allocated.*"); in TEST_F()
64 DeathRegex.append("AllocateMemory.*"); in TEST_F()
65 ASSERT_DEATH(TouchMemory(Ptr), DeathRegex); in TEST_F()