From d58f2b7a8a0d36e3048cd3b7215699c7b1e402e4 Mon Sep 17 00:00:00 2001
From: Nikolaus Huber <nikolaus.huber@uni-wuerzburg.de>
Date: Mon, 7 Jan 2013 10:13:14 +0000
Subject: [PATCH] test loop action

git-svn-id: https://se1.informatik.uni-wuerzburg.de/usvn/svn/code/code/DMM/trunk@9672 9e42b895-fcda-4063-8a3b-11be15eb1bbd
---
 .../test_models/StaRepository.xmi             | 42 ++++++++++++++++++-
 1 file changed, 41 insertions(+), 1 deletion(-)

diff --git a/edu.kit.ipd.descartes.adaptation.test/test_models/StaRepository.xmi b/edu.kit.ipd.descartes.adaptation.test/test_models/StaRepository.xmi
index 26a2cf67..9c6315f5 100644
--- a/edu.kit.ipd.descartes.adaptation.test/test_models/StaRepository.xmi
+++ b/edu.kit.ipd.descartes.adaptation.test/test_models/StaRepository.xmi
@@ -5,7 +5,7 @@
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:adaptation="http://www.descartes-research.net/metamodel/adaptation/0.1"
     xmlns:adaptationpoints="http://www.descartes-research.net/metamodel/adaptationpoints/0.1"
-    xsi:schemaLocation="http://www.descartes-research.net/metamodel/adaptation/0.1 platform:/resource/edu.kit.ipd.descartes.mm.adaptation/model/adaptation.ecore http://www.descartes-research.net/metamodel/adaptationpoints/0.1 platform:/resource/edu.kit.ipd.descartes.mm.adaptationpoints/model/adaptationpoints.ecore"
+    xsi:schemaLocation="http://www.descartes-research.net/metamodel/adaptation/0.1 ../../edu.kit.ipd.descartes.mm.adaptation/model/adaptation.ecore http://www.descartes-research.net/metamodel/adaptationpoints/0.1 ../../edu.kit.ipd.descartes.mm.adaptationpoints/model/adaptationpoints.ecore"
     id="q" name="MyTestStaRepo">
   <tactics id="2341234"
       name="myFirstIncreaseResourceTactic">
@@ -109,6 +109,46 @@
           predecessor="123migration123"/>
     </implementedPlan>
   </tactics>
+  <tactics id="123432"
+      name="testLoopActionTactic">
+    <implementedPlan
+        id="123543"
+        name="testLoopAction">
+      <steps
+          xsi:type="adaptation:StartAction"
+          id="testLoopStart"
+          successor="123loop123"/>
+      <steps
+          xsi:type="adaptation:LoopAction"
+          id="123loop123"
+          predecessor="testLoopStart"
+          successor="testLoopStop"
+          counter="4">
+        <body
+            id="231223"
+            name="loopBody">
+          <steps
+              xsi:type="adaptation:StartAction"
+              id="testLoopBodyStart"
+              successor="testLoopBodyAction"/>
+          <steps
+              xsi:type="adaptation:ActionReference"
+              id="testLoopBodyAction"
+              predecessor="testLoopBodyStart"
+              successor="testLoopBodyStop"
+              refersTo="41123123"/>
+          <steps
+              xsi:type="adaptation:StopAction"
+              id="testLoopBodyStop"
+              predecessor="testLoopBodyAction"/>
+        </body>
+      </steps>
+      <steps
+          xsi:type="adaptation:StopAction"
+          id="testLoopStop"
+          predecessor="123loop123"/>
+    </implementedPlan>
+  </tactics>
   <actions id="2"
       name="myTestIncreaseCpuAction"
       operationType="SCALE_UP">
-- 
GitLab