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
1f56801f
Commit
1f56801f
authored
Jun 02, 2016
by
Miguel Angel Reina Ortega
Browse files
Output from oneM2M Plugtests#2 (part 2)
parent
f864ecc4
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
71 deletions
+71
-71
OneM2M_Functions.ttcn
OneM2M_Functions.ttcn
+4
-4
OneM2M_Testcases.ttcn
OneM2M_Testcases.ttcn
+65
-65
OneM2M_Types.ttcn
OneM2M_Types.ttcn
+2
-2
No files found.
OneM2M_Functions.ttcn
View file @
1f56801f
...
...
@@ -7,7 +7,7 @@
*
* @author ETSI
* @version $URL: https://forge.etsi.org/svn/oneM2M/trunk/ttcn/OneM2M_Functions.ttcn $
* $Id: OneM2M_Functions.ttcn 9
7
2016-06-0
1 15:38:10
Z reinaortega $
* $Id: OneM2M_Functions.ttcn 9
8
2016-06-0
2 07:34:39
Z reinaortega $
* @desc Module containing functions for oneM2M
*
*/
...
...
@@ -70,7 +70,7 @@ module OneM2M_Functions {
if
(
ischosen
(
v_response
.
responsePrimitive_
.
primitiveContent
.
any_1
[
0
].
AE
))
{
vc_aeAux
:=
v_response
.
responsePrimitive_
.
primitiveContent
.
any_1
[
0
].
AE
;
if
(
ispresent
(
vc_aeAux
.
aE_ID
)){
f_sendAcPrimitive
(
"AE-ID_changed"
,
vc_aeAux
.
aE_ID
);
f_sendAcPrimitive
(
"AE-ID_changed"
,
oct2char
(
unichar2oct
(
vc_aeAux
.
aE_ID
)
))
;
}
else
{
f_sendAcPrimitive
(
"AE-ID_changed"
,
"0"
);
}
...
...
@@ -106,7 +106,7 @@ module OneM2M_Functions {
if
(
PX_RUN_POSTAMBLE
)
{
if
(
PX_UNSTRUCTURED
)
{
v_request
:=
m_deleteAe
(
"/"
&
vc_aeAux
.
aE_ID
);
v_request
:=
valueof
(
m_deleteAe
(
"/"
&
vc_aeAux
.
aE_ID
)
)
;
v_request
.
from_
:=
vc_aeAux
.
aE_ID
;
mcaPort
.
send
(
m_request
(
v_request
));
}
else
{
...
...
@@ -131,7 +131,7 @@ module OneM2M_Functions {
if
(
PX_UNSTRUCTURED
)
{
v_request
:=
m_deleteAcp
(
"/"
&
vc_acpAux
.
resourceID
);
v_request
:=
valueof
(
m_deleteAcp
(
"/"
&
vc_acpAux
.
resourceID
)
)
;
v_request
.
from_
:=
PX_AE_ID_STEM
;
mcaPort
.
send
(
m_request
(
v_request
));
}
else
{
...
...
OneM2M_Testcases.ttcn
View file @
1f56801f
This diff is collapsed.
Click to expand it.
OneM2M_Types.ttcn
View file @
1f56801f
...
...
@@ -7,7 +7,7 @@
*
* @author ETSI
* @version $URL: https://forge.etsi.org/svn/oneM2M/trunk/ttcn/OneM2M_Types.ttcn $
* $Id: OneM2M_Types.ttcn 9
7
2016-06-0
1 15:38:10
Z reinaortega $
* $Id: OneM2M_Types.ttcn 9
8
2016-06-0
2 07:34:39
Z reinaortega $
* @desc Test System module for oneM2M
*
*/
...
...
@@ -4411,5 +4411,5 @@ with {
encode
"XML"
;
variant
"namespace as 'http://www.onem2m.org/xml/protocols' prefix 'm2m'"
;
variant
"controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'"
;
extension
"anytype charstring, AttributeList, AE, AccessControlPolicy, AccessControlPolicy_optional, ACP_update_invalid, AE_optional, AE_update_invalid,Container_optional, Container_update_invalid, ContentInstance_optional, ContentInstance_update_invalid, Group_optional, Group_update_invalid, Schedule_optional, Schedule_update_invalid, Subscription_optional, Subscription_update_invalid, PollingChannel_optional, PollingChannel_update_invalid"
extension
"anytype charstring,
AnyURI,
AttributeList, AE, AccessControlPolicy, AccessControlPolicy_optional, ACP_update_invalid, AE_optional, AE_update_invalid,Container_optional, Container_update_invalid, ContentInstance_optional, ContentInstance_update_invalid, Group_optional, Group_update_invalid, Schedule_optional, Schedule_update_invalid, Subscription_optional, Subscription_update_invalid, PollingChannel_optional, PollingChannel_update_invalid"
}
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