فهرست منبع

Rebuild statemachine for OperationsCustomTest and removed Operationstest from AllTests

malknet42 11 سال پیش
والد
کامیت
0ad5910c99

+ 1 - 1
test-plugins/org.yakindu.sct.generator.java.test/src-gen/org/yakindu/scr/operations/OperationsStatemachine.java

@@ -160,7 +160,7 @@ public class OperationsStatemachine implements IOperationsStatemachine {
 
 
 	/* The reactions of state B. */
 	/* The reactions of state B. */
 	private void reactMain_region_B() {
 	private void reactMain_region_B() {
-		if (sCInterface.ev && !sCInterface.operationCallback.alwaysTrue()) {
+		if (sCInterface.ev && sCInterface.operationCallback.alwaysTrue()) {
 			nextStateIndex = 0;
 			nextStateIndex = 0;
 			stateVector[0] = State.$NullState$;
 			stateVector[0] = State.$NullState$;
 
 

+ 2 - 3
test-plugins/org.yakindu.sct.generator.java.test/test-gen/org/yakindu/sct/generator/java/test/AllTestsTest.java

@@ -27,9 +27,8 @@ import org.junit.runners.Suite.SuiteClasses;
 		InEventLifeCycleTest.class, IntegerExpressionsTest.class,
 		InEventLifeCycleTest.class, IntegerExpressionsTest.class,
 		InternalEventLifeCycleTest.class, LocalReactionsTest.class,
 		InternalEventLifeCycleTest.class, LocalReactionsTest.class,
 		LogicalAndTestsTest.class, LogicalOrTestsTest.class,
 		LogicalAndTestsTest.class, LogicalOrTestsTest.class,
-		NamedInterfaceAccessTest.class, OperationsTest.class,
-		OutEventLifeCycleTest.class, ParenthesisTest.class,
-		PriorityValuesTest.class, RaiseEventTest.class,
+		NamedInterfaceAccessTest.class, OutEventLifeCycleTest.class,
+		ParenthesisTest.class, PriorityValuesTest.class, RaiseEventTest.class,
 		SameNameDifferentRegionTest.class, ShallowHistoryTest.class,
 		SameNameDifferentRegionTest.class, ShallowHistoryTest.class,
 		SimpleEventTest.class, StatechartLocalReactionsTest.class,
 		SimpleEventTest.class, StatechartLocalReactionsTest.class,
 		SimpleHierachyTest.class, StateIsActiveTest.class,
 		SimpleHierachyTest.class, StateIsActiveTest.class,