Commit 40219474 authored by Giada Landi's avatar Giada Landi
Browse files

fix

parent a6db919c
Loading
Loading
Loading
Loading
+5 −3
Original line number Original line Diff line number Diff line
@@ -35,7 +35,7 @@ Package MEC_COMMON_BI {
      Expected behaviour
      Expected behaviour
      ensure that {
      ensure that {
         when {
         when {
            the IUT entity receives a HttpRequest containing
            the IUT entity receives a HTTP_REQUEST containing
               uri indicating value ACCEPTABLE_URI,
               uri indicating value ACCEPTABLE_URI,
	       "not" authorization
	       "not" authorization
            ; from the MEC_CONSUMER entity
            ; from the MEC_CONSUMER entity
@@ -66,9 +66,11 @@ Package MEC_COMMON_BI {
      Expected behaviour
      Expected behaviour
      ensure that {
      ensure that {
         when {
         when {
            the IUT entity receives a HttpRequest containing
            the IUT entity receives a HTTP_REQUEST containing
               uri indicating value ACCEPTABLE_URI,
               uri indicating value ACCEPTABLE_URI,
               headers set to vHeadersInvalidToken
               headers containing
      			  authorization set to NOT_VALID_TOKEN
      		   ;
            ; from the MEC_CONSUMER entity
            ; from the MEC_CONSUMER entity
         }
         }
         then {
         then {
+10 −7
Original line number Original line Diff line number Diff line
@@ -18,7 +18,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   
   
   
   
   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_BO_BI_001"         //Negative case 400 Bad request
      TP Id "TP_MEC_MEO_PKGM_001_BR"         //Negative case 400 Bad request
      
      
      Test objective 
      Test objective 
         "Check that MEO responds with an error when it receives 
         "Check that MEO responds with an error when it receives 
@@ -53,6 +53,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
      }       
      }       
   }
   }
   
   
/*
   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001_BO_BI_002"         //Negative case 401 Unauthorized - no token
      TP Id "TP_MEC_MEO_MM1_PKGM_001_BO_BI_002"         //Negative case 401 Unauthorized - no token
      
      
@@ -115,9 +116,10 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
         }
         }
      }       
      }       
   }
   }
*/
   
   
   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_002b_BO_BI_003"         //Negative case 404 Not found
      TP Id "TP_MEC_MEO_PKGM_001_NF"         //Negative case 404 Not found
      
      
      Test objective 
      Test objective 
         "Check that MEO responds with an error when it receives 
         "Check that MEO responds with an error when it receives 
@@ -129,8 +131,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
      PICS Selection PIC_APP_PACKAGE_MANAGEMENT
      PICS Selection PIC_APP_PACKAGE_MANAGEMENT


      Initial conditions  with {
      Initial conditions  with {
         the IUT entity "not" having a App_Package containing    //TODO
         the IUT entity "not" having a App_Package containing
            appPkgId indicating value WRONG_APP_PKG_ID
            appPkgId indicating value NON_EXISTENT_APP_PKG_ID
         ;
         ;
      }
      }


@@ -149,9 +151,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
      }       
      }       
   }
   }
   
   
   //TODO check and change TP IDs
   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_002a_BO_BI_001"         //Negative case 400 Bad request
      TP Id "TP_MEC_MEO_PKGM_002_BR"         //Negative case 400 Bad request
      
      
      Test objective 
      Test objective 
         "Check that MEO responds with an error when it receives 
         "Check that MEO responds with an error when it receives 
@@ -185,7 +186,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
   }
   }
   
   
   
   
   
/*   
      Test Purpose {
      Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_002a_BO_BI_002"         //Negative case 401 Unauthorized - no token
      TP Id "TP_MEC_MEO_MM1_PKGM_002a_BO_BI_002"         //Negative case 401 Unauthorized - no token
      
      
@@ -401,6 +402,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI {
      }       
      }       
   }
   }


*/
   
   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_003_BO_BI_003"         //Negative case 404 Not found
      TP Id "TP_MEC_MEO_MM1_PKGM_003_BO_BI_003"         //Negative case 404 Not found
      
      
+1 −1
Original line number Original line Diff line number Diff line
@@ -88,7 +88,7 @@ Package MEC_Common {
         accept of type STRING
         accept of type STRING
        ;
        ;


      type HttpRequest with
      type HTTP_REQUEST with
	 uri of type STRING
	 uri of type STRING
      ;
      ;