br.eti.kinoshita.tap4j.producer
Class DefaultTapProducer

java.lang.Object
  extended by br.eti.kinoshita.tap4j.producer.AbstractTapProducer
      extended by br.eti.kinoshita.tap4j.producer.DefaultTapProducer
All Implemented Interfaces:
TapProducer
Direct Known Subclasses:
DefaultTapCoreProducer

public class DefaultTapProducer
extends AbstractTapProducer

Default implementation of a TAP Producer. This class implements only methods associated to printing the TAP Stream into some kind of media. The rest of the methods are handled by the Abstract TAP Producer.

Since:
1.0
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br
See Also:
AbstractTapProducer}

Field Summary
 
Fields inherited from class br.eti.kinoshita.tap4j.producer.AbstractTapProducer
footer, header, numberOfBailOuts, numberOfComments, numberOfTestResults, plan, tapLines
 
Constructor Summary
DefaultTapProducer()
           
 
Method Summary
 void printTo(File file)
          Prints a TAP Stream into a File.
 void printTo(PrintWriter pw)
          Prints the TAP Stream into a Print Writer.
 
Methods inherited from class br.eti.kinoshita.tap4j.producer.AbstractTapProducer
addBailOut, addComment, addTestResult, getNumberOfBailOuts, getNumberOfComments, getNumberOfTestResults, getTapLines, setFooter, setHeader, setPlan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTapProducer

public DefaultTapProducer()
Method Detail

printTo

public void printTo(PrintWriter pw)
Description copied from interface: TapProducer
Prints the TAP Stream into a Print Writer.

Parameters:
pw - The Print Writer.

printTo

public void printTo(File file)
             throws IOException
Description copied from interface: TapProducer
Prints a TAP Stream into a File.

Parameters:
file - File to print the TAP Stream into it.
Throws:
IOException


Copyright © 2010. All Rights Reserved.