* @desc Check that the IUT returns successfully after a CREATE request only hierarchichal address of the created resource when the Result Content is set to 2 (hierarchical address)
*
*/
testcase TC_CSE_DMR_CRE_013_CNT() runs on Tester system CseSystem {
testcase TC_CSE_DMR_CRE_012_CIN_CR() runs on Tester system CseSystem {//TODO
// Local variables
var template PrimitiveContent v_contentResponse;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
var template RequestPrimitive v_createRequest := m_createContentInstanceBase;
function f_CSE_DMR_CRE_012(ResourceType p_resourceType, template RequestPrimitive p_requestPrimitive, in AttributeAux p_optionalAttribute) runs on AeSimu {
[] mcaPort.receive(mw_response(mw_responsePrimitiveKO)) -> value v_response {
tc_ac.stop;
setverdict(fail, __SCOPE__ & ": Error while creating resource");
setverdict(fail, __SCOPE__ & ": Error while retrieving resource");
}
[] tc_ac.timeout {
setverdict(fail, __SCOPE__ & ": No answer while creating resource");
setverdict(fail, __SCOPE__ & ": No answer while retrieving resource");
}
}
// Postamble
f_cse_postamble_deleteResources();
// Tear down
f_cf01Down();
}//end f_CSE_DMR_CRE_013
} // end g_CSE_DMR_CRE_013
group g_CSE_DMR_CRE_014 {
}//end TC_CSE_DMR_CRE_014
}// end group g_CSE_DMR_CRE_014
group g_CSE_DMR_CRE_015 {
/**
* @desc Check that the IUT returns successfully after a CREATE request only attributes and hierarchichal address of the created resource when ResultContent is set 3 (attributes and hierarchichal address)
* @desc Check that the IUT returns successfully after a CREATE request an empty content of created resource when the ResultContent set to 0 (Nothing)
*
*/
testcase TC_CSE_DMR_CRE_014_CNT() runs on Tester system CseSystem {
testcase TC_CSE_DMR_CRE_015_CNT() runs on Tester system CseSystem {
testcase TC_CSE_DMR_CRE_015_SUB_ACPI() runs on Tester system CseSystem {
/**
* @desc Check that the IUT returns successfully after a CREATE request only hierarchichal address of the created resource when the Result Content is set to 2 (hierarchical address)
*
*/
testcase TC_CSE_DMR_CRE_016_CNT() runs on Tester system CseSystem {
// Local variables
var template PrimitiveContent v_contentResponse;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
var template RequestPrimitive v_createRequest := m_createSubscriptionBase;
testcase TC_CSE_DMR_CRE_015_SUB_PN() runs on Tester system CseSystem {
/**
* @desc Check that the IUT returns successfully after a CREATE request only attributes and hierarchichal address of the created resource when Result Content is set 3 (attributes and hierarchichal address)
*
*/
testcase TC_CSE_DMR_CRE_017_CNT() runs on Tester system CseSystem {
// Local variables
var template PrimitiveContent v_contentResponse;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
var template RequestPrimitive v_createRequest := m_createSubscriptionBase;
function f_CSE_DMR_CRE_015(ResourceType p_resourceType, template RequestPrimitive p_requestPrimitive, in AttributeAux p_optionalAttribute) runs on AeSimu {
function f_CSE_DMR_CRE_017(ResourceType p_resourceType, template RequestPrimitive p_requestPrimitive, template PrimitiveContent p_contentResponse) runs on AeSimu {