Beispiel #1
0
 JUnitTestOutputTestRunner& onLine(int lineNumber)
 {
     if(currentTest_) {
         currentTest_->setLineNumber(lineNumber);
     }
     return *this;
 }
Beispiel #2
0
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);
}