Skip to content

Test Result : EntityDescriptorTest

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

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist8 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField5 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty2 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute7 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute2 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval1 msPassed
anyLanguageSetsLanguageTagToSupportAny3 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal2 msPassed
equalsHandlesRecursiveDescriptors4 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers1 msPassed
fieldDescriptorByDefaultInheritsEntityContext2 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag2 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt3 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor74 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor2 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse2 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext1 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue2 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified2 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute1 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute1 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor3 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor1 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor1 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor2 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty2 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull2 msPassed
hashCodeHandlesRecursiveDescriptors2 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual48 msPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual4 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual1 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual2 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts2 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext2 msPassed