Skip to content

Test Result : EntityDescriptorTest

0 failures (±0)
22 tests (±0)
Took 87 ms.

All Tests

Test nameDurationStatus
addAttributeDescriptorProvidesCorrectContextOnRetrieval1 msPassed
anyLanguageSetsLanguageTagToSupportAny2 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal1 msPassed
equalsHandlesRecursiveDescriptors1 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers0 msPassed
fieldDescriptorByDefaultInheritsEntityContext0 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag1 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt1 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor1 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor1 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse1 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext1 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue1 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty0 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull1 msPassed
hashCodeHandlesRecursiveDescriptors0 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual71 msPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual1 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual0 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual1 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts0 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext1 msPassed