}
public TestResult doRun(Test suite) {
TestResult result= new TestResult();
//result.addListener(this.testListener);
result.addListener(this);
suite.run(result);
// Tests Result
StringBuffer fStrBuf = new StringBuffer();
if (result.failureCount() == 0 && result.errorCount() == 0)
{ // all tests OK