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

Method ExpectSuccess

tests/framework/error_monitor.cpp:337–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337void ErrorMonitor::ExpectSuccess(VkDebugReportFlagsEXT const message_flag_mask) {
338 // Match ANY message matching specified type
339 auto guard = Lock();
340 desired_messages_.clear();
341 message_flags_ = message_flag_mask;
342}
343
344bool ErrorMonitor::ExpectingSuccess() const {
345 return (desired_messages_.size() == 1) && (desired_messages_.begin()->msg_string == "") && ignore_message_strings_.empty();

Callers 15

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected