public abstract class AbstractValueCompositeSerializationTest extends AbstractPolygeneTest
| Modifier and Type | Field and Description |
|---|---|
protected Module |
moduleInstance |
protected Serialization |
serialization |
TestName |
testName |
module, objectFactory, queryBuilderFactory, serviceFinder, transientBuilderFactory, unitOfWorkFactory, valueBuilderFactoryapi, application, applicationModel, notYetImplementedRule, polygene, spi| Constructor and Description |
|---|
AbstractValueCompositeSerializationTest() |
defineApplication, setUp, tearDownassemblyException, initApplication, newApplicationInstance, newApplicationModelpublic TestName testName
@Structure protected Module moduleInstance
@Service protected Serialization serialization
public AbstractValueCompositeSerializationTest()
public void before()
public void after()
public void assemble(ModuleAssembly module)
Assembler
An Assembler may create new Modules by calling
ModuleAssembly.layer() and
then LayerAssembly.module(String) (String)}.
This allows an Assembler to bootstrap an entire Layer with
more Modules.
module - the Module to assemblepublic void givenValueCompositeWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void givenEntityCompositeWhenSerializingAndDeserializingExpectEquals()
throws Exception
Exceptionpublic void canDeserializeUsingSuperTypeWithLessState()
public void canDeserializeUsingChildTypeWithSupplementaryOptionalState()
public void canDeserializeFromShuffledState()
public void valueAndEntityTypeEquality()
protected static AbstractValueCompositeSerializationTest.Some buildSomeEntity(Module module, UnitOfWork uow, String identity)
protected static AbstractValueCompositeSerializationTest.Some buildSomeValue(Module module, UnitOfWork uow, String identity)
protected static org.apache.polygene.test.serialization.AbstractValueCompositeSerializationTest.SomeExtended buildSomeExtendedValue(Module module, UnitOfWork uow, String identity)
protected static AbstractValueCompositeSerializationTest.Some buildSomeEntity(Module module, UnitOfWork uow, Identity identity)