org.apache.maven.surefire.junit4
Class MockReporter

java.lang.Object
  extended by org.apache.maven.surefire.junit4.MockReporter
All Implemented Interfaces:
RunListener

public class MockReporter
extends Object
implements RunListener

Internal use only


Field Summary
static String SET_COMPLETED
           
static String SET_STARTED
           
static String TEST_COMPLETED
           
static String TEST_SKIPPED
           
static String TEST_STARTED
           
 
Constructor Summary
MockReporter()
           
 
Method Summary
 int getTestFailed()
           
 int getTestSucceeded()
           
 void testAssumptionFailure(ReportEntry report)
           
 void testError(ReportEntry report)
           
 void testFailed(ReportEntry report)
           
 void testSetCompleted(ReportEntry report)
           
 void testSetStarting(ReportEntry report)
           
 void testSkipped(ReportEntry report)
           
 void testStarting(ReportEntry report)
           
 void testSucceeded(ReportEntry report)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SET_STARTED

public static final String SET_STARTED
See Also:
Constant Field Values

SET_COMPLETED

public static final String SET_COMPLETED
See Also:
Constant Field Values

TEST_STARTED

public static final String TEST_STARTED
See Also:
Constant Field Values

TEST_COMPLETED

public static final String TEST_COMPLETED
See Also:
Constant Field Values

TEST_SKIPPED

public static final String TEST_SKIPPED
See Also:
Constant Field Values
Constructor Detail

MockReporter

public MockReporter()
Method Detail

testSetStarting

public void testSetStarting(ReportEntry report)
Specified by:
testSetStarting in interface RunListener

testSetCompleted

public void testSetCompleted(ReportEntry report)
Specified by:
testSetCompleted in interface RunListener

testStarting

public void testStarting(ReportEntry report)
Specified by:
testStarting in interface RunListener

testSucceeded

public void testSucceeded(ReportEntry report)
Specified by:
testSucceeded in interface RunListener

testSkipped

public void testSkipped(ReportEntry report)
Specified by:
testSkipped in interface RunListener

getTestSucceeded

public int getTestSucceeded()

getTestFailed

public int getTestFailed()

testError

public void testError(ReportEntry report)
Specified by:
testError in interface RunListener

testFailed

public void testFailed(ReportEntry report)
Specified by:
testFailed in interface RunListener

testAssumptionFailure

public void testAssumptionFailure(ReportEntry report)
Specified by:
testAssumptionFailure in interface RunListener


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.