public static class SopremoTestPlan.ExpectedOutput extends Object
GenericTestPlan.| Modifier and Type | Field and Description |
|---|---|
protected String |
file |
protected O |
operator |
protected SopremoTestRecords |
testRecords |
| Constructor and Description |
|---|
SopremoTestPlan.ExpectedOutput(SopremoTestPlan testPlan,
int index)
Initializes an ExpectedOutput with the given index.
|
| Modifier and Type | Method and Description |
|---|---|
C |
add(IJsonNode value) |
C |
addArray(Object... values) |
C |
addObject(Object... fields) |
C |
addValue(Object value) |
void |
assertEquals(SopremoTestPlan.ActualOutput expectedValues) |
boolean |
equals(Object obj) |
List<IJsonNode> |
getAllNodes() |
protected EvaluationContext |
getContext() |
double |
getDoublePrecision() |
int |
hashCode() |
boolean |
isEmpty()
Returns the empty.
|
Iterator<IJsonNode> |
iterator() |
protected Iterator<IJsonNode> |
iteratorFromFile(String file) |
void |
load(String file) |
SopremoTestPlan.ExpectedOutput |
setDoublePrecision(double doublePrecision) |
C |
setEmpty() |
String |
toString() |
protected SopremoTestRecords testRecords
protected String file
public SopremoTestPlan.ExpectedOutput(SopremoTestPlan testPlan, int index)
index - the indexpublic double getDoublePrecision()
public SopremoTestPlan.ExpectedOutput setDoublePrecision(double doublePrecision)
public boolean isEmpty()
public void load(String file) throws IOException
IOExceptionpublic C setEmpty()
protected EvaluationContext getContext()
public void assertEquals(SopremoTestPlan.ActualOutput expectedValues)
Copyright © 2011–2014. All rights reserved.