From b943da2f4fa73144f06ed4d5497f7e94a8a5d9fd Mon Sep 17 00:00:00 2001 From: Pavel Date: Mon, 31 Jul 2023 21:17:58 -0400 Subject: [PATCH] Graph refactoring continues --- .../models/ecore/tests/TestNatureModelDocGen.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generator/src/test/java/org/nasdanika/models/ecore/tests/TestNatureModelDocGen.java b/generator/src/test/java/org/nasdanika/models/ecore/tests/TestNatureModelDocGen.java index 946247d..c7c0744 100644 --- a/generator/src/test/java/org/nasdanika/models/ecore/tests/TestNatureModelDocGen.java +++ b/generator/src/test/java/org/nasdanika/models/ecore/tests/TestNatureModelDocGen.java @@ -252,7 +252,7 @@ protected boolean isPassThrough(Connection connection) { Element element = re.getKey(); if (element instanceof EObjectNode) { EObjectNode eObjNode = (EObjectNode) element; - EObject target = eObjNode.getTarget(); + EObject target = eObjNode.get(); if (target == topLevelPackage) { ProcessorInfo info = re.getValue(); Object processor = info.getProcessor(); @@ -316,7 +316,7 @@ public EObject getEObject(String uriFragment) { File actionModelsDir = new File("target\\action-models\\"); actionModelsDir.mkdirs(); - File output = new File(actionModelsDir, "test.gz"); + File output = new File(actionModelsDir, "test.xmi"); Resource actionModelResource = actionModelsResourceSet.createResource(URI.createFileURI(output.getAbsolutePath())); Collection