/****************************************************************************** * Copyright (c) 2000-2014 Ericsson Telecom AB * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html ******************************************************************************/ module altsteps { import from types all; // Unhandled cases: p1_PT: boolean, pl_2: integer altstep as_1(test_port pl_2) runs on c1_CT { [] p1_PT.receive(t1:?) {} [] pl_2.receive(t2:*) {} } // No unhandled cases // pl_2: integer, pl_2: boolean are not unhandled cases (pl_2 is completely ignored) altstep as_2(test_port pl_2) runs on c1_CT { [] p1_PT.receive(t1:*) {} [] p1_PT.receive(t2:*) {} } // No unhandled cases altstep as_3(test_port pl_2) runs on c1_CT { [] p1_PT.receive(t1:*) {} [] p1_PT.receive(t2:*) {} [] pl_2.receive(t1:*) {} [] pl_2.receive(t2:*) {} } }