Package com.singularsys.jeptests.system
Class SerializationTest
java.lang.Object
com.singularsys.jeptests.system.SerializationTest
Tests for serialization of expressions and Jep instances.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Node.HookKeystatic final booleanstatic final Node.HookKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidtestExpr()Test simple serializationvoidTest passing serialized objects between two jep instancesvoidvoidvoidtestRead()Reads from a stream which contains a serialised version of jep and an expressionvoidTest passing serialized objects between two jep instancesvoidvoidvoidvoid
-
Field Details
-
PRINT_RESULTS
public static final boolean PRINT_RESULTS -
ANON_KEY
-
RR_KEY
-
-
Constructor Details
-
SerializationTest
public SerializationTest()
-
-
Method Details
-
testExpr
Test simple serialization- Throws:
Exception
-
testStringRep
- Throws:
Exception
-
testSerializableExpression
Test passing serialized objects between two jep instances- Throws:
Exception
-
testImport
Test passing serialized objects between two jep instances- Throws:
Exception
-
testVariableTable
- Throws:
Exception
-
testJepStdParser
- Throws:
Exception
-
testJepConfigParser
- Throws:
Exception
-
testSizes
- Throws:
Exception
-
testWrite
- Throws:
Exception
-
testRead
Reads from a stream which contains a serialised version of jep and an expression- Throws:
Exception
-
testConstantsLW
- Throws:
Exception
-
testConstantsSerialised
- Throws:
Exception
-
test_enum_hookKeys_for_variables_have_a_single_instance
@Test public void test_enum_hookKeys_for_variables_have_a_single_instance() throws IOException, ClassNotFoundException- Throws:
IOExceptionClassNotFoundException
-
test_anon_hookKeys_for_variables_fails_without_readResolve
@Test public void test_anon_hookKeys_for_variables_fails_without_readResolve() throws IOException, ClassNotFoundException- Throws:
IOExceptionClassNotFoundException
-
test_anon_hookKeys_with_readResolve_for_variables_has_single_instance
@Test public void test_anon_hookKeys_with_readResolve_for_variables_has_single_instance() throws IOException, ClassNotFoundException- Throws:
IOExceptionClassNotFoundException
-
test_enum_hookKeys_for_nodes_have_a_single_instance
@Test public void test_enum_hookKeys_for_nodes_have_a_single_instance() throws JepException, IOException, ClassNotFoundException
-