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
73e50a7d
Commit
73e50a7d
authored
Jul 16, 2018
by
Miguel Angel Reina Ortega
Browse files
Review of f_CSE_PCH_001
Signed-off-by:
reinaortega
<
miguelangel.reinaortega@etsi.org
>
parent
ab6c5e2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
OneM2M_Testcases_CSE_Release_2.ttcn
OneM2M_Testcases_CSE_Release_2.ttcn
+7
-4
No files found.
OneM2M_Testcases_CSE_Release_2.ttcn
View file @
73e50a7d
...
...
@@ -12533,6 +12533,7 @@ module OneM2M_Testcases_CSE_Release_2 {
// Local variables
var integer v_aeIndex := -1;
var integer v_resourceIndex := -1;
var integer v_acpAuxIndex := -1;
var RequestPrimitive v_request;
var MsgIn v_response;
var RequestPrimitive v_requestNotify;
...
...
@@ -12546,16 +12547,18 @@ module OneM2M_Testcases_CSE_Release_2 {
// Preamble
vc_cse1.start(f_cse_registerRemoteCse(m_createRemoteCSEBase));
vc_cse1
.done
;
f_aeSimu_checkComponentDoneAndGetVerdict(
vc_cse1
)
;
v_aeIndex := f_cse_preamble_registerAe();//AE1 is registred;
v_acpAuxIndex := f_cse_preamble_createAcpAux();
v_aeIndex := f_cse_preamble_registerAe({f_getResourceId(vc_resourcesList[v_acpAuxIndex].resource)}, -);//AE1 is registred;
v_resourceIndex := f_cse_createResource(int15, m_createPollingChannelBase, v_aeIndex);
v_request := valueof(m_retrievePollingRequest(f_getResourceAddress(v_resourceIndex), f_getOriginator(v_resourceIndex)));
mcaPort.send(f_getMsgOutPrimitive(m_request(v_request)));
v_requestNotify := valueof(m_notify(f_getResourceAddress(v_aeIndex)));
v_requestNotify := valueof(m_notify
Notification
(f_getResourceAddress(v_aeIndex)
, m_contentNotification_subscriptionVerification
));
vc_cse1.start(f_cse_notifyProcedure_notify(v_requestNotify));
...
...
@@ -13806,7 +13809,7 @@ module OneM2M_Testcases_CSE_Release_2 {
tc_ac.stop;
setverdict(fail, __SCOPE__ & ":ERROR: Notification received");
//Send response in any case
v_responsePrimitive := valueof(m_responseNotification(int200
1
, omit));
v_responsePrimitive := valueof(m_responseNotification(int200
0
, omit));
v_responsePrimitive.requestIdentifier := vc_request.primitive.requestPrimitive.requestIdentifier;
mcaPortIn.send(f_getMsgOutPrimitive(m_response(v_responsePrimitive)));
}
...
...
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