brooklyn.test
Class StatusListener

java.lang.Object
  extended by brooklyn.test.StatusListener
All Implemented Interfaces:
org.testng.ITestListener, org.testng.ITestNGListener

public class StatusListener
extends Object
implements org.testng.ITestListener

adapted from the following class:

See Also:
normally not used, preferring instead LoggingVerboseReporter which prints out config info

Field Summary
static org.slf4j.Logger log
           
 
Constructor Summary
StatusListener()
           
 
Method Summary
protected static void log(String msg)
           
 void onFinish(org.testng.ITestContext arg0)
           
 void onStart(org.testng.ITestContext arg0)
           
 void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult arg0)
           
 void onTestFailure(org.testng.ITestResult arg0)
           
 void onTestSkipped(org.testng.ITestResult arg0)
           
 void onTestStart(org.testng.ITestResult res)
           
 void onTestSuccess(org.testng.ITestResult arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.slf4j.Logger log
Constructor Detail

StatusListener

public StatusListener()
Method Detail

log

protected static void log(String msg)

onTestStart

public void onTestStart(org.testng.ITestResult res)
Specified by:
onTestStart in interface org.testng.ITestListener

onTestSuccess

public void onTestSuccess(org.testng.ITestResult arg0)
Specified by:
onTestSuccess in interface org.testng.ITestListener

onTestFailure

public void onTestFailure(org.testng.ITestResult arg0)
Specified by:
onTestFailure in interface org.testng.ITestListener

onTestSkipped

public void onTestSkipped(org.testng.ITestResult arg0)
Specified by:
onTestSkipped in interface org.testng.ITestListener

onTestFailedButWithinSuccessPercentage

public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult arg0)
Specified by:
onTestFailedButWithinSuccessPercentage in interface org.testng.ITestListener

onStart

public void onStart(org.testng.ITestContext arg0)
Specified by:
onStart in interface org.testng.ITestListener

onFinish

public void onFinish(org.testng.ITestContext arg0)
Specified by:
onFinish in interface org.testng.ITestListener


Copyright © 2013. All Rights Reserved.