conformance_test/positive_tests added
[deliverable/titan.core.git] / conformance_test / positive_tests / 23_timer_operations / 2305_the_running_timer_operation / Sem_2305_timer_running_003.ttcn
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
7 *
8 * Contributors:
9 * Adrien Kirjak – initial implementation
10 *
11 ** @version 0.0.1
12 ** @purpose 1:23.5, Ensure timer running operation works
13 ** @verdict pass accept, ttcn3verdict:pass
14 ***************************************************/
15 // #reqname /Requirements/23 Timer operations/23.5 The Running timer operation/The operation returns the value true if the timer is listed on the running list, false otherwise.
16
17
18 module Sem_2305_timer_running_003 {
19 type component TComp{
20 timer t_timer := 1.0;
21 }
22
23 testcase TC_Sem_2305_timer_running_003() runs on TComp{
24 t_timer.start;
25 t_timer.stop;
26 if (t_timer.running){
27 setverdict(fail);
28 } else {
29 setverdict(pass);
30 }
31 }
32
33 control{
34 execute(TC_Sem_2305_timer_running_003())
35 }
36 }
This page took 0.03181 seconds and 5 git commands to generate.