Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
TST
ATS
Commits
5cc06c6b
Commit
5cc06c6b
authored
Oct 07, 2020
by
Miguel Angel Reina Ortega
Browse files
Correction for TC_CSE_SUB_NTF_003
Signed-off-by:
reinaortega
<
miguelangel.reinaortega@etsi.org
>
parent
65a4cc60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
OneM2M_Testcases_CSE_Release_2.ttcn
OneM2M_Testcases_CSE_Release_2.ttcn
+19
-0
No files found.
OneM2M_Testcases_CSE_Release_2.ttcn
View file @
5cc06c6b
...
...
@@ -2447,6 +2447,25 @@ module OneM2M_Testcases_CSE_Release_2 {
v_responsePrimitive
.
requestIdentifier
:=
vc_request
.
primitive
.
requestPrimitive
.
requestIdentifier
;
f_send
(
e_mca_in_port
,
m_response
(
v_responsePrimitive
));
}
[]
mcaPortIn
.
receive
(
mw_request
(
mw_notifyAggregatedNotification
({{
mw_contentNotification
(
?
)}})))
->
value
vc_request
{
tc_ac
.
stop
;
if
(
f_check_notificationContent
(
vc_request
.
primitive
.
requestPrimitive
,
v_contentResponse
)){
setverdict
(
pass
,
__SCOPE__
&
":INFO: Notification received"
);
v_elapsedTime
:=
t_batchNotificationTimer
.
read
;
t_batchNotificationTimer
.
stop
;
if
(
v_elapsedTime
<
10.0
)
{
setverdict
(
fail
,
__SCOPE__
&
": Notifications sent before bathNotify/duration expired"
);
}
}
else
{
setverdict
(
fail
,
__SCOPE__
&
":ERROR: Notification received but the content doesn't match"
);
}
//Send response in any case
v_responsePrimitive
:=
valueof
(
m_responseNotification
(
int2000
,
omit
));
v_responsePrimitive
.
requestIdentifier
:=
vc_request
.
primitive
.
requestPrimitive
.
requestIdentifier
;
f_send
(
e_mca_in_port
,
m_response
(
v_responsePrimitive
));
}
[]
tc_ac
.
timeout
{
setverdict
(
fail
,
__SCOPE__
&
": No notification received"
);
...
...
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