/****************************************************************************** * 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 * * Contributors: * Balasko, Jeno * Beres, Szabolcs * ******************************************************************************/ // TTCN-3 version of "Hello, world!" module MyExample1 { type record of integer ROI; type port PCOType message { inout charstring; } type component MTCType { port PCOType MyPCO_PT; } testcase tc_HelloW() runs on MTCType system MTCType { map(mtc:MyPCO_PT, system:MyPCO_PT); MyPCO_PT.send("Hello, world!"); setverdict(pass); } function f_tmpl(in template integer pt1, out template integer pt2, inout template integer pt3) { for( var integer iii := 1, j:=10 ;iii