Kaynağa Gözat

YAKHMI-747 - Improve/Complete test case 'StextKeywordsInStatesAndRegions' -Test for all Keywords in regions and states

malknet42 12 yıl önce
ebeveyn
işleme
3e6a9ea3a0

+ 8 - 8
test-plugins/org.yakindu.sct.generator.c.test/gtests/StextKeywords/STextKeywordsInStatesAndRegions.sgen

@@ -1,8 +1,8 @@
-GeneratorModel for yakindu::c {
-	statechart STextKeywordsInStatesAndRegions {
-		feature Outlet {
-			targetProject = "gtests"
-			targetFolder = "StextKeywords"
-		}
-	}
-}
+GeneratorModel for yakindu::c {
+	statechart STextKeywordsInStatesAndRegions {
+		feature Outlet {
+			targetProject = "gtests"
+			targetFolder = "StextKeywords"
+		}
+	}
+}

+ 479 - 25
test-plugins/org.yakindu.sct.generator.c.test/gtests/StextKeywords/StextKeywords.cc

@@ -1,25 +1,479 @@
-/**
-* Copyright (c) 2012 committers of YAKINDU and others.
-* All rights reserved. This program and the accompanying materials
-* are made available under the terms of the Eclipse Public License v1.0
-* which accompanies this distribution, and is available at
-* http://www.eclipse.org/legal/epl-v10.html
-*
-* Contributors:
-*     committers of YAKINDU - initial API and implementation
-*/
-#include <string>
-#include "gtest/gtest.h"
-#include "STextKeywordsInStatesAndRegions.h"
-
-TEST(StatemachineTest, activeCheckWithSTextNamedStates) {
-	STextKeywordsInStatesAndRegions handle;
-	sTextKeywordsInStatesAndRegions_init(&handle);
-	sTextKeywordsInStatesAndRegions_enter(&handle);
-	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_var));
-	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_interface));
-	sTextKeywordsInStatesAndRegions_runCycle(&handle);
-	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_var));
-	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_active));
-	sTextKeywordsInStatesAndRegions_runCycle(&handle);
-}
+/**
+* Copyright (c) 2012 committers of YAKINDU and others.
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v1.0
+* which accompanies this distribution, and is available at
+* http://www.eclipse.org/legal/epl-v10.html
+*
+* Contributors:
+*     committers of YAKINDU - initial API and implementation
+*/
+#include <string>
+#include "gtest/gtest.h"
+#include "STextKeywordsInStatesAndRegions.h"
+
+TEST(StatemachineTest, activeCheckWithSTextNamedStates) {
+	STextKeywordsInStatesAndRegions handle;
+	sTextKeywordsInStatesAndRegions_init(&handle);
+	sTextKeywordsInStatesAndRegions_enter(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_interface));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_raise));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_active));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_interface));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e1(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_raise));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_active));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_interface));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e2(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_raise));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_active));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_interface));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e1(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_raise));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_active));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_interface));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e2(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_raise));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_active));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_interface));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e1(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_raise));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_active));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_interface));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e2(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_raise));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_active));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_interface));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e1(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_raise));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_active));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_interface));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e2(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_raise));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_active));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_interface));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e1(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_valueof));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_active));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_interface));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e2(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_valueof));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_interface));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e1(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_valueof));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_event));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e2(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_valueof));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_in));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e1(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_valueof));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_var));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e2(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_valueof));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_external));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e1(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_valueof));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_default));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e2(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_valueof));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_entry));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e1(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_valueof));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_always));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e2(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_valueof));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_raise));
+	sTextKeywordsInStatesAndRegionsIface_raise_e1(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_valueof));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_valueof));
+	sTextKeywordsInStatesAndRegionsIface_raise_e2(&handle);
+	sTextKeywordsInStatesAndRegions_runCycle(&handle);
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_default_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_operation_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_namespace_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_local_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_interface_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_internal_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_event_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_in_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_out_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_var_valueof));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_readonly_namespace));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_external_internal));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_else_local));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_entry_out));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_exit_readonly));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_always_operation));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_oncycle_else));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_raise_exit));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_valueof_oncycle));
+	EXPECT_TRUE(sTextKeywordsInStatesAndRegions_isActive(&handle, STextKeywordsInStatesAndRegions_active_valueof));
+}

+ 39 - 39
test-plugins/org.yakindu.sct.generator.c.test/src-gen/org/yakindu/sct/generator/c/test/StextKeywords.java

