public static class UnitilsHtmlReporter.OutputStep extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UnitilsHtmlReporter.OutputStep.StepFormattingFailed |
| Constructor and Description |
|---|
UnitilsHtmlReporter.OutputStep(String step,
String outcome)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createStepPattern()
sets the stepPattern.
|
protected String |
escapeString(org.jbehave.core.reporters.EscapeMode outputFormat,
String string)
Escapes all the special characters.
|
protected List<UnitilsHtmlReporter.OutputParameter> |
findParameters(String start,
String end)
This method searches for parameter in the step and creates a
List of UnitilsHtmlReporter.OutputParameters. |
protected Object[] |
formatParameters(org.jbehave.core.reporters.EscapeMode outputFormat,
String parameterPattern)
The parameters should be formatted by the parameterPattern.
|
Throwable |
getFailure()
getter
Throwable |
String |
getFailureCause()
getter
String |
String |
getFormattedStep(org.jbehave.core.reporters.EscapeMode outputFormat,
String parameterPattern)
Format the step.
|
String |
getFormattedStep(String parameterPattern)
Deprecated.
|
String |
getOutcome()
getter outcome.
|
org.jbehave.core.model.OutcomesTable |
getOutcomes()
getter outcomes.
|
String |
getOutcomesFailureCause()
Get the reason why the step failed.
|
List<UnitilsHtmlReporter.OutputParameter> |
getParameters()
return parameters.
|
String |
getStep()
getter step
|
String |
getStepPattern()
getter steppattern.
|
org.jbehave.core.model.ExamplesTable |
getTable()
getter
ExamplesTable. |
String |
getTableAsString()
getter tableAsString
|
protected void |
parseTableAsString()
Creates a new
ExamplesTable. |
public List<UnitilsHtmlReporter.OutputParameter> getParameters()
Listpublic org.jbehave.core.model.ExamplesTable getTable()
ExamplesTable.ExamplesTablepublic org.jbehave.core.model.OutcomesTable getOutcomes()
OutcomesTablepublic String getOutcomesFailureCause()
String@Deprecated public String getFormattedStep(String parameterPattern)
parameterPattern - : the pattern.Stringpublic String getFormattedStep(org.jbehave.core.reporters.EscapeMode outputFormat, String parameterPattern)
outputFormat - : html/xml/none.parameterPattern - : the pattern of the parameter.Stringprotected String escapeString(org.jbehave.core.reporters.EscapeMode outputFormat, String string)
outputFormat - : This can be html, xml or none.string - : The string where the special characters should be escaped.Stringprotected Object[] formatParameters(org.jbehave.core.reporters.EscapeMode outputFormat, String parameterPattern)
outputFormat - : html/xml/none.parameterPattern - : the pattern of the parameter.Arrayprotected List<UnitilsHtmlReporter.OutputParameter> findParameters(String start, String end)
List of UnitilsHtmlReporter.OutputParameters.start - : start of the patternend - : end of the patternListprotected void parseTableAsString()
ExamplesTable.protected void createStepPattern()
Copyright © 2015. All Rights Reserved.