MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / AddTestFailure

Function AddTestFailure

Tests/PresentMon.cpp:9–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include <unordered_set>
8
9void AddTestFailure(char const* file, int line, char const* fmt, ...)
10{
11 char buffer[512];
12
13 va_list val;
14 va_start(val, fmt);
15 vsnprintf(buffer, _countof(buffer), fmt, val);
16 va_end(val);
17
18 GTEST_MESSAGE_AT_(file, line, buffer, ::testing::TestPartResult::kNonFatalFailure);
19}
20
21namespace {
22

Callers 6

TestBodyMethod · 0.85
QpcTimeTestFunction · 0.85
OpenMethod · 0.85
ReadRowMethod · 0.85
StartMethod · 0.85
ExpectExitedMethod · 0.85

Calls

no outgoing calls

Tested by 2

TestBodyMethod · 0.68
QpcTimeTestFunction · 0.68