Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ATS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TST
ATS
Commits
b6a7de33
Commit
b6a7de33
authored
7 years ago
by
Naum Spaseski
Browse files
Options
Downloads
Patches
Plain Diff
STF531: added pixits for (not) allowed AE-IDs and corrected CSE/REG/001, 002 and 3
Signed-off-by:
Naum Spaseski
<
naum.spaseski@gmail.com
>
parent
d6a2a992
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
LibOneM2M/OneM2M_Pixits.ttcn
+10
-1
10 additions, 1 deletion
LibOneM2M/OneM2M_Pixits.ttcn
OneM2M_Testcases_CSE.ttcn
+10
-3
10 additions, 3 deletions
OneM2M_Testcases_CSE.ttcn
with
20 additions
and
4 deletions
LibOneM2M/OneM2M_Pixits.ttcn
+
10
−
1
View file @
b6a7de33
...
@@ -57,6 +57,14 @@ module OneM2M_Pixits {
...
@@ -57,6 +57,14 @@ module OneM2M_Pixits {
*/
*/
modulepar
XSD
.
ID
PX_SUPER_CSE_ID
:=
"/admin:admin"
;
modulepar
XSD
.
ID
PX_SUPER_CSE_ID
:=
"/admin:admin"
;
modulepar
XSD
.
IDREFS
PX_ALLOWED_C_AE_IDS
:=
{
"C"
};
modulepar
XSD
.
IDREFS
PX_NOT_ALLOWED_C_AE_IDS
:=
{
"MyAe"
};
modulepar
XSD
.
IDREFS
PX_ALLOWED_S_AE_IDS
:=
{
"S"
};
modulepar
XSD
.
IDREFS
PX_NOT_ALLOWED_S_AE_IDS
:=
{
"MyAe"
};
modulepar
AddressingMethod
PX_ADDRESSING_METHOD
:=
e_hierarchical
;
modulepar
AddressingMethod
PX_ADDRESSING_METHOD
:=
e_hierarchical
;
modulepar
PrimitiveScope
PX_PRIMITIVE_SCOPE
:=
e_cseRelative
;
modulepar
PrimitiveScope
PX_PRIMITIVE_SCOPE
:=
e_cseRelative
;
...
@@ -67,7 +75,8 @@ module OneM2M_Pixits {
...
@@ -67,7 +75,8 @@ module OneM2M_Pixits {
modulepar
charstring
PX_XML_NAMESPACE
:=
"m2m=""http://www.onem2m.org/xml/protocols"""
;
modulepar
charstring
PX_XML_NAMESPACE
:=
"m2m=""http://www.onem2m.org/xml/protocols"""
;
modulepar
ListOfURIs
PX_ACOR
:=
{
"*"
};
modulepar
ListOfURIs
PX_ACOR
:=
{
"*"
};
}
}
group
TesterParameters
{
group
TesterParameters
{
...
...
This diff is collapsed.
Click to expand it.
OneM2M_Testcases_CSE.ttcn
+
10
−
3
View file @
b6a7de33
...
@@ -870,13 +870,19 @@ module OneM2M_Testcases_CSE {
...
@@ -870,13 +870,19 @@ module OneM2M_Testcases_CSE {
var integer v_cseBaseIndex := -1;
var integer v_cseBaseIndex := -1;
var ResourceType v_resourceType := int2;
var ResourceType v_resourceType := int2;
//Test control
if(not(PICS_IN_CSE)) {
setverdict(inconc, __SCOPE__ & ": IUT shall be IN-CSE to run this test case");
stop;
}
// Test component configuration
// Test component configuration
f_cf01Up();
f_cf01Up();
//Preamble
//Preamble
//Test Body
//Test Body
v_request := valueof(m_createAe(PX_APP_ID, omit, "SAE-ID-STEM"));
v_request := valueof(m_createAe(PX_APP_ID, omit, "S
-
AE-ID-STEM"));
v_request := f_getCreateRequestPrimitive(v_resourceType, v_request, -1);
v_request := f_getCreateRequestPrimitive(v_resourceType, v_request, -1);
...
@@ -970,7 +976,7 @@ module OneM2M_Testcases_CSE {
...
@@ -970,7 +976,7 @@ module OneM2M_Testcases_CSE {
//Preamble
//Preamble
v_remoteCseIndex := f_cse_registrationRemoteCse();
v_remoteCseIndex := f_cse_registrationRemoteCse();
vc_ae1 := AeSimu.create("AE1") alive;
vc_ae1 := AeSimu.create("AE1") alive;
//
vc_ae1.start(f_
a
);
vc_ae1.start(f_
cse_preamble_registerAe()
);
}
}
...
@@ -997,8 +1003,9 @@ module OneM2M_Testcases_CSE {
...
@@ -997,8 +1003,9 @@ module OneM2M_Testcases_CSE {
//Test Body
//Test Body
//v_request := valueof(m_createAe(PX_APP_ID, omit, "C-AE-ID-STEM"));
//v_request := valueof(m_createAe(PX_APP_ID, omit, "C-AE-ID-STEM"));
f_cse_createResourc
e(int2, m_createAe(PX_APP_ID, omit,
"C")
);
v_request := f_getCreateRequestPrimitiv
e(int2, m_createAe(PX_APP_ID, omit,
PX_NOT_ALLOWED_C_AE_IDS[0]), -1
);
mcaPort.send(m_request(v_request));
tc_ac.start;
tc_ac.start;
alt {
alt {
[] mcaPort.receive(mw_response(mw_responsePrimitive(int4005))) {
[] mcaPort.receive(mw_response(mw_responsePrimitive(int4005))) {
...
...
This diff is collapsed.
Click to expand it.
Miguel Angel Reina Ortega
@reinaortega
mentioned in issue
#8 (closed)
·
7 years ago
mentioned in issue
#8 (closed)
mentioned in issue #8
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment