org.testng.reporters
Class TextReporter

java.lang.Object
  extended by org.testng.TestListenerAdapter
      extended by org.testng.reporters.TextReporter
All Implemented Interfaces:
org.testng.internal.IConfigurationListener, org.testng.internal.IResultListener, ITestListener, ITestNGListener

public class TextReporter
extends TestListenerAdapter

A simple reporter that collects the results and prints them on standard out.

Author:
Cedric Beust, Alexandru Popescu

Constructor Summary
TextReporter(String testName, int verbose)
           
 
Method Summary
 void onFinish(ITestContext context)
          Invoked after all the tests have run and all their Configuration methods have been called.
 void ppp(String s)
           
 
Methods inherited from class org.testng.TestListenerAdapter
getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess, onStart, onTestFailedButWithinSuccessPercentage, onTestFailure, onTestSkipped, onTestStart, onTestSuccess, setAllTestMethods, setFailedButWithinSuccessPercentageTests, setFailedTests, setPassedTests, setSkippedTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextReporter

public TextReporter(String testName,
                    int verbose)
Method Detail

onFinish

public void onFinish(ITestContext context)
Description copied from interface: ITestListener
Invoked after all the tests have run and all their Configuration methods have been called.

Specified by:
onFinish in interface ITestListener
Overrides:
onFinish in class TestListenerAdapter

ppp

public void ppp(String s)


Copyright © 2010. All Rights Reserved.