Skip to content

Test Result : EntityDescriptorTest

0 failures (±0)
36 tests (±0)
Took 0.26 sec.

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist7 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField2 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty3 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute15 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute10 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval3 msPassed
anyLanguageSetsLanguageTagToSupportAny6 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal2 msPassed
equalsHandlesRecursiveDescriptors2 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers2 msPassed
fieldDescriptorByDefaultInheritsEntityContext2 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag2 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt3 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor3 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor3 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse2 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext2 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue2 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified3 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute2 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute2 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor4 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor2 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor2 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor2 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty2 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull1 msPassed
hashCodeHandlesRecursiveDescriptors2 msPassed
includeInferredInheritedFromParentDescriptorCanBeOverridenInChildEntityDescriptor3 msPassed
includeInferredIsByDefaultInheritedFromParentEntityDescriptor3 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual0.14 secPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual3 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual3 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual5 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts4 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext5 msPassed