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:21.3.6, Any component with running can check the status of the test components
13 ** @verdict pass accept, ttcn3verdict:pass
14 *****************************************************************/
15 module Sem_210306_running_operation_002 {
17 type component GeneralComp {}
19 function f1 ( ) runs on GeneralComp {
20 while (true) {} // block forever
23 testcase TC_Sem_210306_running_operation_002() runs on GeneralComp system GeneralComp {
26 ptc:=GeneralComp.create;
27 ptc2:=GeneralComp.create;
34 // Any component running test that from two test components at least one is running or not
35 if (any component.running == true) { //ptc2 running
38 setverdict(fail, "ptc2 should still be running");
43 execute(TC_Sem_210306_running_operation_002(), 5.0);