Lines Matching defs:expected

541 /** @brief Draw test program, fetch transform feedback results and compare them with expected values.
545 * @return True if expected results are equal to returned by XFB, false otherwise.
1112 /** @brief Draw test program, fetch transform feedback results and compare them with expected values.
1114 * @return True if expected results are equal to returned by XFB, false otherwise.
1155 << "], but [0, 1, 2] was expected." << tcu::TestLog::EndMessage;
1644 /** @brief Draw test program, fetch transform feedback results and compare them with expected values.
1646 * @return True if expected results are equal to returned by XFB, false otherwise.
1689 << reference[1] << "] was expected." << tcu::TestLog::EndMessage;
2316 /** @brief Draw test program, fetch transform feedback results and compare them with expected values.
2318 * @param [in] size Count of elements of the XFB vector is expected.
2319 * @param [in] normalized Normalized values are expected.
2321 * @return True if expected results are equal to returned by XFB, false otherwise.
2424 << " was expected." << tcu::TestLog::EndMessage;
2876 /** @brief Draw test program, fetch transform feedback results and compare them with expected values.
2878 * @return True if expected results are equal to returned by XFB, false otherwise.
3377 * @param [in] expected Expected results.
3378 * @param [in] log_message Message to be logged if expected values are not equal to queried.
3380 * @return True if expected values are equal to queried, false otherwise.
3382 bool AttributeBindingDivisorTest::CheckXFB(const glw::GLuint count, const glw::GLint expected[],
3398 if (expected[i] != result[i])
3405 expected_str.append(Utilities::itoa((glw::GLuint)expected[j]));
3421 << expected_str << " was expected. " << log_message
3564 m_context.getTestContext().getLog() << tcu::TestLog::Message << "GetVertexArrayiv was expected to return "
3824 /** @brief Compare value queried using GetVertexArrayIndexediv with expected value and log.
3828 * @param [in] expected Expected error.
3830 * @return True if value is equal to expected, false otherwise.
3832 bool GetVertexArrayIndexedTest::Check(const glw::GLenum pname, const glw::GLuint index, const glw::GLint expected)
3851 if (result != expected)
3855 << " returned " << result << ", but " << expected
3856 << " was expected. Test fails." << tcu::TestLog::EndMessage;
3864 /** @brief Compare value queried using GetVertexArrayIndexed64iv with expected value and log.
3868 * @param [in] expected Expected error.
3870 * @return True if value is equal to expected, false otherwise.
3872 bool GetVertexArrayIndexedTest::Check64(const glw::GLenum pname, const glw::GLuint index, const glw::GLint64 expected)
3891 if (result != expected)
3895 << " returned " << result << ", but " << expected
3896 << " was expected. Test fails." << tcu::TestLog::EndMessage;
4018 /** @brief Compare value queried using GetVertexArrayiv with expected value and log.
4021 * @param [in] expected Expected error.
4023 * @return True if value is equal to expected, false otherwise.
4025 bool DefaultsTest::Check(const glw::GLenum pname, const glw::GLint expected)
4035 if (result != expected)
4039 << ", but " << expected << " was expected. Test fails."
4048 /** @brief Compare value queried using GetVertexArrayIndexediv with expected value and log.
4052 * @param [in] expected Expected error.
4054 * @return True if value is equal to expected, false otherwise.
4056 bool DefaultsTest::CheckIndexed(const glw::GLenum pname, const glw::GLuint index, const glw::GLint expected)
4066 if (result != expected)
4070 << " equal to " << result << ", but " << expected
4071 << " was expected. Test fails." << tcu::TestLog::EndMessage;
4079 /** @brief Compare value queried using GetVertexArrayIndexed64iv with expected value and log.
4083 * @param [in] expected Expected error.
4085 * @return True if value is equal to expected, false otherwise.
4087 bool DefaultsTest::CheckIndexed64(const glw::GLenum pname, const glw::GLuint index, const glw::GLint64 expected)
4097 if (result != expected)
4101 << " equal to " << result << ", but " << expected
4102 << " was expected. Test fails." << tcu::TestLog::EndMessage;
4183 /** @brief Compare error returned by GL with expected value and log.
4185 * @param [in] expected Expected error.
4186 * @param [in] log_message Message to be logged if expected error is not the equal to the reported one.
4188 * @return True if GL error is equal to expected, false otherwise.
4190 bool CreationErrorTest::CheckError(const glw::GLenum expected, const glw::GLchar* log_message)
4197 if (expected != (error = gl.getError()))
4335 /** @brief Compare error returned by GL with expected value and log.
4337 * @param [in] expected Expected error.
4338 * @param [in] log_message Message to be logged if expected error is not the equal to the reported one.
4340 * @return True if GL error is equal to expected, false otherwise.
4342 bool EnableDisableAttributeErrorsTest::CheckError(const glw::GLenum expected, const glw::GLchar* log_message)
4349 if (expected != (error = gl.getError()))
4470 /** @brief Compare error returned by GL with expected value and log.
4472 * @param [in] expected Expected error.
4473 * @param [in] log_message Message to be logged if expected error is not the equal to the reported one.
4475 * @return True if GL error is equal to expected, false otherwise.
4477 bool ElementBufferErrorsTest::CheckError(const glw::GLenum expected, const glw::GLchar* log_message)
4484 if (expected != (error = gl.getError()))
4682 /** @brief Compare error returned by GL with expected value and log.
4684 * @param [in] expected Expected error.
4685 * @param [in] log_message Message to be logged if expected error is not the equal to the reported one.
4687 * @return True if GL error is equal to expected, false otherwise.
4689 bool VertexBuffersErrorsTest::CheckError(const glw::GLenum expected, const glw::GLchar* log_message)
4696 if (expected != (error = gl.getError()))
4995 /** @brief Compare error returned by GL with expected value and log.
4997 * @param [in] expected Expected error.
4998 * @param [in] log_message Message to be logged if expected error is not the equal to the reported one.
5000 * @return True if GL error is equal to expected, false otherwise.
5002 bool AttributeFormatErrorsTest::CheckError(const glw::GLenum expected, const glw::GLchar* log_message)
5009 if (expected != (error = gl.getError()))
5142 /** @brief Compare error returned by GL with expected value and log.
5144 * @param [in] expected Expected error.
5145 * @param [in] log_message Message to be logged if expected error is not the equal to the reported one.
5147 * @return True if GL error is equal to expected, false otherwise.
5149 bool AttributeBindingErrorsTest::CheckError(const glw::GLenum expected, const glw::GLchar* log_message)
5156 if (expected != (error = gl.getError()))
5276 /** @brief Compare error returned by GL with expected value and log.
5278 * @param [in] expected Expected error.
5279 * @param [in] log_message Message to be logged if expected error is not the equal to the reported one.
5281 * @return True if GL error is equal to expected, false otherwise.
5283 bool AttributeBindingDivisorErrorsTest::CheckError(const glw::GLenum expected, const glw::GLchar* log_message)
5290 if (expected != (error = gl.getError()))
5401 /** @brief Compare error returned by GL with expected value and log.
5403 * @param [in] expected Expected error.
5404 * @param [in] log_message Message to be logged if expected error is not the equal to the reported one.
5406 * @return True if GL error is equal to expected, false otherwise.
5408 bool GetVertexArrayErrorsTest::CheckError(const glw::GLenum expected, const glw::GLchar* log_message)
5415 if (expected != (error = gl.getError()))
5568 /** @brief Compare error returned by GL with expected value and log.
5570 * @param [in] expected Expected error.
5571 * @param [in] log_message Message to be logged if expected error is not the equal to the reported one.
5573 * @return True if GL error is equal to expected, false otherwise.
5575 bool GetVertexArrayIndexedErrorsTest::CheckError(const glw::GLenum expected, const glw::GLchar* log_message)
5582 if (expected != (error = gl.getError()))