public abstract class AbstractPlainValueSerializationTest extends AbstractPolygeneTest
Assembler.assemble(ModuleAssembly)SerializationSettings using withTestSettings(SerializationSettings)
in assemble()
getSingleStringRawState(String)| Modifier and Type | Field and Description |
|---|---|
protected Serialization |
serialization |
module, objectFactory, queryBuilderFactory, serviceFinder, transientBuilderFactory, unitOfWorkFactory, valueBuilderFactoryapi, application, applicationModel, notYetImplementedRule, polygene, spi| Constructor and Description |
|---|
AbstractPlainValueSerializationTest() |
defineApplication, setUp, tearDownassemblyException, initApplication, newApplicationInstance, newApplicationModel@Service protected Serialization serialization
protected <T extends SerializationSettings> T withTestSettings(T settings)
protected abstract String getSingleStringRawState(String state) throws Exception
Exceptionpublic void dontKnowHowToSerializeJavaLangObject()
public void givenNullValueWhenSerializingAndDeserializingExpectNull()
public void givenEnumValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenPrimitiveValueWhenSerializingAndDeserializingUsingPrimitiveAndBoxedTypesExpectEquals()
public void givenCharacterValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenEmptyStringValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenStringValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenBooleanValueWhenSerializingAndDeserializingExpectEquals()
public void givenIntegerValueWhenSerializingAndDeserializingExpectEquals()
public void givenLongValueWhenSerializingAndDeserializingExpectEquals()
public void givenShortValueWhenSerializingAndDeserializingExpectEquals()
public void givenByteValueWhenSerializingAndDeserializingExpectEquals()
public void givenFloatValueWhenSerializingAndDeserializingExpectEquals()
public void givenDoubleValueWhenSerializingAndDeserializingExpectEquals()
public void givenBigIntegerValueWhenSerializingAndDeserializingExpectEquals()
public void givenBigDecimalValueWhenSerializingAndDeserializingExpectEquals()
public void givenLocalDateTimeValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenLocalDateValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenLocalTimeValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenOffsetDateTimeValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenZonedDateTimeValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenInstantValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenDurationValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenPeriodValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenEntityReferenceValueWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exception