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:9.1, Verify that a component port can be mapped to TSI port
13 ** @verdict pass accept, ttcn3verdict:pass
14 ***************************************************/
16 /* NOTE: figure 6(b): Ensure that a component port can be mapped to a TSI port */
18 module Sem_0901_Communication_ports_010 {
20 type port MyPort message {
22 } with {extension "internal"}
24 type component GeneralComp
29 type component MyCompA
34 function checkMapped() runs on MyCompA
36 if(p.checkstate("Mapped")) {
37 setverdict(pass,"Mapped");
39 setverdict(fail,"Not Mapped");
43 testcase TC_Sem_0901_Communication_ports_010() runs on MyCompA system GeneralComp {
50 execute(TC_Sem_0901_Communication_ports_010());