Skip to content

Test Result : EntityDescriptorTest

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

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist12 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField4 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty5 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute7 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute4 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval4 msPassed
anyLanguageSetsLanguageTagToSupportAny5 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal1 msPassed
equalsHandlesRecursiveDescriptors4 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers2 msPassed
fieldDescriptorByDefaultInheritsEntityContext2 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag3 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt4 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor4 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor4 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse4 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext3 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue3 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified3 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute2 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute4 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor6 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor2 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor3 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor4 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty3 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull3 msPassed
hashCodeHandlesRecursiveDescriptors3 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual84 msPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual0.1 secPassed
twoDescriptorsWithNullLanguageTagSetAreEqual2 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual5 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts3 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext5 msPassed