Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
e5925bfe
Commit
e5925bfe
authored
May 29, 2017
by
berge
Browse files
Merged revision(s) 2673 from branches/STF527
parents
fd5a2f4b
60c1a5a6
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12826 additions
and
11058 deletions
+12826
-11058
ttcn/AtsGeoNetworking/ItsGeoNetworking_TestCases.ttcn
ttcn/AtsGeoNetworking/ItsGeoNetworking_TestCases.ttcn
+2831
-2458
ttcn/AtsGeoNetworking/ItsGeoNetworking_TestControl.ttcn
ttcn/AtsGeoNetworking/ItsGeoNetworking_TestControl.ttcn
+202
-152
ttcn/AtsGeoNetworking/ItsGeoNetworking_TpFunctions.ttcn
ttcn/AtsGeoNetworking/ItsGeoNetworking_TpFunctions.ttcn
+9793
-8448
No files found.
ttcn/AtsGeoNetworking/ItsGeoNetworking_TestCases.ttcn
View file @
e5925bfe
This source diff could not be displayed because it is too large. You can
view the blob
instead.
ttcn/AtsGeoNetworking/ItsGeoNetworking_TestControl.ttcn
View file @
e5925bfe
...
@@ -264,84 +264,135 @@ module ItsGeoNetworking_TestControl {
...
@@ -264,84 +264,135 @@ module ItsGeoNetworking_TestControl {
}
}
/* PON/GUC */
/* PON/GUC */
if
(
PICS_GN_GUC
)
{
if
(
PICS_GN_GUC_SRC
)
{
if
(
PICS_GN_GUC_FWD
)
{
if
((
PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM
==
e_greedy
)
or
(
PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM
==
e_unspecified
))
{
execute
(
TC_GEONW_PON_GUC_ALL_BV_03
());
execute
(
TC_GEONW_PON_GUC_BV_01
());
execute
(
TC_GEONW_PON_GUC_ALL_BO_04
());
execute
(
TC_GEONW_PON_GUC_ALL_BV_06
());
}
}
if
(
PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM
==
e_cbf
)
{
if
(
PICS_GN_GUC_DST
)
{
execute
(
TC_GEONW_PON_GUC_BV_11
());
execute
(
TC_GEONW_PON_GUC_ALL_BV_05
());
execute
(
TC_GEONW_PON_GUC_ALL_BO_08
());
}
}
if
((
PICS_GN_NON_AREA_FORWARDING_ALGORITHM
==
e_greedy
)
or
(
PICS_GN_NON_AREA_FORWARDING_ALGORITHM
==
e_unspecified
))
{
if
(
PICS_GN_GUC_SRC
)
{
execute
(
TC_GEONW_PON_GUC_GRD_BV_01
());
}
}
if
(
PICS_GN_GUC_FWD
)
{
if
(
PICS_GN_GUC_FWD
)
{
if
((
PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM
==
e_greedy
)
or
(
PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM
==
e_unspecified
))
{
execute
(
TC_GEONW_PON_GUC_GRD_BV_02
());
execute
(
TC_GEONW_PON_GUC_BV_02
());
execute
(
TC_GEONW_PON_GUC_GRD_BO_07
());
}
}
}
execute
(
TC_GEONW_PON_GUC_BV_03
());
if
(
PICS_GN_NON_AREA_FORWARDING_ALGORITHM
==
e_cbf
)
{
execute
(
TC_GEONW_PON_GUC_BO_04
());
if
(
PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM
==
e_cbf
)
{
if
(
PICS_GN_GUC_SRC
)
{
execute
(
TC_GEONW_PON_GUC_BV_06
());
execute
(
TC_GEONW_PON_GUC_CBF_BV_01
());
execute
(
TC_GEONW_PON_GUC_BV_07
());
execute
(
TC_GEONW_PON_GUC_BV_08
());
execute
(
TC_GEONW_PON_GUC_BV_10
());
}
}
if
((
PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM
==
e_greedy
)
or
(
PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM
==
e_unspecified
))
{
if
(
PICS_GN_GUC_FWD
)
{
execute
(
TC_GEONW_PON_GUC_BO_12
());
execute
(
TC_GEONW_PON_GUC_CBF_BV_02
());
execute
(
TC_GEONW_PON_GUC_CBF_BV_07
());
execute
(
TC_GEONW_PON_GUC_CBF_BV_20
());
execute
(
TC_GEONW_PON_GUC_CBF_BV_21
());
execute
(
TC_GEONW_PON_GUC_CBF_BV_22
());
}
}
}
}
if
(
PICS_GN_GUC_DST
)
{
execute
(
TC_GEONW_PON_GUC_BV_05
());
if
((
PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM
==
e_greedy
)
or
(
PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM
==
e_unspecified
))
{
execute
(
TC_GEONW_PON_GUC_BO_13
());
}
}
}
/* PON/GBC */
/* PON/GBC */
if
(
PICS_GN_GBC
)
{
if
(
PICS_GN_GBC_FWD
)
{
execute
(
TC_GEONW_PON_GBC_NONAREA_ALL_BV_03
());
execute
(
TC_GEONW_PON_GBC_NONAREA_ALL_BV_04
());
execute
(
TC_GEONW_PON_GBC_NONAREA_ALL_BV_06
());
execute
(
TC_GEONW_PON_GBC_NONAREA_ALL_BO_09
());
execute
(
TC_GEONW_PON_GBC_NONAREA_ALL_BO_10
());
}
if
((
PICS_GN_NON_AREA_FORWARDING_ALGORITHM
==
e_greedy
)
or
(
PICS_GN_NON_AREA_FORWARDING_ALGORITHM
==
e_unspecified
))
{
if
(
PICS_GN_GBC_SRC
)
{
if
(
PICS_GN_GBC_SRC
)
{
execute
(
TC_GEONW_PON_GBC_BV_01
());
execute
(
TC_GEONW_PON_GBC_NONAREA_GRD_BV_01
());
if
((
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_simple
)
or
(
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_unspecified
)
or
(
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_advanced
))
{
execute
(
TC_GEONW_PON_GBC_BV_02
());
}
}
if
((
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_simple
)
or
(
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_unspecified
))
{
execute
(
TC_GEONW_PON_GBC_BV_03
());
if
(
PICS_GN_GBC_FWD
)
{
execute
(
TC_GEONW_PON_GBC_NONAREA_GRD_BV_02
());
execute
(
TC_GEONW_PON_GBC_NONAREA_GRD_BO_07
());
}
}
if
(
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_cbf
)
{
execute
(
TC_GEONW_PON_GBC_BV_12
());
}
}
if
(
PICS_GN_NON_AREA_FORWARDING_ALGORITHM
==
e_cbf
)
{
if
(
PICS_GN_GBC_SRC
)
{
execute
(
TC_GEONW_PON_GBC_NONAREA_CBF_BV_01
());
}
}
if
(
PICS_GN_GBC_FWD
)
{
if
(
PICS_GN_GBC_FWD
)
{
if
((
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_simple
)
or
(
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_unspecified
))
{
execute
(
TC_GEONW_PON_GBC_NONAREA_CBF_BV_02
());
execute
(
TC_GEONW_PON_GBC_BO_04
());
execute
(
TC_GEONW_PON_GBC_NONAREA_CBF_BV_07
());
execute
(
TC_GEONW_PON_GBC_NONAREA_CBF_BV_20
());
execute
(
TC_GEONW_PON_GBC_NONAREA_CBF_BV_21
());
execute
(
TC_GEONW_PON_GBC_NONAREA_CBF_BV_22
());
}
}
execute
(
TC_GEONW_PON_GBC_BV_05
());
if
((
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_simple
)
or
(
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_unspecified
))
{
execute
(
TC_GEONW_PON_GBC_BO_06
());
}
}
execute
(
TC_GEONW_PON_GBC_BV_07
());
execute
(
TC_GEONW_PON_GBC_BV_08
());
if
(
PICS_GN_GBC_SRC
)
{
execute
(
TC_GEONW_PON_GBC_BV_11
());
execute
(
TC_GEONW_PON_GBC_AREA_ALL_BV_01
());
execute
(
TC_GEONW_PON_GBC_BO_19
());
}
execute
(
TC_GEONW_PON_GBC_BV_20
());
execute
(
TC_GEONW_PON_GBC_BV_21
());
if
(
PICS_GN_GBC_FWD
)
{
execute
(
TC_GEONW_PON_GBC_AREA_ALL_BV_03
());
execute
(
TC_GEONW_PON_GBC_AREA_ALL_BV_04
());
}
}
if
(
PICS_GN_GBC_DST
)
{
if
(
PICS_GN_GBC_DST
)
{
execute
(
TC_GEONW_PON_GBC_BV_09
());
execute
(
TC_GEONW_PON_GBC_AREA_ALL_BV_05
());
if
((
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_simple
)
or
(
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_unspecified
))
{
execute
(
TC_GEONW_PON_GBC_AREA_ALL_BO_08
());
execute
(
TC_GEONW_PON_GBC_BO_10
());
}
if
((
PICS_GN_AREA_FORWARDING_ALGORITHM
==
e_simple
)
or
(
PICS_GN_AREA_FORWARDING_ALGORITHM
==
e_unspecified
))
{
if
(
PICS_GN_GBC_FWD
)
{
execute
(
TC_GEONW_PON_GBC_AREA_SMP_BV_02
());
execute
(
TC_GEONW_PON_GBC_AREA_SMP_BO_07
());
}
}
if
(
PICS_GN_AREA_FORWARDING_ALGORITHM
==
e_cbf
)
{
if
(
PICS_GN_GBC_FWD
)
{
execute
(
TC_GEONW_PON_GBC_AREA_CBF_BV_02
());
execute
(
TC_GEONW_PON_GBC_AREA_CBF_BV_07
());
execute
(
TC_GEONW_PON_GBC_AREA_CBF_BV_21
());
execute
(
TC_GEONW_PON_GBC_AREA_CBF_BV_22
());
}
}
if
(
PICS_GN_AREA_FORWARDING_ALGORITHM
==
e_advanced
)
{
if
(
PICS_GN_GBC_FWD
)
{
execute
(
TC_GEONW_PON_GBC_AREA_ADV_BV_21
());
execute
(
TC_GEONW_PON_GBC_AREA_ADV_BV_23
());
execute
(
TC_GEONW_PON_GBC_AREA_ADV_BV_24
());
execute
(
TC_GEONW_PON_GBC_AREA_ADV_BV_25
());
execute
(
TC_GEONW_PON_GBC_AREA_ADV_BV_26
());
execute
(
TC_GEONW_PON_GBC_AREA_ADV_BV_27
());
execute
(
TC_GEONW_PON_GBC_AREA_ADV_BV_28
());
execute
(
TC_GEONW_PON_GBC_AREA_ADV_BV_29
());
}
}
}
}
}
/* PON/TSB */
/* PON/TSB */
if
(
PICS_GN_TSB
)
{
if
(
PICS_GN_TSB_SRC
)
{
if
(
PICS_GN_TSB_SRC
)
{
execute
(
TC_GEONW_PON_TSB_BV_01
());
execute
(
TC_GEONW_PON_TSB_BV_01
());
...
@@ -349,81 +400,80 @@ module ItsGeoNetworking_TestControl {
...
@@ -349,81 +400,80 @@ module ItsGeoNetworking_TestControl {
if
(
PICS_GN_TSB_FWD
)
{
if
(
PICS_GN_TSB_FWD
)
{
execute
(
TC_GEONW_PON_TSB_BV_02
());
execute
(
TC_GEONW_PON_TSB_BV_02
());
execute
(
TC_GEONW_PON_TSB_B
O
_03
());
execute
(
TC_GEONW_PON_TSB_B
V
_03
());
execute
(
TC_GEONW_PON_TSB_B
V
_04
());
execute
(
TC_GEONW_PON_TSB_B
O
_04
());
execute
(
TC_GEONW_PON_TSB_BO_0
5
());
execute
(
TC_GEONW_PON_TSB_BO_0
7
());
}
}
if
(
PICS_GN_TSB_DST
)
{
if
(
PICS_GN_TSB_DST
)
{
execute
(
TC_GEONW_PON_TSB_BV_0
6
());
execute
(
TC_GEONW_PON_TSB_BV_0
5
());
execute
(
TC_GEONW_PON_TSB_BO_0
7
());
execute
(
TC_GEONW_PON_TSB_BO_0
8
());
}
}
}
/* PON/SHB */
/* PON/SHB */
if
(
PICS_GN_SHB
)
{
if
(
PICS_GN_SHB_SRC
)
{
if
(
PICS_GN_SHB_SRC
)
{
execute
(
TC_GEONW_PON_SHB_BV_01
());
execute
(
TC_GEONW_PON_SHB_BV_01
());
}
}
if
(
PICS_GN_SHB_DST
)
{
if
(
PICS_GN_SHB_DST
)
{
execute
(
TC_GEONW_PON_SHB_BV_02
());
execute
(
TC_GEONW_PON_SHB_BV_05
());
}
}
}
/* PON/GAC */
/* PON/GAC */
if
(
PICS_GN_GAC
)
{
if
(
PICS_GN_GAC_SRC
)
{
if
(
PICS_GN_GAC_FWD
)
{
execute
(
TC_GEONW_PON_GAC_BV_01
());
execute
(
TC_GEONW_PON_GAC_NONAREA_ALL_BV_03
());
if
((
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_simple
)
or
(
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_unspecified
))
{
execute
(
TC_GEONW_PON_GAC_NONAREA_ALL_BO_04
());
execute
(
TC_GEONW_PON_GAC_BV_02
());
execute
(
TC_GEONW_PON_GAC_NONAREA_ALL_BV_06
());
}
execute
(
TC_GEONW_PON_GAC_NONAREA_ALL_BO_09
());
if
(
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_cbf
)
{
execute
(
TC_GEONW_PON_GAC_NONAREA_ALL_BV_10
());
execute
(
TC_GEONW_PON_GAC_BV_13
());
}
}
if
((
PICS_GN_NON_AREA_FORWARDING_ALGORITHM
==
e_greedy
)
or
(
PICS_GN_NON_AREA_FORWARDING_ALGORITHM
==
e_unspecified
))
{
if
(
PICS_GN_GAC_SRC
)
{
execute
(
TC_GEONW_PON_GAC_NONAREA_GRD_BV_01
());
}
}
if
(
PICS_GN_GAC_FWD
)
{
if
(
PICS_GN_GAC_FWD
)
{
execute
(
TC_GEONW_PON_GAC_BV_03
());
execute
(
TC_GEONW_PON_GAC_NONAREA_GRD_BV_02
());
execute
(
TC_GEONW_PON_GAC_BV_04
());
execute
(
TC_GEONW_PON_GAC_NONAREA_GRD_BO_07
());
execute
(
TC_GEONW_PON_GAC_BO_05
());
execute
(
TC_GEONW_PON_GAC_BV_06
());
execute
(
TC_GEONW_PON_GAC_BO_07
());
execute
(
TC_GEONW_PON_GAC_BO_11
());
}
}
if
(
PICS_GN_GAC_DST
)
{
execute
(
TC_GEONW_PON_GAC_BV_08
());
execute
(
TC_GEONW_PON_GAC_BO_09
());
execute
(
TC_GEONW_PON_GAC_BV_10
());
}
}
/* PON/BCA */
if
(
PICS_GN_NON_AREA_FORWARDING_ALGORITHM
==
e_cbf
)
{
if
(
PICS_GN_G
B
C_
FWD
)
{
if
(
PICS_GN_G
A
C_
SRC
)
{
if
(
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_cbf
)
{
execute
(
TC_GEONW_PON_GAC_NONAREA_CBF_BV_01
());
execute
(
TC_GEONW_PON_BCA_BV_01
());
}
execute
(
TC_GEONW_PON_BCA_BV_02
());
execute
(
TC_GEONW_PON_BCA_BV_03
());
if
(
PICS_GN_GAC_FWD
)
{
execute
(
TC_GEONW_PON_
BCA_BO
_0
4
());
execute
(
TC_GEONW_PON_
GAC_NONAREA_CBF_BV
_0
2
());
execute
(
TC_GEONW_PON_
BCA
_BV_0
5
());
execute
(
TC_GEONW_PON_
GAC_NONAREA_CBF
_BV_0
7
());
execute
(
TC_GEONW_PON_
BCA
_BV_0
6
());
execute
(
TC_GEONW_PON_
GAC_NONAREA_CBF
_BV_
2
0
());
execute
(
TC_GEONW_PON_
BCA
_BV_
07
());
execute
(
TC_GEONW_PON_
GAC_NONAREA_CBF
_BV_
21
());
execute
(
TC_GEONW_PON_
BCA
_BV_
08
());
execute
(
TC_GEONW_PON_
GAC_NONAREA_CBF
_BV_
22
());
}
}
}
}
/* PON/BAA */
if
(
PICS_GN_GAC_SRC
)
{
execute
(
TC_GEONW_PON_GAC_AREA_ALL_BV_01
());
}
if
(
PICS_GN_GBC_FWD
)
{
if
(
PICS_GN_GAC_FWD
)
{
if
(
PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM
==
e_advanced
)
{
execute
(
TC_GEONW_PON_GAC_AREA_ALL_BV_02
());
execute
(
TC_GEONW_PON_BAA_BV_01
());
}
execute
(
TC_GEONW_PON_BAA_BV_02
());
execute
(
TC_GEONW_PON_BAA_BV_03
());
if
(
PICS_GN_GAC_DST
)
{
execute
(
TC_GEONW_PON_BAA_BV_04
());
execute
(
TC_GEONW_PON_GAC_AREA_ALL_BV_05
());
execute
(
TC_GEONW_PON_BAA_BV_05
());
execute
(
TC_GEONW_PON_GAC_AREA_ALL_BO_08
());
execute
(
TC_GEONW_PON_BAA_BV_06
());
execute
(
TC_GEONW_PON_BAA_BV_07
());
execute
(
TC_GEONW_PON_BAA_BO_08
());
execute
(
TC_GEONW_PON_BAA_BV_09
());
execute
(
TC_GEONW_PON_BAA_BV_10
());
execute
(
TC_GEONW_PON_BAA_BV_11
());
}
}
}
}
...
...
ttcn/AtsGeoNetworking/ItsGeoNetworking_TpFunctions.ttcn
View file @
e5925bfe
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment