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
cc14e013
Commit
cc14e013
authored
Jul 10, 2018
by
Miguel Angel Reina Ortega
Browse files
Review of f_CSE_ANNC_CRE_006_CseSimu
Signed-off-by:
reinaortega
<
miguelangel.reinaortega@etsi.org
>
parent
efff358e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
21 deletions
+6
-21
OneM2M_PermutationFunctions.ttcn
OneM2M_PermutationFunctions.ttcn
+5
-20
OneM2M_Testcases_CSE_Release_2.ttcn
OneM2M_Testcases_CSE_Release_2.ttcn
+1
-1
No files found.
OneM2M_PermutationFunctions.ttcn
View file @
cc14e013
...
...
@@ -7438,29 +7438,14 @@ module OneM2M_PermutationFunctions {
//Preamble
v_ae1
.
start
(
f_cse_createResource
(
int2
,
v_create
));
v_ae1
.
done
;
v_aeIndex
:=
f_getLatestResourceIndex
(
v_ae1
);
// Test Body
v_ae1
.
start
(
f_cse_sendCreateRequestPrimitive
(
p_resourceType
,
p_requestCreatePrimitive
,
v_parentIndex
));
tc_ac
.
start
;
alt
{
[]
mccPortIn
.
receive
(
mw_request
(
p_createRequestAnnc
))
->
value
v_request
{
tc_ac
.
stop
;
setverdict
(
pass
,
__SCOPE__
&
":INFO: CREATE REQUEST received"
);
v_ae1
.
start
(
f_cse_createResource
(
p_resourceType
,
p_requestCreatePrimitive
,
v_aeIndex
));
if
(
match
(
v_request
.
primitive
.
requestPrimitive
.
to_
,
f_getLocalResourceAddress
(
v_aEAnncIndex
,
e_hierarchical
,
e_spRelative
))
or
match
(
v_request
.
primitive
.
requestPrimitive
.
to_
,
f_getLocalResourceAddress
(
v_aEAnncIndex
,
e_nonHierarchical
,
e_spRelative
)))
{
setverdict
(
pass
,
__SCOPE__
&
":matching ANNC_PARENT_RESOURCE_ADDRESS"
);
}
else
{
setverdict
(
fail
,
__SCOPE__
&
":mis-matching ANNC_PARENT_RESOURCE_ADDRESS"
);
}
}
[]
tc_ac
.
timeout
{
setverdict
(
fail
,
__SCOPE__
&
":ERROR: No CREATE REQUEST received"
);
}
}
f_cse_announcementProcedure_createHandler
(
p_createRequestAnnc
,
-
,
vc_localRemoteCseIndex
);
v_ae1
.
done
;
// Postamble
...
...
OneM2M_Testcases_CSE_Release_2.ttcn
View file @
cc14e013
...
...
@@ -10586,7 +10586,7 @@ module OneM2M_Testcases_CSE_Release_2 {
var template RequestPrimitive v_createRequestAnnc := mw_createAccessControlPolicyAnnc;
v_cse1.start(f_setProtocolBinding(PX_PROTOCOL_BINDING_CSE1));
v_cse1.done;
v_cse1.done;
v_createRequest.primitiveContent.accessControlPolicy.announceTo := {PX_CSE1_ID};
v_cse1.start(f_CSE_ANNC_CRE_006_CseSimu(int1, v_createRequestAnnc, v_createRequest));//AccessControlPolicy
...
...
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