Skip to content

Test Result : EntityDescriptorTest

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

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist9 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField3 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty2 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute6 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute4 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval2 msPassed
anyLanguageSetsLanguageTagToSupportAny74 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal2 msPassed
equalsHandlesRecursiveDescriptors2 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers2 msPassed
fieldDescriptorByDefaultInheritsEntityContext1 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag2 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt3 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor3 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor2 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse3 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext2 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue3 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified3 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute2 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute2 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor3 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor2 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor1 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor2 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty1 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull2 msPassed
hashCodeHandlesRecursiveDescriptors1 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual62 msPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual3 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual2 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual2 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts2 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext3 msPassed