Skip to content

Test Result : EntityDescriptorTest

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

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist14 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField2 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty7 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute16 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute7 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval5 msPassed
anyLanguageSetsLanguageTagToSupportAny4 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal2 msPassed
equalsHandlesRecursiveDescriptors2 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers7 msPassed
fieldDescriptorByDefaultInheritsEntityContext5 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag3 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt3 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor3 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor3 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse5 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext5 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue3 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified4 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute5 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute3 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor4 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor4 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor6 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor5 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty4 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull4 msPassed
hashCodeHandlesRecursiveDescriptors4 msPassed
includeInferredInheritedFromParentDescriptorCanBeOverridenInChildEntityDescriptor3 msPassed
includeInferredIsByDefaultInheritedFromParentEntityDescriptor8 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual0.15 secPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual3 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual6 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual4 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts7 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext5 msPassed