Home
last modified time | relevance | path

Searched refs:curTest (Results 1 – 2 of 2) sorted by relevance

/TaskScheduler/ThirdParty/UnitTest++/UnitTest++/
H A DTestRunner.h34 Test* curTest = list.GetHead(); in RunTestsIf() local
36 while (curTest != 0) in RunTestsIf()
38 if (IsTestInSuite(curTest, suiteName) && predicate(curTest)) in RunTestsIf()
39 RunTest(m_result, curTest, maxTestTimeInMs); in RunTestsIf()
41 curTest = curTest->m_nextTest; in RunTestsIf()
55 bool IsTestInSuite(const Test* const curTest, char const* suiteName) const;
56 void RunTest(TestResults* const result, Test* const curTest, int const maxTestTimeInMs) const;
H A DTestRunner.cpp51 bool TestRunner::IsTestInSuite(const Test* const curTest, char const* suiteName) const in IsTestInSuite() argument
54 return (suiteName == NULL) || !strcmp(curTest->m_details.suiteName, suiteName); in IsTestInSuite()
57 void TestRunner::RunTest(TestResults* const result, Test* const curTest, int const maxTestTimeInMs)… in RunTest() argument
59 if (curTest->m_isMockTest == false) in RunTest()
65 result->OnTestStart(curTest->m_details); in RunTest()
67 curTest->Run(); in RunTest()
70 …if (maxTestTimeInMs > 0 && testTimeInMs > maxTestTimeInMs && !curTest->m_details.timeConstraintExe… in RunTest()
76 result->OnTestFailure(curTest->m_details, stream.GetText()); in RunTest()
79 result->OnTestFinish(curTest->m_details, static_cast< float >(testTimeInMs / 1000.0)); in RunTest()