AtsMec_TestControl.ttcn 3.25 KB
Newer Older
Yann Garcia's avatar
Yann Garcia committed
1
2
module AtsMec_TestControl {
  
Yann Garcia's avatar
Yann Garcia committed
3
  // LibMec/LocationAPI
Yann Garcia's avatar
Yann Garcia committed
4
  import from LocationAPI_Pics all;
Yann Garcia's avatar
Yann Garcia committed
5
  // LibMec/UEidentityAPI
Yann Garcia's avatar
Yann Garcia committed
6
  import from UEidentityAPI_Pics all;
Yann Garcia's avatar
Yann Garcia committed
7
8
  // LibMec/RnisAPI
  import from RnisAPI_Pics all;
YannGarcia's avatar
YannGarcia committed
9
10
  // LibMec/BwManagementAPI
  import from BwManagementAPI_Pics all;
YannGarcia's avatar
YannGarcia committed
11
12
  // LibMec/AppEnablementAPI
  import from AppEnablementAPI_Pics all;
Yann Garcia's avatar
Yann Garcia committed
13
14
15
16
17
18
  
  // LibMec
  import from LibMec_Pics all;
  
  // AtsMec
  import from AtsMec_LocationAPI_TestCases all;
Yann Garcia's avatar
Yann Garcia committed
19
  import from AtsMec_UEidentityAPI_TestCases all;
Yann Garcia's avatar
Yann Garcia committed
20
  import from AtsMec_RadioNodeLocationAPI_TestCases all;
Yann Garcia's avatar
Yann Garcia committed
21
  import from AtsMec_RnisAPI_TestCases all;
YannGarcia's avatar
YannGarcia committed
22
  import from AtsMec_BwManagementAPI_TestCases all;
YannGarcia's avatar
YannGarcia committed
23
  import from AtsMec_AppEnablementAPI_TestCases all;
Yann Garcia's avatar
Yann Garcia committed
24
25
26
  
  control {
    
27
    if (PICS_MEC_PLAT and PICS_SERVICES) {
28
29
30
31
32
33
      if (PICS_UE_IDENTITY_API_SUPPORTED) {
        execute(TC_MEC_SRV_UETAG_001_OK());
        execute(TC_MEC_SRV_UETAG_001_BR());
        execute(TC_MEC_SRV_UETAG_001_NF());
        execute(TC_MEC_SRV_UETAG_002_OK());
        execute(TC_MEC_SRV_UETAG_002_BR());
YannGarcia's avatar
YannGarcia committed
34
        execute(TC_MEC_SRV_UETAG_002_PF());
35
      }
Yann Garcia's avatar
Yann Garcia committed
36
      if (PICS_LOCATION_API_SUPPORTED) {
37
38
39
        execute(TC_MEC_SRV_UELOC_001_OK());
        execute(TC_MEC_SRV_UELOC_001_BR());
        execute(TC_MEC_SRV_UELOC_001_NF());
40
        
41
42
43
44
        execute(TC_MEC_SRV_UELOCSUB_001_OK());
        execute(TC_MEC_SRV_UELOCSUB_001_BR());
        execute(TC_MEC_SRV_UELOCSUB_002_OK());
        execute(TC_MEC_SRV_UELOCSUB_002_NF());
45
46
47
48
49
50
        
        execute(TC_MEC_SRV_UETRACKSUB_001_OK());
        execute(TC_MEC_SRV_UETRACKSUB_001_BR());
        execute(TC_MEC_SRV_UETRACKSUB_002_OK());
        execute(TC_MEC_SRV_UETRACKSUB_002_NF());
        
51
52
53
        execute(TC_MEC_SRV_UEINFLOOK_001_OK());
        execute(TC_MEC_SRV_UEINFLOOK_001_BR());
        execute(TC_MEC_SRV_UEINFLOOK_001_NF());
54
        
55
56
57
58
59
        execute(TC_MEC_SRV_UEINFSUB_001_OK());
        execute(TC_MEC_SRV_UEINFSUB_001_BR());
        execute(TC_MEC_SRV_UEINFSUB_002_OK());
        execute(TC_MEC_SRV_UEINFSUB_002_NF());
        
YannGarcia's avatar
YannGarcia committed
60
        execute(TC_MEC_PLAT_RLOC_001_OK());
Yann Garcia's avatar
Yann Garcia committed
61
      }
YannGarcia's avatar
YannGarcia committed
62
63
64
      
      if (PICS_ENABLE_APP_API_SUPPORTED) {
        execute(TC_MEC_SRV_TRANS_001_OK());
YannGarcia's avatar
YannGarcia committed
65
66
67
68
        execute(TC_MEC_SRV_TRAF_001_OK());
        execute(TC_MEC_SRV_TRAF_002_OK());
        execute(TC_MEC_SRV_TRAF_003_OK());
        execute(TC_MEC_SRV_TRAF_001_NF());
YannGarcia's avatar
YannGarcia committed
69
      }
Yann Garcia's avatar
Yann Garcia committed
70
    }
Yann Garcia's avatar
Yann Garcia committed
71

72
73
    if (PICS_RNIS) {
      if (PICS_RNIS_ALL_SUBSCRIPTIONS) {
YannGarcia's avatar
YannGarcia committed
74
        execute(TC_MEC_SRV_RNIS_011_OK());
YannGarcia's avatar
YannGarcia committed
75
76
77
78
79
80
        execute(TC_MEC_SRV_RNIS_012_OK());
        execute(TC_MEC_SRV_RNIS_011_BR());
        execute(TC_MEC_SRV_RNIS_012_BR());
      }
      if (PICS_RNIS_QUERY) {
        execute(TC_MEC_SRV_RNIS_016_OK());
81
82
83
84
85
86
87
88
89
90
91
        execute(TC_MEC_SRV_RNIS_016_BR());
        execute(TC_MEC_SRV_RNIS_016_NF());
        execute(TC_MEC_SRV_RNIS_017_OK());
        execute(TC_MEC_SRV_RNIS_017_BR());
        execute(TC_MEC_SRV_RNIS_017_NF());
        execute(TC_MEC_SRV_RNIS_018_OK());
        execute(TC_MEC_SRV_RNIS_018_BR());
        execute(TC_MEC_SRV_RNIS_018_NF());
        execute(TC_MEC_SRV_RNIS_019_OK());
        execute(TC_MEC_SRV_RNIS_019_BR());
        execute(TC_MEC_SRV_RNIS_019_NF());
92
      }
YannGarcia's avatar
YannGarcia committed
93
94
95
96
    }

    if (PICS_BWMANAGEMENT_API_SUPPORTED) {
      execute(TC_MEC_PLAT_MP1_BWA_BV_001());
Yann Garcia's avatar
Yann Garcia committed
97
    }
YannGarcia's avatar
YannGarcia committed
98
  } // End of 'control' statement
Yann Garcia's avatar
Yann Garcia committed
99
100

} // End of module AtsMec_TestControl