Debian Codegraph @

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