Closed EBrader closed 5 months ago
Attention: Patch coverage is 83.33333%
with 10 lines
in your changes missing coverage. Please review.
Project coverage is 71.80%. Comparing base (
c065910
) to head (711d751
). Report is 1 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
...nedap/archie/rules/evaluation/AssertionsFixer.java | 82.45% | 3 Missing and 7 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Create
PathsThatMustNotExistFixer
with similar purpose as forAssertionFixer
that removespathsThatMustNotExist
from the root asserted during rule evaluation so that next evaluated rules take non-existence into account.Fix applies only for paths that must not exist referring to object instance of
Pathable
with parent being any instance ofItemStructure
,Cluster
,Composition
orSection
. This limited set is the result of needing to know the actual type of the parent in order to call relevant methods to either delete the child from a list or set a value to null. If the desire is there to support all types, almost for all existing RMObject types, a check and cast would be needed.To be able to import the objects from project
openehr-rm
,testImplementation
needed to be changed toapi
inbuild.gradle
oftools
.