Commit 0d39dfd5 authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix interfaces on GRANT

parent c4a24120
Loading
Loading
Loading
Loading
+8 −8
Original line number Original line Diff line number Diff line
@@ -12,15 +12,15 @@ associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
file and shall not imply any sub-license right.
*/
*/
Package MEC010_2_MEPM_GRANT_BI {
Package MEC010_2_MEO_GRANT_BI {
   
   
   import all from MEC_Common;
   import all from MEC_Common;
   
   
   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_MEPM_GRANT_001_BR"         //Negative case 400 Bad request
      TP Id "TP_MEC_MEO_GRANT_001_BR"         //Negative case 400 Bad request
      
      
      Test objective 
      Test objective 
         "Check that MEPM responds with an error when it receives 
         "Check that MEO responds with an error when it receives 
         a malformed request when a new grant request is performed"
         a malformed request when a new grant request is performed"
      
      
      Reference "ETSI GS MEC 010-2 2.0.10, clause 7.6.1.3.2",
      Reference "ETSI GS MEC 010-2 2.0.10, clause 7.6.1.3.2",
@@ -49,12 +49,12 @@ Package MEC010_2_MEPM_GRANT_BI {
                     attribute _links
                     attribute _links
                  ;
                  ;
               ;
               ;
            ; from the MEO entity
            ; from the MEPM entity
         }
         }
         then {
         then {
            the IUT entity sends a HTTP_RESPONSE containing
            the IUT entity sends a HTTP_RESPONSE containing
               status set to "400 Bad Request"
               status set to "400 Bad Request"
            ; to the MEO entity
            ; to the MEPM entity
         }
         }
      }       
      }       
   }   
   }   
@@ -63,7 +63,7 @@ Package MEC010_2_MEPM_GRANT_BI {
      TP Id "TP_MEC_MEO_GRANTS_003_NF"         //Negative case 404 Not found
      TP Id "TP_MEC_MEO_GRANTS_003_NF"         //Negative case 404 Not found
      
      
      Test objective 
      Test objective 
         "Check that MEPM responds with an error when it receives 
         "Check that MEO responds with an error when it receives 
         a request for returning a grant referred with a wrong ID"
         a request for returning a grant referred with a wrong ID"
      
      
      Reference "ETSI GS MEC 010-2 2.0.10, clause 7.6.1.3.2"
      Reference "ETSI GS MEC 010-2 2.0.10, clause 7.6.1.3.2"
@@ -82,12 +82,12 @@ Package MEC010_2_MEPM_GRANT_BI {
         when {
         when {
            the IUT entity receives a vGET containing
            the IUT entity receives a vGET containing
               uri indicating value "/granting/v1/grants/{GRANTING_ID}" 
               uri indicating value "/granting/v1/grants/{GRANTING_ID}" 
            ; from the MEO entity
            ; from the MEPM entity
         }
         }
         then {
         then {
            the IUT entity sends a HTTP_RESPONSE containing
            the IUT entity sends a HTTP_RESPONSE containing
               status set to "404 Not Found"
               status set to "404 Not Found"
            ; to the MEO entity
            ; to the MEPM entity
         }
         }
      }       
      }       
   }
   }
+7 −5
Original line number Original line Diff line number Diff line
@@ -12,13 +12,13 @@ associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
file and shall not imply any sub-license right.
*/
*/
Package MEC010_2_MEPM_GRANT_BV {
Package MEC010_2_MEO_GRANT_BV {
   
   
   import all from MEC_Common;
   import all from MEC_Common;
   
   
 
 
   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_MEPM_GRANT_001_OK"
      TP Id "TP_MEC_MEO_GRANT_001_OK"
      
      
      Test objective 
      Test objective 
         "Check that MEO sends a synchronous grant response when a grant request is requested"
         "Check that MEO sends a synchronous grant response when a grant request is requested"
@@ -68,8 +68,10 @@ Package MEC010_2_MEPM_GRANT_BV {
      }
      }
   }
   }
 
 

   
   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_MEPM_GRANT_002_OK"
      TP Id "TP_MEC_MEO_GRANT_002_OK"
      
      
      Test objective 
      Test objective 
         "Check that MEO sends a asynchronous grant response when a grant request is requested"
         "Check that MEO sends a asynchronous grant response when a grant request is requested"
@@ -116,7 +118,7 @@ Package MEC010_2_MEPM_GRANT_BV {
  
  


   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_MEPM_GRANT_003_OK"
      TP Id "TP_MEC_MEO_GRANT_003_OK"
      
      
      Test objective 
      Test objective 
         "Check that MEO sends the status of a grant request when a query on a granting ID is performed"
         "Check that MEO sends the status of a grant request when a query on a granting ID is performed"
@@ -154,7 +156,7 @@ Package MEC010_2_MEPM_GRANT_BV {




   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_MEPM_GRANT_004_OK"
      TP Id "TP_MEC_MEO_GRANT_004_OK"
      
      
      Test objective 
      Test objective 
         "Check that MEO sends the status of a grant request when a query on a granting ID is performed"
         "Check that MEO sends the status of a grant request when a query on a granting ID is performed"