Debian Codegraph @

regression_test/compileonly/mfgen-xsd/centralstorage/MainExtNormal.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 MainExtNormal {
13
14 import from MainNormal all;
15
16 type component EmptyCT {}
17
18 const universal charstring myString := "almafa";
19
20 testcase tc_test() runs on EmptyCT {
21 var universal charstring tempString := myString;
22 if (tempString == "almafa") {
23 setverdict(pass);
24 } else {
25 setverdict(fail);
26 }
27 var integer tempInt := 5;
28 if (tempInt == 5) {
29 setverdict(pass);
30 } else {
31 setverdict(fail);
32 }
33 }
34
35 control {
36 execute(tc_test());
37 }
38
39 }
40