1 /******************************************************************************
2 * Copyright (c) 2000-2016 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 v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
9 * Adrien Kirjak – initial implementation
12 ** @purpose 1:5.4.2, verify that the Example 5 can be executed
13 ** @verdict pass accept, ttcn3verdict:pass
14 ***************************************************/
16 module Sem_050402_actual_parameters_199 {
20 } with {extension "internal"}
22 type component GeneralComp {
26 // Given the message definition
27 type record MyMessageType
34 // A message template might be
35 template MyMessageType MyTemplate(integer MyValue) :=
38 field2 := pattern "abc*xyz",
42 testcase TC_Sem_050402_actual_parameters_199(template MyMessageType RxMsg) runs on GeneralComp {
43 connect(self:MyPCO,self:MyPCO);
44 MyPCO.send(MyMessageType:{7, "abcdefxyz", true });
50 execute(TC_Sem_050402_actual_parameters_199(MyTemplate(7)));