conformance_test/positive_tests added
[deliverable/titan.core.git] / conformance_test / positive_tests / 06_types_and_values / 0602_structured_types_and_values / 060209_comm_port_types / Syn_060209_CommunicationPortTypes_010.ttcn
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
7 *
8 * Contributors:
9 * Adrien Kirjak – initial implementation
10 *
11 ** @version 0.0.1
12 ** @purpose 1:6.2.9, Ensure that complex procedure-based port type definition are accepted
13 ** @verdict pass accept, noexecution
14 *****************************************************************/
15
16 module Syn_060209_CommunicationPortTypes_010 {
17
18 type record MyType1 {
19 integer f1,
20 charstring f2
21 }
22
23 type record MyType2 {
24 integer g1,
25 charstring g2
26 }
27
28 type record MyType3 {
29 boolean h1,
30 MyType3 h2 optional
31 }
32
33 signature S1();
34 signature S2(in integer p_par1);
35 signature S3(in charstring p_par1);
36
37 type port MyProcedurePortTypeOne procedure {
38 inout S1, S2, S3;
39 map param (in integer p1, inout MyType2 p2);
40 unmap param (in MyType3 p1, out integer p2);
41 address MyType1;
42 } with {extension "internal"}
43
44 }
This page took 0.030891 seconds and 5 git commands to generate.