Skip to content

Test Result : EntityDescriptorTest

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

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist8 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField2 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty3 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute7 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute3 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval2 msPassed
anyLanguageSetsLanguageTagToSupportAny3 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal2 msPassed
equalsHandlesRecursiveDescriptors11 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers2 msPassed
fieldDescriptorByDefaultInheritsEntityContext2 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag10 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt4 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor3 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor2 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse2 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext2 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue2 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified3 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute0 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute0 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor5 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor2 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor2 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor3 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty2 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull3 msPassed
hashCodeHandlesRecursiveDescriptors3 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual87 msPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual4 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual3 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual3 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts2 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext3 msPassed