public class AbstractCollectionSerializationTest extends AbstractPolygeneTest
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractCollectionSerializationTest.SomeValue |
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 |
---|
AbstractCollectionSerializationTest() |
defineApplication, setUp, tearDown
assemblyException, initApplication, newApplicationInstance, newApplicationModel
@Service protected Serialization serialization
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 givenPrimitiveArrayWithIntsWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenArrayWithByteAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenIterableTypeWithByteAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenCollectionTypeWithByteAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenCollectionTypeWithCharacterAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenCollectionTypeWithShortAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenCollectionTypeWithIntegerAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenCollectionTypeWithLongAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenCollectionTypeWithFloatAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenCollectionTypeWithDoubleAndNullElementWhenSerializingExpectCorrectJsonOutput() throws Exception
Exception
public void givenCollectionTypeWithBigIntegerAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenCollectionTypeWithBigDecimalAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenMapOfStringByteAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenMapOfStringListStringAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenListOfMapStringStringAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenListOfValueCompositesAndNullElementWhenSerializingAndDeserializingExpectEquals() throws Exception
Exception
public void givenEnumSetWhenSerializingAndDeserializingExpectEquals()
public void givenEnumMapWhenSerializingAndDeserializingExpectEquals()