Constructor and Description |
---|
TapProducer()
Default constructor.
|
TapProducer(Representer representer)
Constructor with parameter.
|
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.
|
public TapProducer()
public TapProducer(Representer representer)
representer
- Representerpublic String dump(TestSet testSet)
public void dump(TestSet testSet, Writer writer)
public void 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 Producer.dump(TestSet,Writer)
.public Representer getRepresenter()
getRepresenter
in interface Producer
Copyright © 2010–2019 TupiLabs. All rights reserved.