@@ -1,39 +1,39 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.generator.c.test;
-
-import java.util.Collection;
-
-import org.junit.Before;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.generator.c.gtest.GTest;
-import org.yakindu.sct.generator.c.gtest.GTestRunner;
-import org.yakindu.sct.generator.c.gtest.GTestHelper;
-
-@GTest(sourceFile = "gtests/StextKeywords/StextKeywords.cc", program = "gtests/StextKeywords/STextKeywordsInStatesAndRegions", model = "testmodels/STextKeywordsInStatesAndRegions.sct")
-@RunWith(GTestRunner.class)
-public class StextKeywords {
-
-	protected final GTestHelper helper = new GTestHelper(this) {
-
-		@Override
-		protected void getSourceFiles(Collection<String> files) {
-			super.getSourceFiles(files);
-			files.add(getFileName(getTestProgram()) + ".c");
-		}
-	};
-
-	@Before
-	public void setUp() {
-		helper.generate();
-		helper.compile();
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.generator.c.test;
+
+import java.util.Collection;
+
+import org.junit.Before;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.generator.c.gtest.GTest;
+import org.yakindu.sct.generator.c.gtest.GTestRunner;
+import org.yakindu.sct.generator.c.gtest.GTestHelper;
+
+@GTest(sourceFile = "gtests/StextKeywords/StextKeywords.cc", program = "gtests/StextKeywords/STextKeywordsInStatesAndRegions", model = "testmodels/STextKeywordsInStatesAndRegions.sct")
+@RunWith(GTestRunner.class)
+public class StextKeywords {
+
+	protected final GTestHelper helper = new GTestHelper(this) {
+
+		@Override
+		protected void getSourceFiles(Collection<String> files) {
+			super.getSourceFiles(files);
+			files.add(getFileName(getTestProgram()) + ".c");
+		}
+	};
+
+	@Before
+	public void setUp() {
+		helper.generate();
+		helper.compile();
+	}
+}

+ 16 - 15
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/stextkeywordsinstatesandregions/ISTextKeywordsInStatesAndRegionsStatemachine.java

@@ -1,15 +1,16 @@
-package org.yakindu.scr.stextkeywordsinstatesandregions;
-import org.yakindu.scr.IStatemachine;
-
-public interface ISTextKeywordsInStatesAndRegionsStatemachine
-		extends
-			IStatemachine {
-
-	public interface SCIDefault {
-		public void raiseE();
-
-	}
-
-	public SCIDefault getSCIDefault();
-
-}
+package org.yakindu.scr.stextkeywordsinstatesandregions;
+import org.yakindu.scr.IStatemachine;
+
+public interface ISTextKeywordsInStatesAndRegionsStatemachine
+		extends
+			IStatemachine {
+
+	public interface SCIDefault {
+		public void raiseE1();
+		public void raiseE2();
+
+	}
+
+	public SCIDefault getSCIDefault();
+
+}

Dosya farkı çok büyük olduğundan ihmal edildi
+ 949 - 165
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/stextkeywordsinstatesandregions/STextKeywordsInStatesAndRegionsStatemachine.java


+ 502 - 48
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/sct/generator/java/test/StextKeywordsTest.java

@@ -1,48 +1,502 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.generator.java.test;
-
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-import static org.junit.Assert.*;
-import org.yakindu.scr.stextkeywordsinstatesandregions.STextKeywordsInStatesAndRegionsStatemachine;
-import org.yakindu.scr.stextkeywordsinstatesandregions.STextKeywordsInStatesAndRegionsStatemachine.State;
-/**
- *  Unit TestCase for STextKeywordsInStatesAndRegions
- */
-@SuppressWarnings("all")
-public class StextKeywordsTest {
-
-	private STextKeywordsInStatesAndRegionsStatemachine statemachine;
-
-	@Before
-	public void setUp() {
-		statemachine = new STextKeywordsInStatesAndRegionsStatemachine();
-		statemachine.init();
-	}
-
-	@After
-	public void tearDown() {
-		statemachine = null;
-	}
-
-	@Test
-	public void testactiveCheckWithSTextNamedStates() {
-		statemachine.enter();
-		assertTrue(statemachine.isStateActive(State.default_var));
-		assertTrue(statemachine.isStateActive(State.operation_interface));
-		statemachine.runCycle();
-		assertTrue(statemachine.isStateActive(State.default_var));
-		assertTrue(statemachine.isStateActive(State.operation_active));
-		statemachine.runCycle();
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.generator.java.test;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import static org.junit.Assert.*;
+import org.yakindu.scr.stextkeywordsinstatesandregions.STextKeywordsInStatesAndRegionsStatemachine;
+import org.yakindu.scr.stextkeywordsinstatesandregions.STextKeywordsInStatesAndRegionsStatemachine.State;
+/**
+ *  Unit TestCase for STextKeywordsInStatesAndRegions
+ */
+@SuppressWarnings("all")
+public class StextKeywordsTest {
+
+	private STextKeywordsInStatesAndRegionsStatemachine statemachine;
+
+	@Before
+	public void setUp() {
+		statemachine = new STextKeywordsInStatesAndRegionsStatemachine();
+		statemachine.init();
+	}
+
+	@After
+	public void tearDown() {
+		statemachine = null;
+	}
+
+	@Test
+	public void testactiveCheckWithSTextNamedStates() {
+		statemachine.enter();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_interface));
+		assertTrue(statemachine.isStateActive(State.namespace_event));
+		assertTrue(statemachine.isStateActive(State.local_in));
+		assertTrue(statemachine.isStateActive(State.interface_var));
+		assertTrue(statemachine.isStateActive(State.internal_external));
+		assertTrue(statemachine.isStateActive(State.event_default));
+		assertTrue(statemachine.isStateActive(State.in_entry));
+		assertTrue(statemachine.isStateActive(State.out_always));
+		assertTrue(statemachine.isStateActive(State.var_raise));
+		assertTrue(statemachine.isStateActive(State.readonly_active));
+		assertTrue(statemachine.isStateActive(State.external_interface));
+		assertTrue(statemachine.isStateActive(State.else_event));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE1();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_event));
+		assertTrue(statemachine.isStateActive(State.local_in));
+		assertTrue(statemachine.isStateActive(State.interface_var));
+		assertTrue(statemachine.isStateActive(State.internal_external));
+		assertTrue(statemachine.isStateActive(State.event_default));
+		assertTrue(statemachine.isStateActive(State.in_entry));
+		assertTrue(statemachine.isStateActive(State.out_always));
+		assertTrue(statemachine.isStateActive(State.var_raise));
+		assertTrue(statemachine.isStateActive(State.readonly_active));
+		assertTrue(statemachine.isStateActive(State.external_interface));
+		assertTrue(statemachine.isStateActive(State.else_event));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE2();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_in));
+		assertTrue(statemachine.isStateActive(State.interface_var));
+		assertTrue(statemachine.isStateActive(State.internal_external));
+		assertTrue(statemachine.isStateActive(State.event_default));
+		assertTrue(statemachine.isStateActive(State.in_entry));
+		assertTrue(statemachine.isStateActive(State.out_always));
+		assertTrue(statemachine.isStateActive(State.var_raise));
+		assertTrue(statemachine.isStateActive(State.readonly_active));
+		assertTrue(statemachine.isStateActive(State.external_interface));
+		assertTrue(statemachine.isStateActive(State.else_event));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE1();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_var));
+		assertTrue(statemachine.isStateActive(State.internal_external));
+		assertTrue(statemachine.isStateActive(State.event_default));
+		assertTrue(statemachine.isStateActive(State.in_entry));
+		assertTrue(statemachine.isStateActive(State.out_always));
+		assertTrue(statemachine.isStateActive(State.var_raise));
+		assertTrue(statemachine.isStateActive(State.readonly_active));
+		assertTrue(statemachine.isStateActive(State.external_interface));
+		assertTrue(statemachine.isStateActive(State.else_event));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE2();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_external));
+		assertTrue(statemachine.isStateActive(State.event_default));
+		assertTrue(statemachine.isStateActive(State.in_entry));
+		assertTrue(statemachine.isStateActive(State.out_always));
+		assertTrue(statemachine.isStateActive(State.var_raise));
+		assertTrue(statemachine.isStateActive(State.readonly_active));
+		assertTrue(statemachine.isStateActive(State.external_interface));
+		assertTrue(statemachine.isStateActive(State.else_event));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE1();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_default));
+		assertTrue(statemachine.isStateActive(State.in_entry));
+		assertTrue(statemachine.isStateActive(State.out_always));
+		assertTrue(statemachine.isStateActive(State.var_raise));
+		assertTrue(statemachine.isStateActive(State.readonly_active));
+		assertTrue(statemachine.isStateActive(State.external_interface));
+		assertTrue(statemachine.isStateActive(State.else_event));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE2();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_entry));
+		assertTrue(statemachine.isStateActive(State.out_always));
+		assertTrue(statemachine.isStateActive(State.var_raise));
+		assertTrue(statemachine.isStateActive(State.readonly_active));
+		assertTrue(statemachine.isStateActive(State.external_interface));
+		assertTrue(statemachine.isStateActive(State.else_event));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE1();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_always));
+		assertTrue(statemachine.isStateActive(State.var_raise));
+		assertTrue(statemachine.isStateActive(State.readonly_active));
+		assertTrue(statemachine.isStateActive(State.external_interface));
+		assertTrue(statemachine.isStateActive(State.else_event));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE2();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_raise));
+		assertTrue(statemachine.isStateActive(State.readonly_active));
+		assertTrue(statemachine.isStateActive(State.external_interface));
+		assertTrue(statemachine.isStateActive(State.else_event));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE1();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_valueof));
+		assertTrue(statemachine.isStateActive(State.readonly_active));
+		assertTrue(statemachine.isStateActive(State.external_interface));
+		assertTrue(statemachine.isStateActive(State.else_event));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE2();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_valueof));
+		assertTrue(statemachine.isStateActive(State.readonly_namespace));
+		assertTrue(statemachine.isStateActive(State.external_interface));
+		assertTrue(statemachine.isStateActive(State.else_event));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE1();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_valueof));
+		assertTrue(statemachine.isStateActive(State.readonly_namespace));
+		assertTrue(statemachine.isStateActive(State.external_internal));
+		assertTrue(statemachine.isStateActive(State.else_event));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE2();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_valueof));
+		assertTrue(statemachine.isStateActive(State.readonly_namespace));
+		assertTrue(statemachine.isStateActive(State.external_internal));
+		assertTrue(statemachine.isStateActive(State.else_local));
+		assertTrue(statemachine.isStateActive(State.entry_in));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE1();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_valueof));
+		assertTrue(statemachine.isStateActive(State.readonly_namespace));
+		assertTrue(statemachine.isStateActive(State.external_internal));
+		assertTrue(statemachine.isStateActive(State.else_local));
+		assertTrue(statemachine.isStateActive(State.entry_out));
+		assertTrue(statemachine.isStateActive(State.exit_var));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE2();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_valueof));
+		assertTrue(statemachine.isStateActive(State.readonly_namespace));
+		assertTrue(statemachine.isStateActive(State.external_internal));
+		assertTrue(statemachine.isStateActive(State.else_local));
+		assertTrue(statemachine.isStateActive(State.entry_out));
+		assertTrue(statemachine.isStateActive(State.exit_readonly));
+		assertTrue(statemachine.isStateActive(State.always_external));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE1();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_valueof));
+		assertTrue(statemachine.isStateActive(State.readonly_namespace));
+		assertTrue(statemachine.isStateActive(State.external_internal));
+		assertTrue(statemachine.isStateActive(State.else_local));
+		assertTrue(statemachine.isStateActive(State.entry_out));
+		assertTrue(statemachine.isStateActive(State.exit_readonly));
+		assertTrue(statemachine.isStateActive(State.always_operation));
+		assertTrue(statemachine.isStateActive(State.oncycle_default));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE2();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_valueof));
+		assertTrue(statemachine.isStateActive(State.readonly_namespace));
+		assertTrue(statemachine.isStateActive(State.external_internal));
+		assertTrue(statemachine.isStateActive(State.else_local));
+		assertTrue(statemachine.isStateActive(State.entry_out));
+		assertTrue(statemachine.isStateActive(State.exit_readonly));
+		assertTrue(statemachine.isStateActive(State.always_operation));
+		assertTrue(statemachine.isStateActive(State.oncycle_else));
+		assertTrue(statemachine.isStateActive(State.raise_entry));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE1();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_valueof));
+		assertTrue(statemachine.isStateActive(State.readonly_namespace));
+		assertTrue(statemachine.isStateActive(State.external_internal));
+		assertTrue(statemachine.isStateActive(State.else_local));
+		assertTrue(statemachine.isStateActive(State.entry_out));
+		assertTrue(statemachine.isStateActive(State.exit_readonly));
+		assertTrue(statemachine.isStateActive(State.always_operation));
+		assertTrue(statemachine.isStateActive(State.oncycle_else));
+		assertTrue(statemachine.isStateActive(State.raise_exit));
+		assertTrue(statemachine.isStateActive(State.valueof_always));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE2();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_valueof));
+		assertTrue(statemachine.isStateActive(State.readonly_namespace));
+		assertTrue(statemachine.isStateActive(State.external_internal));
+		assertTrue(statemachine.isStateActive(State.else_local));
+		assertTrue(statemachine.isStateActive(State.entry_out));
+		assertTrue(statemachine.isStateActive(State.exit_readonly));
+		assertTrue(statemachine.isStateActive(State.always_operation));
+		assertTrue(statemachine.isStateActive(State.oncycle_else));
+		assertTrue(statemachine.isStateActive(State.raise_exit));
+		assertTrue(statemachine.isStateActive(State.valueof_oncycle));
+		assertTrue(statemachine.isStateActive(State.active_raise));
+		statemachine.raiseE1();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_valueof));
+		assertTrue(statemachine.isStateActive(State.readonly_namespace));
+		assertTrue(statemachine.isStateActive(State.external_internal));
+		assertTrue(statemachine.isStateActive(State.else_local));
+		assertTrue(statemachine.isStateActive(State.entry_out));
+		assertTrue(statemachine.isStateActive(State.exit_readonly));
+		assertTrue(statemachine.isStateActive(State.always_operation));
+		assertTrue(statemachine.isStateActive(State.oncycle_else));
+		assertTrue(statemachine.isStateActive(State.raise_exit));
+		assertTrue(statemachine.isStateActive(State.valueof_oncycle));
+		assertTrue(statemachine.isStateActive(State.active_valueof));
+		statemachine.raiseE2();
+		statemachine.runCycle();
+		assertTrue(statemachine.isStateActive(State.default_namespace));
+		assertTrue(statemachine.isStateActive(State.operation_internal));
+		assertTrue(statemachine.isStateActive(State.namespace_local));
+		assertTrue(statemachine.isStateActive(State.local_out));
+		assertTrue(statemachine.isStateActive(State.interface_readonly));
+		assertTrue(statemachine.isStateActive(State.internal_operation));
+		assertTrue(statemachine.isStateActive(State.event_else));
+		assertTrue(statemachine.isStateActive(State.in_exit));
+		assertTrue(statemachine.isStateActive(State.out_oncycle));
+		assertTrue(statemachine.isStateActive(State.var_valueof));
+		assertTrue(statemachine.isStateActive(State.readonly_namespace));
+		assertTrue(statemachine.isStateActive(State.external_internal));
+		assertTrue(statemachine.isStateActive(State.else_local));
+		assertTrue(statemachine.isStateActive(State.entry_out));
+		assertTrue(statemachine.isStateActive(State.exit_readonly));
+		assertTrue(statemachine.isStateActive(State.always_operation));
+		assertTrue(statemachine.isStateActive(State.oncycle_else));
+		assertTrue(statemachine.isStateActive(State.raise_exit));
+		assertTrue(statemachine.isStateActive(State.valueof_oncycle));
+		assertTrue(statemachine.isStateActive(State.active_valueof));
+	}
+}

