Commit 8a7c6ba4 authored by Pramod Kulkarni's avatar Pramod Kulkarni
Browse files

Corrections made for TP CSE/ANNC/CRE/008

parent 8c651947
......@@ -7473,57 +7473,44 @@ module OneM2M_Testcases_CSE_Release_2 {
group g_CSE_ANNC_CRE_008 {
testcase TC_CSE_ANNC_CRE_008_ACP_MBS() runs on Tester system CseSystem {
//Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
var template RequestPrimitive v_createRequest := m_createAcpBase;
var template RequestPrimitive v_createRequestAnnc := mw_createAccessControlPolicyAnnc;
v_createRequest.primitiveContent.accessControlPolicy.announceTo := {PX_CSE1_ID};
v_createRequest.primitiveContent.accessControlPolicy.announcedAttribute := {"maxByteSize"};
v_cse1.start(f_CSE_ANNC_CRE_008_CseSimu(int1, v_createRequestAnnc, v_createRequest));//AccessControlPolicy
v_cse1.done;
}
testcase TC_CSE_ANNC_CRE_007_CNT_CNF() runs on Tester system CseSystem {
testcase TC_CSE_ANNC_CRE_008_CNT_MBS() runs on Tester system CseSystem {
//Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
var template RequestPrimitive v_createRequest := m_createContainerBase;
var template RequestPrimitive v_createRequestAnnc := mw_createContainerAnncBase;
v_createRequest.primitiveContent.container.announceTo := {PX_CSE1_ID};
v_createRequest.primitiveContent.container.announcedAttribute := {"contentInfo"};
v_createRequest.primitiveContent.container.announcedAttribute := {"maxByteSize"};
v_cse1.start(f_CSE_ANNC_CRE_008_CseSimu(int3, v_createRequestAnnc, v_createRequest));//Container
v_cse1.done;
}
testcase TC_CSE_ANNC_CRE_007_CIN_MT() runs on Tester system CseSystem {
testcase TC_CSE_ANNC_CRE_008_CIN_CNF() runs on Tester system CseSystem {
//Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
var template RequestPrimitive v_createRequest := m_createContentInstanceBase;
var template RequestPrimitive v_createRequestAnnc := mw_createContentInstanceAnnc;
v_createRequest.primitiveContent.contentInstance.announceTo := {PX_CSE1_ID};
v_createRequest.primitiveContent.container.announcedAttribute := {"memberType"};
v_createRequest.primitiveContent.contentInstance.announcedAttribute := {"contentInfo"};
v_cse1.start(f_CSE_ANNC_CRE_008_CseSimu(int4, v_createRequestAnnc, v_createRequest));//ContentInstance
v_cse1.done;
}
testcase TC_CSE_ANNC_CRE_007_GRP_LOI() runs on Tester system CseSystem {
testcase TC_CSE_ANNC_CRE_008_GRP_MT() runs on Tester system CseSystem {
//Local variables
var CseSimu v_cse1 := CseSimu.create("CSE1") alive;
var template RequestPrimitive v_createRequest := m_createGroupBase;
var template RequestPrimitive v_createRequestAnnc := mw_createGroupAnncBase;
v_createRequest.primitiveContent.group_.announceTo := {PX_CSE1_ID};
v_createRequest.primitiveContent.container.announcedAttribute := {"locationContainerID"};
v_createRequest.primitiveContent.group_.announcedAttribute := {"memberType"};
v_cse1.start(f_CSE_ANNC_CRE_008_CseSimu(int9, v_createRequestAnnc, v_createRequest));//Group
v_cse1.done;
}
} //end group g_CSE_ANNC_CRE_008
......
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