Package com.singularsys.jeptests.system
Class SerializationTest
- java.lang.Object
-
- com.singularsys.jeptests.system.SerializationTest
-
public class SerializationTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static Node.HookKeyANON_KEYstatic Node.HookKeyRR_KEY
-
Constructor Summary
Constructors Constructor Description SerializationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtest_anon_hookKeys_for_variables_fails_without_readResolve()voidtest_anon_hookKeys_with_readResolve_for_variables_has_single_instance()voidtest_enum_hookKeys_for_nodes_have_a_single_instance()voidtest_enum_hookKeys_for_variables_have_a_single_instance()voidtestConstantsLW()voidtestConstantsSerialised()voidtestExpr()Test simple serializationvoidtestImport()Test passing serialized objects between two jep instancesvoidtestJepConfigParser()voidtestJepStdParser()voidtestRead()reads from a stream which contains a serialised version of jep and and expressionvoidtestSerializableExpression()Test passing serialized objects between two jep instancesvoidtestSizes()voidtestStringRep()voidtestVariableTable()voidtestWrite()
-
-
-
Field Detail
-
ANON_KEY
public static final Node.HookKey ANON_KEY
-
RR_KEY
public static final Node.HookKey RR_KEY
-
-
Method Detail
-
testExpr
public void testExpr() throws java.lang.ExceptionTest simple serialization- Throws:
java.lang.Exception
-
testStringRep
public void testStringRep() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSerializableExpression
public void testSerializableExpression() throws java.lang.ExceptionTest passing serialized objects between two jep instances- Throws:
java.lang.Exception
-
testImport
public void testImport() throws java.lang.ExceptionTest passing serialized objects between two jep instances- Throws:
java.lang.Exception
-
testVariableTable
public void testVariableTable() throws java.lang.Exception- Throws:
java.lang.Exception
-
testJepStdParser
public void testJepStdParser() throws java.lang.Exception- Throws:
java.lang.Exception
-
testJepConfigParser
public void testJepConfigParser() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSizes
public void testSizes() throws java.lang.Exception- Throws:
java.lang.Exception
-
testWrite
public void testWrite() throws java.lang.Exception- Throws:
java.lang.Exception
-
testRead
public void testRead() throws java.lang.Exceptionreads from a stream which contains a serialised version of jep and and expression- Throws:
java.lang.Exception
-
testConstantsLW
public void testConstantsLW() throws java.lang.Exception- Throws:
java.lang.Exception
-
testConstantsSerialised
public void testConstantsSerialised() throws java.lang.Exception- Throws:
java.lang.Exception
-
test_enum_hookKeys_for_variables_have_a_single_instance
public void test_enum_hookKeys_for_variables_have_a_single_instance() throws JepException, java.io.IOException, java.lang.ClassNotFoundException- Throws:
JepExceptionjava.io.IOExceptionjava.lang.ClassNotFoundException
-
test_anon_hookKeys_for_variables_fails_without_readResolve
public void test_anon_hookKeys_for_variables_fails_without_readResolve() throws JepException, java.io.IOException, java.lang.ClassNotFoundException- Throws:
JepExceptionjava.io.IOExceptionjava.lang.ClassNotFoundException
-
test_anon_hookKeys_with_readResolve_for_variables_has_single_instance
public void test_anon_hookKeys_with_readResolve_for_variables_has_single_instance() throws JepException, java.io.IOException, java.lang.ClassNotFoundException- Throws:
JepExceptionjava.io.IOExceptionjava.lang.ClassNotFoundException
-
test_enum_hookKeys_for_nodes_have_a_single_instance
public void test_enum_hookKeys_for_nodes_have_a_single_instance() throws JepException, java.io.IOException, java.lang.ClassNotFoundException- Throws:
JepExceptionjava.io.IOExceptionjava.lang.ClassNotFoundException
-
-