m_success = false;
TestNG tng = new TestNG();
tng.setVerbose(0);
tng.setTestClasses(new Class[] { ReporterSampleTest.class });
ITestListener listener = new TestListenerAdapter() {
@Override
public void onTestSuccess(ITestResult tr) {
super.onTestSuccess(tr);
List<String> output = Reporter.getOutput(tr);
m_success = output != null && output.size() > 0;