Browse Source

patched unit tests

Yentl Van Tendeloo 7 years ago
parent
commit
fc3388d1e5
2 changed files with 2 additions and 1 deletions
  1. 1 0
      integration/code/SCCD_execute.alc
  2. 1 1
      wrappers/modelverse_SCCD.py

+ 1 - 0
integration/code/SCCD_execute.alc

@@ -128,6 +128,7 @@ Element function expand_parallel_state(model : Element, parallel_state : String,
 Void function delete_class(model : Element, data : Element, identifier : String):
 Void function delete_class(model : Element, data : Element, identifier : String):
 	// Stop a specific class instance, with attached statechart, from executing
 	// Stop a specific class instance, with attached statechart, from executing
 	dict_delete(data["classes"], identifier)
 	dict_delete(data["classes"], identifier)
+	return!
 
 
 String function start_class(model : Element, data : Element, class : String, parameters : Element):
 String function start_class(model : Element, data : Element, class : String, parameters : Element):
 	// Start up the class and assign its initial state to it
 	// Start up the class and assign its initial state to it

+ 1 - 1
wrappers/modelverse_SCCD.py

@@ -1,7 +1,7 @@
 """
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
 
-Date:   Fri May 18 13:09:29 2018
+Date:   Fri May 18 15:00:59 2018
 
 
 Model author: Yentl Van Tendeloo
 Model author: Yentl Van Tendeloo
 Model name:   MvK Server
 Model name:   MvK Server