Commit 2679037f authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Small changes for TC_CSE_REG_CRE_008


Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent 03e1ee11
......@@ -632,7 +632,6 @@ module OneM2M_Templates {
};
template RequestPrimitive mw_updateAEAnnc(template XSD.ID p_from := *, template XSD.ID p_to := ?) modifies mw_update:= {
requestIdentifier := testcasename() & "-m_updateAEAnnc",
primitiveContent := {aEAnnc := ?}
};
......@@ -3753,7 +3752,32 @@ module OneM2M_Templates {
supportedReleaseVersions := ?,//M
choice := *//O
};
template AEAnnc_optional mw_contentAeAnnc_any := {
resourceName := *,//M
resourceType := *,//M
resourceID := *,//M
parentID := *,//M
creationTime := *,//M
lastModifiedTime := *,//M
labels := *,//O
accessControlPolicyIDs := *,//O
expirationTime := *,//M
link := *,//M,
dynamicAuthorizationConsultationIDs := *, //O
appName := *,//O
app_ID := *,//M
aE_ID := *,//M
pointOfAccess := *,//O
ontologyRef := *,//O
nodeLink := *,//O
requestReachability := *,//M
contentSerialization := *,//O
e2eSecInfo:= *, //O
supportedReleaseVersions := ?,//M
choice := *//O
};
template AccessControlPolicy_optional mw_contentAcpBase := {
resourceName := ?,//M
resourceType := ?,//M
......
......@@ -899,6 +899,7 @@ module OneM2M_Testcases_CSE_Release_1 {
function f_CSE_REG_CRE_008() runs on CseSimu {
var RequestPrimitive v_request;
var template RequestPrimitive v_updateAeAnnc := mw_updateAEAnnc;
var integer v_cseBaseIndex := -1;
var integer v_aeIndex := -1;
var integer v_aeIndex_ae1 := -1;
......@@ -929,7 +930,8 @@ module OneM2M_Testcases_CSE_Release_1 {
vc_ae1.start(f_cse_deleteResource(v_aeIndex_ae1));
f_cse_announcementProcedure_updateHandler(mw_updateAEAnnc, -, v_aeAnncIndex);
v_updateAeAnnc.primitiveContent.aEAnnc.link := "INACTIVE";
f_cse_announcementProcedure_updateHandler(v_updateAeAnnc, -, v_aeAnncIndex);
f_cseSimu_checkComponentDoneAndGetVerdict(vc_ae1);
......
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