Package com.singularsys.jeptests.unit
Class LightWeightComponentSetTest
- java.lang.Object
-
- com.singularsys.jeptests.unit.LightWeightComponentSetTest
-
- Direct Known Subclasses:
XLightWeightComponentSetTest
public class LightWeightComponentSetTest extends java.lang.ObjectSee https://ar.trac.cloudforge.com/jep/ticket/175
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLightWeightComponentSetTest.NonThreadSafeFunctionA function implementing JepComponent which requires different instances for each thread.static classLightWeightComponentSetTest.NonThreadSafeOpFunction
-
Constructor Summary
Constructors Constructor Description LightWeightComponentSetTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckFunctionTable(FunctionTable ft)voidcheckOperatorTable(EmptyOperatorTable ot)voidtestFunctionTables()voidtestLightWeightComponentOperators()Advanced version using functions which implement JepComponent these shouldvoidtestLightWeightComponentSetBasic()Basic version, all functions should be the same in both instancesvoidtestMediumWeightComponentSet()Advanced version using functions which implement JepComponent different instances should be used in each thread.voidtestOperatorTables()voidtestShallowCopy()voiduses_lightweight_instances_of_additional_components()
-
-
-
Method Detail
-
testLightWeightComponentSetBasic
public void testLightWeightComponentSetBasic() throws java.lang.ExceptionBasic version, all functions should be the same in both instances- Throws:
java.lang.Exception
-
testMediumWeightComponentSet
public void testMediumWeightComponentSet() throws java.lang.ExceptionAdvanced version using functions which implement JepComponent different instances should be used in each thread.- Throws:
java.lang.Exception
-
testShallowCopy
public void testShallowCopy() throws java.lang.Exception- Throws:
java.lang.Exception
-
testLightWeightComponentOperators
public void testLightWeightComponentOperators() throws java.lang.ExceptionAdvanced version using functions which implement JepComponent these should- Throws:
java.lang.Exception
-
checkFunctionTable
public void checkFunctionTable(FunctionTable ft)
-
checkOperatorTable
public void checkOperatorTable(EmptyOperatorTable ot)
-
testFunctionTables
public void testFunctionTables()
-
testOperatorTables
public void testOperatorTables()
-
uses_lightweight_instances_of_additional_components
public void uses_lightweight_instances_of_additional_components()
-
-