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:20.5.2, verify passing port parameter to activated altstep
13 ** @verdict pass accept, ttcn3verdict:pass
14 ***************************************************/
16 // The following requirement is tested:
17 // An altstep that is activated as a default shall only have in parameters, port parameters, or timer parameters.
19 module Sem_200502_the_activate_operation_004 {
23 } with {extension "internal"}
25 type component GeneralComp {
29 altstep a(P p_port) runs on GeneralComp {
30 [] p_port.receive(integer:?) { setverdict(pass); }
33 testcase TC_Sem_200502_the_activate_operation_004() runs on GeneralComp {
36 connect(self:p, self:p);
40 [] p.receive(integer:0) { setverdict(fail); }
45 execute(TC_Sem_200502_the_activate_operation_004());