Lines Matching refs:test
40 /*! Adds the specified test.
42 * \param test Test to add.
45 TestRunner::addTest( Test *test )
47 if ( test != NULL )
48 m_suite->addTest( test );
52 /*! Runs the named test case.
54 * \param testName Name of the test case to run. If an empty is given, then
55 * all added test are run. The name must be the name of
56 * of an added test.
59 * \param doPrintResult if \c true (default) then the test result are printed
63 * \return \c true is the test was successful, \c false if the test
86 Test *test = findTestByName( testName );
87 if ( test != NULL )
88 return runTest( test, doPrintProgress );
122 Test *test = *it;
123 if ( test->getName() == name )
124 return test;
131 TestRunner::runTest( Test *test,
138 test->run( m_eventManager );
146 /*! Returns the result of the test run.
147 * Use this after calling run() to access the result of the test run.
158 * test. Use this to register additional TestListener before running the tests.
169 * Notes that the outputter will be use after the test run only if \a printResult was