From 7f34ca4823159f6c4e3c32ca62a0df3790d4a1ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20Mo=CC=88ser?= Date: Mon, 15 Dec 2014 17:59:37 +0100 Subject: [PATCH] Fix simple workflow test by adding a processChain. --- .../tests/dsl/workflow/functionTest/controller.md2 | 7 ++++++- .../framework/tests/dsl/workflow/functionTest/model.md2 | 2 +- .../md2/framework/tests/dsl/workflow/functionTest/view.md2 | 2 +- .../framework/tests/dsl/workflow/functionTest/workflow.md2 | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/controller.md2 b/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/controller.md2 index 2019a81f..5b1329a2 100644 --- a/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/controller.md2 +++ b/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/controller.md2 @@ -24,4 +24,9 @@ WorkflowElement LocationDetection{ action CustomAction next { bind action FireEvent(LocationDetectionEvent) on LocationDetectionView.Next.onClick } -} \ No newline at end of file + + processChain LocationProcessChain{ + step LocationDetection: + view LocationDetectionView + } +} diff --git a/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/model.md2 b/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/model.md2 index 9a38b04a..4d9cfc02 100644 --- a/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/model.md2 +++ b/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/model.md2 @@ -8,4 +8,4 @@ entity Complaint { entity Location { myStreet: string myCity: string -} \ No newline at end of file +} diff --git a/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/view.md2 b/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/view.md2 index 52581637..45b859e0 100644 --- a/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/view.md2 +++ b/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/view.md2 @@ -7,4 +7,4 @@ GridLayoutPane LocationDetectionView (columns 1, rows 6) { TextInput cityLbl {tooltip "city"} Spacer Button Next {text "Next"} -} \ No newline at end of file +} diff --git a/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/workflow.md2 b/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/workflow.md2 index 7fdfba38..d22f7243 100644 --- a/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/workflow.md2 +++ b/de.wwu.md2.framework.tests/models/de/wwu/md2/framework/tests/dsl/workflow/functionTest/workflow.md2 @@ -14,4 +14,4 @@ App CurrentStateProjectApp { LocationDetection (startable: "Start Controller 1") } appName "functionTestApp" -} \ No newline at end of file +}