Browse Source

add new CKeyword.sctunit file

Andreas Mülder 13 years ago
parent
commit
142d8cb8b8

+ 4 - 2
test-plugins/org.yakindu.sct.test.models/tests/AllTests.sctunit

@@ -1,6 +1,8 @@
 testsuite AllTests { 
-	AlwaysOncycle , BitExpressions , BooleanExpressions ,
-	Choice , DeepHistory , FeatureCalls , Guard , IntegerExpressions ,
+	AlwaysOncycle , BitExpressions , BooleanExpressions , CKeywords,
+	Choice , DeepHistory,
+	//FeatureCalls,
+	Guard , IntegerExpressions ,
 	PriorityValues , RaiseEvent , SameNameDifferentRegion , ShallowHistory ,
 	SimpleHietachy , StateIsActive , StatechartLocalReactions , SyncFork ,
 	SyncJoin , ValuedEvent , simpleEvent 

+ 10 - 0
test-plugins/org.yakindu.sct.test.models/tests/CKeywords.sctunit

@@ -0,0 +1,10 @@
+testgroup CKeywords for statechart CKeywords { 
+	test CKeywordsTest { 
+		assert active ( CKeywords.auto.char ) 
+		raise auto 
+		cycle 
+		assert active (CKeywords.auto.const ) 
+		assert active ( CKeywords.auto.const.switch.case )
+		assert active ( CKeywords.auto.const.switch.case.enum.asm ) 
+	} 
+}