public class HtmlDifferenceSinkFactory extends DifferenceSinkFactory
DifferenceSinkFactory
to create an HTML file.Constructor and Description |
---|
HtmlDifferenceSinkFactory(File output)
Creates a new instance.
|
HtmlDifferenceSinkFactory(String output)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
<T> DifferenceSink |
createSink(DataModelDefinition<T> definition,
TestContext context)
Creates a new sink.
|
String |
toString() |
public HtmlDifferenceSinkFactory(File output)
output
- output target fileIllegalArgumentException
- if some parameters were null
public HtmlDifferenceSinkFactory(String output)
output
- output target fileIllegalArgumentException
- if some parameters were null
public <T> DifferenceSink createSink(DataModelDefinition<T> definition, TestContext context) throws IOException
DifferenceSinkFactory
createSink
in class DifferenceSinkFactory
T
- type of data modeldefinition
- the data model definitioncontext
- the current testing contextIOException
- if failed to create a sink objectCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.