Searched refs:expected_warning (Results 1 – 2 of 2) sorted by relevance
49 void TestWarning(T obj, mojo::internal::ValidationError expected_warning) { in TestWarning() argument58 EXPECT_EQ(expected_warning, warning_observer_.last_warning()); in TestWarning()63 mojo::internal::ValidationError expected_warning, in TestArrayWarning() argument73 EXPECT_EQ(expected_warning, warning_observer_.last_warning()); in TestArrayWarning()78 mojo::internal::ValidationError expected_warning) { in TestUnionWarning() argument87 EXPECT_EQ(expected_warning, warning_observer_.last_warning()); in TestUnionWarning()
847 char expected_warning[128]; in TEST() local848 sprintf(expected_warning, "LargeFunction.*asan_test.*:%d", failing_line); in TEST()849 EXPECT_DEATH(LargeFunction(true), expected_warning); in TEST()