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.Object
See https://ar.trac.cloudforge.com/jep/ticket/175
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LightWeightComponentSetTest.NonThreadSafeFunction
A function implementing JepComponent which requires different instances for each thread.static class
LightWeightComponentSetTest.NonThreadSafeOpFunction
-
Constructor Summary
Constructors Constructor Description LightWeightComponentSetTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkFunctionTable(FunctionTable ft)
void
checkOperatorTable(EmptyOperatorTable ot)
void
testFunctionTables()
void
testLightWeightComponentOperators()
Advanced version using functions which implement JepComponent these shouldvoid
testLightWeightComponentSetBasic()
Basic version, all functions should be the same in both instancesvoid
testMediumWeightComponentSet()
Advanced version using functions which implement JepComponent different instances should be used in each thread.void
testOperatorTables()
void
testShallowCopy()
void
uses_lightweight_instances_of_additional_components()
-
-
-
Method Detail
-
testLightWeightComponentSetBasic
public void testLightWeightComponentSetBasic() throws java.lang.Exception
Basic version, all functions should be the same in both instances- Throws:
java.lang.Exception
-
testMediumWeightComponentSet
public void testMediumWeightComponentSet() throws java.lang.Exception
Advanced 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.Exception
Advanced 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()
-
-