From c29278276feada324e7c9814afdf9e02e0ddc170 Mon Sep 17 00:00:00 2001
From: Henning <henning.schmeink@fh-muenster.de>
Date: Sun, 2 Jan 2022 17:09:03 +0100
Subject: [PATCH] added @Order to TestgeneratorDSLGenerator

---
 .../masterthesis/generator/TestgeneratorDSLGenerator.xtend     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/de.fhmuenster.masterthesis.textgeneratordsl/src/de/fhmuenster/masterthesis/generator/TestgeneratorDSLGenerator.xtend b/de.fhmuenster.masterthesis.textgeneratordsl/src/de/fhmuenster/masterthesis/generator/TestgeneratorDSLGenerator.xtend
index 483ee02..9ed4025 100644
--- a/de.fhmuenster.masterthesis.textgeneratordsl/src/de/fhmuenster/masterthesis/generator/TestgeneratorDSLGenerator.xtend
+++ b/de.fhmuenster.masterthesis.textgeneratordsl/src/de/fhmuenster/masterthesis/generator/TestgeneratorDSLGenerator.xtend
@@ -351,7 +351,8 @@ class TestgeneratorDSLGenerator extends AbstractGenerator {
 		val Testcase testcase = c.build(bpmnTestcase);
 
 		appendLine("\t@Test");
-
+		appendLine("\t@Order(" + test.getPriority() + (")"));
+		
 		addDeployment(bpmnDiagram.getDeployments());
 
 		appendLine(String.format(TESTCASE_METHOD, test.getName()));
-- 
GitLab