{
for(TASMethod method : tClass.getTestMethods())
{
if(method.getStatus() == TASMethod.ERROR)
{
TASError error = method.getError();
task.log("| ERROR: " + tClass.getClassname()
+ "." + method.getMethodname() + "()",Project.MSG_ERR);
task.log("| " + error.getType() + " " + error.getMessage(),Project.MSG_ERR);
}
}
}
}
}
if(suite.hasFailures())
{
for(TASClass tClass : suite.getTestClasses())
{
if(tClass.hasFailures())
{
for(TASMethod method : tClass.getTestMethods())
{
if(method.getStatus() == TASMethod.FAILURE)
{
TASError error = method.getError();
{
task.log("| FAILURE: " + tClass.getClassname()
+ "." + method.getMethodname() + "()",Project.MSG_WARN);
task.log("| " + error.getAssert().getType() + "[" + error.getIndex() + "] " + error.getAssert().getReason(),Project.MSG_WARN);
}
}
}
}
}