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
4af555cd
Commit
4af555cd
authored
7 years ago
by
Pramod Kulkarni
Browse files
Options
Downloads
Patches
Plain Diff
Implementing TC_CSE_REG_CRE_029
Signed-off-by:
pkulkarni
<
pkulkarni75@gmail.com
>
parent
960e7d77
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
OneM2M_TestControl.ttcn
+1
-0
1 addition, 0 deletions
OneM2M_TestControl.ttcn
OneM2M_Testcases.ttcn
+45
-1
45 additions, 1 deletion
OneM2M_Testcases.ttcn
with
46 additions
and
1 deletion
OneM2M_TestControl.ttcn
+
1
−
0
View file @
4af555cd
...
@@ -45,6 +45,7 @@ module OneM2M_TestControl {
...
@@ -45,6 +45,7 @@ module OneM2M_TestControl {
execute
(
TC_CSE_REG_CRE_023
());
execute
(
TC_CSE_REG_CRE_023
());
execute
(
TC_CSE_REG_CRE_025
());
execute
(
TC_CSE_REG_CRE_025
());
execute
(
TC_CSE_REG_CRE_028
());
execute
(
TC_CSE_REG_CRE_028
());
execute
(
TC_CSE_REG_CRE_029
());
execute
(
TC_CSE_REG_RET_001
());
execute
(
TC_CSE_REG_RET_001
());
execute
(
TC_CSE_REG_RET_005
());
execute
(
TC_CSE_REG_RET_005
());
execute
(
TC_CSE_REG_RET_008
());
execute
(
TC_CSE_REG_RET_008
());
...
...
This diff is collapsed.
Click to expand it.
OneM2M_Testcases.ttcn
+
45
−
1
View file @
4af555cd
...
@@ -968,7 +968,7 @@ module OneM2M_Testcases {
...
@@ -968,7 +968,7 @@ module OneM2M_Testcases {
//Preambule
//Preambule
//vc_remoteCseIndex := f_cse_registrationRemoteCse(mw_createRemoteCSEBase);
//vc_remoteCseIndex := f_cse_registrationRemoteCse(mw_createRemoteCSEBase);
//TODO: create serviceSubscribedProfile, Node, and serviceSubscribedAppRule
//TODO: create serviceSubscribedProfile, Node, and serviceSubscribedAppRule
v_cseBaseIndex := f_cse_preamble_createServiceSubscribedProfile(-);//c_CRUDNDi);
//
v_cseBaseIndex := f_cse_preamble_createServiceSubscribedProfile(-);//c_CRUDNDi);
//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"));
...
@@ -1632,6 +1632,50 @@ module OneM2M_Testcases {
...
@@ -1632,6 +1632,50 @@ module OneM2M_Testcases {
}
}
/**
* @desc Check that IUT sends a CSE registration request with attributes multiplicity equals to 1
*
*/
testcase TC_CSE_REG_CRE_029() runs on CseSimu system CseSystem {
//var MsgIn v_response;
var RequestPrimitive v_request;
var RequestPrimitive v_createRequestPrimitive := valueof(m_createRemoteCSEBase);
var ResourceType v_resourceType := int16;
// Test control
// Test component configuration
f_cf04Up();
// Test adapter configuration
// Preamble
v_request := f_getCreateRequestPrimitive(v_resourceType, v_createRequestPrimitive, -1);
mccPort.send(m_request(v_request));
tc_ac.start;
alt {
[] mccPort.receive(mw_response(mw_responsePrimitiveOK)) {
tc_ac.stop;
setverdict(pass, __SCOPE__ & ": Resource type remoteCSE created successfully");
}
[] mccPort.receive(mw_response(mw_responsePrimitiveKO)) {
tc_ac.stop;
setverdict(fail, __SCOPE__ & ": Error while creating resource type remoteCSE");
}
[] tc_ac.timeout {
setverdict(fail, __SCOPE__ & ": No answer while creating resource type remoteCSE");
}
}
// Postamble
f_cse_postamble_deleteResourcesCSE();
// Tear down
f_cf04Down();
}
} //end group Create
} //end group Create
...
...
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