Skip to content

Test Result : EntityDescriptorTest

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

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist10 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField3 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty2 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute8 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute3 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval2 msPassed
anyLanguageSetsLanguageTagToSupportAny3 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal2 msPassed
equalsHandlesRecursiveDescriptors3 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers2 msPassed
fieldDescriptorByDefaultInheritsEntityContext2 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag3 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt3 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor3 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor3 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse2 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext3 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue2 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified3 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute2 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute2 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor4 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor2 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor2 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor3 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty2 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull3 msPassed
hashCodeHandlesRecursiveDescriptors2 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual62 msPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual4 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual2 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual3 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts3 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext3 msPassed