Lines Matching refs:testCtx

71 …virtual void		verifyInteger						(tcu::TestContext& testCtx, GLenum name, GLint reference)								…
72 …virtual void verifyInteger4 (tcu::TestContext& testCtx, GLenum name, GLint reference0, GLint…
73 …virtual void verifyInteger4Mask (tcu::TestContext& testCtx, GLenum name, GLint reference0, bo…
74 …virtual void verifyIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLint referen…
75 …virtual void verifyUnsignedIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLuint …
76 …virtual void verifyIntegerGreaterOrEqual2 (tcu::TestContext& testCtx, GLenum name, GLint referen…
77 …virtual void verifyIntegerAnyOf (tcu::TestContext& testCtx, GLenum name, const GLint referenc…
78 …virtual void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits)…
106 void verifyInteger (tcu::TestContext& testCtx, GLenum name, GLint reference);
107 …void verifyInteger4 (tcu::TestContext& testCtx, GLenum name, GLint reference0, GLint referenc…
108 …void verifyInteger4Mask (tcu::TestContext& testCtx, GLenum name, GLint reference0, bool enable…
109 void verifyIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLint reference);
110 …void verifyUnsignedIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLuint reference…
111 …void verifyIntegerGreaterOrEqual2 (tcu::TestContext& testCtx, GLenum name, GLint reference0, GLin…
112 …void verifyIntegerAnyOf (tcu::TestContext& testCtx, GLenum name, const GLint references[], siz…
113 void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits);
121 void GetBooleanVerifier::verifyInteger (tcu::TestContext& testCtx, GLenum name, GLint reference) in verifyInteger() argument
128 if (!state.verifyValidity(testCtx)) in verifyInteger()
135testCtx.getLog() << TestLog::Message << "// ERROR: expected " << (expectedGLState==GL_TRUE ? "GL_T… in verifyInteger()
136 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyInteger()
137 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyInteger()
141 void GetBooleanVerifier::verifyInteger4 (tcu::TestContext& testCtx, GLenum name, GLint reference0, … in verifyInteger4() argument
143 …verifyInteger4Mask(testCtx, name, reference0, true, reference1, true, reference2, true, reference3… in verifyInteger4()
146 void GetBooleanVerifier::verifyInteger4Mask (tcu::TestContext& testCtx, GLenum name, GLint referenc… in verifyInteger4Mask() argument
153 if (!boolVector4.verifyValidity(testCtx)) in verifyInteger4Mask()
169 testCtx.getLog() << TestLog::Message << "// ERROR: expected " in verifyInteger4Mask()
175 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyInteger4Mask()
176 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyInteger4Mask()
180 void GetBooleanVerifier::verifyIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLint… in verifyIntegerGreaterOrEqual() argument
187 if (!state.verifyValidity(testCtx)) in verifyIntegerGreaterOrEqual()
197 testCtx.getLog() << TestLog::Message << "// ERROR: expected GL_TRUE" << TestLog::EndMessage; in verifyIntegerGreaterOrEqual()
198 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyIntegerGreaterOrEqual()
199 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyIntegerGreaterOrEqual()
204testCtx.getLog() << TestLog::Message << "// ERROR: expected GL_TRUE or GL_FALSE" << TestLog::EndMe… in verifyIntegerGreaterOrEqual()
205 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyIntegerGreaterOrEqual()
206 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyIntegerGreaterOrEqual()
210 void GetBooleanVerifier::verifyUnsignedIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum nam… in verifyUnsignedIntegerGreaterOrEqual() argument
217 if (!state.verifyValidity(testCtx)) in verifyUnsignedIntegerGreaterOrEqual()
227 testCtx.getLog() << TestLog::Message << "// ERROR: expected GL_TRUE" << TestLog::EndMessage; in verifyUnsignedIntegerGreaterOrEqual()
228 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyUnsignedIntegerGreaterOrEqual()
229 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyUnsignedIntegerGreaterOrEqual()
234testCtx.getLog() << TestLog::Message << "// ERROR: expected GL_TRUE or GL_FALSE" << TestLog::EndMe… in verifyUnsignedIntegerGreaterOrEqual()
235 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyUnsignedIntegerGreaterOrEqual()
236 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyUnsignedIntegerGreaterOrEqual()
240 void GetBooleanVerifier::verifyIntegerGreaterOrEqual2 (tcu::TestContext& testCtx, GLenum name, GLin… in verifyIntegerGreaterOrEqual2() argument
247 if (!boolVector.verifyValidity(testCtx)) in verifyIntegerGreaterOrEqual2()
266 testCtx.getLog() << TestLog::Message << "// ERROR: expected GL_TRUE" << TestLog::EndMessage; in verifyIntegerGreaterOrEqual2()
267 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyIntegerGreaterOrEqual2()
268 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyIntegerGreaterOrEqual2()
273testCtx.getLog() << TestLog::Message << "// ERROR: expected GL_TRUE or GL_FALSE" << TestLog::EndMe… in verifyIntegerGreaterOrEqual2()
274 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyIntegerGreaterOrEqual2()
275 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyIntegerGreaterOrEqual2()
280 void GetBooleanVerifier::verifyIntegerAnyOf (tcu::TestContext& testCtx, GLenum name, const GLint re… in verifyIntegerAnyOf() argument
287 if (!state.verifyValidity(testCtx)) in verifyIntegerAnyOf()
298testCtx.getLog() << TestLog::Message << "// ERROR: got " << (state==GL_TRUE ? "GL_TRUE" : "GL_FALS… in verifyIntegerAnyOf()
299 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyIntegerAnyOf()
300 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyIntegerAnyOf()
303 void GetBooleanVerifier::verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int sten… in verifyStencilMaskInitial() argument
312 if (!state.verifyValidity(testCtx)) in verifyStencilMaskInitial()
317 testCtx.getLog() << TestLog::Message << "// ERROR: expected GL_TRUE" << TestLog::EndMessage; in verifyStencilMaskInitial()
318 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyStencilMaskInitial()
319 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid boolean value"); in verifyStencilMaskInitial()
329 void verifyInteger (tcu::TestContext& testCtx, GLenum name, GLint reference);
330 …void verifyInteger4 (tcu::TestContext& testCtx, GLenum name, GLint reference0, GLint referenc…
331 …void verifyInteger4Mask (tcu::TestContext& testCtx, GLenum name, GLint reference0, bool enable…
332 void verifyIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLint reference);
333 …void verifyUnsignedIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLuint reference…
334 …void verifyIntegerGreaterOrEqual2 (tcu::TestContext& testCtx, GLenum name, GLint reference0, GLin…
335 …void verifyIntegerAnyOf (tcu::TestContext& testCtx, GLenum name, const GLint references[], siz…
336 void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits);
344 void GetIntegerVerifier::verifyInteger (tcu::TestContext& testCtx, GLenum name, GLint reference) in verifyInteger() argument
351 if (!state.verifyValidity(testCtx)) in verifyInteger()
356testCtx.getLog() << TestLog::Message << "// ERROR: expected " << reference << "; got " << state <<… in verifyInteger()
357 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyInteger()
358 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyInteger()
362 void GetIntegerVerifier::verifyInteger4 (tcu::TestContext& testCtx, GLenum name, GLint reference0, … in verifyInteger4() argument
364 …verifyInteger4Mask(testCtx, name, reference0, true, reference1, true, reference2, true, reference3… in verifyInteger4()
367 void GetIntegerVerifier::verifyInteger4Mask (tcu::TestContext& testCtx, GLenum name, GLint referenc… in verifyInteger4Mask() argument
374 if (!intVector4.verifyValidity(testCtx)) in verifyInteger4Mask()
382 testCtx.getLog() << TestLog::Message << "// ERROR: expected " in verifyInteger4Mask()
389 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyInteger4Mask()
390 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyInteger4Mask()
394 void GetIntegerVerifier::verifyIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLint… in verifyIntegerGreaterOrEqual() argument
401 if (!state.verifyValidity(testCtx)) in verifyIntegerGreaterOrEqual()
406testCtx.getLog() << TestLog::Message << "// ERROR: expected greater or equal to " << reference << … in verifyIntegerGreaterOrEqual()
407 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyIntegerGreaterOrEqual()
408 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyIntegerGreaterOrEqual()
412 void GetIntegerVerifier::verifyUnsignedIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum nam… in verifyUnsignedIntegerGreaterOrEqual() argument
419 if (!state.verifyValidity(testCtx)) in verifyUnsignedIntegerGreaterOrEqual()
424testCtx.getLog() << TestLog::Message << "// ERROR: expected greater or equal to " << reference << … in verifyUnsignedIntegerGreaterOrEqual()
425 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyUnsignedIntegerGreaterOrEqual()
426 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyUnsignedIntegerGreaterOrEqual()
430 void GetIntegerVerifier::verifyIntegerGreaterOrEqual2 (tcu::TestContext& testCtx, GLenum name, GLin… in verifyIntegerGreaterOrEqual2() argument
437 if (!intVector2.verifyValidity(testCtx)) in verifyIntegerGreaterOrEqual2()
442testCtx.getLog() << TestLog::Message << "// ERROR: expected greater or equal to " << reference0 <<… in verifyIntegerGreaterOrEqual2()
443 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyIntegerGreaterOrEqual2()
444 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyIntegerGreaterOrEqual2()
448 void GetIntegerVerifier::verifyIntegerAnyOf (tcu::TestContext& testCtx, GLenum name, const GLint re… in verifyIntegerAnyOf() argument
455 if (!state.verifyValidity(testCtx)) in verifyIntegerAnyOf()
466 testCtx.getLog() << TestLog::Message << "// ERROR: got " << state << TestLog::EndMessage; in verifyIntegerAnyOf()
467 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyIntegerAnyOf()
468 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid integer value"); in verifyIntegerAnyOf()
471 void GetIntegerVerifier::verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int sten… in verifyStencilMaskInitial() argument
478 if (!state.verifyValidity(testCtx)) in verifyStencilMaskInitial()
485testCtx.getLog() << TestLog::Message << "// ERROR: expected minimum mask of " << reference << "; g… in verifyStencilMaskInitial()
486 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyStencilMaskInitial()
487 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid mask value"); in verifyStencilMaskInitial()
497 void verifyInteger (tcu::TestContext& testCtx, GLenum name, GLint reference);
498 …void verifyInteger4 (tcu::TestContext& testCtx, GLenum name, GLint reference0, GLint referenc…
499 …void verifyInteger4Mask (tcu::TestContext& testCtx, GLenum name, GLint reference0, bool enable…
500 void verifyIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLint reference);
501 …void verifyUnsignedIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLuint reference…
502 …void verifyIntegerGreaterOrEqual2 (tcu::TestContext& testCtx, GLenum name, GLint reference0, GLin…
503 …void verifyIntegerAnyOf (tcu::TestContext& testCtx, GLenum name, const GLint references[], siz…
504 void verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stencilBits);
512 void GetFloatVerifier::verifyInteger (tcu::TestContext& testCtx, GLenum name, GLint reference) in verifyInteger() argument
522 if (!state.verifyValidity(testCtx)) in verifyInteger()
527testCtx.getLog() << TestLog::Message << "// ERROR: expected " << referenceAsFloat << "; got " << s… in verifyInteger()
528 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyInteger()
529 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid float value"); in verifyInteger()
533 void GetFloatVerifier::verifyInteger4 (tcu::TestContext& testCtx, GLenum name, GLint reference0, GL… in verifyInteger4() argument
535 …verifyInteger4Mask(testCtx, name, reference0, true, reference1, true, reference2, true, reference3… in verifyInteger4()
538 void GetFloatVerifier::verifyInteger4Mask (tcu::TestContext& testCtx, GLenum name, GLint reference0… in verifyInteger4Mask() argument
545 if (!floatVector4.verifyValidity(testCtx)) in verifyInteger4Mask()
553 testCtx.getLog() << TestLog::Message << "// ERROR: expected " in verifyInteger4Mask()
559 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyInteger4Mask()
560 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid float value"); in verifyInteger4Mask()
564 void GetFloatVerifier::verifyIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum name, GLint r… in verifyIntegerGreaterOrEqual() argument
571 if (!state.verifyValidity(testCtx)) in verifyIntegerGreaterOrEqual()
576testCtx.getLog() << TestLog::Message << "// ERROR: expected greater or equal to " << GLfloat(refer… in verifyIntegerGreaterOrEqual()
577 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyIntegerGreaterOrEqual()
578 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid float value"); in verifyIntegerGreaterOrEqual()
582 void GetFloatVerifier::verifyUnsignedIntegerGreaterOrEqual (tcu::TestContext& testCtx, GLenum name,… in verifyUnsignedIntegerGreaterOrEqual() argument
589 if (!state.verifyValidity(testCtx)) in verifyUnsignedIntegerGreaterOrEqual()
594testCtx.getLog() << TestLog::Message << "// ERROR: expected greater or equal to " << GLfloat(refer… in verifyUnsignedIntegerGreaterOrEqual()
595 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyUnsignedIntegerGreaterOrEqual()
596 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid float value"); in verifyUnsignedIntegerGreaterOrEqual()
600 void GetFloatVerifier::verifyIntegerGreaterOrEqual2 (tcu::TestContext& testCtx, GLenum name, GLint … in verifyIntegerGreaterOrEqual2() argument
607 if (!floatVector2.verifyValidity(testCtx)) in verifyIntegerGreaterOrEqual2()
612testCtx.getLog() << TestLog::Message << "// ERROR: expected greater or equal to " << GLfloat(refer… in verifyIntegerGreaterOrEqual2()
613 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyIntegerGreaterOrEqual2()
614 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid float value"); in verifyIntegerGreaterOrEqual2()
618 void GetFloatVerifier::verifyIntegerAnyOf (tcu::TestContext& testCtx, GLenum name, const GLint refe… in verifyIntegerAnyOf() argument
625 if (!state.verifyValidity(testCtx)) in verifyIntegerAnyOf()
637 testCtx.getLog() << TestLog::Message << "// ERROR: got " << state << TestLog::EndMessage; in verifyIntegerAnyOf()
638 if (testCtx.getTestResult() == QP_TEST_RESULT_PASS) in verifyIntegerAnyOf()
639 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid float value"); in verifyIntegerAnyOf()
642 void GetFloatVerifier::verifyStencilMaskInitial (tcu::TestContext& testCtx, GLenum name, int stenci… in verifyStencilMaskInitial() argument
647 verifyIntegerGreaterOrEqual(testCtx, name, reference); in verifyStencilMaskInitial()