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:16.2.1, Ensure that the IUT recognizes altstep definitions and correctly evaluates them
13 ** @verdict pass accept, ttcn3verdict:pass
14 ***************************************************/
15 module Sem_160201_invoking_altsteps_001 {
17 type record MessageType {
22 type port loopbackPort message {
24 } with {extension "internal"}
26 type component GeneralComp {
27 port loopbackPort messagePort
30 altstep AltSet1() runs on GeneralComp {
32 [] messagePort.receive {
38 testcase TC_Sem_160201_invoking_altsteps_001 () runs on GeneralComp {
39 var MessageType v_testMessage;
44 field2 := "test string"
47 connect(self:messagePort,self:messagePort);
49 messagePort.send(v_testMessage);
63 execute(TC_Sem_160201_invoking_altsteps_001());