Просмотр исходного кода

Added checkChoiceWithoutDefaultTransitionTest

Andreas Mülder 14 лет назад
Родитель
Сommit
14cc49d9cd

+ 10 - 1
test-plugins/org.yakindu.sct.model.stext.test/src/org/yakindu/sct/model/stext/test/STextJavaValidatorTest.java

@@ -266,7 +266,9 @@ public class STextJavaValidatorTest extends AbstractSTextTest {
 	public void checkExpression() {
 		// Nothing to do, checked by Typeanalyzer tests
 	}
-
+	/**
+	 * @see STextJavaValidator#checkVariableDefinitionInitialValue(org.yakindu.sct.model.stext.stext.VariableDefinition)
+	 */
 	@Test
 	public void checkVariableDefinitionInitialValue() {
 		// Success
@@ -282,6 +284,13 @@ public class STextJavaValidatorTest extends AbstractSTextTest {
 		result.assertDiagnosticsCount(1);
 		result.assertErrorContains("Can not assign a value of type 'integer' to a variable of type 'boolean'");
 	}
+	/**
+	 * @see STextJavaValidator#checkChoiceWithoutDefaultTransition(org.yakindu.sct.model.sgraph.Choice)
+	 */
+	@Test
+	public void checkChoiceWithoutDefaultTransition(){
+		//TODO
+	}
 
 	/**
 	 * checks tht each @Check method of {@link STextJavaValidator} has a @Test