Skip to content

Test Result : EntityDescriptorTest

0 failures (±0)
36 tests (±0)
Took 0.17 sec.

All Tests

Test nameDurationStatus
addAttributeContextCreatesEntityDescriptorAndAddsContextToItWhenItDidNotExist5 msPassed
addAttributeContextCreatesFieldDescriptorAndSetsItsContextForDataPropertyField2 msPassed
addAttributeContextSupportsCreatesObjectPropertyCollectionDescriptorForPluralObjectProperty3 msPassed
addAttributeContextSupportsMultipleContextsAddedToDataPropertyAttribute5 msPassed
addAttributeContextSupportsMultipleContextsAddedToObjectPropertyAttribute1 msPassed
addAttributeDescriptorProvidesCorrectContextOnRetrieval1 msPassed
anyLanguageSetsLanguageTagToSupportAny2 msPassed
equalsHandlesOneRecursiveDescriptorAndOtherNormal2 msPassed
equalsHandlesRecursiveDescriptors2 msPassed
equalsReturnsFalseWhenFieldDescriptorCountDiffers1 msPassed
fieldDescriptorByDefaultInheritsEntityContext1 msPassed
fieldDescriptorByDefaultInheritsEntityLanguageTag2 msPassed
fieldDescriptorHasItsOwnContextWhenItIsSetForIt2 msPassed
fieldDescriptorHasLanguageSetToItThroughEntityDescriptor2 msPassed
fieldDescriptorInheritsChangeOfLanguageTagFromEntityDescriptor2 msPassed
getAttributeContextReturnsAttributeContextWhenAssertionsInSubjectContextIsFalse1 msPassed
getAttributeContextReturnsAttributeContextWhenItOverridesSubjectContext2 msPassed
getAttributeContextReturnsSubjectContextWhenAssertionsInSubjectContextIsTrue2 msPassed
getSingleAttributeContextReturnsDescriptorContextWhenNoAttributeContextIsSpecified1 msPassed
getSingleAttributeContextReturnsEmptyOptionalWhenDefaultContextIsSetForAttribute1 msPassed
getSingleAttributeContextReturnsOneContextSpecifiedForAttribute2 msPassed
getSingleAttributeContextThrowsAmbiguousContextExceptionWhenMultipleAttributeContextsAreSpecifiedInDescriptor3 msPassed
getSingleContextReturnsEmptyOptionalWhenNoContextsAreSetInDescriptor1 msPassed
getSingleContextReturnsOneContextSpecifiedInDescriptor2 msPassed
getSingleContextThrowsAmbiguousContextExceptionWhenMultipleContextsAreSpecifiedInDescriptor4 msPassed
gettingFieldDescriptorFromEntityDescriptorLeavesItsHasLanguageStatusEmpty1 msPassed
hasLanguageReturnsTrueForLanguageSetExplicitlyToNull1 msPassed
hashCodeHandlesRecursiveDescriptors1 msPassed
includeInferredInheritedFromParentDescriptorCanBeOverridenInChildEntityDescriptor2 msPassed
includeInferredIsByDefaultInheritedFromParentEntityDescriptor2 msPassed
twoDescriptorsWithDifferentAttributeLanguageTagsAreNotEqual0.1 secPassed
twoDescriptorsWithDifferentLanguageTagsAreNotEqual2 msPassed
twoDescriptorsWithNullLanguageTagSetAreEqual1 msPassed
twoDescriptorsWithSameAttributeLanguageTagsAreEqual3 msPassed
twoEntityDescriptorsAreEqualWhenTheirFieldDescriptorsHaveTheSameContexts2 msPassed
twoEntityDescriptorsAreNotEqualWhenTheyDifferInFieldContext4 msPassed