Commit 746cc7cf authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Addition of PICS_SUBSCRIPTION_VERIFICATION and usage


Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent 87f61485
...@@ -148,6 +148,14 @@ module OneM2M_Pics { ...@@ -148,6 +148,14 @@ module OneM2M_Pics {
modulepar boolean PICS_NON_BLOCKING_REQUEST_SYNCH := true; modulepar boolean PICS_NON_BLOCKING_REQUEST_SYNCH := true;
modulepar boolean PICS_NON_BLOCKING_REQUEST_ASYNCH := true; modulepar boolean PICS_NON_BLOCKING_REQUEST_ASYNCH := true;
} }
/**
* @desc Subscription capabilities
* @see oneM2M TS-0017 A.5.4-1
*/
group Subscription_capabilities{
modulepar boolean PICS_SUBSCRIPTION_VERIFICATION := true;
}
} }
} // end of module } // end of module
...@@ -368,8 +368,8 @@ module OneM2M_TestControl_IN_profile { ...@@ -368,8 +368,8 @@ module OneM2M_TestControl_IN_profile {
if(true) {execute (TC_CSE_SUB_DEL_001());} if(true) {execute (TC_CSE_SUB_DEL_001());}
if(true) {execute (TC_CSE_SUB_DEL_002());} if(true) {execute (TC_CSE_SUB_DEL_002());}
if(true) {execute (TC_CSE_SUB_DEL_003());} if(true) {execute (TC_CSE_SUB_DEL_003());}
if(true) {execute (TC_CSE_SUB_NTF_001());} if(PICS_SUBSCRIPTION_VERIFICATION) {execute (TC_CSE_SUB_NTF_001());}
if(true) {execute (TC_CSE_SUB_NTF_002());} if(PICS_SUBSCRIPTION_VERIFICATION) {execute (TC_CSE_SUB_NTF_002());}
if(true) {execute (TC_CSE_SUB_NTF_003());} if(true) {execute (TC_CSE_SUB_NTF_003());}
if(true) {execute (TC_CSE_SUB_CRE_004());} if(true) {execute (TC_CSE_SUB_CRE_004());}
......
...@@ -375,8 +375,8 @@ module OneM2M_TestControl_MN_profile { ...@@ -375,8 +375,8 @@ module OneM2M_TestControl_MN_profile {
if(true) {execute (TC_CSE_SUB_DEL_001());} if(true) {execute (TC_CSE_SUB_DEL_001());}
if(true) {execute (TC_CSE_SUB_DEL_002());} if(true) {execute (TC_CSE_SUB_DEL_002());}
if(true) {execute (TC_CSE_SUB_DEL_003());} if(true) {execute (TC_CSE_SUB_DEL_003());}
if(true) {execute (TC_CSE_SUB_NTF_001());} if(PICS_SUBSCRIPTION_VERIFICATION) {execute (TC_CSE_SUB_NTF_001());}
if(true) {execute (TC_CSE_SUB_NTF_002());} if(PICS_SUBSCRIPTION_VERIFICATION) {execute (TC_CSE_SUB_NTF_002());}
if(true) {execute (TC_CSE_SUB_NTF_003());} if(true) {execute (TC_CSE_SUB_NTF_003());}
if(true) {execute (TC_CSE_SUB_CRE_004());} if(true) {execute (TC_CSE_SUB_CRE_004());}
......
...@@ -16,6 +16,7 @@ module OneM2M_Testcases_CSE_Release_2 { ...@@ -16,6 +16,7 @@ module OneM2M_Testcases_CSE_Release_2 {
import from OneM2M_Types all;//{type XSD.ID}; import from OneM2M_Types all;//{type XSD.ID};
import from OneM2M_TypesAndValues all; import from OneM2M_TypesAndValues all;
import from OneM2M_Pixits all; import from OneM2M_Pixits all;
import from OneM2M_Pics all;
import from LibCommon_Time all; import from LibCommon_Time all;
import from OneM2M_Functions all; import from OneM2M_Functions all;
import from OneM2M_PermutationFunctions all; import from OneM2M_PermutationFunctions all;
...@@ -2195,7 +2196,11 @@ module OneM2M_Testcases_CSE_Release_2 { ...@@ -2195,7 +2196,11 @@ module OneM2M_Testcases_CSE_Release_2 {
var integer v_ae2Index := -1; var integer v_ae2Index := -1;
// Test control // Test control
if(not(PICS_SUBSCRIPTION_VERIFICATION)) {
setverdict(inconc, __SCOPE__ & ": Subscription verification support is required to run this test case");
stop;
}
// Test component configuration // Test component configuration
f_cf01Up(true); f_cf01Up(true);
...@@ -2270,7 +2275,11 @@ module OneM2M_Testcases_CSE_Release_2 { ...@@ -2270,7 +2275,11 @@ module OneM2M_Testcases_CSE_Release_2 {
var integer v_ae2Index := -1; var integer v_ae2Index := -1;
// Test control // Test control
if(not(PICS_SUBSCRIPTION_VERIFICATION)) {
setverdict(inconc, __SCOPE__ & ": Subscription verification support is required to run this test case");
stop;
}
// Test component configuration // Test component configuration
f_cf01Up(true); f_cf01Up(true);
......
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