+ 507 - 53
test-plugins/org.yakindu.sct.model.sexec.interpreter.test/src-gen/org/yakindu/sct/model/sexec/interpreter/test/STextKeywordsInStatesAndRegionsTest.java

@@ -1,53 +1,507 @@
-/**
- * Copyright (c) 2012 committers of YAKINDU and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- *     committers of YAKINDU - initial API and implementation
- */
-package org.yakindu.sct.model.sexec.interpreter.test;
-import org.eclipse.xtext.junit4.InjectWith;
-import org.eclipse.xtext.junit4.XtextRunner;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
-import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
-import com.google.inject.Inject;
-import org.junit.Before;
-import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
-import org.yakindu.sct.model.sexec.ExecutionFlow;
-import util.TestModels;
-import static junit.framework.Assert.*;
-/**
- *  Unit TestCase for STextKeywordsInStatesAndRegions
- */
-@SuppressWarnings("all")
-@RunWith(XtextRunner.class)
-@InjectWith(SExecInjectionProvider.class)
-public class STextKeywordsInStatesAndRegionsTest
-		extends
-			AbstractExecutionFlowTest {
-
-	@Inject
-	private TestModels models;
-
-	@Before
-	public void setup() throws Exception {
-		ExecutionFlow flow = models
-				.loadExecutionFlowFromResource("STextKeywordsInStatesAndRegions.sct");
-		initInterpreter(flow);
-	}
-	@Test
-	public void activeCheckWithSTextNamedStates() throws Exception {
-		interpreter.enter();
-		assertTrue(isActive("var"));
-		assertTrue(isActive("interface"));
-		interpreter.runCycle();
-		assertTrue(isActive("var"));
-		assertTrue(isActive("active"));
-		interpreter.runCycle();
-	}
-}
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package org.yakindu.sct.model.sexec.interpreter.test;
+import org.eclipse.xtext.junit4.InjectWith;
+import org.eclipse.xtext.junit4.XtextRunner;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.yakindu.sct.model.sexec.interpreter.test.util.AbstractExecutionFlowTest;
+import org.yakindu.sct.model.sexec.interpreter.test.util.SExecInjectionProvider;
+import com.google.inject.Inject;
+import org.junit.Before;
+import org.yakindu.sct.model.sexec.interpreter.IExecutionFlowInterpreter;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import util.TestModels;
+import static junit.framework.Assert.*;
+/**
+ *  Unit TestCase for STextKeywordsInStatesAndRegions
+ */
+@SuppressWarnings("all")
+@RunWith(XtextRunner.class)
+@InjectWith(SExecInjectionProvider.class)
+public class STextKeywordsInStatesAndRegionsTest
+		extends
+			AbstractExecutionFlowTest {
+
+	@Inject
+	private TestModels models;
+
+	@Before
+	public void setup() throws Exception {
+		ExecutionFlow flow = models
+				.loadExecutionFlowFromResource("STextKeywordsInStatesAndRegions.sct");
+		initInterpreter(flow);
+	}
+	@Test
+	public void activeCheckWithSTextNamedStates() throws Exception {
+		interpreter.enter();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("interface"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		assertTrue(isActive("active"));
+		assertTrue(isActive("interface"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		assertTrue(isActive("active"));
+		assertTrue(isActive("interface"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e2");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		assertTrue(isActive("active"));
+		assertTrue(isActive("interface"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		assertTrue(isActive("active"));
+		assertTrue(isActive("interface"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e2");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		assertTrue(isActive("active"));
+		assertTrue(isActive("interface"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		assertTrue(isActive("active"));
+		assertTrue(isActive("interface"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e2");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		assertTrue(isActive("active"));
+		assertTrue(isActive("interface"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		assertTrue(isActive("active"));
+		assertTrue(isActive("interface"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e2");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("raise"));
+		assertTrue(isActive("active"));
+		assertTrue(isActive("interface"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		assertTrue(isActive("active"));
+		assertTrue(isActive("interface"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e2");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("interface"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("event"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e2");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("in"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("var"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e2");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("external"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("default"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e2");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("entry"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("always"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e2");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("raise"));
+		raiseEvent("e1");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		raiseEvent("e2");
+		interpreter.runCycle();
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+		assertTrue(isActive("namespace"));
+		assertTrue(isActive("internal"));
+		assertTrue(isActive("local"));
+		assertTrue(isActive("out"));
+		assertTrue(isActive("readonly"));
+		assertTrue(isActive("operation"));
+		assertTrue(isActive("else"));
+		assertTrue(isActive("exit"));
+		assertTrue(isActive("oncycle"));
+		assertTrue(isActive("valueof"));
+	}
+}

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1635 - 154
test-plugins/org.yakindu.sct.test.models/testmodels/STextKeywordsInStatesAndRegions.sct


+ 478 - 3
test-plugins/org.yakindu.sct.test.models/tests/StextKeywordsInStatesAndRegions.sctunit

@@ -3,14 +3,489 @@ testgroup StextKeywords for statechart STextKeywordsInStatesAndRegions{
 	test activeCheckWithSTextNamedStates { 
 		
 		enter
-		assert active(STextKeywordsInStatesAndRegions.default.var)
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
 		assert active(STextKeywordsInStatesAndRegions.operation.interface)
+		assert active(STextKeywordsInStatesAndRegions.namespace.event)
+		assert active(STextKeywordsInStatesAndRegions.local.in)
+		assert active(STextKeywordsInStatesAndRegions.interface.var)
+		assert active(STextKeywordsInStatesAndRegions.internal.external)
+		assert active(STextKeywordsInStatesAndRegions.event.default)
+		assert active(STextKeywordsInStatesAndRegions.in.entry)
+		assert active(STextKeywordsInStatesAndRegions.out.always)
+		assert active(STextKeywordsInStatesAndRegions.var.raise)
+		assert active(STextKeywordsInStatesAndRegions.readonly.active)
+		assert active(STextKeywordsInStatesAndRegions.external.interface)
+		assert active(STextKeywordsInStatesAndRegions.else.event)
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)
+				
+		raise e1
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) //x
+		assert active(STextKeywordsInStatesAndRegions.namespace.event)
+		assert active(STextKeywordsInStatesAndRegions.local.in)
+		assert active(STextKeywordsInStatesAndRegions.interface.var)
+		assert active(STextKeywordsInStatesAndRegions.internal.external)
+		assert active(STextKeywordsInStatesAndRegions.event.default)
+		assert active(STextKeywordsInStatesAndRegions.in.entry)
+		assert active(STextKeywordsInStatesAndRegions.out.always)
+		assert active(STextKeywordsInStatesAndRegions.var.raise)
+		assert active(STextKeywordsInStatesAndRegions.readonly.active)
+		assert active(STextKeywordsInStatesAndRegions.external.interface)
+		assert active(STextKeywordsInStatesAndRegions.else.event)
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)
+		
+		raise e2
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local) //x
+		assert active(STextKeywordsInStatesAndRegions.local.in)
+		assert active(STextKeywordsInStatesAndRegions.interface.var)
+		assert active(STextKeywordsInStatesAndRegions.internal.external)
+		assert active(STextKeywordsInStatesAndRegions.event.default)
+		assert active(STextKeywordsInStatesAndRegions.in.entry)
+		assert active(STextKeywordsInStatesAndRegions.out.always)
+		assert active(STextKeywordsInStatesAndRegions.var.raise)
+		assert active(STextKeywordsInStatesAndRegions.readonly.active)
+		assert active(STextKeywordsInStatesAndRegions.external.interface)
+		assert active(STextKeywordsInStatesAndRegions.else.event)
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)
+		
+		raise e1
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out) //x
+		assert active(STextKeywordsInStatesAndRegions.interface.var)
+		assert active(STextKeywordsInStatesAndRegions.internal.external)
+		assert active(STextKeywordsInStatesAndRegions.event.default)
+		assert active(STextKeywordsInStatesAndRegions.in.entry)
+		assert active(STextKeywordsInStatesAndRegions.out.always)
+		assert active(STextKeywordsInStatesAndRegions.var.raise)
+		assert active(STextKeywordsInStatesAndRegions.readonly.active)
+		assert active(STextKeywordsInStatesAndRegions.external.interface)
+		assert active(STextKeywordsInStatesAndRegions.else.event)
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)
+		
+		raise e2
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly) //x
+		assert active(STextKeywordsInStatesAndRegions.internal.external)
+		assert active(STextKeywordsInStatesAndRegions.event.default)
+		assert active(STextKeywordsInStatesAndRegions.in.entry)
+		assert active(STextKeywordsInStatesAndRegions.out.always)
+		assert active(STextKeywordsInStatesAndRegions.var.raise)
+		assert active(STextKeywordsInStatesAndRegions.readonly.active)
+		assert active(STextKeywordsInStatesAndRegions.external.interface)
+		assert active(STextKeywordsInStatesAndRegions.else.event)
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)		
+		
+		raise e1	
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation) //x
+		assert active(STextKeywordsInStatesAndRegions.event.default)
+		assert active(STextKeywordsInStatesAndRegions.in.entry)
+		assert active(STextKeywordsInStatesAndRegions.out.always)
+		assert active(STextKeywordsInStatesAndRegions.var.raise)
+		assert active(STextKeywordsInStatesAndRegions.readonly.active)
+		assert active(STextKeywordsInStatesAndRegions.external.interface)
+		assert active(STextKeywordsInStatesAndRegions.else.event)
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)			
+		
+		raise e2
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else) //x
+		assert active(STextKeywordsInStatesAndRegions.in.entry)
+		assert active(STextKeywordsInStatesAndRegions.out.always)
+		assert active(STextKeywordsInStatesAndRegions.var.raise)
+		assert active(STextKeywordsInStatesAndRegions.readonly.active)
+		assert active(STextKeywordsInStatesAndRegions.external.interface)
+		assert active(STextKeywordsInStatesAndRegions.else.event)
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)	
+		 
+		raise e1
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit) //x
+		assert active(STextKeywordsInStatesAndRegions.out.always) 
+		assert active(STextKeywordsInStatesAndRegions.var.raise)
+		assert active(STextKeywordsInStatesAndRegions.readonly.active)
+		assert active(STextKeywordsInStatesAndRegions.external.interface)
+		assert active(STextKeywordsInStatesAndRegions.else.event)
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)			 
+		 
+		raise e2
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) //x 
+		assert active(STextKeywordsInStatesAndRegions.var.raise)
+		assert active(STextKeywordsInStatesAndRegions.readonly.active)
+		assert active(STextKeywordsInStatesAndRegions.external.interface)
+		assert active(STextKeywordsInStatesAndRegions.else.event)
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)				 
+		 
+		raise e1
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) 
+		assert active(STextKeywordsInStatesAndRegions.var.valueof) //x
+		assert active(STextKeywordsInStatesAndRegions.readonly.active)
+		assert active(STextKeywordsInStatesAndRegions.external.interface)
+		assert active(STextKeywordsInStatesAndRegions.else.event)
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)	
+		
+		raise e2
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) 
+		assert active(STextKeywordsInStatesAndRegions.var.valueof)
+		assert active(STextKeywordsInStatesAndRegions.readonly.namespace) //x
+		assert active(STextKeywordsInStatesAndRegions.external.interface)
+		assert active(STextKeywordsInStatesAndRegions.else.event)
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)	
+		
+		raise e1
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) 
+		assert active(STextKeywordsInStatesAndRegions.var.valueof)
+		assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
+		assert active(STextKeywordsInStatesAndRegions.external.internal) //x
+		assert active(STextKeywordsInStatesAndRegions.else.event)
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)	
+		
+		raise e2
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) 
+		assert active(STextKeywordsInStatesAndRegions.var.valueof)
+		assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
+		assert active(STextKeywordsInStatesAndRegions.external.internal)
+		assert active(STextKeywordsInStatesAndRegions.else.local) //x
+		assert active(STextKeywordsInStatesAndRegions.entry.in)
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)	
+		
+		raise e1
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) 
+		assert active(STextKeywordsInStatesAndRegions.var.valueof)
+		assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
+		assert active(STextKeywordsInStatesAndRegions.external.internal)
+		assert active(STextKeywordsInStatesAndRegions.else.local)
+		assert active(STextKeywordsInStatesAndRegions.entry.out) //x
+		assert active(STextKeywordsInStatesAndRegions.exit.var)
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)
+			
+		raise e2	
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) 
+		assert active(STextKeywordsInStatesAndRegions.var.valueof)
+		assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
+		assert active(STextKeywordsInStatesAndRegions.external.internal)
+		assert active(STextKeywordsInStatesAndRegions.else.local)
+		assert active(STextKeywordsInStatesAndRegions.entry.out)
+		assert active(STextKeywordsInStatesAndRegions.exit.readonly) //x
+		assert active(STextKeywordsInStatesAndRegions.always.external)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)		
+				 
+		raise e1		 
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) 
+		assert active(STextKeywordsInStatesAndRegions.var.valueof)
+		assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
+		assert active(STextKeywordsInStatesAndRegions.external.internal)
+		assert active(STextKeywordsInStatesAndRegions.else.local)
+		assert active(STextKeywordsInStatesAndRegions.entry.out)
+		assert active(STextKeywordsInStatesAndRegions.exit.readonly)
+		assert active(STextKeywordsInStatesAndRegions.always.operation) //x
+		assert active(STextKeywordsInStatesAndRegions.oncycle.default)
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)					 
 		
