public class TestDescription extends Object
| Constructor and Description |
|---|
TestDescription(IOpenMethod testedMethod,
DynamicObject testObject,
List<IOpenField> fields,
ITableModel dataModel,
IDataBase db) |
TestDescription(IOpenMethod testedMethod,
Object[] arguments,
IDataBase db) |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getArguments(OpenLArgumentsCloner cloner) |
String |
getDescription() |
ParameterWithValueDeclaration[] |
getExecutionParams() |
String |
getExpectedError() |
Object |
getExpectedResult() |
List<IOpenField> |
getFields() |
String |
getId()
Returns an ID of the test case.
|
int |
getIndex() |
protected static IOpenField |
getKeyField(String paramName,
IOpenClass type,
Object value,
IDataBase db,
ITableModel dataModel) |
String[] |
getParametersNames() |
IRulesRuntimeContext |
getRuntimeContext(OpenLArgumentsCloner cloner) |
IOpenMethod |
getTestedMethod() |
DynamicObject |
getTestObject() |
boolean |
hasDescription() |
boolean |
hasId() |
boolean |
isExpectedErrorDefined() |
boolean |
isExpectedResultDefined() |
boolean |
isRuntimeContextDefined() |
void |
setIndex(int index) |
public TestDescription(IOpenMethod testedMethod, DynamicObject testObject, List<IOpenField> fields, ITableModel dataModel, IDataBase db)
public TestDescription(IOpenMethod testedMethod, Object[] arguments, IDataBase db)
public IOpenMethod getTestedMethod()
public DynamicObject getTestObject()
public ParameterWithValueDeclaration[] getExecutionParams()
public String[] getParametersNames()
public Object[] getArguments(OpenLArgumentsCloner cloner)
public boolean hasDescription()
public String getDescription()
public boolean isExpectedResultDefined()
public Object getExpectedResult()
public boolean isExpectedErrorDefined()
public String getExpectedError()
public boolean isRuntimeContextDefined()
public IRulesRuntimeContext getRuntimeContext(OpenLArgumentsCloner cloner)
public String getId()
public boolean hasId()
public void setIndex(int index)
public int getIndex()
public List<IOpenField> getFields()
protected static IOpenField getKeyField(String paramName, IOpenClass type, Object value, IDataBase db, ITableModel dataModel)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.