JUnitTestOutputTestRunner& onLine(int lineNumber) { if(currentTest_) { currentTest_->setLineNumber(lineNumber); } return *this; }
TestInstaller::TestInstaller(UtestShell& shell, const char* groupName, const char* testName, const char* fileName, int lineNumber) { shell.setGroupName(groupName); shell.setTestName(testName); shell.setFileName(fileName); shell.setLineNumber(lineNumber); TestRegistry::getCurrentRegistry()->addTest(&shell); }