/**
* Copyright (c) 2013 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* statechart = new STextKeywordsInStatesAndRegions();
	statechart->init();
	statechart->enter();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_interface));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_raise));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_active));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_interface));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e1();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_raise));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_active));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_interface));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e2();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_raise));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_active));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_interface));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e1();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_raise));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_active));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_interface));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e2();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_raise));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_active));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_interface));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e1();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_raise));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_active));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_interface));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e2();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_raise));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_active));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_interface));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e1();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_raise));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_active));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_interface));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e2();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_raise));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_active));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_interface));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e1();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_valueof));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_active));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_interface));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e2();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_valueof));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_interface));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e1();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_valueof));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_event));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e2();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_valueof));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_in));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e1();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_valueof));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_var));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e2();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_valueof));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_external));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e1();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_valueof));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_default));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e2();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_valueof));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_entry));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e1();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_valueof));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_always));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e2();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_valueof));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_raise));
	statechart->raise_e1();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_valueof));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_valueof));
	statechart->raise_e2();
	statechart->runCycle();
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_default_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_operation_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_namespace_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_local_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_interface_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_internal_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_event_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_in_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_out_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_var_valueof));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_readonly_namespace));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_external_internal));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_else_local));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_entry_out));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_exit_readonly));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_always_operation));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_oncycle_else));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_raise_exit));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_valueof_oncycle));
	EXPECT_TRUE(statechart->isActive(STextKeywordsInStatesAndRegions::STextKeywordsInStatesAndRegions_active_valueof));
	delete statechart;
}
