Commit dfbb84eb authored by Antonio Castillo Verdugo's avatar Antonio Castillo Verdugo
Browse files

- New templates related to TimeSeries and TimeSeriesInstance


- Fixed c_defaultTimeSeriesInstanceResourceName value
- Some test cases have acquired permutations structure because of the insertion of TimeSeries (CSE_DMR_CRE_007, CSE_DMR_CRE_008, CSE_DMR_CRE_013, CSE_DMR_CRE_014, CSE_DMR_UPD_010, CSE_DMR_UPD_011, CSE_DMR_DEL_005, CSE_DMR_DEL_006, CSE_SUB_CRE_001)
- New permutation: TC_CSE_DMR_UPD_009_TS_EXC,
Signed-off-by: Antonio Castillo Verdugo's avataracverdugo <acverdugo@at4wireless.com>
parent a9407e0f
......@@ -623,6 +623,14 @@ module OneM2M_Templates {
template (value) RequestPrimitive m_updateTimeSeriesBase modifies m_update := {
requestIdentifier := "m_updateTimeSeries",
primitiveContent:= {timeSeries := m_contentUpdateTimeSeries}
};
/**
* @desc Base UPDATE request primitive for TimeSeriesInstance resource
*/
template (value) RequestPrimitive m_updateTimeSeriesInstanceBase modifies m_update:= {
requestIdentifier := "m_updateTimeSeriesInstance",
primitiveContent:= {timeSeriesInstance := m_contentUpdateTimeSeriesInstance}
};
/**
......@@ -2609,19 +2617,19 @@ module OneM2M_Templates {
accessControlPolicyIDs := ?,//MA
expirationTime := ?,//MA M
link := omit, //O NA
dynamicAuthorizationConsultationIDs := omit, //OA
stateTag := ?,//MA
maxNrOfInstances := omit,//O OA
maxByteSize := omit,//O OA
maxInstanceAge := omit,//O OA
currentNrOfInstances := ?,//M OA
currentByteSize := ?,//M OA
periodicInterval := omit,//O OA
dynamicAuthorizationConsultationIDs := *, //OA
stateTag := *,//OA
maxNrOfInstances := *,//O OA
maxByteSize := *,//O OA
maxInstanceAge := *,//O OA
currentNrOfInstances := *,//M OA
currentByteSize := *,//M OA
periodicInterval := *,//O OA
missingDataDetect := omit,//O NA
missingDataList := omit,//O OA
missingDataCurrentNr := omit,//O OA
missingDataDetectTimer := omit,//O OA
ontologyRef := omit,//O OA
missingDataList := *,//O OA
missingDataCurrentNr := *,//O OA
missingDataDetectTimer := *,//O OA
ontologyRef := *,//O OA
choice := omit //O
};
......@@ -2637,12 +2645,12 @@ module OneM2M_Templates {
creationTime := omit,//NA M
lastModifiedTime := omit,//NA M
labels := ?,//MA
expirationTime := ?,//MA M
expirationTime := omit,//NA M
link := omit, //O NA
dataGenerationTime := ?,//M OA
content := ?,//M OA
sequenceNr := omit,//O OA
contentSize := ?//M OA
dataGenerationTime := *,//M OA
content := *,//M OA
sequenceNr := *,//O OA
contentSize := *//M OA
}
/**
......@@ -2711,7 +2719,7 @@ module OneM2M_Templates {
announceTo := omit,//O
announcedAttribute := omit,//O
dataGenerationTime := {alt_ := fx_generateTimestamp()},//M
content := "Value",//M
content := "AnyValue",//M
sequenceNr := omit,//O
contentSize := omit//NP
};
......@@ -3124,6 +3132,26 @@ module OneM2M_Templates {
choice := omit//NP
};
/**
* @desc Base primitiveContent for UPDATE operation for TimeSeriesInstance resource
*/
template (value) TimeSeriesInstance_optional m_contentUpdateTimeSeriesInstance := {
resourceName := omit,
resourceType := omit,
resourceID := omit,
parentID := omit,
creationTime := omit,
lastModifiedTime := omit,
labels := omit,
expirationTime := omit,
announceTo := omit,
announcedAttribute := omit,
dataGenerationTime := omit,
content := omit,
sequenceNr := omit,
contentSize := omit
};
}//end group ContentUpdate
......
......@@ -38,7 +38,7 @@ module OneM2M_TypesAndValues {
const XSD.String c_defaultm2mServiceSubscriptionProfileResourceName := "Mym2mServiceSubscriptionProfileResource";
const XSD.String c_defaultServiceSubscribedAppRuleResourceName := "MyServiceSubscribedAppRuleResource";
const XSD.String c_defaultTimeSeriesResourceName := "MyTimeSeriesResource";
const XSD.String c_defaultTimeSeriesInstanceResourceName := "MyTimeSeriesResource";
const XSD.String c_defaultTimeSeriesInstanceResourceName := "MyTimeSeriesInstanceResource";
const XSD.ID c_aeAuxName := "MyAe";
const XSD.String c_defaultAE2Name := "MyAe2";
const XSD.String c_acpAuxName := "MyAcp";
......
This diff is collapsed.
......@@ -947,6 +947,90 @@ module OneM2M_Testcases_CSE_Release_2 {
}// end group g_CSE_DMR_CRE_006
group g_CSE_DMR_CRE_007 {
/**
* @desc Checks that the IUT accepts a newly created RESOURCE_TYPE when the currentNrOfInstances exceeds the field value set in maxNrOfInstances in the PARENT_RESOURCE_TYPE resource by removing enough of the oldest RESOURCE_TYPE resources to allow the creation of the new RESOURCE_TYPE resource
*
*/
testcase TC_CSE_DMR_CRE_007_CNT_CIN() runs on Tester system CseSystem {
// Local variables
var template RequestPrimitive v_createRequestContainer := m_createContainerBase;
var template RequestPrimitive v_createRequestContentInstance1 := m_createContentInstanceBase;
var template RequestPrimitive v_createRequestContentInstance2 := m_createContentInstanceBase;
const integer c_maxNumberOfInstances := 1;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_createRequestContainer.primitiveContent.container.maxNrOfInstances := c_maxNumberOfInstances;
v_createRequestContentInstance2.primitiveContent.contentInstance.resourceName := c_defaultContentInstanceResourceName & "2"; //Resource 2
v_ae1.start(f_CSE_DMR_CRE_007(int3, v_createRequestContainer, int4, v_createRequestContentInstance1, v_createRequestContentInstance2, c_defaultContentInstanceResourceName));//ContentInstance under Container
v_ae1.done;
}
testcase TC_CSE_DMR_CRE_007_TS_TSI() runs on Tester system CseSystem {
//Local variables
var template RequestPrimitive v_createRequestTimeSeries := m_createTimeSeriesBase;
var template RequestPrimitive v_createRequestTimeSeriesInstance1 := m_createTimeSeriesInstanceBase;
var template RequestPrimitive v_createRequestTimeSeriesInstance2 := m_createTimeSeriesInstanceBase;
const integer c_maxNumberOfInstances := 1;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_createRequestTimeSeries.primitiveContent.timeSeries.maxNrOfInstances := c_maxNumberOfInstances;
v_createRequestTimeSeriesInstance2.primitiveContent.timeSeriesInstance.resourceName := c_defaultTimeSeriesInstanceResourceName & "2"; //Resource 2
v_ae1.start(f_CSE_DMR_CRE_007(int29, v_createRequestTimeSeries, int30, v_createRequestTimeSeriesInstance1, v_createRequestTimeSeriesInstance2, c_defaultTimeSeriesInstanceResourceName));//TimeSeriesInstance under TimeSeries
v_ae1.done;
}
}// end group g_CSE_DMR_CRE_007
group g_CSE_DMR_CRE_008 {
/**
* @desc Checks that the IUT accepts a newly created RESOURCE_TYPE when the currentNrOfInstances exceeds the field value set in maxNrOfInstances in the PARENT_RESOURCE_TYPE resource by removing enough of the oldest RESOURCE_TYPE resources to allow the creation of the new RESOURCE_TYPE resource
*
*/
testcase TC_CSE_DMR_CRE_008_CNT_CIN() runs on Tester system CseSystem {
// Local variables
var template RequestPrimitive v_createRequestContainer := m_createContainerBase;
var template RequestPrimitive v_createRequestContentInstance1 := m_createContentInstanceBase;
var template RequestPrimitive v_createRequestContentInstance2 := m_createContentInstanceBase;
const integer c_maxByteSize := 10;
const XSD.String c_primitiveContent1 := "Content1";
const XSD.String c_primitiveContent2 := "Content2";
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_createRequestContainer.primitiveContent.container.maxByteSize := c_maxByteSize;
v_createRequestContentInstance1.primitiveContent.contentInstance.content := c_primitiveContent1; //ContentInstance 1
v_createRequestContentInstance2.primitiveContent.contentInstance.content := c_primitiveContent2; //ContentInstance 2
v_createRequestContentInstance2.primitiveContent.contentInstance.resourceName := c_defaultContentInstanceResourceName & "2"; //ContentInstance 2
v_ae1.start(f_CSE_DMR_CRE_007(int3, v_createRequestContainer, int4, v_createRequestContentInstance1, v_createRequestContentInstance2, c_defaultContentInstanceResourceName));//ContentInstance under Container
v_ae1.done;
}
testcase TC_CSE_DMR_CRE_008_TS_TSI() runs on Tester system CseSystem {
//Local variables
var template RequestPrimitive v_createRequestTimeSeries := m_createTimeSeriesBase;
var template RequestPrimitive v_createRequestTimeSeriesInstance1 := m_createTimeSeriesInstanceBase;
var template RequestPrimitive v_createRequestTimeSeriesInstance2 := m_createTimeSeriesInstanceBase;
const integer c_maxByteSize := 10;
const XSD.String c_primitiveContent1 := "Content1";
const XSD.String c_primitiveContent2 := "Content2";
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_createRequestTimeSeries.primitiveContent.container.maxByteSize := c_maxByteSize;
v_createRequestTimeSeriesInstance1.primitiveContent.timeSeriesInstance.content := c_primitiveContent1; //ContentInstance 1
v_createRequestTimeSeriesInstance2.primitiveContent.timeSeriesInstance.content := c_primitiveContent2; //ContentInstance 2
v_createRequestTimeSeriesInstance2.primitiveContent.timeSeriesInstance.resourceName := c_defaultTimeSeriesInstanceResourceName & "2"; //ContentInstance 2
v_ae1.start(f_CSE_DMR_CRE_008(int29, v_createRequestTimeSeries, int30, v_createRequestTimeSeriesInstance1, v_createRequestTimeSeriesInstance2, c_defaultTimeSeriesInstanceResourceName));//TimeSeriesInstance under TimeSeries
v_ae1.done;
}
}// end group g_CSE_DMR_CRE_008
group g_CSE_DMR_CRE_012 {
/**
......@@ -1379,6 +1463,63 @@ module OneM2M_Testcases_CSE_Release_2 {
}
}// end group g_CSE_DMR_CRE_012
group g_CSE_DMR_CRE_013 {
/**
* @desc Check that the IUT rejects the CREATE Request of a RESOURCE_TYPE resource with error “NOT_ACCEPTABLE” when contentSize exceeds maxByteSize of the PARENT_RESOURCE_TYPE
*
*/
testcase TC_CSE_DMR_CRE_013_CNT_CIN() runs on Tester system CseSystem {
// Local variables
var template RequestPrimitive v_createRequestContainer := m_createContainerBase;
var template RequestPrimitive v_createRequestContentInstance := m_createContentInstanceBase;
const integer c_maxByteSize := 1;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_createRequestContainer.primitiveContent.container.maxByteSize := c_maxByteSize;
v_ae1.start(f_CSE_DMR_CRE_013(int3, v_createRequestContainer, int4, v_createRequestContentInstance));//ContentInstance under Container
v_ae1.done;
}
testcase TC_CSE_DMR_CRE_013_TS_TSI() runs on Tester system CseSystem {
//Local variables
var template RequestPrimitive v_createRequestTimeSeries := m_createTimeSeriesBase;
var template RequestPrimitive v_createRequestTimeSeriesInstance := m_createTimeSeriesInstanceBase;
const integer c_maxByteSize := 1;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_createRequestTimeSeries.primitiveContent.timeSeries.maxByteSize := c_maxByteSize;
v_ae1.start(f_CSE_DMR_CRE_013(int29, v_createRequestTimeSeries, int30, v_createRequestTimeSeriesInstance));//TimeSeriesInstance under TimeSeries
v_ae1.done;
}
}// end group g_CSE_DMR_CRE_013
group g_CSE_DMR_CRE_014 {
/**
* @desc Check that the IUT updates the currentByteSize attribute in a PARENT_RESOURCE_TYPE when a new RESOURCE_TYPE is created.
*
*/
testcase TC_CSE_DMR_CRE_014_TS_TSI() runs on Tester system CseSystem {
// Local variables
var template RequestPrimitive v_parentResourceRequest := m_createTimeSeriesBase;
var template RequestPrimitive v_childResourceRequest := m_createTimeSeriesInstanceBase;//Default content: "AnyValue" (8 bytes length)
var ResponsePrimitive v_responsePrimitive;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
const integer c_maxByteSize := 512;
v_parentResourceRequest.primitiveContent.timeSeries.maxByteSize := c_maxByteSize;
v_ae1.start(f_CSE_DMR_CRE_014(int29, v_parentResourceRequest, int30, v_childResourceRequest));
v_ae1.done;
}
}// end group g_CSE_DMR_CRE_014
group g_CSE_DMR_CRE_015 {
......@@ -4560,7 +4701,140 @@ module OneM2M_Testcases_CSE_Release_2 {
v_ae1.done;
}
} // end g_CSE_DMR_UPD_009
testcase TC_CSE_DMR_UPD_009_TS_EXC() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
var XSD.PositiveInteger v_expirationCounter := 1;
var template RequestPrimitive v_createRequest := m_createTimeSeriesBase;
var template RequestPrimitive v_updateRequest := m_updateTimeSeriesBase;
v_updateRequest.primitiveContent := {timeSeries_update_invalid := m_contentUpdateTimeSeries_invalid};
v_updateRequest.primitiveContent.timeSeries_update_invalid.expirationCounter := v_expirationCounter;
v_ae1.start(f_CSE_DMR_UPD_009(int29, v_createRequest, v_updateRequest));//TimeSeries
v_ae1.done;
}
} // end g_CSE_DMR_UPD_009
group g_CSE_DMR_UPD_010{
/**
* @desc Check that the stateTag attribute of a RESOURCE_TYPE resource is increased when an update operation has been performed on its child resource
*
*/
testcase TC_CSE_DMR_UPD_010_CNT() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
var RequestPrimitive v_updateRequest := valueof(m_updateContainerBase);
var template RequestPrimitive v_createRequest := m_createContainerBase;
var Labels v_labels_1:= {"VALUE_1"};
var PrimitiveContent v_primitiveContentRetrieveResource;
v_updateRequest.primitiveContent.container.labels := v_labels_1;
v_ae1.start(f_CSE_DMR_UPD_010(int3, v_createRequest, v_updateRequest));//Container
v_ae1.done;
if(getverdict == pass){
v_primitiveContentRetrieveResource := f_getPrimitiveContentRetrievedResource(v_ae1);
//Check that stateTag has been incremented
if(ischosen(v_primitiveContentRetrieveResource.container)) {
if(v_primitiveContentRetrieveResource.container.stateTag == 1){
setverdict(pass, __SCOPE__ & ": The stateTag attribute is incremented");
}else{
setverdict(fail, __SCOPE__ & ": Error the stateTag attribute is not incremented");
}
}
}
}
testcase TC_CSE_DMR_UPD_010_TS() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
var RequestPrimitive v_updateRequest := valueof(m_updateTimeSeriesBase);
var template RequestPrimitive v_createRequest := m_createTimeSeriesBase;
var Labels v_labels_1:= {"VALUE_1"};
var PrimitiveContent v_primitiveContentRetrieveResource;
v_updateRequest.primitiveContent.timeSeries.labels := v_labels_1;
v_ae1.start(f_CSE_DMR_UPD_010(int29, v_createRequest, v_updateRequest));//TimeSeries
v_ae1.done;
if(getverdict == pass){
v_primitiveContentRetrieveResource := f_getPrimitiveContentRetrievedResource(v_ae1);
//Check that stateTag has been incremented
if(ischosen(v_primitiveContentRetrieveResource.timeSeries)) {
if(v_primitiveContentRetrieveResource.timeSeries.stateTag == 1){
setverdict(pass, __SCOPE__ & ": The stateTag attribute is incremented");
}else{
setverdict(fail, __SCOPE__ & ": Error the stateTag attribute is not incremented");
}
}
}
}
} // end g_CSE_DMR_UPD_010
group g_CSE_DMR_UPD_011{
/**
* @desc Check that the IUT rejects the UPDATE Request of an existing RESOURCE_TYPE resource with error “OPERATION_NOT_ALLOWED”
*
*/
testcase TC_CSE_DMR_UPD_011_CNT_CNI() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
var template RequestPrimitive v_updateRequest := m_updateContentInstanceBase;
var Labels v_labels:= {"LABEL"};
var template RequestPrimitive v_createParentRequest := m_createContainerBase;
var template RequestPrimitive v_createChildRequest := m_createContentInstanceBase;
var PrimitiveContent v_primitiveContentRetrieveResource;
v_updateRequest.primitiveContent.contentInstance.labels := v_labels;
v_ae1.start(f_CSE_DMR_UPD_011(int3, v_createParentRequest, int4, v_createChildRequest, v_updateRequest));//ContentInstance under Container
v_ae1.done;
if(getverdict == pass){
v_primitiveContentRetrieveResource := f_getPrimitiveContentRetrievedResource(v_ae1);
//Check that the resource has NOT been udpated
if(ischosen(v_primitiveContentRetrieveResource.contentInstance)) {
if(v_primitiveContentRetrieveResource.contentInstance.labels == v_labels){
setverdict(fail, __SCOPE__ & ": Error: Labels attribute updated")
}
}
}
}
testcase TC_CSE_DMR_UPD_011_TS_TSI() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
var template RequestPrimitive v_updateRequest := m_updateTimeSeriesInstanceBase;
var Labels v_labels:= {"LABEL"};
var template RequestPrimitive v_createParentRequest := m_createTimeSeriesBase;
var template RequestPrimitive v_createChildRequest := m_createTimeSeriesInstanceBase;
var PrimitiveContent v_primitiveContentRetrieveResource;
v_updateRequest.primitiveContent.timeSeriesInstance.labels := v_labels;
v_ae1.start(f_CSE_DMR_UPD_011(int29, v_createParentRequest, int30, v_createChildRequest, v_updateRequest));//TimeSeriesInstance under TimeSeries
v_ae1.done;
if(getverdict == pass){
v_primitiveContentRetrieveResource := f_getPrimitiveContentRetrievedResource(v_ae1);
//Check that the resource has NOT been udpated
if(ischosen(v_primitiveContentRetrieveResource.timeSeriesInstance)) {
if(v_primitiveContentRetrieveResource.timeSeriesInstance.labels == v_labels){
setverdict(fail, __SCOPE__ & ": Error: Labels attribute updated")
}
}
}
}
} // end g_CSE_DMR_UPD_011
group g_CSE_DMR_UPD_014 {
......@@ -6476,6 +6750,82 @@ module OneM2M_Testcases_CSE_Release_2 {
};
};//end of group g_CSE_DMR_DEL_004
group g_CSE_DMR_DEL_005{
/**
* @desc Check that the stateTag attribute of a RESOURCE_TYPE resource is increased when a child resource is deleted
*
*/
testcase TC_CSE_DMR_DEL_005_CNT() runs on Tester system CseSystem {
// Local variables
var PrimitiveContent v_primitiveContentRetrieveResource;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_ae1.start(f_CSE_DMR_DEL_005(int3, m_createContainerBase, int3, m_createContainerBase));//Container
v_ae1.done;
if(getverdict == pass){
v_primitiveContentRetrieveResource := f_getPrimitiveContentRetrievedResource(v_ae1);
//Check that stateTag has been incremented
if(ischosen(v_primitiveContentRetrieveResource.container)) {
if(v_primitiveContentRetrieveResource.container.stateTag == 2){ //(Create and Delete)
setverdict(pass, __SCOPE__ & ": The stateTag attribute is incremented");
}else{
setverdict(fail, __SCOPE__ & ": Error the stateTag attribute is not incremented");
}
}
}
};
testcase TC_CSE_DMR_DEL_005_TS() runs on Tester system CseSystem {
// Local variables
var PrimitiveContent v_primitiveContentRetrieveResource;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_ae1.start(f_CSE_DMR_DEL_005(int29, m_createTimeSeriesBase, int30, m_createTimeSeriesInstanceBase));//TimeSeries
v_ae1.done;
if(getverdict == pass){
v_primitiveContentRetrieveResource := f_getPrimitiveContentRetrievedResource(v_ae1);
//Check that stateTag has been incremented
if(ischosen(v_primitiveContentRetrieveResource.container)) {
if(v_primitiveContentRetrieveResource.timeSeries.stateTag == 2){ //(Create and Delete)
setverdict(pass, __SCOPE__ & ": The stateTag attribute is incremented");
}else{
setverdict(fail, __SCOPE__ & ": Error the stateTag attribute is not incremented");
}
}
}
};
};//end of group g_CSE_DMR_DEL_005
group g_CSE_DMR_DEL_006{
/**
* @desc Check that the IUT decreases the field value of attribute currentNrOfInstances and currentByteSize of parent RESOURCE_TYPE when a latest RESOURCE_TYPE resource is deleted successfully
*
*/
testcase TC_CSE_DMR_DEL_006_CNT_CIN() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_ae1.start(f_CSE_DMR_DEL_006(int3, m_createContainerBase, int4, m_createContentInstanceBase));//ContentInstance under Container
v_ae1.done;
};
testcase TC_CSE_DMR_DEL_006_TS_TSI() runs on Tester system CseSystem {
// Local variables
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_ae1.start(f_CSE_DMR_DEL_006(int29, m_createTimeSeriesBase, int30, m_createTimeSeriesInstanceBase));//TimeSeriesInstance under TimeSeries
v_ae1.done;
};
};//end of group g_CSE_DMR_DEL_006
group g_CSE_DMR_DEL_008{
......@@ -7597,6 +7947,52 @@ module OneM2M_Testcases_CSE_Release_2 {
group Create {
group g_CSE_SUB_CRE_001 {
/**
* @desc Check that the IUT rejects the creation of the <subscription> resource when the target subscribed-to RESOURCE_TYPE resource is not subscribable.
*
*/
testcase TC_CSE_SUB_CRE_001_CIN() runs on Tester system CseSystem {
// Local variables
var template RequestPrimitive v_parentResourceRequest := m_createContainerBase;
var template RequestPrimitive v_childResourceRequest := m_createContentInstanceBase;
var ResponsePrimitive v_responsePrimitive;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
const XSD.String c_content := "Random Value";
v_childResourceRequest.primitiveContent.contentInstance.content := "Random Value";
v_ae1.start(f_CSE_SUB_CRE_001(int3, v_parentResourceRequest, int4, v_childResourceRequest));
v_ae1.done;
}
testcase TC_CSE_SUB_CRE_001_SUB() runs on Tester system CseSystem {
// Local variables
var template RequestPrimitive v_parentResourceRequest := m_createSubscriptionBase;
var ResponsePrimitive v_responsePrimitive;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_ae1.start(f_CSE_SUB_CRE_001(int23, v_parentResourceRequest, int23, v_parentResourceRequest));
v_ae1.done;
}
testcase TC_CSE_SUB_CRE_001_TSI() runs on Tester system CseSystem {
// Local variables
var template RequestPrimitive v_parentResourceRequest := m_createTimeSeriesBase;
var template RequestPrimitive v_childResourceRequest := m_createTimeSeriesInstanceBase;
var ResponsePrimitive v_responsePrimitive;
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
const XSD.String c_content := "Random Value";
v_childResourceRequest.primitiveContent.timeSeriesInstance.content := "Random Value";
v_ae1.start(f_CSE_SUB_CRE_001(int29, v_parentResourceRequest, int30, v_childResourceRequest));
v_ae1.done;
}
}// end group g_CSE_DMR_CRE_014
}//end group Create
group Notify{
......
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