Skip to content

Test Result : EntityDescriptorTest

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

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist6 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField2 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty2 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute5 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute2 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval2 msPassed
anyLanguageSetsLanguageTagToSupportAny4 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal2 msPassed
equalsHandlesRecursiveDescriptors1 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers2 msPassed
fieldDescriptorByDefaultInheritsEntityContext1 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag3 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt2 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor5 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor2 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse2 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext3 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue2 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified2 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute2 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute2 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor3 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor2 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor1 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor2 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty7 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull2 msPassed
hashCodeHandlesRecursiveDescriptors1 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual67 msPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual2 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual2 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual2 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts2 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext4 msPassed