Lines Matching refs:unit_test
49 virtual void OnTestIterationStart(const UnitTest& unit_test, in OnTestIterationStart() argument
53 unit_test.test_to_run_count(), in OnTestIterationStart()
54 unit_test.test_case_to_run_count()); in OnTestIterationStart()
92 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration) { in OnTestIterationEnd() argument
95 unit_test.test_to_run_count(), in OnTestIterationEnd()
96 unit_test.test_case_to_run_count(), unit_test.elapsed_time()); in OnTestIterationEnd()
108 virtual void OnTestIterationStart(const UnitTest& unit_test, in OnTestIterationStart() argument
111 unit_test.test_to_run_count(), in OnTestIterationStart()
112 unit_test.test_case_to_run_count()); in OnTestIterationStart()
115 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) { in OnEnvironmentsSetUpStart() argument
157 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) { in OnEnvironmentsTearDownStart() argument
161 void PrintFailedTests(const UnitTest& unit_test) { in PrintFailedTests() argument
162 const int failed_test_count = unit_test.failed_test_count(); in PrintFailedTests()
167 for (int i = 0; i < unit_test.total_test_case_count(); ++i) { in PrintFailedTests()
168 const TestCase& test_case = *unit_test.GetTestCase(i); in PrintFailedTests()
184 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration) { in OnTestIterationEnd() argument
186 unit_test.test_to_run_count(), in OnTestIterationEnd()
187 unit_test.test_case_to_run_count(), unit_test.elapsed_time()); in OnTestIterationEnd()
189 LOGI("[ PASSED ] %i tests\n", unit_test.successful_test_count()); in OnTestIterationEnd()
191 if(unit_test.Passed()) { in OnTestIterationEnd()
196 unit_test.failed_test_count()); in OnTestIterationEnd()
198 PrintFailedTests(unit_test); in OnTestIterationEnd()
200 LOGI("\n%2d FAILED TESTS\n", unit_test.failed_test_count()); in OnTestIterationEnd()