MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / VerifyFound

Method VerifyFound

tests/framework/error_monitor.cpp:350–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348bool ErrorMonitor::NeedCheckSuccess() const { return ExpectingSuccess(); }
349
350void ErrorMonitor::VerifyFound() {
351 {
352 // The lock must be released before the ExpectSuccess call at the end
353 auto guard = Lock();
354 // Not receiving expected message(s) is a failure.
355 for (const auto& desired_msg : desired_messages_) {
356 ADD_FAILURE() << "Did not receive expected error '" << desired_msg.Print() << "'";
357 }
358
359 MonitorReset();
360 }
361
362 ExpectSuccess();
363}
364
365void ErrorMonitor::Finish() {
366 VerifyNotFound();

Callers 15

TEST_FFunction · 0.45
CreateSamplerTestMethod · 0.45
CreateBufferTestMethod · 0.45
CreateImageTestMethod · 0.45
CreateBufferViewTestMethod · 0.45
CreateImageViewTestMethod · 0.45
CreateRenderPassTestMethod · 0.45
OneshotTestMethod · 0.45
OneshotTestMethod · 0.45
OneshotTestMethod · 0.45
TestRateControlInfoMethod · 0.45

Calls 1

PrintMethod · 0.45

Tested by 14

CreateSamplerTestMethod · 0.36
CreateBufferTestMethod · 0.36
CreateImageTestMethod · 0.36
CreateBufferViewTestMethod · 0.36
CreateImageViewTestMethod · 0.36
CreateRenderPassTestMethod · 0.36
TestRateControlInfoMethod · 0.36
test_excess_descriptorsFunction · 0.36