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
ef00b150
Commit
ef00b150
authored
7 years ago
by
acverdugo
Browse files
Options
Downloads
Plain Diff
Merge branch 'STF531-REG-CRE' of
https://git.onem2m.org/TST/ATS
into STF531-REG-CRE
parents
f819f89c
b6a7de33
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 @
ef00b150
...
...
@@ -59,6 +59,14 @@ module OneM2M_Pixits {
*/
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
PrimitiveScope
PX_PRIMITIVE_SCOPE
:=
e_cseRelative
;
...
...
@@ -69,7 +77,8 @@ module OneM2M_Pixits {
modulepar
charstring
PX_XML_NAMESPACE
:=
"m2m=""http://www.onem2m.org/xml/protocols"""
;
modulepar
ListOfURIs
PX_ACOR
:=
{
"*"
};
modulepar
ListOfURIs
PX_ACOR
:=
{
"*"
};
}
group
TesterParameters
{
...
...
This diff is collapsed.
Click to expand it.
OneM2M_Testcases_CSE.ttcn
+
10
−
3
View file @
ef00b150
...
...
@@ -870,13 +870,19 @@ module OneM2M_Testcases_CSE {
var integer v_cseBaseIndex := -1;
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
f_cf01Up();
//Preamble
//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);
...
...
@@ -970,7 +976,7 @@ module OneM2M_Testcases_CSE {
//Preamble
v_remoteCseIndex := f_cse_registrationRemoteCse();
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 {
//Test Body
//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;
alt {
[] mcaPort.receive(mw_response(mw_responsePrimitive(int4005))) {
...
...
This diff is collapsed.
Click to expand it.
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