Skip to content

Test Result : EntityDescriptorTest

0 failures (±0)
34 tests (±0)
Took 0.18 sec.

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist13 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField3 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty5 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute8 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute4 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval3 msPassed
anyLanguageSetsLanguageTagToSupportAny4 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal3 msPassed
equalsHandlesRecursiveDescriptors3 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers3 msPassed
fieldDescriptorByDefaultInheritsEntityContext2 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag2 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt3 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor3 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor4 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse3 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext3 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue3 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified4 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute3 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute3 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor6 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor3 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor3 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor3 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty3 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull2 msPassed
hashCodeHandlesRecursiveDescriptors3 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual56 msPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual4 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual3 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual3 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts4 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext5 msPassed