Commit 9cce1ae4 authored by Miklos Magyari's avatar Miklos Magyari

OOP: added basic syntax tests to regression tests

Signed-off-by: Miklos Magyari's avatarMiklos Magyari <miklos.magyari@sigmatechnology.se>
parent 28966c61
......@@ -9,6 +9,7 @@
* Magyari, Miklos
*
* This module tests the basic class syntax
* There should be no error markers for this file
*
* TTCN3 OOP extension v1.3.1
* https://www.etsi.org/deliver/etsi_es/203700_203799/203790/01.03.01_60/es_203790v010301p.pdf)
......@@ -18,7 +19,7 @@
module classes {
type component CT {
port PT pt;
port PT pt_PT;
}
type port PT message { inout integer; } with { extension "internal" }
......
......@@ -22,7 +22,8 @@ import org.junit.runners.Suite.SuiteClasses;
SelectUnionTest.class,
ExpectedValueTypeTest.class,
Structured.class,
ConfigFileTest.class
ConfigFileTest.class,
OOP_Syntax_tests.class
})
public class Basic_tests {
}
/******************************************************************************
* Copyright (c) 2000-2021 Ericsson Telecom AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
******************************************************************************/
package org.eclipse.titan.regressiontests.designer.statictests.Basic_tests;
import org.eclipse.titan.regressiontests.designer.Designer_plugin_tests;
import org.junit.Test;
public class OOP_Syntax_tests {
private static final String DIR_PATH = "src/Basic_tests/";
@Test
public void OOPSytax_Test() throws Exception {
checkZeroMarkersOnFile("OopPositiveBasicSyntax.ttcn");
}
private static void checkZeroMarkersOnFile(final String fileName) {
final String filePath = DIR_PATH + fileName;
Designer_plugin_tests.checkRealZeroSemanticMarkersOnFile(filePath);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment