Commit 218b15ea authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Adding test objective description to ANNC test cases


Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent f1a0b6e9
......@@ -9645,7 +9645,11 @@ module OneM2M_Testcases_CSE_Release_2 {
group Basic {
group g_CSE_ANNC_001 {
/**
* @desc Check that the IUT provides confirmation of the announcement of a resource to the originator of the initiating request after a successful resource announcement procedure
*
*/
testcase TC_CSE_ANNC_001_ACP_UPD() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
......@@ -9781,6 +9785,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_CRE_001 {
/**
* @desc Check that the accessControlPolicyIDs attribute is announced when accessControlPolicyIDs attribute of the original resource is not present
*
*/
testcase TC_CSE_ANNC_CRE_001() runs on Tester system CseSystem {
//Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
......@@ -9798,6 +9806,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_CRE_002 {
/**
* @desc Check that the IUT announces successfully the RESOURCE_TYPE resource when a new CSE-ID is provided in announcedTo optional attribute and IUT having not been announced to announcement target CSE
*
*/
testcase TC_CSE_ANNC_CRE_002_ACP() runs on Tester system CseSystem {
// Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -9852,6 +9864,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_CRE_003 {
/**
* @desc Host CSE of original resource removes an announcement target CSE from the announceTo attribute if it does not return successful CREATE response for the announced resource (for a CREATE initiating resource announcement)
*
*/
testcase TC_CSE_ANNC_CRE_003() runs on Tester system CseSystem {
//Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
......@@ -9870,6 +9886,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_CRE_004 {
/**
* @desc Check that the IUT announces successfully the RESOURCE_TYPE resource during its creation when announceTo optional attribute is provided and its parent resource having been announced to the announcement target CSE
*
*/
testcase TC_CSE_ANNC_CRE_004_ACP() runs on Tester system CseSystem {
// Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -9938,6 +9958,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_CRE_005 {
/**
* @desc Check that the IUT announces successfully the RESOURCE_TYPE resource during its creation when announceTo optional attribute is provided and IUT having been already announced to announcement target CSE
*
*/
testcase TC_CSE_ANNC_CRE_005_ACP() runs on Tester system CseSystem {
//Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -10019,6 +10043,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_CRE_006 {
/**
* @desc Check that the IUT announces successfully the RESOURCE_TYPE resource during its creation when announceTo optional attribute is provided and IUT has registered and created a <remoteCSE> resource to the announcement target CSE
*
*/
testcase TC_CSE_ANNC_CRE_006_ACP() runs on Tester system CseSystem {
//Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -10100,6 +10128,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_CRE_007 {
/**
* @desc Check that the IUT announces successfully the RESOURCE_TYPE resource during its creation when announceTo optional attribute is provided and IUT having not been announced to announcement target CSE
*
*/
testcase TC_CSE_ANNC_CRE_007_ACP() runs on Tester system CseSystem {
//Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -10183,6 +10215,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_CRE_008 {
/**
* @desc Check that the IUT announces successfully the RESOURCE_TYPE resource during its creation when announceTo and announcedAttribute optional attributes are provided and its parent resource having been announced to the announcement target CSE
*
*/
testcase TC_CSE_ANNC_CRE_008_CNT_MBS() runs on Tester system CseSystem {
//Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -10256,6 +10292,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_CRE_009 {
/**
* @desc Check that the labels attribute is announced when such attribute is present in the original resource
*
*/
testcase TC_CSE_ANNC_CRE_009_CNT() runs on Tester system CseSystem {
//Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -10276,6 +10316,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_RET_001 {
/**
* @desc Host of <resourceAnnc> returns the <resourceAnnc> representation in a RETRIEVE response
*
*/
testcase TC_CSE_ANNC_RET_001_ACP() runs on Tester system CseSystem {
//Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
......@@ -10344,6 +10388,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_RET_002 {
/**
* @desc Host of <resourceAnnc> returns the original <resource> representation from the original resource hosting CSE in a RETRIEVE response when result content is set to “original-resource”
*
*/
testcase TC_CSE_ANNC_RET_002_ACP() runs on Tester system CseSystem {
//Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
......@@ -10416,6 +10464,10 @@ module OneM2M_Testcases_CSE_Release_2 {
 
group g_CSE_ANNC_UPD_001{
 
/**
* @desc Check that the IUT announces successfully the RESOURCE_TYPE resource when a new CSE-ID is provided in announcedTo optional attribute and its parent resource having been announced to the announcement target CSE
*
*/
testcase TC_CSE_ANNC_UPD_001_ACP() runs on Tester system CseSystem {
// Local variables
var MnCseSimu v_cse1 := MnCseSimu.create("CSE1") alive;
......@@ -10475,6 +10527,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_002{
 
/**
* @desc Check that the IUT initiates de-announcement of the RESOURCE_TYPE resource when a CSE-ID is deleted from the announceTo optional attribute
*
*/
testcase TC_CSE_ANNC_UPD_002_ACP() runs on Tester system CseSystem {
// Local variables
var MnCseSimu v_cse1 := MnCseSimu.create("CSE1") alive;
......@@ -10554,6 +10610,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_003{
 
/**
* @desc Check that the IUT provides confirmation of resource de-announcement to the originator of the initiating request after a successful resource de-announcement procedure originator (for an UPDATE initiating resource de-announcement)
*
*/
testcase TC_CSE_ANNC_UPD_003_ACP() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
......@@ -10723,6 +10783,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_004 {
/**
* @desc HOST CSE of original resource returns INVALID response if announcedAttributes contains an attribute that is not marked OA
*
*/
testcase TC_CSE_ANNC_UPD_004_ACP() runs on Tester system CseSystem {
// Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -10789,6 +10853,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_005 {
/**
* @desc Check that the labels attribute is de-announced when such attribute is deleted from the original resource
*
*/
testcase TC_CSE_ANNC_UPD_005() runs on Tester system CseSystem {
// Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -10828,6 +10896,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_006 {
/**
* @desc Check that the IUT announces successfully the RESOURCE_TYPE resource when a new CSE-ID is provided in announcedTo optional attribute and IUT having been already announced to announcement target CSE
*
*/
testcase TC_CSE_ANNC_UPD_006_ACP() runs on Tester system CseSystem {
//Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -10886,6 +10958,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_007 {
/**
* @desc Check that the IUT announces successfully the RESOURCE_TYPE resource when a new CSE-ID is provided in announcedTo optional attribute and IUT has registered and created a <remoteCSE> resource to the announcement target CSE
*
*/
testcase TC_CSE_ANNC_UPD_007_ACP() runs on Tester system CseSystem {
//Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -10944,6 +11020,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_008 {
/**
* @desc Check that the IUT provides confirmation of the announcement of an attribute to the originator of the initiating request after a successful attribute announcement procedure
*
*/
testcase TC_CSE_ANNC_UPD_008_CNT_MBS() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
......@@ -11087,6 +11167,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_009{
 
/**
* @desc Check that the IUT updates successfully RESOURCE_TYPE announced variant resource when a new OA attribute is provided to announcedAttribute attribute of the original resource
*
*/
testcase TC_CSE_ANNC_UPD_009_CNT_MBS() runs on Tester system CseSystem {
// Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -11159,6 +11243,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_010{
/**
* @desc Check that the IUT updates successfully the RESOURCE_TYPE announced variant resource when a MA attribute of its original resource is updated.
*
*/
testcase TC_CSE_ANNC_UPD_010_ACP() runs on Tester system CseSystem {
// Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -11258,6 +11346,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_011{
 
/**
* @desc Check that the IUT updates successfully the RESOURCE_TYPE announced variant resource when a optional attribute present in the announcedAttribute attribute of its original resource is updated.
*
*/
testcase TC_CSE_ANNC_UPD_011_CNT_MBS() runs on Tester system CseSystem {
// Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -11336,6 +11428,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_012{
 
/**
* @desc Check that the IUT de-announces successfully an announced attribute when such attribute is deleted from announcedAttribute attribute.
*
*/
testcase TC_CSE_ANNC_UPD_012_CNT_MBS() runs on Tester system CseSystem {
// Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
......@@ -11455,6 +11551,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_013{
/**
* @desc Check that the IUT provides confirmation of the de-announcement of an attribute to the originator of the initiating request after a successful attribute de-announcement procedure
*
*/
testcase TC_CSE_ANNC_UPD_013_CNT_MBS() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
......@@ -11592,6 +11692,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_UPD_014{
/**
* @desc Host CSE of original resource removes an announcement target CSE from the announceTo attribute if it does not return successful CREATE response for the announced resource (for an UPDATE initiating resource announcement)
*
*/
testcase TC_CSE_ANNC_UPD_014_CNT() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
......@@ -11624,6 +11728,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_DEL_001{
/**
* @desc Check that the IUT provides confirmation of resource de-announcement to the originator of the initiating request after a successful resource de-announcement procedure (for a DELETE initiating resource de-announcement)
*
*/
testcase TC_CSE_ANNC_DEL_001_ACP() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
......@@ -11679,6 +11787,10 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_DEL_002{
/**
* @desc Check that the IUT deletes all announced resources when the original resource is deleted.
*
*/
testcase TC_CSE_ANNC_DEL_002_ACP() runs on Tester system CseSystem {
// Local variables
var MnCseSimu v_cse1 := MnCseSimu.create("CSE1") alive;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment