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
acfc0239
Commit
acfc0239
authored
7 years ago
by
Miguel Angel Reina Ortega
Browse files
Options
Downloads
Patches
Plain Diff
GEN test cases renaming
Signed-off-by:
Miguel Angel Reina Ortega
<
miguelangel.reinaortega@etsi.org
>
parent
9925255f
No related branches found
No related tags found
1 merge request
!25
Ae fixes
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
OneM2M_TestControl.ttcn
+13
-1
13 additions, 1 deletion
OneM2M_TestControl.ttcn
OneM2M_Testcases.ttcn
+113
-81
113 additions, 81 deletions
OneM2M_Testcases.ttcn
with
126 additions
and
82 deletions
OneM2M_TestControl.ttcn
+
13
−
1
View file @
acfc0239
...
...
@@ -7,7 +7,7 @@
*
* @author oneM2M
* @version $URL: https://oldforge.etsi.org/svn/oneM2M/trunk/ttcn/OneM2M_TestControl.ttcn $
* $Id: OneM2M_TestControl.ttcn 32
0
2017-07-14 1
6:03:52
Z reinaortega $
* $Id: OneM2M_TestControl.ttcn 32
1
2017-07-14 1
8:16:07
Z reinaortega $
* @desc Test control module for oneM2M
*
*/
...
...
@@ -17,6 +17,18 @@ module OneM2M_TestControl {
import
from
OneM2M_Testcases
all
;
control
{
execute
(
TC_CSE_GEN_CRE_001_CSR
());
execute
(
TC_CSE_GEN_CRE_001_SPR
());
execute
(
TC_CSE_GEN_CRE_001_ABS
());
execute
(
TC_CSE_GEN_RET_001_CSR
());
execute
(
TC_CSE_GEN_RET_001_SPR
());
execute
(
TC_CSE_GEN_RET_001_ABS
());
execute
(
TC_CSE_GEN_UPD_001_CSR
());
execute
(
TC_CSE_GEN_UPD_001_SPR
());
execute
(
TC_CSE_GEN_UPD_001_ABS
());
execute
(
TC_CSE_GEN_DEL_001_CSR
());
execute
(
TC_CSE_GEN_DEL_001_SPR
());
execute
(
TC_CSE_GEN_DEL_001_ABS
());
execute
(
TC_CSE_REG_BV_001
());
execute
(
TC_CSE_REG_BV_002
());
execute
(
TC_CSE_REG_BV_003
());
...
...
This diff is collapsed.
Click to expand it.
OneM2M_Testcases.ttcn
+
113
−
81
View file @
acfc0239
...
...
@@ -7,7 +7,7 @@
*
* @author oneM2M
* @version $URL: https://oldforge.etsi.org/svn/oneM2M/trunk/ttcn/OneM2M_Testcases.ttcn $
* $Id: OneM2M_Testcases.ttcn 32
0
2017-07-14 1
6:03:52
Z reinaortega $
* $Id: OneM2M_Testcases.ttcn 32
1
2017-07-14 1
8:16:07
Z reinaortega $
* @desc Module containing test cases for oneM2M
*
*/
...
...
@@ -84,27 +84,31 @@ module OneM2M_Testcases {
group Generic {
group Create {
group g_CSE_GEN_CRE_
BV_
001 {
group g_CSE_GEN_CRE_001 {
testcase TC_CSE_GEN_CRE_BV_001_CSR() runs on CseTester system CseSystem {
/**
* @desc Check that the IUT accepts the creation of a resource using unstructured resource identifier
*
*/
testcase TC_CSE_GEN_CRE_001_CSR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_CRE_
BV_
001(e_cseRelative);
f_CSE_GEN_CRE_001(e_cseRelative);
}
testcase TC_CSE_GEN_CRE_
BV_
001_SPR() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_CRE_001_SPR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_CRE_
BV_
001(e_spRelative);
f_CSE_GEN_CRE_001(e_spRelative);
}
testcase TC_CSE_GEN_CRE_
BV_
001_ABS() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_CRE_001_ABS() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_CRE_
BV_
001(e_absolute);
f_CSE_GEN_CRE_001(e_absolute);
}
function f_CSE_GEN_CRE_
BV_
001(in PrimitiveScope p_primitiveScope) runs on CseTester {
function f_CSE_GEN_CRE_001(in PrimitiveScope p_primitiveScope) runs on CseTester {
// Local variables
var RequestPrimitive v_request;
...
...
@@ -161,32 +165,36 @@ module OneM2M_Testcases {
// Tear down
f_cf01Down();
}//end f_CSE_GEN_CRE_
BV_
001
}//end f_CSE_GEN_CRE_001
} // end of group g_CSE_GEN_CRE_
BV_
001
} // end of group g_CSE_GEN_CRE_001
group g_CSE_GEN_CRE_
BV_
002 {
group g_CSE_GEN_CRE_002 {
testcase TC_CSE_GEN_CRE_BV_002_CSR() runs on CseTester system CseSystem {
/**
* @desc Check that the IUT accepts the creation of a resource using structured resource identifier
*
*/
testcase TC_CSE_GEN_CRE_002_CSR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_CRE_
BV_
002(e_cseRelative);
f_CSE_GEN_CRE_002(e_cseRelative);
}
testcase TC_CSE_GEN_CRE_
BV_
002_SPR() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_CRE_002_SPR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_CRE_
BV_
002(e_spRelative);
f_CSE_GEN_CRE_002(e_spRelative);
}
testcase TC_CSE_GEN_CRE_
BV_
002_ABS() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_CRE_002_ABS() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_CRE_
BV_
002(e_absolute);
f_CSE_GEN_CRE_002(e_absolute);
}
function f_CSE_GEN_CRE_
BV_
002(in PrimitiveScope p_primitiveScope) runs on CseTester {
function f_CSE_GEN_CRE_002(in PrimitiveScope p_primitiveScope) runs on CseTester {
// Local variables
var RequestPrimitive v_request;
...
...
@@ -243,35 +251,39 @@ module OneM2M_Testcases {
// Tear down
f_cf01Down();
}//end f_CSE_GEN_CRE_
BV_
002
}//end f_CSE_GEN_CRE_002
} // end of group g_CSE_GEN_CRE_
BV_
002
} // end of group g_CSE_GEN_CRE_002
} // end of group Create
group Retrieve {
group g_CSE_GEN_RET_
BV_
001 {
group g_CSE_GEN_RET_001 {
testcase TC_CSE_GEN_RET_BV_001_CSR() runs on CseTester system CseSystem {
/**
* @desc Check that the IUT accepts the retrieval of a <container> resource using unstructured resource identifier
*
*/
testcase TC_CSE_GEN_RET_001_CSR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_RET_
BV_
001(e_cseRelative);
f_CSE_GEN_RET_001(e_cseRelative);
}
testcase TC_CSE_GEN_RET_
BV_
001_SPR() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_RET_001_SPR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_RET_
BV_
001(e_spRelative);
f_CSE_GEN_RET_001(e_spRelative);
}
testcase TC_CSE_GEN_RET_
BV_
001_ABS() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_RET_001_ABS() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_RET_
BV_
001(e_absolute);
f_CSE_GEN_RET_001(e_absolute);
}
function f_CSE_GEN_RET_
BV_
001(in PrimitiveScope p_primitiveScope) runs on CseTester {
function f_CSE_GEN_RET_001(in PrimitiveScope p_primitiveScope) runs on CseTester {
// Local variables
var integer v_aeIndex := -1;
...
...
@@ -326,32 +338,36 @@ module OneM2M_Testcases {
// Tear down
f_cf01Down();
}//end f_CSE_GEN_RET_
BV_
001
}//end f_CSE_GEN_RET_001
} // end of group g_CSE_GEN_RET_
BV_
001
} // end of group g_CSE_GEN_RET_001
group g_CSE_GEN_RET_
BV_
002 {
group g_CSE_GEN_RET_002 {
testcase TC_CSE_GEN_RET_BV_002_CSR() runs on CseTester system CseSystem {
/**
* @desc Check that the IUT accepts the retrieval of a <container> resource using structured resource identifier
*
*/
testcase TC_CSE_GEN_RET_002_CSR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_RET_
BV_
002(e_cseRelative);
f_CSE_GEN_RET_002(e_cseRelative);
}
testcase TC_CSE_GEN_RET_
BV_
002_SPR() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_RET_002_SPR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_RET_
BV_
002(e_spRelative);
f_CSE_GEN_RET_002(e_spRelative);
}
testcase TC_CSE_GEN_RET_
BV_
002_ABS() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_RET_002_ABS() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_RET_
BV_
002(e_absolute);
f_CSE_GEN_RET_002(e_absolute);
}
function f_CSE_GEN_RET_
BV_
002(in PrimitiveScope p_primitiveScope) runs on CseTester {
function f_CSE_GEN_RET_002(in PrimitiveScope p_primitiveScope) runs on CseTester {
// Local variables
var integer v_aeIndex := -1;
...
...
@@ -405,34 +421,38 @@ module OneM2M_Testcases {
// Tear down
f_cf01Down();
}//end f_CSE_GEN_RET_
BV_
002
}//end f_CSE_GEN_RET_002
} // end of group g_CSE_GEN_RET_
BV_
002
} // end of group g_CSE_GEN_RET_002
} // end of group Retrieve
group Update {
group g_CSE_GEN_UPD_
BV_
001 {
group g_CSE_GEN_UPD_001 {
testcase TC_CSE_GEN_UPD_BV_001_CSR() runs on CseTester system CseSystem {
/**
* @desc Check that the IUT accepts the update of a <container> resource using unstructured resource identifier
*
*/
testcase TC_CSE_GEN_UPD_001_CSR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_UPD_
BV_
001(e_cseRelative);
f_CSE_GEN_UPD_001(e_cseRelative);
}
testcase TC_CSE_GEN_UPD_
BV_
001_SPR() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_UPD_001_SPR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_UPD_
BV_
001(e_spRelative);
f_CSE_GEN_UPD_001(e_spRelative);
}
testcase TC_CSE_GEN_UPD_
BV_
001_ABS() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_UPD_001_ABS() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_UPD_
BV_
001(e_absolute);
f_CSE_GEN_UPD_001(e_absolute);
}
function f_CSE_GEN_UPD_
BV_
001(in PrimitiveScope p_primitiveScope) runs on CseTester {
function f_CSE_GEN_UPD_001(in PrimitiveScope p_primitiveScope) runs on CseTester {
// Local variables
var RequestPrimitive v_updateRequest := valueof(m_updateContainerBase);
...
...
@@ -492,31 +512,35 @@ module OneM2M_Testcases {
// Tear down
f_cf01Down();
}//end f_CSE_GEN_UPD_
BV_
001
}//end f_CSE_GEN_UPD_001
} // end of group g_CSE_GEN_UPD_
BV_
001
} // end of group g_CSE_GEN_UPD_001
group g_CSE_GEN_UPD_
BV_
002 {
group g_CSE_GEN_UPD_002 {
testcase TC_CSE_GEN_UPD_BV_002_CSR() runs on CseTester system CseSystem {
/**
* @desc Check that the IUT accepts the update of a <container> resource using structured resource identifier
*
*/
testcase TC_CSE_GEN_UPD_002_CSR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_UPD_
BV_
002(e_cseRelative);
f_CSE_GEN_UPD_002(e_cseRelative);
}
testcase TC_CSE_GEN_UPD_
BV_
002_SPR() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_UPD_002_SPR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_UPD_
BV_
002(e_spRelative);
f_CSE_GEN_UPD_002(e_spRelative);
}
testcase TC_CSE_GEN_UPD_
BV_
002_ABS() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_UPD_002_ABS() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_UPD_
BV_
002(e_absolute);
f_CSE_GEN_UPD_002(e_absolute);
}
function f_CSE_GEN_UPD_
BV_
002(in PrimitiveScope p_primitiveScope) runs on CseTester {
function f_CSE_GEN_UPD_002(in PrimitiveScope p_primitiveScope) runs on CseTester {
// Local variables
var RequestPrimitive v_updateRequest := valueof(m_updateContainerBase);
...
...
@@ -576,35 +600,39 @@ module OneM2M_Testcases {
// Tear down
f_cf01Down();
}//end f_CSE_GEN_UPD_
BV_
002
}//end f_CSE_GEN_UPD_002
} // end of group g_CSE_GEN_UPD_
BV_
002
} // end of group g_CSE_GEN_UPD_002
} // end of group Update
group Delete {
group g_CSE_GEN_DEL_
BV_
001 {
group g_CSE_GEN_DEL_001 {
testcase TC_CSE_GEN_DEL_BV_001_CSR() runs on CseTester system CseSystem {
/**
* @desc Check that the IUT accepts the deletion of a <container> resource using unstructured resource identifier
*
*/
testcase TC_CSE_GEN_DEL_001_CSR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_DEL_
BV_
001(e_cseRelative);
f_CSE_GEN_DEL_001(e_cseRelative);
}
testcase TC_CSE_GEN_DEL_
BV_
001_SPR() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_DEL_001_SPR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_DEL_
BV_
001(e_spRelative);
f_CSE_GEN_DEL_001(e_spRelative);
}
testcase TC_CSE_GEN_DEL_
BV_
001_ABS() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_DEL_001_ABS() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_DEL_
BV_
001(e_absolute);
f_CSE_GEN_DEL_001(e_absolute);
}
function f_CSE_GEN_DEL_
BV_
001(in PrimitiveScope p_primitiveScope) runs on CseTester {
function f_CSE_GEN_DEL_001(in PrimitiveScope p_primitiveScope) runs on CseTester {
// Local variables
var RequestPrimitive v_request;
...
...
@@ -662,32 +690,36 @@ module OneM2M_Testcases {
// Tear down
f_cf01Down();
}//end f_CSE_GEN_DEL_
BV_
001
}//end f_CSE_GEN_DEL_001
} // end of group g_CSE_GEN_DEL_
BV_
001
} // end of group g_CSE_GEN_DEL_001
group g_CSE_GEN_DEL_
BV_
002 {
group g_CSE_GEN_DEL_002 {
testcase TC_CSE_GEN_DEL_BV_002_CSR() runs on CseTester system CseSystem {
/**
* @desc Check that the IUT accepts the deletion of a <container> resource using structured resource identifier
*
*/
testcase TC_CSE_GEN_DEL_002_CSR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_DEL_
BV_
002(e_cseRelative);
f_CSE_GEN_DEL_002(e_cseRelative);
}
testcase TC_CSE_GEN_DEL_
BV_
002_SPR() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_DEL_002_SPR() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_DEL_
BV_
002(e_spRelative);
f_CSE_GEN_DEL_002(e_spRelative);
}
testcase TC_CSE_GEN_DEL_
BV_
002_ABS() runs on CseTester system CseSystem {
testcase TC_CSE_GEN_DEL_002_ABS() runs on CseTester system CseSystem {
// Local variables
f_CSE_GEN_DEL_
BV_
002(e_absolute);
f_CSE_GEN_DEL_002(e_absolute);
}
function f_CSE_GEN_DEL_
BV_
002(in PrimitiveScope p_primitiveScope) runs on CseTester {
function f_CSE_GEN_DEL_002(in PrimitiveScope p_primitiveScope) runs on CseTester {
// Local variables
var RequestPrimitive v_request;
...
...
@@ -745,10 +777,10 @@ module OneM2M_Testcases {
// Tear down
f_cf01Down();
}//end f_CSE_GEN_DEL_
BV_
002
}//end f_CSE_GEN_DEL_002
} // end of group g_CSE_GEN_DEL_
BV_
002
} // end of group g_CSE_GEN_DEL_002
} // end of group Delete
...
...
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