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
df9aa8d6
Commit
df9aa8d6
authored
Aug 21, 2018
by
Miguel Angel Reina Ortega
Browse files
Small adjustments on TC_CSE_REG_CRE_005
Signed-off-by:
reinaortega
<
miguelangel.reinaortega@etsi.org
>
parent
eb40619f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
OneM2M_Testcases_CSE_Release_1.ttcn
OneM2M_Testcases_CSE_Release_1.ttcn
+6
-12
No files found.
OneM2M_Testcases_CSE_Release_1.ttcn
View file @
df9aa8d6
...
...
@@ -680,9 +680,6 @@ module OneM2M_Testcases_CSE_Release_1 {
var
MsgIn
v_request
;
var
template
RequestPrimitive
v_requestPrimitive
;
var
integer
v_cseBaseIndex
:=
-
1
;
var
ResourceType
v_resourceType
:=
int2
;
var
boolean
v_handleResponses
:=
false
;
//Test control
...
...
@@ -693,7 +690,7 @@ module OneM2M_Testcases_CSE_Release_1 {
vc_remoteCseIndex
:=
f_cse_registrationRemoteCse
(
mw_createRemoteCSE
);
//Test Body
vc_ae1
.
start
(
f_cse_
sendC
reateRe
questPrimitiv
e
(
int2
,
m_createAe
(
PX_APP_ID
,
-
,
"S"
,
omit
)));
vc_ae1
.
start
(
f_cse_
c
reateRe
sourc
e
(
int2
,
m_createAe
(
PX_APP_ID
,
-
,
"S"
)));
vc_ae1
.
done
;
v_requestPrimitive
:=
mw_createAEAnnc
(
PX_CSE_ID
&
"/S"
,
-
,
-
,
-
);
...
...
@@ -704,29 +701,26 @@ module OneM2M_Testcases_CSE_Release_1 {
[]
mccPortIn
.
receive
(
mw_request
(
v_requestPrimitive
))
->
value
v_request
{
tc_ac
.
stop
;
setverdict
(
pass
,
__SCOPE__
&
": AE creation redirected."
);
v_handleResponses
:=
true
;
f_cse_sendResponse
(
v_request
)
;
}
[]
mccPortIn
.
receive
(
mw_request
(
mw_createAEAnnc
()))
->
value
v_request
{
tc_ac
.
stop
;
setverdict
(
fail
,
__SCOPE__
&
": AE creation redirected but wrong parameters"
);
v_handleResponses
:=
true
;
f_cse_sendResponse
(
v_request
)
;
}
[]
mccPortIn
.
receive
(
mw_request
(
?
))
->
value
v_request
{
tc_ac
.
stop
;
setverdict
(
fail
,
__SCOPE__
&
": Unexpected message received"
);
v_handleResponses
:=
true
;
f_cse_sendResponse
(
v_request
)
;
}
[]
tc_ac
.
timeout
{
setverdict
(
fail
,
__SCOPE__
&
": No answer while creating AE"
);
}
}
vc_ae1
.
done
;
// Postamble
if
(
v_handleResponses
)
{
vc_ae1
.
start
(
f_cse_receiveResponse
());
f_cse_sendResponse
(
v_request
);
vc_ae1
.
done
;
}
f_cse_postamble_deleteResourcesCSE
();
// Tear down
...
...
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