Home
last modified time | relevance | path

Searched refs:ASSERT_DEATH (Results 1 - 25 of 84) sorted by relevance

1234

/third_party/vulkan-loader/tests/
H A Dloader_handle_validation_tests.cpp52 ASSERT_DEATH(env.vulkan_functions.vkEnumeratePhysicalDevices(bad_instance, &returned_physical_count, nullptr), in TEST()
64 ASSERT_DEATH(env.vulkan_functions.vkGetInstanceProcAddr(bad_instance, "vkGetBufferDeviceAddress"), in TEST()
77 ASSERT_DEATH(env.vulkan_functions.vkDestroyInstance(bad_instance, nullptr), in TEST()
95 ASSERT_DEATH(env.vulkan_functions.vkDestroySurfaceKHR(bad_instance, VK_NULL_HANDLE, nullptr), in TEST()
117 ASSERT_DEATH(env.vulkan_functions.vkCreateHeadlessSurfaceEXT(bad_instance, &surf_create_info, nullptr, &created_surface), in TEST()
139 ASSERT_DEATH(env.vulkan_functions.vkCreateDisplayPlaneSurfaceKHR(bad_instance, &surf_create_info, nullptr, &created_surface), in TEST()
158 ASSERT_DEATH(env.vulkan_functions.vkCreateAndroidSurfaceKHR(bad_instance, &surf_create_info, nullptr, &created_surface), in TEST()
178 ASSERT_DEATH(env.vulkan_functions.vkCreateDirectFBSurfaceEXT(bad_instance, &surf_create_info, nullptr, &created_surface), in TEST()
198 ASSERT_DEATH(env.vulkan_functions.vkCreateImagePipeSurfaceFUCHSIA(bad_instance, &surf_create_info, nullptr, &created_surface), in TEST()
218 ASSERT_DEATH( in TEST()
[all...]
/third_party/googletest/googletest/test/
H A Dgoogletest-death-test-test.cc184 // Tests that ASSERT_DEATH can be used outside a TEST, TEST_F, or test fixture.
187 ASSERT_DEATH(GlobalFunction(), "death.*GlobalFunction"); in DeathTestSubroutine()
310 ASSERT_DEATH(return, ""); in TEST_F()
319 if (AlwaysFalse()) ASSERT_DEATH(return, "") << "did not die"; in TEST_F()
338 // Tests that EXPECT_DEATH and ASSERT_DEATH work when the error
342 ASSERT_DEATH(DieWithEmbeddedNul(), "my null world"); in TEST_F()
356 ASSERT_DEATH(_exit(1), "") << "exit in default switch handler"; in TEST_F()
369 ASSERT_DEATH(StaticMemberFunction(), "death.*StaticMember"); in TEST_F()
391 ASSERT_DEATH(_exit(1), ""); in TEST_F()
453 ASSERT_DEATH(StaticMemberFunctio in TEST_F()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
H A Dfuzzerutil_test.cpp1317 ASSERT_DEATH(fuzzerutil::MaybeGetVectorType(ir_context, 100, 4), in TEST()
1322 ASSERT_DEATH(fuzzerutil::MaybeGetVectorType(ir_context, 7, 5), in TEST()
1613 ASSERT_DEATH(fuzzerutil::TypesAreCompatible(context.get(), SpvOpAtomicLoad, 0, in TEST()
1624 ASSERT_DEATH(fuzzerutil::TypesAreCompatible( in TEST()
1637 ASSERT_DEATH(fuzzerutil::TypesAreCompatible(context.get(), SpvOpAtomicStore, in TEST()
1650 ASSERT_DEATH( in TEST()
1666 ASSERT_DEATH( in TEST()
1678 ASSERT_DEATH(fuzzerutil::TypesAreCompatible(context.get(), SpvOpAtomicStore, in TEST()
1689 ASSERT_DEATH(fuzzerutil::TypesAreCompatible(context.get(), SpvOpAtomicIAdd, 0, in TEST()
1702 ASSERT_DEATH(fuzzeruti in TEST()
[all...]
H A Dtransformation_adjust_branch_weights_test.cpp123 ASSERT_DEATH( in TEST()
141 ASSERT_DEATH( in TEST()
H A Dtransformation_add_type_int_test.cpp104 ASSERT_DEATH(TransformationAddTypeInt(7, 20, false) in TEST()
107 ASSERT_DEATH(TransformationAddTypeInt(12, 15, false) in TEST()
H A Dtransformation_swap_two_functions_test.cpp137 ASSERT_DEATH(TransformationSwapTwoFunctions(4, 4).IsApplicable( in TEST()
H A Dtransformation_add_early_terminator_wrapper_test.cpp104 ASSERT_DEATH(TransformationAddEarlyTerminatorWrapper(100, 101, SpvOpReturn) in TEST()
H A Dtransformation_add_type_float_test.cpp83 ASSERT_DEATH(TransformationAddTypeFloat(7, 20).IsApplicable( in TEST()
H A Dtransformation_permute_phi_operands_test.cpp95 ASSERT_DEATH(TransformationPermutePhiOperands(25, {0, 0}) in TEST()
H A Dtransformation_replace_opselect_with_conditional_branch_test.cpp127 ASSERT_DEATH( in TEST()
H A Dtransformation_swap_function_variables_test.cpp99 ASSERT_DEATH(TransformationSwapFunctionVariables(7, 7).IsApplicable( in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
H A Dfuzzerutil_test.cpp1317 ASSERT_DEATH(fuzzerutil::MaybeGetVectorType(ir_context, 100, 4), in TEST()
1322 ASSERT_DEATH(fuzzerutil::MaybeGetVectorType(ir_context, 7, 5), in TEST()
1613 ASSERT_DEATH(fuzzerutil::TypesAreCompatible(context.get(), SpvOpAtomicLoad, 0, in TEST()
1624 ASSERT_DEATH(fuzzerutil::TypesAreCompatible( in TEST()
1637 ASSERT_DEATH(fuzzerutil::TypesAreCompatible(context.get(), SpvOpAtomicStore, in TEST()
1650 ASSERT_DEATH( in TEST()
1666 ASSERT_DEATH( in TEST()
1678 ASSERT_DEATH(fuzzerutil::TypesAreCompatible(context.get(), SpvOpAtomicStore, in TEST()
1689 ASSERT_DEATH(fuzzerutil::TypesAreCompatible(context.get(), SpvOpAtomicIAdd, 0, in TEST()
1702 ASSERT_DEATH(fuzzeruti in TEST()
[all...]
H A Dtransformation_adjust_branch_weights_test.cpp123 ASSERT_DEATH( in TEST()
141 ASSERT_DEATH( in TEST()
H A Dtransformation_add_type_int_test.cpp104 ASSERT_DEATH(TransformationAddTypeInt(7, 20, false) in TEST()
107 ASSERT_DEATH(TransformationAddTypeInt(12, 15, false) in TEST()
H A Dtransformation_swap_two_functions_test.cpp137 ASSERT_DEATH(TransformationSwapTwoFunctions(4, 4).IsApplicable( in TEST()
H A Dtransformation_add_early_terminator_wrapper_test.cpp104 ASSERT_DEATH(TransformationAddEarlyTerminatorWrapper(100, 101, SpvOpReturn) in TEST()
H A Dtransformation_add_type_float_test.cpp83 ASSERT_DEATH(TransformationAddTypeFloat(7, 20).IsApplicable( in TEST()
H A Dtransformation_permute_phi_operands_test.cpp95 ASSERT_DEATH(TransformationPermutePhiOperands(25, {0, 0}) in TEST()
/third_party/spirv-tools/test/fuzz/
H A Dfuzzerutil_test.cpp1317 ASSERT_DEATH(fuzzerutil::MaybeGetVectorType(ir_context, 100, 4), in TEST()
1322 ASSERT_DEATH(fuzzerutil::MaybeGetVectorType(ir_context, 7, 5), in TEST()
1613 ASSERT_DEATH( in TEST()
1625 ASSERT_DEATH( in TEST()
1639 ASSERT_DEATH( in TEST()
1653 ASSERT_DEATH(fuzzerutil::TypesAreCompatible(context.get(), in TEST()
1669 ASSERT_DEATH( in TEST()
1681 ASSERT_DEATH( in TEST()
1693 ASSERT_DEATH( in TEST()
1707 ASSERT_DEATH( in TEST()
[all...]
H A Dtransformation_adjust_branch_weights_test.cpp123 ASSERT_DEATH( in TEST()
141 ASSERT_DEATH( in TEST()
H A Dtransformation_add_type_int_test.cpp104 ASSERT_DEATH(TransformationAddTypeInt(7, 20, false) in TEST()
107 ASSERT_DEATH(TransformationAddTypeInt(12, 15, false) in TEST()
H A Dtransformation_swap_two_functions_test.cpp137 ASSERT_DEATH(TransformationSwapTwoFunctions(4, 4).IsApplicable( in TEST()
/third_party/googletest/googletest/include/gtest/
H A Dgtest-death-test.h69 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is
87 // ASSERT_DEATH(server.SendMessage(56, "Hello"), "Invalid port number");
184 #define ASSERT_DEATH(statement, matcher) \ macro
187 // Like `ASSERT_DEATH`, but continues on to successive tests in the
274 #define ASSERT_DEBUG_DEATH(statement, regex) ASSERT_DEATH(statement, regex)
282 // if and only if EXPECT_DEATH and ASSERT_DEATH compile with the same parameters
304 // compile inside functions where ASSERT_DEATH doesn't
313 // macro, for compilational compatibility with EXPECT_DEATH/ASSERT_DEATH.
335 ASSERT_DEATH(statement, regex)
/third_party/mesa3d/src/gtest/include/gtest/
H A Dgtest-death-test.h67 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is
85 // ASSERT_DEATH(server.SendMessage(56, "Hello"), "Invalid port number");
179 # define ASSERT_DEATH(statement, regex) \ macro
182 // Like ASSERT_DEATH, but continues on to successive tests in the
271 ASSERT_DEATH(statement, regex)
279 // if and only if EXPECT_DEATH and ASSERT_DEATH compile with the same parameters
301 // compile inside functions where ASSERT_DEATH doesn't
310 // macro, for compilational compatibility with EXPECT_DEATH/ASSERT_DEATH.
333 ASSERT_DEATH(statement, regex)
/third_party/node/deps/googletest/include/gtest/
H A Dgtest-death-test.h69 // Here's what happens when an ASSERT_DEATH* or EXPECT_DEATH* is
87 // ASSERT_DEATH(server.SendMessage(56, "Hello"), "Invalid port number");
184 #define ASSERT_DEATH(statement, matcher) \ macro
187 // Like `ASSERT_DEATH`, but continues on to successive tests in the
274 #define ASSERT_DEBUG_DEATH(statement, regex) ASSERT_DEATH(statement, regex)
282 // if and only if EXPECT_DEATH and ASSERT_DEATH compile with the same parameters
304 // compile inside functions where ASSERT_DEATH doesn't
313 // macro, for compilational compatibility with EXPECT_DEATH/ASSERT_DEATH.
335 ASSERT_DEATH(statement, regex)

Completed in 17 milliseconds

1234