Changed test failure messages so that they will trigger line error flags in eclipse

release/4.3a0
Alex Cunningham 2011-05-23 18:05:10 +00:00
parent 611b5061cd
commit 7066567b75
1 changed files with 6 additions and 7 deletions

View File

@ -36,14 +36,13 @@ void TestResult::addFailure (const Failure& failure)
"\" in ",
failure.fileName.asCharString ());
else
fprintf (stdout, "%s%s%s%s%ld%s%s\n",
"Failure: \"",
failure.message.asCharString (),
"\" " ,
"line ",
fprintf (stdout, "%s%s%ld%s%s%s\n",
failure.fileName.asCharString(), // Format matches Eclipse error flagging
":",
failure.lineNumber,
" in ",
failure.fileName.asCharString ());
": Failure: \"",
failure.message.asCharString(),
"\" ");
failureCount++;
}