Commit 0c52a6ca482ae98abc0a1870c0378ed3bd76442f

Authored by Miguel Angel Reina Ortega
1 parent 6733eb0c

TC_CSE_DIS_007 correction

Signed-off-by: reinaortega <miguelangel.reinaortega@etsi.org>
... ... @@ -435,7 +435,7 @@ module OneM2M_Templates {
435 435 sizeBelow := omit,
436 436 contentType_list := {},
437 437 attribute_list := {},
438   - filterUsage := omit,
  438 + filterUsage := int1,
439 439 limit := omit,
440 440 semanticsFilter_list := {},
441 441 filterOperation := omit,
... ...
... ... @@ -10679,6 +10679,7 @@ module OneM2M_Testcases_CSE_Release_1 {
10679 10679 var integer v_childResourceIndex := -1;
10680 10680 const ResourceType c_containerResourceType := int3;
10681 10681 var AttributeAux v_invalidAttribute;
  10682 + var FilterCriteria v_invalidFilterCriteria;
10682 10683  
10683 10684 // Test control
10684 10685  
... ... @@ -10692,7 +10693,9 @@ module OneM2M_Testcases_CSE_Release_1 {
10692 10693  
10693 10694 v_resourceIndex := f_cse_createResource(c_containerResourceType, m_createContainerBase, v_aeIndex);
10694 10695 v_childResourceIndex := f_cse_createResource(c_containerResourceType, m_createContainerBase, v_resourceIndex);
10695   - v_request := valueof(m_retrieveFilterUsageOption(f_getResourceAddress(v_resourceIndex), f_getOriginator(v_resourceIndex), int1));
  10696 + v_invalidFilterCriteria := valueof(m_filterCriteria);
  10697 + v_invalidFilterCriteria.sizeBelow := 1;//Whatever value, it will be overwritten by forceFields parameter
  10698 + v_request := valueof(m_retrieveFilterCriteria(f_getResourceAddress(v_resourceIndex), f_getOriginator(v_resourceIndex), v_invalidFilterCriteria));
10696 10699 v_invalidAttribute := {name := "filterCriteria.sizeBelow", value_ := "-1"};
10697 10700 mcaPort.send(f_getMsgOutPrimitive(m_request(v_request, {v_invalidAttribute})));
10698 10701 tc_ac.start;
... ...