Package org.openl.rules.testmethod
Class TestMethodOpenClass
- java.lang.Object
-
- org.openl.types.impl.AOpenClass
-
- org.openl.types.impl.ADynamicClass
-
- org.openl.rules.testmethod.TestMethodOpenClass
-
- All Implemented Interfaces:
INamedThing,IMethodFactory,IOpenLibrary,IVarFactory,IType,IMetaHolder,IOpenClass
public class TestMethodOpenClass extends ADynamicClass
-
-
Field Summary
-
Fields inherited from class org.openl.types.impl.ADynamicClass
fieldMap, instanceClass
-
Fields inherited from class org.openl.types.impl.AOpenClass
nonUniqueLowerCaseFieldMap, STUB, uniqueLowerCaseFieldMap, xlsMetaInfo
-
Fields inherited from interface org.openl.base.INamedThing
LONG, REGULAR, SHORT
-
Fields inherited from interface org.openl.types.IOpenClass
EMPTY
-
-
Constructor Summary
Constructors Constructor Description TestMethodOpenClass(String tableName, IOpenMethod testedMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddContext()protected voidaddDescription()protected voidaddExpectedError()protected voidaddExpectedResult(IOpenMethod testedMethod)protected voidaddParameterFields(IOpenMethod testedMethod)protected voidaddTestId()IOpenMethodgetTestedMethod()protected voidinit(IOpenMethod testedMethod)ObjectnewInstance(IRuntimeEnv env)-
Methods inherited from class org.openl.types.impl.ADynamicClass
addField, fieldMap, getAggregateInfo, getConstructor, getDisplayName, getInstanceClass, getJavaName, getMethod, getMethod, getName, getPackageName, initConstructorMap, initMethodMap, isAssignableFrom, isInstance, isPublic, isPublic, setInstanceClass, superClasses
-
Methods inherited from class org.openl.types.impl.AOpenClass
addFieldToLowerCaseMap, addMethod, addType, buildMethodNameMap, constructors, equals, findType, getArrayType, getArrayType, getComponentClass, getConstructor, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getDomain, getField, getField, getFields, getIndexField, getMetaInfo, getMethods, getStaticField, getStaticField, getStaticFields, getTypes, getVar, hashCode, invalidateInternalData, isAbstract, isArray, isAssignableFrom, isInterface, isSimple, isStatic, methods, nullObject, removeMethod, searchFieldFromSuperClass, setIndexField, setMetaInfo, toStaticClass, toString
-
-
-
-
Constructor Detail
-
TestMethodOpenClass
public TestMethodOpenClass(String tableName, IOpenMethod testedMethod)
-
-
Method Detail
-
newInstance
public Object newInstance(IRuntimeEnv env)
-
init
protected void init(IOpenMethod testedMethod)
-
addParameterFields
protected void addParameterFields(IOpenMethod testedMethod)
-
addExpectedError
protected void addExpectedError()
-
addContext
protected void addContext()
-
addDescription
protected void addDescription()
-
addExpectedResult
protected void addExpectedResult(IOpenMethod testedMethod)
-
addTestId
protected void addTestId()
-
getTestedMethod
public IOpenMethod getTestedMethod()
-
-