Skip to content

Test Result : DefaultInstanceBuilderTest

0 failures (±0)
41 tests (±0)
Took 11 ms.

All Tests

Test nameDurationStatus
addNodeReferenceAddsKnownInstanceWithMatchingIdentifier0 msPassed
addNodeReferenceAddsPlainIdentifierObjectPropertyValueToCollection0 msPassed
addNodeReferenceForPropertySetsFieldValueToKnownInstance0 msPassed
addNodeReferenceForPropertySetsPlainIdentifierObjectPropertyValue0 msPassed
addNodeReferenceForPropertyThrowsDeserializationExceptionWhenNoKnownInstanceIsFound1 msPassed
addNodeReferenceThrowsDeserializationExceptionWhenNoKnownInstanceIsFound0 msPassed
addValueAddsValuesToCurrentlyOpenCollection0 msPassed
addValueOpensCollectionAndAddsSingleItemToItWhenSingleValueForPluralAttributeIsSpecified0 msPassed
addValueSetsPropertyValue0 msPassed
addingTypesToInstanceWithoutTypesFieldDoesNothing0 msPassed
closeCollectionDoesNothingWhenItIsTheTopElement0 msPassed
closeCollectionPopsLastInstanceFromStack1 msPassed
closeObjectDoesNothingForRootObject1 msPassed
closeObjectPopsPreviousInstanceFromTheStack0 msPassed
getCurrentRootReturnsNullIfThereIsNoRoot0 msPassed
isPluralReturnsTrueForType1 msPassed
isPropertyMappedReturnsFalseForUnknownProperty0 msPassed
isPropertyMappedReturnsTrueForMappedProperty0 msPassed
isPropertyMappedReturnsTrueForType0 msPassed
objectIsStoredInKnownInstancesWhenItIsOpen0 msPassed
openCollectionByPropertyCreatesCollectionOfCorrectType0 msPassed
openCollectionByPropertySetsFieldValueAndPushesCurrentInstanceToStack0 msPassed
openCollectionCreatesPropertiesContextAndSetsNewPropertiesMapOnTargetInstanceWhenItDoesNotExist0 msPassed
openCollectionCreatesSet0 msPassed
openCollectionCreatesTypesContextForTypesField0 msPassed
openCollectionForPropertyReusesExistingCollectionIfItWasSetOnReopenObject0 msPassed
openCollectionInCollectionPushesOriginalCollectionToStack1 msPassed
openCollectionOpensDummyCollectionContextForTypeInInstanceWithoutTypesField0 msPassed
openCollectionReusesPropertiesInstanceWhenItAlreadyExistsOnTargetInstance1 msPassed
openObjectAddsObjectToCurrentlyOpenCollectionAndBecomesCurrentInstance0 msPassed
openObjectAsPropertyValueSetsInstanceIdentifier0 msPassed
openObjectByPropertyCreatesObjectOfCorrectType0 msPassed
openObjectByPropertySetsNewInstanceAsFieldValueAndReplacesCurrentContext0 msPassed
openObjectCreatesIdentifierContextForPropertyWithPlainIdentifierTargetFieldType1 msPassed
openObjectCreatesIdentifierContextWhenTargetTypeIsIdentifier1 msPassed
openObjectCreatesNewInstanceOfSpecifiedClass1 msPassed
openObjectForPropertyReopensAlreadyKnownInstance0 msPassed
openObjectReopensAlreadyKnownInstance0 msPassed
openObjectSetsInstanceIdentifier0 msPassed
openObjectThrowsDeserializationExceptionWhenTryingToSetSingularAttributeValueForSecondTime1 msPassed
openObjectThrowsTargetTypeExceptionWhenReopenObjectHasIncompatibleTypeWithTarget1 msPassed