Lines Matching refs:m_testCtx
86 TestLog& log = m_testCtx.getLog(); in iterate()
105 caseListFilter = cmdLine.createCaseListFilter(m_testCtx.getArchive()); in iterate()
130 m_testCtx.setTestResult((numPass == m_numSubCases) ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
153 TestLog& log = m_testCtx.getLog(); in iterate()
170 … de::UniquePtr<tcu::CaseListFilter> filter (cmdLine.createCaseListFilter(m_testCtx.getArchive())); in iterate()
172 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Parsing passed, should have failed"); in iterate()
177 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "Parsing failed as expected"); in iterate()
205 …addChild(new CaseListParserCase(m_testCtx, "single_case", caseList, subCases, DE_LENGTH_OF_ARRAY(s… in init()
216 …addChild(new CaseListParserCase(m_testCtx, "simple_group_1", caseList, subCases, DE_LENGTH_OF_ARRA… in init()
228 …addChild(new CaseListParserCase(m_testCtx, "simple_group_2", caseList, subCases, DE_LENGTH_OF_ARRA… in init()
245 …addChild(new CaseListParserCase(m_testCtx, "two_groups", caseList, subCases, DE_LENGTH_OF_ARRAY(su… in init()
262 …addChild(new CaseListParserCase(m_testCtx, "case_group", caseList, subCases, DE_LENGTH_OF_ARRAY(su… in init()
279 …addChild(new CaseListParserCase(m_testCtx, "group_case", caseList, subCases, DE_LENGTH_OF_ARRAY(su… in init()
288 …addChild(new CaseListParserCase(m_testCtx, "trailing_cr", caseList, subCases, DE_LENGTH_OF_ARRAY(s… in init()
297 …addChild(new CaseListParserCase(m_testCtx, "trailing_lf", caseList, subCases, DE_LENGTH_OF_ARRAY(s… in init()
306 …addChild(new CaseListParserCase(m_testCtx, "trailing_crlf", caseList, subCases, DE_LENGTH_OF_ARRAY… in init()
310 addChild(new NegativeCaseListCase(m_testCtx, "empty_string", "")); in init()
311 addChild(new NegativeCaseListCase(m_testCtx, "empty_line", "\n")); in init()
312 addChild(new NegativeCaseListCase(m_testCtx, "empty_root", "{}")); in init()
313 addChild(new NegativeCaseListCase(m_testCtx, "empty_group", "{test{}}")); in init()
314 addChild(new NegativeCaseListCase(m_testCtx, "empty_group_name_1", "{{}}")); in init()
315 addChild(new NegativeCaseListCase(m_testCtx, "empty_group_name_2", "{{test}}")); in init()
316 addChild(new NegativeCaseListCase(m_testCtx, "unterminated_root_1", "{")); in init()
317 addChild(new NegativeCaseListCase(m_testCtx, "unterminated_root_2", "{test")); in init()
318 addChild(new NegativeCaseListCase(m_testCtx, "unterminated_root_3", "{test,")); in init()
319 addChild(new NegativeCaseListCase(m_testCtx, "unterminated_root_4", "{test{a}")); in init()
320 addChild(new NegativeCaseListCase(m_testCtx, "unterminated_root_5", "{a,b")); in init()
321 addChild(new NegativeCaseListCase(m_testCtx, "unterminated_group_1", "{test{")); in init()
322 addChild(new NegativeCaseListCase(m_testCtx, "unterminated_group_2", "{test{a")); in init()
323 addChild(new NegativeCaseListCase(m_testCtx, "unterminated_group_3", "{test{a,")); in init()
324 addChild(new NegativeCaseListCase(m_testCtx, "unterminated_group_4", "{test{a,b")); in init()
325 addChild(new NegativeCaseListCase(m_testCtx, "empty_case_name_1", "{a,,b}")); in init()
326 addChild(new NegativeCaseListCase(m_testCtx, "empty_case_name_2", "{,b}")); in init()
327 addChild(new NegativeCaseListCase(m_testCtx, "empty_case_name_3", "{a,}")); in init()
328 addChild(new NegativeCaseListCase(m_testCtx, "no_separator", "{a{b}c}")); in init()
329 addChild(new NegativeCaseListCase(m_testCtx, "invalid_char_1", "{a.b}")); in init()
330 addChild(new NegativeCaseListCase(m_testCtx, "invalid_char_2", "{a[]}")); in init()
331 addChild(new NegativeCaseListCase(m_testCtx, "trailing_char_1", "{a}}")); in init()
332 addChild(new NegativeCaseListCase(m_testCtx, "trailing_char_2", "{a}x")); in init()
333 addChild(new NegativeCaseListCase(m_testCtx, "embedded_newline_1", "{\na}")); in init()
334 addChild(new NegativeCaseListCase(m_testCtx, "embedded_newline_2", "{a\n,b}")); in init()
335 addChild(new NegativeCaseListCase(m_testCtx, "embedded_newline_3", "{a,\nb}")); in init()
336 addChild(new NegativeCaseListCase(m_testCtx, "embedded_newline_4", "{a{b\n}}")); in init()
337 addChild(new NegativeCaseListCase(m_testCtx, "embedded_newline_5", "{a{b}\n}")); in init()
358 …addChild(new CaseListParserCase(m_testCtx, "single_case", caseList, subCases, DE_LENGTH_OF_ARRAY(s… in init()
369 …addChild(new CaseListParserCase(m_testCtx, "simple_group_1", caseList, subCases, DE_LENGTH_OF_ARRA… in init()
381 …addChild(new CaseListParserCase(m_testCtx, "simple_group_2", caseList, subCases, DE_LENGTH_OF_ARRA… in init()
393 …addChild(new CaseListParserCase(m_testCtx, "separator_ln", caseList, subCases, DE_LENGTH_OF_ARRAY(… in init()
405 …addChild(new CaseListParserCase(m_testCtx, "separator_cr", caseList, subCases, DE_LENGTH_OF_ARRAY(… in init()
417 …addChild(new CaseListParserCase(m_testCtx, "separator_crlf", caseList, subCases, DE_LENGTH_OF_ARRA… in init()
429 …addChild(new CaseListParserCase(m_testCtx, "end_ln", caseList, subCases, DE_LENGTH_OF_ARRAY(subCas… in init()
441 …addChild(new CaseListParserCase(m_testCtx, "end_cr", caseList, subCases, DE_LENGTH_OF_ARRAY(subCas… in init()
453 …addChild(new CaseListParserCase(m_testCtx, "end_crlf", caseList, subCases, DE_LENGTH_OF_ARRAY(subC… in init()
470 …addChild(new CaseListParserCase(m_testCtx, "two_groups", caseList, subCases, DE_LENGTH_OF_ARRAY(su… in init()
487 …addChild(new CaseListParserCase(m_testCtx, "case_group", caseList, subCases, DE_LENGTH_OF_ARRAY(su… in init()
504 …addChild(new CaseListParserCase(m_testCtx, "group_case", caseList, subCases, DE_LENGTH_OF_ARRAY(su… in init()
515 …addChild(new CaseListParserCase(m_testCtx, "long_name", caseList, subCases, DE_LENGTH_OF_ARRAY(sub… in init()
535 …addChild(new CaseListParserCase(m_testCtx, "partial_prefix", caseList, subCases, DE_LENGTH_OF_ARRA… in init()
548 …addChild(new CaseListParserCase(m_testCtx, "reparenting", caseList, subCases, DE_LENGTH_OF_ARRAY(s… in init()
552 addChild(new NegativeCaseListCase(m_testCtx, "empty_string", "")); in init()
553 addChild(new NegativeCaseListCase(m_testCtx, "empty_line", "\n")); in init()
554 addChild(new NegativeCaseListCase(m_testCtx, "empty_group_name", ".test")); in init()
555 addChild(new NegativeCaseListCase(m_testCtx, "empty_case_name", "test.")); in init()
569 addChild(new TrieParserTests(m_testCtx)); in init()
570 addChild(new ListParserTests(m_testCtx)); in init()
676 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, "All iterations passed"); in init()
682 tcu::ScopedLogSection section(m_testCtx.getLog(), "SubCase", ""); in iterate()
712 m_testCtx.getLog() << TestLog::Message in runCase()
841 m_testCtx.getLog() << TestLog::Message in runCase()
857 m_testCtx.getLog() << TestLog::Image("ResolvedColor", "Resolved colorbuffer", resolvedColor) in runCase()
862 m_testCtx.getLog() << TestLog::Image("ErrorMask", "Error mask", errorMask); in runCase()
865 …m_testCtx.getLog() << TestLog::Message << "FAIL: Found " << numFailedColorSamples << " invalid col… in runCase()
868 …m_testCtx.getLog() << TestLog::Message << "FAIL: Found " << numFailedDepthSamples << " invalid dep… in runCase()
870 if (m_testCtx.getTestResult() == QP_TEST_RESULT_PASS) in runCase()
871 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Invalid samples found"); in runCase()
874 …m_testCtx.getLog() << TestLog::Message << (numCoveredSamples-numFailedColorSamples) << " / " << nu… in runCase()
875 …m_testCtx.getLog() << TestLog::Message << (numCoveredSamples-numFailedDepthSamples) << " / " << nu… in runCase()
893 addChild(new SelfCheckCase(m_testCtx, "float_format","tcu::FloatFormat_selfTest()", in init()
895 addChild(new SelfCheckCase(m_testCtx, "either","tcu::Either_selfTest()", in init()
910 addChild(new ConstantInterpolationTest(m_testCtx)); in init()
927 addChild(new CommonFrameworkTests (m_testCtx)); in init()
928 addChild(new CaseListParserTests (m_testCtx)); in init()
929 addChild(new ReferenceRendererTests (m_testCtx)); in init()
930 addChild(createTextureFormatTests (m_testCtx)); in init()
931 addChild(createAstcTests (m_testCtx)); in init()
932 addChild(createVulkanTests (m_testCtx)); in init()