org.specrunner.dumper.core
Class SourceDumperDetails
java.lang.Object
org.specrunner.source.core.EncodedImpl
org.specrunner.dumper.core.AbstractSourceDumperFile
org.specrunner.dumper.core.SourceDumperDetails
- All Implemented Interfaces:
- ISourceDumper, IEncoded
public class SourceDumperDetails
- extends AbstractSourceDumperFile
Dumps the report details in a separate file.
- Author:
- Thiago Santos
|
Field Summary |
protected static int |
MBYTES
Mb size. |
|
Method Summary |
protected void |
body(IResultSet result,
Map<String,Object> model,
nu.xom.Element html)
Creates the label. |
protected void |
details(IResultSet result,
nu.xom.Element body)
Add report details. |
void |
dump(ISource source,
IResultSet result,
Map<String,Object> model)
Extra information to be dumped. |
protected void |
footer(IResultSet result,
Map<String,Object> model,
nu.xom.Element body)
Add report ending. |
protected void |
header(IResultSet result,
Map<String,Object> model,
nu.xom.Element body)
Set document start. |
| Methods inherited from class org.specrunner.dumper.core.AbstractSourceDumperFile |
appendResources, checkParent, clean, detailReport, getOutputDirectory, getOutputFile, getOutputName, getSerializer, outputDirectory, outputName, saveTo, set, setFeatures, setOutputDirectory, setOutputFile, setOutputName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBYTES
protected static final int MBYTES
- Mb size.
- See Also:
- Constant Field Values
SourceDumperDetails
public SourceDumperDetails()
dump
public void dump(ISource source,
IResultSet result,
Map<String,Object> model)
throws SourceDumperException
- Description copied from interface:
ISourceDumper
- Extra information to be dumped.
- Parameters:
source - The specification input.result - The result.model - Extra information model.
- Throws:
SourceDumperException - On dumping error.
body
protected void body(IResultSet result,
Map<String,Object> model,
nu.xom.Element html)
- Creates the label.
- Parameters:
result - The result.model - The model.html - The HTML root element.
header
protected void header(IResultSet result,
Map<String,Object> model,
nu.xom.Element body)
- Set document start.
- Parameters:
result - The result.model - The model.body - The body tag.
details
protected void details(IResultSet result,
nu.xom.Element body)
- Add report details.
- Parameters:
result - The result.body - The body tag.
footer
protected void footer(IResultSet result,
Map<String,Object> model,
nu.xom.Element body)
- Add report ending.
- Parameters:
result - The result.model - The model.body - The body.
Copyright © 2014. All rights reserved.