ItsCam_TestControl.ttcn 4.64 KB
Newer Older
filatov's avatar
filatov committed
1
/**
garciay's avatar
garciay committed
2
 *    @author   ETSI / STF405 / STF449 / STF484 / STF517
filatov's avatar
filatov committed
3
4
5
 *    @version  $URL$
 *              $Id$
 *    @desc     Test Control file for CAM
garciay's avatar
garciay committed
6
7
8
9
10
 *    @copyright   ETSI Copyright Notification
 *                 No part may be reproduced except as authorized by written permission.
 *                 The copyright and the foregoing restriction extend to reproduction in all media.
 *                 All rights reserved.
*
filatov's avatar
filatov committed
11
12
13
14
15
16
17
 */
module ItsCam_TestControl {
    
    // ATS CAM
    import from ItsCam_TestCases {testcase all};
    
    // LibIts
garciay's avatar
garciay committed
18
    import from LibItsCam_Pics all;
filatov's avatar
filatov committed
19
20
21
22
    
    // Test Execution
    control {
        
23
        if(PICS_CAM_GENERATION) {
garciay's avatar
garciay committed
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
            execute(TC_CAM_MSD_FMT_BV_01());
            if (not PICS_RSU) {
                execute(TC_CAM_MSD_FMT_BV_02());
                execute(TC_CAM_MSD_FMT_BV_03());
                execute(TC_CAM_MSD_FMT_BV_04());
                execute(TC_CAM_MSD_FMT_BV_05());
                execute(TC_CAM_MSD_INA_BV_01_01());
                execute(TC_CAM_MSD_INA_BV_01_02());
                execute(TC_CAM_MSD_INA_BV_01_03());
                execute(TC_CAM_MSD_INA_BV_01_04());
                execute(TC_CAM_MSD_INA_BV_01_05());
                execute(TC_CAM_MSD_INA_BV_01_06());
                execute(TC_CAM_MSD_INA_BV_01_07());
                execute(TC_CAM_MSD_INA_BV_01_08());
                execute(TC_CAM_MSD_INA_BV_01_09());
                execute(TC_CAM_MSD_INA_BV_01_10());
                execute(TC_CAM_MSD_INA_BV_01_11());
                execute(TC_CAM_MSD_INA_BV_01_12());
                execute(TC_CAM_MSD_INA_BV_01_13());
                execute(TC_CAM_MSD_INA_BV_01_14());
                execute(TC_CAM_MSD_INA_BV_01_15());
                execute(TC_CAM_MSD_INA_BV_01_16());
                execute(TC_CAM_MSD_INA_BV_01_17());
                execute(TC_CAM_MSD_INA_BV_01_18());
                execute(TC_CAM_MSD_INA_BV_01_19());
                execute(TC_CAM_MSD_INA_BV_01_20());
                execute(TC_CAM_MSD_INA_BV_01_21());
                execute(TC_CAM_MSD_INA_BV_01_22());
                execute(TC_CAM_MSD_INA_BV_01_23());
                execute(TC_CAM_MSD_INA_BV_01_24());
                execute(TC_CAM_MSD_INA_BV_01_25());
                execute(TC_CAM_MSD_INA_BV_01_26());
                execute(TC_CAM_MSD_INA_BV_01_27());
                execute(TC_CAM_MSD_INA_BV_01_28());
                execute(TC_CAM_MSD_INA_BV_01_29());
                execute(TC_CAM_MSD_INA_BV_01_30());
                execute(TC_CAM_MSD_INA_BV_01_31());
                execute(TC_CAM_MSD_INA_BV_01_32());
                execute(TC_CAM_MSD_INA_BV_01_33());
                execute(TC_CAM_MSD_INA_BV_01_34());
                execute(TC_CAM_MSD_INA_BV_01_35());
            }
            if (PICS_PUBLICTRANS) {
                execute(TC_CAM_MSD_INA_BV_02());
            }
            if (PICS_SPECIALTRANS) {
                execute(TC_CAM_MSD_INA_BV_03());
            }
            if (PICS_DANGEROUSGOODS) {
                execute(TC_CAM_MSD_INA_BV_04());
            }
            if (PICS_ROADWORKS) {
                execute(TC_CAM_MSD_INA_BV_05());
            }
            if (PICS_RESCUE) {
                execute(TC_CAM_MSD_INA_BV_06());
            }
            if (PICS_EMERGENCY) {
                execute(TC_CAM_MSD_INA_BV_07());
            }
            if (PICS_SAFETY_CAR) {
                execute(TC_CAM_MSD_INA_BV_08());
            }
            
            execute(TC_CAM_MSD_GFQ_TI_01());
            execute(TC_CAM_MSD_GFQ_TI_02());
            execute(TC_CAM_MSD_GFQ_TI_03());
            execute(TC_CAM_MSD_GFQ_BV_04());
            execute(TC_CAM_MSD_GFQ_BV_05());
            execute(TC_CAM_MSD_GFQ_BV_06());
            execute(TC_CAM_MSD_GFQ_TI_07());
            execute(TC_CAM_MSD_GFQ_TI_08());
            
            execute(TC_CAM_MSD_PAR_BV_01());
            execute(TC_CAM_MSD_PAR_BV_02());
            execute(TC_CAM_MSD_PAR_BV_03());
            
            if (PICS_IS_IUT_SECURED) {
garciay's avatar
garciay committed
102
                if (PICS_PUBLICTRANS and PICS_SPECIALVEHICLECONTAINER) {
103
104
                    execute(TC_CAM_MSD_SSP_BO_02());
                }
garciay's avatar
garciay committed
105
106
107
                if (PICS_SPECIALTRANS and PICS_SPECIALVEHICLECONTAINER) {
                    execute(TC_CAM_MSD_SSP_BO_03());
                }
108
            }
garciay's avatar
garciay committed
109
        }
filatov's avatar
filatov committed
110
        
111
        if(PICS_CAM_RECEPTION) {
garciay's avatar
garciay committed
112
113
            execute(TC_CAM_MSP_BV_01());
            if (PICS_IS_IUT_SECURED) {
114
115
116
                execute(TC_CAM_MSP_SSP_BV_02());
                execute(TC_CAM_MSP_SSP_BV_03());
            }
117
        }
filatov's avatar
filatov committed
118
119
120
121
        
    }
    
} // end ItsCam_TestControl