+		raise e2 
 		cycle
-		assert active(STextKeywordsInStatesAndRegions.default.var)
-		assert active(STextKeywordsInStatesAndRegions.operation.active)		
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) 
+		assert active(STextKeywordsInStatesAndRegions.var.valueof)
+		assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
+		assert active(STextKeywordsInStatesAndRegions.external.internal)
+		assert active(STextKeywordsInStatesAndRegions.else.local)
+		assert active(STextKeywordsInStatesAndRegions.entry.out)
+		assert active(STextKeywordsInStatesAndRegions.exit.readonly)
+		assert active(STextKeywordsInStatesAndRegions.always.operation)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.else) //x
+		assert active(STextKeywordsInStatesAndRegions.raise.entry)
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)	
 		 
+		raise e1 
 		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) 
+		assert active(STextKeywordsInStatesAndRegions.var.valueof)
+		assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
+		assert active(STextKeywordsInStatesAndRegions.external.internal)
+		assert active(STextKeywordsInStatesAndRegions.else.local)
+		assert active(STextKeywordsInStatesAndRegions.entry.out)
+		assert active(STextKeywordsInStatesAndRegions.exit.readonly)
+		assert active(STextKeywordsInStatesAndRegions.always.operation)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.else)
+		assert active(STextKeywordsInStatesAndRegions.raise.exit) //x
+		assert active(STextKeywordsInStatesAndRegions.valueof.always)
+		assert active(STextKeywordsInStatesAndRegions.active.raise)			 
+		
+		raise e2 
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) 
+		assert active(STextKeywordsInStatesAndRegions.var.valueof)
+		assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
+		assert active(STextKeywordsInStatesAndRegions.external.internal)
+		assert active(STextKeywordsInStatesAndRegions.else.local)
+		assert active(STextKeywordsInStatesAndRegions.entry.out)
+		assert active(STextKeywordsInStatesAndRegions.exit.readonly)
+		assert active(STextKeywordsInStatesAndRegions.always.operation)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.else)
+		assert active(STextKeywordsInStatesAndRegions.raise.exit)
+		assert active(STextKeywordsInStatesAndRegions.valueof.oncycle) //x
+		assert active(STextKeywordsInStatesAndRegions.active.raise)			 
+		
+		raise e1 
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) 
+		assert active(STextKeywordsInStatesAndRegions.var.valueof)
+		assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
+		assert active(STextKeywordsInStatesAndRegions.external.internal)
+		assert active(STextKeywordsInStatesAndRegions.else.local)
+		assert active(STextKeywordsInStatesAndRegions.entry.out)
+		assert active(STextKeywordsInStatesAndRegions.exit.readonly)
+		assert active(STextKeywordsInStatesAndRegions.always.operation)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.else)
+		assert active(STextKeywordsInStatesAndRegions.raise.exit)
+		assert active(STextKeywordsInStatesAndRegions.valueof.oncycle)
+		assert active(STextKeywordsInStatesAndRegions.active.valueof)	//x	 	 
+		
+		raise e2 
+		cycle
+		assert active(STextKeywordsInStatesAndRegions.default.namespace)
+		assert active(STextKeywordsInStatesAndRegions.operation.internal) 
+		assert active(STextKeywordsInStatesAndRegions.namespace.local)
+		assert active(STextKeywordsInStatesAndRegions.local.out)
+		assert active(STextKeywordsInStatesAndRegions.interface.readonly)
+		assert active(STextKeywordsInStatesAndRegions.internal.operation)
+		assert active(STextKeywordsInStatesAndRegions.event.else)
+		assert active(STextKeywordsInStatesAndRegions.in.exit)
+		assert active(STextKeywordsInStatesAndRegions.out.oncycle) 
+		assert active(STextKeywordsInStatesAndRegions.var.valueof)
+		assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
+		assert active(STextKeywordsInStatesAndRegions.external.internal)
+		assert active(STextKeywordsInStatesAndRegions.else.local)
+		assert active(STextKeywordsInStatesAndRegions.entry.out)
+		assert active(STextKeywordsInStatesAndRegions.exit.readonly)
+		assert active(STextKeywordsInStatesAndRegions.always.operation)
+		assert active(STextKeywordsInStatesAndRegions.oncycle.else)
+		assert active(STextKeywordsInStatesAndRegions.raise.exit)
+		assert active(STextKeywordsInStatesAndRegions.valueof.oncycle)
+		assert active(STextKeywordsInStatesAndRegions.active.valueof)	//x	  stay		 
+		 
+		
+		 
 	} 
 }