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.HookKey
ANON_KEY
static Node.HookKey
RR_KEY
-
Constructor Summary
Constructors Constructor Description SerializationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
test_anon_hookKeys_for_variables_fails_without_readResolve()
void
test_anon_hookKeys_with_readResolve_for_variables_has_single_instance()
void
test_enum_hookKeys_for_nodes_have_a_single_instance()
void
test_enum_hookKeys_for_variables_have_a_single_instance()
void
testConstantsLW()
void
testConstantsSerialised()
void
testExpr()
Test simple serializationvoid
testImport()
Test passing serialized objects between two jep instancesvoid
testJepConfigParser()
void
testJepStdParser()
void
testRead()
reads from a stream which contains a serialised version of jep and and expressionvoid
testSerializableExpression()
Test passing serialized objects between two jep instancesvoid
testSizes()
void
testStringRep()
void
testVariableTable()
void
testWrite()
-
-
-
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.Exception
Test 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.Exception
Test passing serialized objects between two jep instances- Throws:
java.lang.Exception
-
testImport
public void testImport() throws java.lang.Exception
Test 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.Exception
reads 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:
JepException
java.io.IOException
java.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:
JepException
java.io.IOException
java.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:
JepException
java.io.IOException
java.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:
JepException
java.io.IOException
java.lang.ClassNotFoundException
-
-