net.thucydides.junit.runners
Class ParameterizedJUnitStepListener

Package class diagram package ParameterizedJUnitStepListener
java.lang.Object
  extended by org.junit.runner.notification.RunListener
      extended by net.thucydides.junit.listeners.JUnitStepListener
          extended by net.thucydides.junit.runners.ParameterizedJUnitStepListener

public class ParameterizedJUnitStepListener
extends JUnitStepListener


Constructor Summary
ParameterizedJUnitStepListener(int parameterSetNumber, DataTable parametersTable, Class<?> testClass, BaseStepListener baseStepListener, StepListener... listeners)
           
 
Method Summary
 void testFailure(org.junit.runner.notification.Failure failure)
           
 void testFinished(org.junit.runner.Description description)
           
 void testIgnored(org.junit.runner.Description description)
           
 void testStarted(org.junit.runner.Description description)
          Called when a test starts.
 
Methods inherited from class net.thucydides.junit.listeners.JUnitStepListener
dropListeners, getBaseStepListener, getError, getTestClass, getTestOutcomes, hasRecordedFailures, registerThucydidesListeners, testRunFinished, testRunStarted, withOutputDirectory
 
Methods inherited from class org.junit.runner.notification.RunListener
testAssumptionFailure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterizedJUnitStepListener

public ParameterizedJUnitStepListener(int parameterSetNumber,
                                      DataTable parametersTable,
                                      Class<?> testClass,
                                      BaseStepListener baseStepListener,
                                      StepListener... listeners)
Method Detail

testStarted

public void testStarted(org.junit.runner.Description description)
Description copied from class: JUnitStepListener
Called when a test starts. We also need to start the test suite the first time, as the testRunStarted() method is not invoked for some reason.

Overrides:
testStarted in class JUnitStepListener

testFinished

public void testFinished(org.junit.runner.Description description)
                  throws Exception
Overrides:
testFinished in class JUnitStepListener
Throws:
Exception

testFailure

public void testFailure(org.junit.runner.notification.Failure failure)
                 throws Exception
Overrides:
testFailure in class JUnitStepListener
Throws:
Exception

testIgnored

public void testIgnored(org.junit.runner.Description description)
                 throws Exception
Overrides:
testIgnored in class JUnitStepListener
Throws:
Exception


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.