Brooklyn

brooklyn.test
[Java] Class VerboseReporter

java.lang.Object
  org.testng.TestListenerAdapter
      brooklyn.test.VerboseReporter

public class VerboseReporter
extends TestListenerAdapter

Reporter printing out detailed messages about what TestNG is going to run and what is the status of what has been just run. To see messages from this reporter, either run Ant in verbose mode ('ant -v') or set verbose level to 5 or higher

Authors:
Lukas Jungmann
Since:
6.4 THIS IS AN EXACT COPY OF THE CLASS IN org.testng.reporters EXCEPT FOR THIS COMMENT AND log(String) CHANGED TO BE PROTECTED


Field Summary
static java.lang.String LISTENER_PREFIX

Default prefix for messages printed out by this reporter

 
Constructor Summary
VerboseReporter()

Default constructor

VerboseReporter(java.lang.String prefix)

Create VerboseReporter with custom prefix

 
Method Summary
void beforeConfiguration(ITestResult tr)

protected void log(java.lang.String message)

void onConfigurationFailure(ITestResult tr)

void onConfigurationSkip(ITestResult tr)

void onConfigurationSuccess(ITestResult tr)

void onFinish(ITestContext context)

void onStart(ITestContext ctx)

void onTestFailedButWithinSuccessPercentage(ITestResult tr)

void onTestFailure(ITestResult tr)

void onTestSkipped(ITestResult tr)

void onTestStart(ITestResult tr)

void onTestSuccess(ITestResult tr)

java.lang.String toString()

 

Field Detail

LISTENER_PREFIX

public static final java.lang.String LISTENER_PREFIX
Default prefix for messages printed out by this reporter


 
Constructor Detail

VerboseReporter

public VerboseReporter()
Default constructor


VerboseReporter

public VerboseReporter(java.lang.String prefix)
Create VerboseReporter with custom prefix
Parameters:
prefix - prefix for messages printed out by this reporter


 
Method Detail

beforeConfiguration

@Override
public void beforeConfiguration(ITestResult tr)


log

protected void log(java.lang.String message)


onConfigurationFailure

@Override
public void onConfigurationFailure(ITestResult tr)


onConfigurationSkip

@Override
public void onConfigurationSkip(ITestResult tr)


onConfigurationSuccess

@Override
public void onConfigurationSuccess(ITestResult tr)


onFinish

@Override
public void onFinish(ITestContext context)


onStart

@Override
public void onStart(ITestContext ctx)


onTestFailedButWithinSuccessPercentage

@Override
public void onTestFailedButWithinSuccessPercentage(ITestResult tr)


onTestFailure

@Override
public void onTestFailure(ITestResult tr)


onTestSkipped

@Override
public void onTestSkipped(ITestResult tr)


onTestStart

@Override
public void onTestStart(ITestResult tr)


onTestSuccess

@Override
public void onTestSuccess(ITestResult tr)


toString

@Override
public java.lang.String toString()


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.