Lines Matching defs:message

54 /** Macro, verifies generated error, logs error message and throws failure
68 << ", expected: " << glu::getErrorStr(expected_error) << ", message: " << error_message \
124 static const GLchar message[] = "Foo";
125 static const GLsizei length = (GLsizei)(sizeof(message) / sizeof(message[0]));
130 message /* message */);
267 /* Get maximum message length */
273 /* Prepare too long message */
370 static const GLchar message[] = "Foo";
371 static const GLsizei length = (GLsizei)(sizeof(message) / sizeof(message[0]));
375 message /* message */);
379 GL_DEBUG_SEVERITY_LOW /* severity */, length /* length */, message /* message */);
384 message /* message */);
389 message /* message */);
394 &too_long_message[0] /* message */);
395 CHECK_ERROR(GL_INVALID_VALUE, "DebugMessageInsert with too long message");
402 * - INVALID_VALUE when length of string <message> is not less than
407 static const GLchar message[] = "Foo";
408 static const GLsizei length = (GLsizei)(sizeof(message) / sizeof(message[0]));
410 m_gl->pushDebugGroup(GL_DEBUG_SOURCE_API /* source */, 1 /* id */, length /* length */, message /* message */);
414 message /* message */);
418 &too_long_message[0] /* message */);
419 CHECK_ERROR(GL_INVALID_VALUE, "PushDebugGroup with too long message");
428 message /* message */);
434 message /* message */);
1304 * - insert a message with DebugMessageInsert;
1305 * - inspect message log to check if the message is reported;
1306 * - inspect message log again, there should be no messages;
1366 TCU_FAIL("Invalid message returned by GetDebugMessageLog");
1372 * - insert a message with DebugMessageInsert;
1373 * - inspect message log again, there should be no messages;
1388 * - register debug message callback with DebugMessageCallback;
1391 * - insert a message with DebugMessageInsert;
1392 * - it is expected that debug message callback will be executed for
1393 * the message;
1394 * - inspect message log to check there are no messages;
1416 * - insert a message with DebugMessageInsert;
1417 * - debug message callback should not be called;
1418 * - inspect message log to check there are no messages;
1437 * - insert a message with DebugMessageInsert, set <type> to DEBUG_TYPE_ERROR
1439 * - insert a message with DebugMessageInsert, set <type> to DEBUG_TYPE_OTHER
1441 * - insert a message with DebugMessageInsert, set <type> to DEBUG_TYPE_OTHER
1443 * - debug message callback should not be called;
1444 * - inspect message log to check there are no messages;
1476 * - set NULL as debug message callback;
1479 * - insert a message with DebugMessageInsert, set <type> to DEBUG_TYPE_ERROR
1481 * - insert a message with DebugMessageInsert, set <type> to DEBUG_TYPE_OTHER
1483 * - insert a message with DebugMessageInsert, set <type> to DEBUG_TYPE_OTHER
1485 * - inspect message log to check there are no messages;
1553 * - inspect first half of the message log by specifying proper <count>; Verify
1558 * - inspect rest of the message log with <bufSize> too small to held last
1559 * message; Verify that messages are reported in order from the oldest to the
1562 * - check state of DEBUG_LOGGED_MESSAGES; It is expected that one message is
1564 * - fetch the message and verify it is the newest one;
1646 TCU_FAIL("Invalid message returned by GetDebugMessageLog");
1712 TCU_FAIL("Invalid message returned by GetDebugMessageLog");
1775 TCU_FAIL("Invalid message returned by GetDebugMessageLog");
1800 const glw::GLchar* /* message */, const void* info)
1931 * - insert message with <type> DEBUG_TYPE_ERROR;
1932 * - inspect message log to check if the message is reported;
1933 * - insert message with <type> DEBUG_TYPE_OTHER;
1934 * - inspect message log to check if the message is reported;
1953 * - push debug group with unique <id> and <message>;
1954 * - inspect message log to check if the message about push is reported;
1956 * - insert message with <type> DEBUG_TYPE_ERROR;
1957 * - inspect message log to check there are no messages;
1958 * - insert message with <type> DEBUG_TYPE_OTHER;
1959 * - inspect message log to check if the message is reported;
1993 * - push debug group with unique <id> and <message>;
1994 * - inspect message log to check if the message about push is reported;
1996 * - insert message with <type> DEBUG_TYPE_ERROR;
1997 * - inspect message log to check there are no messages;
1998 * - insert message with <type> DEBUG_TYPE_OTHER;
1999 * - inspect message log to check there are no messages;
2033 * - inspect message log to check if the message about pop is reported and
2035 * - insert message with <type> DEBUG_TYPE_ERROR;
2036 * - inspect message log to check there are no messages;
2037 * - insert message with <type> DEBUG_TYPE_OTHER;
2038 * - inspect message log to check if the message is reported;
2069 * - inspect message log to check if the message about pop is reported and
2071 * - insert message with <type> DEBUG_TYPE_ERROR;
2072 * - inspect message log to check if the message is reported;
2073 * - insert message with <type> DEBUG_TYPE_OTHER;
2074 * - inspect message log to check if the message is reported;
2134 /** Inspects first message stored in log
2169 m_testCtx.getLog() << tcu::TestLog::Message << "Got message with invalid source: " << source
2172 TCU_FAIL("Invalid source of message");
2177 m_testCtx.getLog() << tcu::TestLog::Message << "Got message with invalid type: " << type
2180 TCU_FAIL("Invalid type of message");
2185 m_testCtx.getLog() << tcu::TestLog::Message << "Got message with invalid id: " << id
2188 TCU_FAIL("Invalid id of message");
2194 << "Got message with invalid severity: " << severity << ", expected "
2197 TCU_FAIL("Invalid severity of message");
2205 m_testCtx.getLog() << tcu::TestLog::Message << "Got message with invalid length: " << length
2208 TCU_FAIL("Invalid length of message");
2214 << "Got message with invalid message: " << messageLog << ", expected "
2217 TCU_FAIL("Invalid message");
2221 /** Verifies that message log is empty
2292 * - register debug message callback with DebugMessageCallback; Provide the
2303 * - insert a message with DebugMessageInsert;
2322 /* Check that the message was recorded by the current thread */
2354 * as "test" thread - implementation sent message to proper thread;
2406 const glw::GLchar* /* message */, const void* info)