Home | History | Annotate | Download | only in egl

Lines Matching refs:got

90 		m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getErrorStr(expected) << ", Got: " << eglu::getErrorStr(err) << TestLog::EndMessage;
92 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
101 m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getErrorStr(expectedA) << " or " << eglu::getErrorStr(expectedB) << ", Got: " << eglu::getErrorStr(err) << TestLog::EndMessage;
103 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid error");
107 void ApiCase::expectBoolean (EGLBoolean expected, EGLBoolean got)
109 if (expected != got)
111 m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getBooleanStr(expected) << ", Got: " << eglu::getBooleanStr(got) << TestLog::EndMessage;
113 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid value");
117 void ApiCase::expectNoContext (EGLContext got)
119 if (got != EGL_NO_CONTEXT)
123 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid value");
124 eglDestroyContext(getDisplay(), got);
128 void ApiCase::expectNoSurface (EGLSurface got)
130 if (got != EGL_NO_SURFACE)
134 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid value");
135 eglDestroySurface(getDisplay(), got);
139 void ApiCase::expectNoDisplay (EGLDisplay got)
141 if (got != EGL_NO_DISPLAY)
145 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid value");
149 void ApiCase::expectNull (const void* got)
151 if (got != DE_NULL)
155 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Got invalid value");