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
0012acc1
Commit
0012acc1
authored
Sep 25, 2019
by
Miguel Angel Reina Ortega
Browse files
f_CSE_DMR_NTF_001 removed as not used any longer
Signed-off-by:
reinaortega
<
miguelangel.reinaortega@etsi.org
>
parent
746cc7cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
67 deletions
+0
-67
OneM2M_PermutationFunctions.ttcn
OneM2M_PermutationFunctions.ttcn
+0
-67
No files found.
OneM2M_PermutationFunctions.ttcn
View file @
0012acc1
...
...
@@ -6969,79 +6969,12 @@ module OneM2M_PermutationFunctions {
}
//end f_CSE_DMR_DEL_013
}
//end group Delete
group
Notify
{
function
f_CSE_DMR_NTF_001
(
ResultContent
p_resultContent
)
runs
on
AeSimu
system
CseSystem
{
// Local variables
var
MsgIn
v_response
;
var
RequestPrimitive
v_request
;
var
integer
v_aeIndex
,
v_ae2Index
:=
-
1
;
// Test control
// Test component configuration
f_cf01Up
(
true
);
// Test adapter configuration
// Preamble
v_aeIndex
:=
f_cse_preamble_registerAe
();
//c_CRUDNDi);
vc_ae2
.
start
(
f_cse_createAccessControlPolicyAux
(
"Ae2Acp"
,{
"all"
},
int63
));
f_aeSimu_checkComponentDoneAndGetVerdict
(
vc_ae2
);
vc_ae2
.
start
(
f_cse_createResource_withAcpAux
(
int2
,
m_createAe
(
PX_TS_AE2
.
appId
,
-
,
PX_TS_AE2
.
aeIdStem
,
c_defaultAE2Name
,
{
f_getCompletePoA
(
PX_TS_AE2
.
mcaPortIn
,
""
)}),
-
1
));
// AE2 is registred
f_aeSimu_checkComponentDoneAndGetVerdict
(
vc_ae2
);
v_ae2Index
:=
f_getLatestResource
(
vc_ae2
);
// Test Body
v_request
:=
valueof
(
m_notifyNotification
(
f_getResourceAddress
(
v_ae2Index
),
m_contentNotification_subscriptionVerification
(
vc_resourcesList
[
v_ae2Index
].
resource
.
aE
.
aE_ID
)));
v_request
.
from_
:=
f_getOriginator
(
v_aeIndex
,
e_ae
);
v_request
.
resultContent
:=
p_resultContent
;
vc_ae2
.
start
(
f_cse_notifyProcedure_subscriptionVerificationHandler
());
f_send
(
e_mca_port
,
m_request
(
v_request
));
tc_ac
.
start
;
alt
{
[]
mcaPort
.
receive
(
mw_response
(
mw_responsePrimitive
(
int4000
)))
{
//BAD REQUEST
tc_ac
.
stop
;
setverdict
(
pass
,
__SCOPE__
&
": Request successfully rejected"
);
}
[]
mcaPort
.
receive
(
mw_response
(
mw_responsePrimitiveKO
))
{
tc_ac
.
stop
;
setverdict
(
fail
,
__SCOPE__
&
": Wrong response status code"
);
}
[]
mcaPort
.
receive
(
mw_response
(
mw_responsePrimitiveOK
))
->
value
v_response
{
tc_ac
.
stop
;
setverdict
(
fail
,
__SCOPE__
&
": Error, Result content set to "
&
int2str
(
enum2int
(
p_resultContent
))
&
" is not valid for a NOTIFY request "
);
}
[]
tc_ac
.
timeout
{
setverdict
(
fail
,
__SCOPE__
&
": No answer while deleting resource"
);
}
}
f_aeSimu_checkComponentDoneAndGetVerdict
(
vc_ae2
);
// Postamble
f_cse_postamble_deleteResources
();
// Tear down
f_cf01Down
();
}
//end f_CSE_DMR_NTF_001
}
//end group Notify
}
//end group Data_Management_and_Repository
group
Location
{
}
//end group Location
group
Group_Managment
{
...
...
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