Browse Source

fixed transformation tests

Axel Terfloth 9 years ago
parent
commit
4b5905428c

+ 2 - 2
test-plugins/org.yakindu.sct.model.sexec.test/src/org/yakindu/sct/model/sexec/transformation/test/ModelSequencerStateReactionTest.java

@@ -221,8 +221,8 @@ public class ModelSequencerStateReactionTest extends ModelSequencerTest {
 				.getLeftOperand();
 		LogicalOrExpression triggerCheck = (LogicalOrExpression) parenthesis
 				.getExpression();
-		PrimitiveValueExpression guardCheck = (PrimitiveValueExpression) and
-				.getRightOperand();
+		PrimitiveValueExpression guardCheck = (PrimitiveValueExpression) ((ParenthesizedExpression) and
+				.getRightOperand()).getExpression();
 
 		assertClass(ElementReferenceExpression.class,
 				triggerCheck.getLeftOperand());