Commit c4e0505f authored by József Gyürüsi's avatar József Gyürüsi
Browse files

[other_task #1679246] Fix CLL Variable tests



Change-Id: I51df3c95ab5dc9ced299832c3defb26c1100b91b
Signed-off-by: József Gyürüsi's avatarJózsef Gyürüsi <jozsef.gyurusi@ericsson.com>
parent 9d762a5e
......@@ -18,8 +18,44 @@ requests.test49 = {
"content": "11.0",
"tp": 2
}
},
{
"getData" : {
"source" : "DsRestAPI_Test_DataSource",
"element" : "TcCPS",
"params" : [{
"paramName" : "EntityGroup",
"paramValue" : "EntityGroup_0"
}, {
"paramName" : "Scenario",
"paramValue" : "Scenario_0"
}, {
"paramName" : "TrafficCase",
"paramValue" : "TrafficCase_0"
}
]
}
},
{
"setData" : {
"source" : "DsRestAPI_Test_DataSource",
"element" : "TcCPS",
"params" : [{
"paramName" : "EntityGroup",
"paramValue" : "EntityGroup_0"
}, {
"paramName" : "Scenario",
"paramValue" : "Scenario_0"
}, {
"paramName" : "TrafficCase",
"paramValue" : "TrafficCase_0"
}
],
"content": "10.0",
"tp": 2
}
}
]
}
descriptions.test48 = "Set data for getData handler"
descriptions.test49 = "Set data for getData handler"
......@@ -5,6 +5,18 @@ responses.test49 = {
"val": "11.000000",
"tp": 2
}
},
{
"node": {
"val": "11.000000",
"tp": 2
}
},
{
"node": {
"val": "10.000000",
"tp": 2
}
}
]
}
......@@ -18,8 +18,25 @@ requests.test50 = {
"content": "12",
"tp": 1
}
},
{
"getData" : {
"source" : "DsRestAPI_Test_DataSource",
"element" : "TcCPS",
"params" : [{
"paramName" : "EntityGroup",
"paramValue" : "EntityGroup_0"
}, {
"paramName" : "Scenario",
"paramValue" : "Scenario_0"
}, {
"paramName" : "TrafficCase",
"paramValue" : "TrafficCase_0"
}
]
}
}
]
}
descriptions.test48 = "Invalid Set data for getData handler: variable type is not correct"
descriptions.test50 = "Invalid Set data for getData handler: variable type is not correct"
......@@ -5,6 +5,12 @@ responses.test50 = {
"val": "f_EPTF_DataSourceClient_handleSetDataValue: Invalid iterator or externalData or parameter: \nSource: \"DsRestAPI_Test_DataSource\"\nPTC : \"tc_EPTF_DsRestAPI_Test_DSServer_JSON\"\nElement Name : \"TcCPS\"\nParams: { { paramName := \"EntityGroup\", paramValue := \"EntityGroup_0\" }, { paramName := \"Scenario\", paramValue := \"Scenario_0\" }, { paramName := \"TrafficCase\", paramValue := \"TrafficCase_0\" } }\nValue to Set: { intVal := 12 }\nIndex List: { }\nReason: Source Variable \"TcCPS\" is read-only or value is not allowed",
"tp": 4
}
},
{
"node": {
"val": "10.000000",
"tp": 2
}
}
]
}
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