Lines Matching defs:expected

49 		return "All called functions return expected values.";
55 "expected results when used to get data from program\n"
65 "verify that information with the expected data" +
136 virtual inline void ExpectError(GLenum expected, long& error)
141 if (tmp == expected)
144 << tcu::TestLog::Message << "Found expected error" << tcu::TestLog::EndMessage;
145 error = NO_ERROR; // Error is expected
150 m_context.getTestContext().getLog() << tcu::TestLog::Message << expected
151 << " error was expected, found: " << tmp << tcu::TestLog::EndMessage;
155 virtual inline void VerifyGetProgramInterfaceiv(GLuint program, GLenum programInterface, GLenum pname, int expected,
160 if (res != expected)
162 m_context.getTestContext().getLog() << tcu::TestLog::Message << "ERROR: Got " << res << ", expected "
163 << expected << tcu::TestLog::EndMessage;
169 GLuint expected, long& error)
172 if (res != expected)
174 m_context.getTestContext().getLog() << tcu::TestLog::Message << "ERROR: Got " << res << ", expected "
175 << expected << tcu::TestLog::EndMessage;
188 << ", expected number other than -1" << tcu::TestLog::EndMessage;
208 const std::string& expected, long& error)
221 else if (name != expected || name[len] != '\0')
223 m_context.getTestContext().getLog() << tcu::TestLog::Message << "ERROR: Got " << name << ", expected "
224 << expected << tcu::TestLog::EndMessage;
230 const std::string& name, GLint expected, long& error)
233 if (res != expected)
235 m_context.getTestContext().getLog() << tcu::TestLog::Message << "ERROR: Got " << res << ", expected "
236 << expected << tcu::TestLog::EndMessage;
249 << ", expected not less than 0" << tcu::TestLog::EndMessage;
270 const GLint expected[], long& error)
280 << tcu::TestLog::Message << "ERROR: Got length " << length << ", expected " << expectedLength
287 if (params[i] != expected[i])
291 << tcu::TestLog::Message << "ERROR: Got " << params[i] << ", expected " << expected[i]
425 GLint expected[] = { 9, 35666, 1, 0, 0, 1, 0 };
426 VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, 0, 7, props, 7, expected, error);
737 GLint expected[] = { 2, 35676, 1, 0, 0, 1, 0 };
738 VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["a"], 7, props, 7, expected, error);
813 GLint expected[] = { 12, 5124, 1, 0, 0, 1, -1 };
814 VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["gl_VertexID"], 7, props, 7, expected, error);
903 GLint expected[] = { 2, 35676, 1, 0, 0, 1, 0 };
904 VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indices["a"], 7, props, 7, expected, error);
1071 GLint expected[] = { 6, 35666, 1, -1, -1, -1, -1, 0, -1, 0, 0, 1, glGetUniformLocation(program, "repos") };
1072 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["repos"], 13, props, 13, expected, error);
1233 GLint expected[] = { 2, 35666, 1, -1, -1, -1, -1, 0, -1, 0, 0, 1, glGetUniformLocation(program, "a") };
1234 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["a"], 13, props, 13, expected, error);
1404 GLint expected[] = { 12, 0, 0, 0, 1, size };
1405 VerifyGetProgramResourceiv(program, GL_UNIFORM_BLOCK, indicesUB["SimpleBlock"], 6, props, 6, expected, error);
1574 GLint expected[] = { static_cast<GLint>(indicesUB["TestBlock"]) };
1575 VerifyGetProgramResourceiv(program, GL_UNIFORM, indicesU["TestBlock.color"], 1, props, 1, expected, error);
1655 GLint expected[] = { 2, 35666, 1 };
1656 VerifyGetProgramResourceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["a"], 3, props, 3, expected, error);
1746 GLint expected[] = { 2, GL_FLOAT_VEC4, 1 };
1747 VerifyGetProgramResourceiv(program, GL_TRANSFORM_FEEDBACK_VARYING, indices["a"], 3, props, 3, expected, error);
1854 GLint expected[] = { 1, 4, 1, static_cast<GLint>(indicesU["a"]) };
1855 VerifyGetProgramResourceiv(program, GL_ATOMIC_COUNTER_BUFFER, res, 4, props, 4, expected, error);
1998 << tcu::TestLog::Message << "Got buffer index " << res << ", expected 0." << tcu::TestLog::EndMessage;
2004 GLint expected[] = { 0, 20, 3 };
2005 VerifyGetProgramResourceiv(program, GL_ATOMIC_COUNTER_BUFFER, res, 3, props, 3, expected, error);
2018 << tcu::TestLog::Message << "Got buffer index " << res << ", expected 0." << tcu::TestLog::EndMessage;
2418 GLint expected[] = { 13, 0, 3, 1, 0, 0 };
2419 VerifyGetProgramResourceiv(program, GL_SHADER_STORAGE_BLOCK, indicesSSB["SimpleBuffer"], 6, props, 6, expected,
2583 std::string expected = "color";
2584 if (name != expected)
2586 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Expected name: " << expected
2675 GLint expected[] = { 11, 35666, 5, -1, -1, -1, -1, 0, -1, 0, 0, 1, glGetUniformLocation(program, "a[2][1]") };
2676 VerifyGetProgramResourceiv(program, GL_UNIFORM, indices["a[2][1]"], 13, props, 13, expected, error);
2881 GLint expected[] = { 2, 35666, 1, -1, -1, -1, -1, 0, -1, 0, 0, 1, glGetUniformLocation(vs, "v") };
2882 VerifyGetProgramResourceiv(vs, GL_UNIFORM, indicesU["v"], 13, props, 13, expected, error);
2980 GLint expected[] = { 2, 35666, 1, -1, -1, -1, -1, 0, -1, 0, 1, 0, 1 };
2981 VerifyGetProgramResourceiv(tcs, GL_UNIFORM, indicesU["x"], 13, props, 13, expected, error);
3037 GLint expected[] = { 1 };
3038 VerifyGetProgramResourceiv(program, GL_UNIFORM, indicesU["a"], 1, props, 1, expected, error);
3187 << tcu::TestLog::Message << "ERROR: buff different then expected" << tcu::TestLog::EndMessage;
3192 m_context.getTestContext().getLog() << tcu::TestLog::Message << "ERROR: incorrect length, expected 1, got "
3228 m_context.getTestContext().getLog() << tcu::TestLog::Message << "ERROR: incorrect length, expected 2, got "
3330 GLint expected[] = { 2, 35666, 1, 0, 0, 1 };
3331 VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indicesI["a"], 6, props, 6, expected, error);
3332 VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indicesI["b"], 6, props, 6, expected, error);
3333 VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indicesI["d"], 6, props, 6, expected, error);
3334 VerifyGetProgramResourceiv(program, GL_PROGRAM_INPUT, indicesI["c"], 6, props, 6, expected, error);
3397 GLint expected[] = { 13, 5126, 1, 0, 1, 0, -1 };
3399 props, DE_LENGTH_OF_ARRAY(expected), expected, error);
3481 GLint expected[] = { 9, 35666, 1, 0, 0, 1, 0 };
3483 DE_LENGTH_OF_ARRAY(expected), expected, error);
3701 << tcu::TestLog::Message << "Error, expected 0 or 1 active resources, got: " << res
3709 << tcu::TestLog::Message << "Error, expected 1 or 9 GL_MAX_NAME_LENGTH, got: " << res