Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ttcn
CAM TS 102 868-3
Commits
07a951cd
Commit
07a951cd
authored
Mar 01, 2022
by
YannGarcia
Browse files
Start validation of AtsPki; Add missing AcSecurity primitive implementation in Facilities
parent
3cf4b64d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
ItsCam_TestCases.ttcn
View file @
07a951cd
This diff is collapsed.
Click to expand it.
ItsCam_TpFunctions.ttcn
View file @
07a951cd
...
...
@@ -3178,11 +3178,13 @@ module ItsCam_TpFunctions {
/**
* @desc TP Function for TC_CAM_MSP_SSP_BV_XX
* @param p_certName Certificate to be used to sign the CAM message
* @param p_camMsg CAM value template to be sent to IUT
* @param p_camMsg CAM value template to be sent to IUT
* @param p_discarded Set to true if the message shallbe discarded
*/
function
f_CAM_MSP_SSP_BV_XX
(
in
charstring
p_certName
,
in
template
(
value
)
CAM
p_camMsg
in
template
(
value
)
CAM
p_camMsg
,
in
boolean
p_discarded
:=
true
)
runs
on
ItsCam
{
// Local variables
...
...
@@ -3222,12 +3224,22 @@ module ItsCam_TpFunctions {
// empty on purpose
}
if
(
i
<
lengthof
(
vc_utEvents
))
{
log
(
"*** "
&
testcasename
()
&
": FAIL: CAM was not transmitted to upper layer ***"
);
f_selfOrClientSyncAndVerdict
(
c_tbDone
,
e_error
);
if
(
p_discarded
==
false
)
{
log
(
"*** "
&
testcasename
()
&
": PASS: CAM was transmitted to upper layer ***"
);
f_selfOrClientSyncAndVerdict
(
c_tbDone
,
e_success
);
}
else
{
log
(
"*** "
&
testcasename
()
&
": FAIL: CAM was not transmitted to upper layer ***"
);
f_selfOrClientSyncAndVerdict
(
c_tbDone
,
e_error
);
}
}
else
{
log
(
"*** "
&
testcasename
()
&
": PASS: CAM was transmitted to upper layer ***"
);
f_selfOrClientSyncAndVerdict
(
c_tbDone
,
e_success
);
if
(
p_discarded
)
{
log
(
"*** "
&
testcasename
()
&
": PASS: CAM was not transmitted to upper layer ***"
);
f_selfOrClientSyncAndVerdict
(
c_tbDone
,
e_success
);
}
else
{
log
(
"*** "
&
testcasename
()
&
": FAIL: CAM was not transmitted to upper layer ***"
);
f_selfOrClientSyncAndVerdict
(
c_tbDone
,
e_error
);
}
}
// Postamble
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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