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
3ee20b25
Commit
3ee20b25
authored
Apr 03, 2019
by
Miguel Angel Reina Ortega
Browse files
Review and clean up of TC_CSE_REG_CRE_003
Signed-off-by:
reinaortega
<
miguelangel.reinaortega@etsi.org
>
parent
40f2dcdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
OneM2M_Testcases_CSE_Release_1.ttcn
OneM2M_Testcases_CSE_Release_1.ttcn
+8
-3
No files found.
OneM2M_Testcases_CSE_Release_1.ttcn
View file @
3ee20b25
...
...
@@ -527,18 +527,23 @@ module OneM2M_Testcases_CSE_Release_1 {
//Test Body
vc_ae1
.
start
(
f_cse_createResource
(
int2
,
m_createAe
(
PX_APP_ID
,
-
,
PX_ALLOWED_S_AE_IDS
[
0
])));
v_requestPrimitive
:=
mw_createAEAnnc_s_ae_id
(
PX_CSE_ID
&
PX_ALLOWED_S_AE_IDS
[
0
],
-
,
-
,
PX_CSE_ID
&
PX_ALLOWED_S_AE_IDS
[
0
]);
v_requestPrimitive
:=
mw_createAEAnnc_s_ae_id
(
PX_CSE_ID
&
"/"
&
PX_ALLOWED_S_AE_IDS
[
0
],
-
,
-
,
PX_CSE_ID
&
"/"
&
PX_ALLOWED_S_AE_IDS
[
0
]);
tc_ac
.
start
;
alt
{
[]
mccPortIn
.
receive
(
mw_request
(
v_requestPrimitive
))
->
value
v_request
{
tc_ac
.
stop
;
setverdict
(
pass
,
__SCOPE__
&
": AE creation re
direct
ed."
);
setverdict
(
pass
,
__SCOPE__
&
": AE
Annc
creation re
ceiv
ed."
);
f_cse_sendResponse_cseSimu
(
v_request
);
}
[]
mccPortIn
.
receive
(
mw_request
(
mw_createAEAnnc
()))
->
value
v_request
{
tc_ac
.
stop
;
setverdict
(
fail
,
__SCOPE__
&
": AE creation redirected but wrong parameters"
);
setverdict
(
fail
,
__SCOPE__
&
": AEAnnc creation received but wrong parameters"
);
f_cse_sendResponse_cseSimu
(
v_request
);
}
[]
mccPortIn
.
receive
(
mw_request
(
?
))
->
value
v_request
{
tc_ac
.
stop
;
setverdict
(
fail
,
__SCOPE__
&
": Other operation received"
);
f_cse_sendResponse_cseSimu
(
v_request
);
}
[]
tc_ac
.
timeout
{
...
...
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