Debian Codegraph @

regression_test/compileonly/mfgen-xsd/normal/Main.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 Main {
13
14 import from www_example_org_Definitions all;
15
16 type component EmptyCT {}
17
18 const MyInt myInt := 5;
19
20 testcase tc_test() runs on EmptyCT {
21 var integer tempInt := myInt;
22 if (tempInt == 5) {
23 setverdict(pass);
24 } else {
25 setverdict(fail);
26 }
27 }
28
29 control {
30 execute(tc_test());
31 }
32
33 }
34