Debian Codegraph @

regression_test/compileonly/mfgen-xsd/tpd/TopMainNormal.ttcn

raw
1 /******************************************************************************
2 * Copyright (c) 2000-2021 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v2.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
7 *
8 * Contributors:
9 * Szabo, Bence Janos
10 *
11 ******************************************************************************/
12 module TopMainNormal {
13
14 import from MainExtNormal all;
15 import from MainExt2Normal all;
16
17 type component EmptyCT {}
18
19 const integer topInt := 5;
20
21 testcase tc_test() runs on EmptyCT {
22 var integer tempInt := topInt;
23 if (tempInt == 5) {
24 setverdict(pass);
25 } else {
26 setverdict(fail);
27 }
28 var universal charstring topStr := myString & myString2;
29 if (topStr == "almafaalmafa") {
30 setverdict(pass);
31 } else {
32 setverdict(fail);
33 }
34 }
35
36 control {
37 execute(tc_test());
38 }
39
40 }
41