Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC TTCN-3 Test Suite
Commits
eb11c30a
Commit
eb11c30a
authored
Nov 11, 2019
by
YannGarcia
Browse files
Update BWA test cases
parent
d1466572
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
964 additions
and
15 deletions
+964
-15
ttcn/AtsMec/AtsMec_Ams_TestCases.ttcn
ttcn/AtsMec/AtsMec_Ams_TestCases.ttcn
+1
-2
ttcn/AtsMec/AtsMec_AppEnablementAPI_TestCases.ttcn
ttcn/AtsMec/AtsMec_AppEnablementAPI_TestCases.ttcn
+1
-1
ttcn/AtsMec/AtsMec_AppLCM_TestCases.ttcn
ttcn/AtsMec/AtsMec_AppLCM_TestCases.ttcn
+3
-3
ttcn/AtsMec/AtsMec_BwManagementAPI_TestCases.ttcn
ttcn/AtsMec/AtsMec_BwManagementAPI_TestCases.ttcn
+930
-5
ttcn/AtsMec/AtsMec_TestControl.ttcn
ttcn/AtsMec/AtsMec_TestControl.ttcn
+15
-1
ttcn/LibIts
ttcn/LibIts
+1
-1
ttcn/LibMec/BwManagementAPI/ttcn/BwManagementAPI_Pixits.ttcn
ttcn/LibMec/BwManagementAPI/ttcn/BwManagementAPI_Pixits.ttcn
+10
-0
ttcn/LibMec/BwManagementAPI/ttcn/BwManagementAPI_Templates.ttcn
...ibMec/BwManagementAPI/ttcn/BwManagementAPI_Templates.ttcn
+1
-1
ttcn/LibMec/BwManagementAPI/ttcn/BwManagementAPI_TypesAndValues.ttcn
.../BwManagementAPI/ttcn/BwManagementAPI_TypesAndValues.ttcn
+2
-1
No files found.
ttcn/AtsMec/AtsMec_Ams_TestCases.ttcn
View file @
eb11c30a
...
...
@@ -1246,8 +1246,7 @@
alt
{
[]
httpPort
.
receive
(
mw_http_response
(
mw_http_response_204_no_content
(
)
mw_http_response_204_no_content
)
)
{
...
...
ttcn/AtsMec/AtsMec_AppEnablementAPI_TestCases.ttcn
View file @
eb11c30a
...
...
@@ -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
;
...
...
ttcn/AtsMec/AtsMec_AppLCM_TestCases.ttcn
View file @
eb11c30a
...
...
@@ -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
;
...
...
ttcn/AtsMec/AtsMec_BwManagementAPI_TestCases.ttcn
View file @
eb11c30a
This diff is collapsed.
Click to expand it.
ttcn/AtsMec/AtsMec_TestControl.ttcn
View file @
eb11c30a
...
...
@@ -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
ttcn/LibMec/BwManagementAPI/ttcn/BwManagementAPI_Pixits.ttcn
View file @
eb11c30a
...
...
@@ -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
ttcn/LibMec/BwManagementAPI/ttcn/BwManagementAPI_Templates.ttcn
View file @
eb11c30a
...
...
@@ -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
,
...
...
ttcn/LibMec/BwManagementAPI/ttcn/BwManagementAPI_TypesAndValues.ttcn
View file @
eb11c30a
...
...
@@ -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
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment