diff --git a/hl7templates/hl7templates-generator-jar/src/it/java/net/ihe/gazelle/tempgen/assertions/test/XPATHValidationIT.java b/hl7templates/hl7templates-generator-jar/src/it/java/net/ihe/gazelle/tempgen/assertions/test/XPATHValidationIT.java index 57c953063b318d5e65ec4c1f85a978567c79b7fc..63b1a7548ea3ff4ae4453b30fa68825b52c54de9 100644 --- a/hl7templates/hl7templates-generator-jar/src/it/java/net/ihe/gazelle/tempgen/assertions/test/XPATHValidationIT.java +++ b/hl7templates/hl7templates-generator-jar/src/it/java/net/ihe/gazelle/tempgen/assertions/test/XPATHValidationIT.java @@ -63,9 +63,9 @@ public class XPATHValidationIT extends AssertAnalyzer { this.currentAssert = this.assertList.get(0); PackagedElement packagedElement = PackagedElementUtil.initPackagedElement(); this.process(currentAssert,packagedElement); - assertEquals(1,this.currentPackagedElement.getOwnedRule().size()); + assertEquals(1,packagedElement.getOwnedRule().size()); String expected = "((self.value->forAll(not(oclIsKindOf(CD)))) or (self.value->forAll(aa | CommonOperationsStatic::validateByXPATHV2(aa, '@codeSystem=\\u00272.16.840.1.113883.6.96\\u0027') )))"; - assertEquals(expected,this.currentPackagedElement.getOwnedRule().get(0).getSpecification().getBody()); + assertEquals(expected,packagedElement.getOwnedRule().get(0).getSpecification().getBody()); } @Test diff --git a/hl7templates/hl7templates-packager-jar/src/test/java/net/ihe/gazelle/lib/hl7templatespackager/adapters/UpdateModelsDefinitionTest.java b/hl7templates/hl7templates-packager-jar/src/test/java/net/ihe/gazelle/lib/hl7templatespackager/adapters/UpdateModelsDefinitionTest.java index 35fbdcb574ac81ab38ed052060a452fb5f7becf2..24c2eb828c2cef44d168fd1c86de8559f0c377fe 100644 --- a/hl7templates/hl7templates-packager-jar/src/test/java/net/ihe/gazelle/lib/hl7templatespackager/adapters/UpdateModelsDefinitionTest.java +++ b/hl7templates/hl7templates-packager-jar/src/test/java/net/ihe/gazelle/lib/hl7templatespackager/adapters/UpdateModelsDefinitionTest.java @@ -35,13 +35,5 @@ public class UpdateModelsDefinitionTest { } } - @Test - public void testUpdateWorkspacePath2(){ - UpdateModelsDefinition updateModelsDefinition = new UpdateModelsDefinition(); - try { - updateModelsDefinition.updateModelDefinitions("/home/aai@kereval.com/Documents/TestGOCRelease/tests"); - } catch (IOException e) { - e.printStackTrace(); - } - } + }