Closed bjornna closed 10 years ago
Hi Thanks for the great project. I just started to look at it. I have done two things:
The test that failed is: org.openehr.adl.flattener.OperationalTemplateBuilderTest#testOntologyMerge
The problem is that the order of ComponentOntologies is wrong. The original test is:
assertThat(template.getComponentOntologies().get(0).getArchetypeId()).isEqualTo("openEHR-EHR-COMPOSITION.root_use_archetype.v1"); assertThat(template.getComponentOntologies().get(1).getArchetypeId()).isEqualTo("openEHR-EHR-EVALUATION.alert.v1");
This failes. But if I change order (like below) the test is ok:
assertThat(template.getComponentOntologies().get(1).getArchetypeId()).isEqualTo("openEHR-EHR-COMPOSITION.root_use_archetype.v1"); assertThat(template.getComponentOntologies().get(0).getArchetypeId()).isEqualTo("openEHR-EHR-EVALUATION.alert.v1");
I will do some more testing to see how this happens.
PS! The laptop it fails on is Windows 7 and my JDK is :
Bjørn
Hi Thanks for the great project. I just started to look at it. I have done two things:
The test that failed is: org.openehr.adl.flattener.OperationalTemplateBuilderTest#testOntologyMerge
The problem is that the order of ComponentOntologies is wrong. The original test is:
This failes. But if I change order (like below) the test is ok:
I will do some more testing to see how this happens.
PS! The laptop it fails on is Windows 7 and my JDK is :
Bjørn