Commit acc14326 authored by Elian Kraja's avatar Elian Kraja
Browse files

Added negative tests on MEC012 and check ProblemDetails on mec010-2

parent 523c99d3
Loading
Loading
Loading
Loading
+36 −5
Changes for Test Purposes/MEC010-2/AppPkgMgt.tplan2: 36 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -102,7 +102,13 @@ Package app_pkg_mgt {
         }
         then {
            the IUT entity sends a HTTP_RESPONSE containing
               status set to HTTP_400_BAD_REQUEST
               status set to HTTP_400_BAD_REQUEST,
               body containing
                  problemDetails containing
                     status set to 400,
                     detail set to any_value
                  ;
               ;
            ; to the MEC_OSS entity
         }
      }       
@@ -140,7 +146,13 @@ Package app_pkg_mgt {
         }
         then {
            the IUT entity sends a HTTP_RESPONSE containing
               status set to HTTP_401_UNAUTHORIZED
               status set to HTTP_401_UNAUTHORIZED,
               body containing
                  problemDetails containing
                     status set to 401,
                     detail set to any_value
                  ;
               ;
            ; to the MEC_OSS entity
         }
      }       
@@ -177,7 +189,13 @@ Package app_pkg_mgt {
         }
         then {
            the IUT entity sends a HTTP_RESPONSE containing
               status set to HTTP_401_UNAUTHORIZED
               status set to HTTP_401_UNAUTHORIZED,
               body containing
                  problemDetails containing
                     status set to 401,
                     detail set to any_value
                  ;
               ;
            ; to the MEC_OSS entity
         }
      }       
@@ -213,7 +231,13 @@ Package app_pkg_mgt {
         }
         then {
            the IUT entity sends a HTTP_RESPONSE containing
               status set to HTTP_404_NOT_FOUND
               status set to HTTP_404_NOT_FOUND,
               body containing
                  problemDetails containing
                     status set to 404,
                     detail set to any_value
                  ;
               ;
            ; to the MEC_OSS entity
         }
      }       
@@ -393,7 +417,14 @@ Package app_pkg_mgt {
         }
         then {
            the IUT entity sends a HTTP_RESPONSE containing
               status set to HTTP_403_FORBIDDEN;
               status set to HTTP_403_FORBIDDEN,
               body containing
                  problemDetails containing
                     status set to 403,
                     detail set to any_value
                  ;
               ;
            ;
            to the MEC_OSS entity
         }
      }
+520 −1

File changed.

Preview size limit exceeded, changes collapsed.

+220 −0

File changed.

Preview size limit exceeded, changes collapsed.

+180 −0

File changed.

Preview size limit exceeded, changes collapsed.

+0 −3
Changes for Test Purposes/MEC012/RNIS_notifications.tplan2: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -45,8 +45,6 @@ Package rnis_notifications {
      Expected behaviour
      ensure that {
         when {
            // TODO: Check whether this could be triggered by the tester of document otherwise
            // with a reference describing this type of events
            the IUT entity generates a cell_change_event containing 
               associateId set to ASSOCIATE_ID;
         }
@@ -58,7 +56,6 @@ Package rnis_notifications {
                  associateId set to ASSOCIATE_ID
               ;
            ; to the MEC_SUB entity
            
         }
      }
   }
Loading