RequiredDataAdviceTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total909 of 9090%24 of 240%40401701702828
before_shouldCallHandlersNotAnnotatedAsDisabled()650%n/a11111111
before_shouldNotCallHandlersAnnotatedAsDisabled()640%n/a11111111
before_shouldCallHandlerOnSaveMethodNameWithCollectionArgument()570%n/a116611
setUp()530%n/a119911
before_shouldNotCallHandlerOnSaveWithNullOrNoArguments()490%n/a117711
before_shouldNotCallHandlerOnVoidWithNullOrNoArguments()490%n/a117711
before_shouldCallHandlerOnVoidMethodNameMatchingDomainObject()490%n/a116611
before_shouldCallHandlerOnVoidMethodWhenDomainObjectIsAssignableFromMethodNameObject()490%n/a117711
before_shouldCallHandlerOnSaveWithOpenmrsObjectArgument()450%n/a116611
before_shouldNotCallHandlerOnSaveMethodNameNotMatchingDomainObject()440%n/a116611
before_shouldNotCallHandlerOnVoidMethodNameNotMatchingDomainObject()440%n/a116611
isHandlerMarkedAsDisabled_shouldReturnTrueIfSupertypeHandlerDisabled()420%40%33101011
getChildCollection_shouldGetValueOfGivenChildCollectionOnGivenField()340%n/a119911
isHandlerMarkedAsDisabled_shouldReturnTrueIfHandlerDisabled()300%40%337711
isHandlerMarkedAsDisabled_shouldReturnFalseIfHandlerNotDisabled()260%40%336611
isHandlerMarkedAsDisabled_shouldReturnFalseIfFieldNotAnnotated()260%40%336611
isHandlerMarkedAsDisabled_shouldReturnTrueIfHandlerDisabledOnMetadata()260%40%336611
isHandlerMarkedAsDisabled_shouldReturnFalseIfHandlerNotDisabledOnMetatdata()260%40%336611
before_shouldNotFailOnUpdateMethodWithNoArguments()230%n/a114411
getChildCollection_shouldShouldBeAbleToGetAnnotatedPrivateFields()180%n/a115511
getChildCollection_shouldThrowAPIExceptionIfGetterMethodNotFound()180%n/a114411
isOpenmrsObjectCollection_shouldReturnFalseIfFieldIsCollectionOfOtherObjects()170%n/a116611
isOpenmrsObjectCollection_shouldReturnTrueIfClassIsOpenmrsObjectList()160%n/a115511
isOpenmrsObjectCollection_shouldReturnTrueIfClassIsOpenmrsObjectSet()160%n/a115511
isOpenmrsObjectCollection_shouldReturnFalseIfCollectionIsEmptyRegardlessOfTypeHeld()80%n/a113311
isOpenmrsObjectCollection_shouldReturnFalseIfFieldIsCollectionOfParameterizedType()60%n/a113311
isOpenmrsObjectCollection_shouldReturnFalseIfFieldIsNotACollection()60%n/a112211
RequiredDataAdviceTest()30%n/a111111