public interface Producer
Modifier and Type | Method and Description |
---|---|
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.
|
String dump(TestSet testSet)
testSet
- TestSetProducerException
- error writingvoid dump(TestSet testSet, Writer writer)
testSet
- TestSetwriter
- WriterProducerException
- error writingvoid dump(TestSet testSet, File output)
Representer
is a
Tap13Representer
, the chosen encoding will be taken from its
Charset
option. In any other case, the chosen encoding will be
the system's default encoding. If that is not the correct encoding for
the file, the caller should wrap the file in a Writer
for the
correct encoding, and pass that to dump(TestSet,Writer)
.testSet
- TestSetoutput
- Output FileProducerException
- error writingRepresenter getRepresenter()
Copyright © 2010–2019 TupiLabs. All rights reserved.