Skip to content

Test Result : DefaultInstanceBuilderTest

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

All Tests

Test nameDurationStatus
addNodeReferenceAddsKnownInstanceWithMatchingIdentifier0 msPassed
addNodeReferenceAddsPlainIdentifierObjectPropertyValueToCollection1 msPassed
addNodeReferenceForPropertySetsFieldValueToKnownInstance0 msPassed
addNodeReferenceForPropertySetsPlainIdentifierObjectPropertyValue0 msPassed
addNodeReferenceForPropertyThrowsDeserializationExceptionWhenNoKnownInstanceIsFound0 msPassed
addNodeReferenceThrowsDeserializationExceptionWhenNoKnownInstanceIsFound0 msPassed
addValueAddsValuesToCurrentlyOpenCollection1 msPassed
addValueOpensCollectionAndAddsSingleItemToItWhenSingleValueForPluralAttributeIsSpecified0 msPassed
addValueSetsPropertyValue0 msPassed
addingTypesToInstanceWithoutTypesFieldDoesNothing0 msPassed
closeCollectionDoesNothingWhenItIsTheTopElement0 msPassed
closeCollectionPopsLastInstanceFromStack0 msPassed
closeObjectDoesNothingForRootObject0 msPassed
closeObjectPopsPreviousInstanceFromTheStack0 msPassed
getCurrentRootReturnsNullIfThereIsNoRoot0 msPassed
isPluralReturnsTrueForType0 msPassed
isPropertyMappedReturnsFalseForUnknownProperty0 msPassed
isPropertyMappedReturnsTrueForMappedProperty2 msPassed
isPropertyMappedReturnsTrueForType1 msPassed
objectIsStoredInKnownInstancesWhenItIsOpen0 msPassed
openCollectionByPropertyCreatesCollectionOfCorrectType0 msPassed
openCollectionByPropertySetsFieldValueAndPushesCurrentInstanceToStack1 msPassed
openCollectionCreatesPropertiesContextAndSetsNewPropertiesMapOnTargetInstanceWhenItDoesNotExist1 msPassed
openCollectionCreatesSet0 msPassed
openCollectionCreatesTypesContextForTypesField0 msPassed
openCollectionForPropertyReusesExistingCollectionIfItWasSetOnReopenObject0 msPassed
openCollectionInCollectionPushesOriginalCollectionToStack0 msPassed
openCollectionOpensDummyCollectionContextForTypeInInstanceWithoutTypesField0 msPassed
openCollectionReusesPropertiesInstanceWhenItAlreadyExistsOnTargetInstance0 msPassed
openObjectAddsObjectToCurrentlyOpenCollectionAndBecomesCurrentInstance0 msPassed
openObjectAsPropertyValueSetsInstanceIdentifier0 msPassed
openObjectByPropertyCreatesObjectOfCorrectType1 msPassed
openObjectByPropertySetsNewInstanceAsFieldValueAndReplacesCurrentContext0 msPassed
openObjectCreatesIdentifierContextForPropertyWithPlainIdentifierTargetFieldType0 msPassed
openObjectCreatesIdentifierContextWhenTargetTypeIsIdentifier1 msPassed
openObjectCreatesNewInstanceOfSpecifiedClass0 msPassed
openObjectForPropertyReopensAlreadyKnownInstance0 msPassed
openObjectReopensAlreadyKnownInstance0 msPassed
openObjectSetsInstanceIdentifier0 msPassed
openObjectThrowsDeserializationExceptionWhenTryingToSetSingularAttributeValueForSecondTime1 msPassed
openObjectThrowsTargetTypeExceptionWhenReopenObjectHasIncompatibleTypeWithTarget0 msPassed