conformance_test/positive_tests added
[deliverable/titan.core.git] / conformance_test / positive_tests / 23_timer_operations / 2302_the_start_timer_operataion / NegSyn_2302_timer_start_012.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, Ensure timer start syntax
13 ** @verdict pass reject
14 ***************************************************/
15 // #reqname /Requirements/23 Timer operations/23.2 The start timer operation/Start timer syntax
16 // #reqname /Requirements/23 Timer operations/23.7 Summary of use of any and all with timers/Disallow all timer.start
17
18 module NegSyn_2302_timer_start_012 {
19 type component TComp{
20
21 timer t_timers[3] := {1.0, 1.0, 1.0};
22 }
23
24 testcase TC_NegSyn_2302_timer_start_012() runs on TComp{
25 // This is not allowed by the TTCN3 grammar
26 all timer.start;
27
28 }
29
30 control{
31
32 execute(TC_NegSyn_2302_timer_start_012())
33
34
35 }
36 }
This page took 0.038416 seconds and 5 git commands to generate.