org.apache.maven.plugin.surefire.booterclient.output
Class AbstractOutputConsumerTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.plugin.surefire.booterclient.output.AbstractOutputConsumerTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
OutputConsumerProxyTest, PrintWriterOutputConsumerTest, StandardOutputConsumerTest

public abstract class AbstractOutputConsumerTestCase
extends junit.framework.TestCase

Test for OutputConsumer

Version:
$Id: AbstractOutputConsumerTestCase.java 1056406 2011-01-07 17:34:39Z krosenvold $
Author:
Carlos Sanchez

Constructor Summary
AbstractOutputConsumerTestCase()
           
 
Method Summary
 String getLine()
           
 OutputConsumer getOutputConsumer()
           
 ReportEntry getReportEntry()
           
 void setLine(String line)
           
 void setOutputConsumer(OutputConsumer outputConsumer)
           
 void setReportEntry(ReportEntry reportEntry)
           
protected  void setUp()
           
 void testConsumeFooterLine()
           
 void testConsumeHeaderLine()
           
 void testConsumeMessageLine()
           
 void testConsumeOutputLine()
           
 void testTestSetCompleted()
           
 void testTestSetStarting()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractOutputConsumerTestCase

public AbstractOutputConsumerTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

setOutputConsumer

public void setOutputConsumer(OutputConsumer outputConsumer)

getOutputConsumer

public OutputConsumer getOutputConsumer()

setLine

public void setLine(String line)

getLine

public String getLine()

setReportEntry

public void setReportEntry(ReportEntry reportEntry)

getReportEntry

public ReportEntry getReportEntry()

testConsumeHeaderLine

public void testConsumeHeaderLine()

testConsumeMessageLine

public void testConsumeMessageLine()

testConsumeFooterLine

public void testConsumeFooterLine()

testConsumeOutputLine

public void testConsumeOutputLine()
                           throws Exception
Throws:
Exception

testTestSetStarting

public void testTestSetStarting()

testTestSetCompleted

public void testTestSetCompleted()


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