org.tap4j.producer
Interface Producer

Package class diagram package Producer
All Known Implementing Classes:
TapProducer

public interface Producer

Produces a TAP Stream.

Since:
1.0

Method Summary
 String dump(TestSet testSet)
          Returns a String representing the TAP Stream produced from a TestSet.
 void dump(TestSet testSet, File output)
          Writes the TAP Stream into an output File.
 void dump(TestSet testSet, Writer writer)
          Writes the TAP Stream produced from a TestSet into a Writer.
 Representer getRepresenter()
          Returns the Representer used in the Producer.
 

Method Detail

dump

String dump(TestSet testSet)
Returns a String representing the TAP Stream produced from a TestSet.

Parameters:
testSet - TestSet
Returns:
TAP Stream
Throws:
ProducerException

dump

void dump(TestSet testSet,
          Writer writer)
Writes the TAP Stream produced from a TestSet into a Writer.

Parameters:
testSet - TestSet
writer - Writer
Throws:
ProducerException

dump

void dump(TestSet testSet,
          File output)
Writes the TAP Stream into an output File.

Parameters:
testSet - TestSet
output - Output File
Throws:
ProducerException

getRepresenter

Representer getRepresenter()
Returns the Representer used in the Producer.

Returns:
Representer


Copyright © 2010-2012 TupiLabs. All Rights Reserved.