Commit eb11c30a authored by YannGarcia's avatar YannGarcia

Update BWA test cases

parent d1466572
......@@ -1246,8 +1246,7 @@
alt {
[] httpPort.receive(
mw_http_response(
mw_http_response_204_no_content(
)
mw_http_response_204_no_content
)
)
{
......
......@@ -1626,7 +1626,7 @@ module AtsMec_AppEnablementAPI_TestCases {
alt {
[] httpPort.receive(
mw_http_response(
mw_http_response_412_precondition_failed()
mw_http_response_412_precondition_failed
)) {
tc_ac.stop;
......
......@@ -361,8 +361,8 @@ module AtsMec_AppLCM_TestCases {
alt {
[] httpPort.receive(
mw_http_response(
mw_http_response_204_no_content(
))) -> value v_response {
mw_http_response_204_no_content
)) -> value v_response {
tc_ac.stop;
log("*** " & testcasename() & ": PASS: IUT successfully responds with a 204 no content status code ***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
......@@ -1471,7 +1471,7 @@ group app_lcm_subscriptions {
alt {
[] httpPort.receive(
mw_http_response(
mw_http_response_204_no_content()
mw_http_response_204_no_content
)) -> value v_response {
tc_ac.stop;
......
......@@ -116,7 +116,21 @@ module AtsMec_TestControl {
}
if (PICS_BWMANAGEMENT_API_SUPPORTED) {
execute(TC_MEC_PLAT_MP1_BWA_BV_001());
execute(TC_MEC_SRV_BWA_001_OK());
execute(TC_MEC_SRV_BWA_001_BR());
execute(TC_MEC_SRV_BWA_002_OK());
execute(TC_MEC_SRV_BWA_002_BR());
execute(TC_MEC_SRV_BWA_003_OK());
execute(TC_MEC_SRV_BWA_003_NF());
execute(TC_MEC_SRV_BWA_004_OK());
execute(TC_MEC_SRV_BWA_004_BR());
execute(TC_MEC_SRV_BWA_004_NF());
execute(TC_MEC_SRV_BWA_005_OK());
execute(TC_MEC_SRV_BWA_005_BR());
execute(TC_MEC_SRV_BWA_005_NF());
execute(TC_MEC_SRV_BWA_005_PF());
execute(TC_MEC_SRV_BWA_006_OK());
execute(TC_MEC_SRV_BWA_006_NF());
}
} // End of 'control' statement
......
LibIts @ b45c6e85
Subproject commit 3c0c0de3330be31a4a670518770d7ef20dacf245
Subproject commit b45c6e85ab69bb72637c9e0396ed0a48944d85ae
......@@ -3,11 +3,21 @@ module BwManagementAPI_Pixits {
// LibCommon
import from LibCommon_BasicTypesAndValues all;
// LibMec/BwManagementAPI
import from BwManagementAPI_TypesAndValues all;
// LibMec/LocationAPI
import from LocationAPI_TypesAndValues all;
modulepar Address PX_APP_INSTANCE_ID := "appInst01";
modulepar FixedAllocation PX_FIXED_ALLOCATION := "";
modulepar FixedAllocation PX_ALLOCATION_ID := "";
modulepar FixedAllocation PX_FIXED_PATCHED_ALLOCATION := "";
modulepar FixedAllocation PX_NON_EXISTENT_ALLOCATION_ID := "";
modulepar ResourceURL PX_RESOURCE_URL := "http://example.com/exampleAPI/location/v2/users?address:acr:192.0.0.1";
} // End of module BwManagementAPI_Pixits
......@@ -43,7 +43,7 @@ module BwManagementAPI_Templates {
in RequestType p_requestType,
in FixedBWPriority p_fixedBWPriority,
in FixedAllocation p_fixedAllocation,
in AllocationDirection p_allocationDirection
in AllocationDirection p_allocationDirection := Downlink
) := {
timeStamp := omit,
appInsId := p_appInsId,
......
......@@ -72,7 +72,8 @@ module BwManagementAPI_TypesAndValues {
*/
type enumerated RequestType {
APPLICATION_SPECIFIC_BW_ALLOCATION,
SESSION_SPECIFIC_BW_ALLOCATION
SESSION_SPECIFIC_BW_ALLOCATION,
INVALID_BW_ALLOCATION
}
/**
......
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