Skip to content

Test Result : EntityDescriptorTest

0 failures (±0)
39 tests (±0)
Took 0.64 sec.

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist16 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField5 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty8 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute8 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute6 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval13 msPassed
addAttributeDescriptorWrapsEntityDescriptorInObjectPropertyCollectionDescriptorWhenAttributeIsObjectPropertyCollection0.19 secPassed
anyLanguageSetsLanguageTagToSupportAny10 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal8 msPassed
equalsHandlesRecursiveDescriptors4 msPassed
equalsHandlesRecursiveReferences5 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers4 msPassed
fieldDescriptorByDefaultInheritsEntityContext3 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag7 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt6 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor8 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor14 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse4 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext3 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue5 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified3 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute6 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute5 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor4 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor5 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor5 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor4 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty2 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull22 msPassed
hashCodeHandlesRecursiveDescriptors2 msPassed
hashCodeHandlesRecursiveReferences9 msPassed
includeInferredInheritedFromParentDescriptorCanBeOverriddenInChildEntityDescriptor4 msPassed
includeInferredIsByDefaultInheritedFromParentEntityDescriptor9 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual0.2 secPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual7 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual3 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual7 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts4 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext9 msPassed