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:15.2, Ensure that the basic operations call and getreply are accepted.
13 ** @verdict pass accept, noexecution
14 *****************************************************************/
16 module Syn_1502_DeclaringSignatureTemplates_003 {
18 type port MyProcedurePortType procedure {
19 inout p_Syn_1502_DeclaringSignatureTemplates_003;
20 } with {extension "internal"}
22 type component GeneralComp {
23 port MyProcedurePortType pt_myPort;
26 signature p_Syn_1502_DeclaringSignatureTemplates_003(in integer p_par1, out integer p_par2, inout integer p_par3) return integer;
28 template p_Syn_1502_DeclaringSignatureTemplates_003 m_myTemplate := {
34 testcase TC_Syn_1502_DeclaringSignatureTemplates_003() runs on GeneralComp {
36 connect(self:pt_myPort,self:pt_myPort);
38 pt_myPort.call(p_Syn_1502_DeclaringSignatureTemplates_003:m_myTemplate, nowait);
40 pt_myPort.getcall(p_Syn_1502_DeclaringSignatureTemplates_003:m_myTemplate) // call -> getcall
42 pt_myPort.reply(p_Syn_1502_DeclaringSignatureTemplates_003:{p_par1 := 1, p_par2 := 2, p_par3 := 3} value 1); // reply -> getreply
44 pt_myPort.getreply(p_Syn_1502_DeclaringSignatureTemplates_003:m_myTemplate value 1);
50 execute(TC_Syn_1502_DeclaringSignatureTemplates_003());