if (project.getVerbosity()) {
VerboseListener vl = new VerboseListener();
m_tester[0].addListener(vl);
}
// We always want to see the tests drawn
m_tester[0].addListener(new VisualisationListener());
// Redirect model's output to string
Model md = m_tester[0].getModel();
Writer defWriter = md.getOutput();
md.setOutput(sw);
// This writer updates the test results panel.