Skip to content

Test Result : EntityDescriptorTest

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

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist8 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField2 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty3 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute7 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute2 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval2 msPassed
anyLanguageSetsLanguageTagToSupportAny4 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal2 msPassed
equalsHandlesRecursiveDescriptors2 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers3 msPassed
fieldDescriptorByDefaultInheritsEntityContext1 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag2 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt5 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor2 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor3 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse3 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext2 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue2 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified3 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute2 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute2 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor3 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor1 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor2 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor2 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty1 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull2 msPassed
hashCodeHandlesRecursiveDescriptors2 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual0.13 secPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual3 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual1 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual3 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts2 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext2 msPassed