Skip to content

Test Result : EntityDescriptorTest

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

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist10 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField3 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty2 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute6 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute5 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval3 msPassed
anyLanguageSetsLanguageTagToSupportAny84 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal2 msPassed
equalsHandlesRecursiveDescriptors2 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers2 msPassed
fieldDescriptorByDefaultInheritsEntityContext2 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag2 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt1 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor3 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor3 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse2 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext2 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue4 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified5 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute2 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute2 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor5 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor2 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor2 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor3 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty2 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull2 msPassed
hashCodeHandlesRecursiveDescriptors2 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual66 msPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual3 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual3 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual3 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts2 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext4 msPassed