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, valueBuilderFactory
api, application, applicationModel, notYetImplementedRule, polygene, spi
Constructor and Description |
---|
AbstractPlainValueSerializationTest() |
defineApplication, setUp, tearDown
assemblyException, initApplication, newApplicationInstance, newApplicationModel
@Service protected Serialization serialization
protected <T extends SerializationSettings> T withTestSettings(T settings)
protected abstract String getSingleStringRawState(String state) throws Exception
Exception
public void dontKnowHowToSerializeJavaLangObject()
public void givenNullValueWhenSerializingAndDeserializingExpectNull()
public void givenEnumValueWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenPrimitiveValueWhenSerializingAndDeserializingUsingPrimitiveAndBoxedTypesExpectEquals()
public void givenCharacterValueWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenEmptyStringValueWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenStringValueWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public 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
Exception
public void givenLocalDateValueWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenLocalTimeValueWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenOffsetDateTimeValueWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenZonedDateTimeValueWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenInstantValueWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenDurationValueWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenPeriodValueWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenEntityReferenceValueWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception