diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index de8355d6e4d30e2ac3df045389b544f5281a02ab..eeb6a7de99bf7d8a152d8b69b9f6109357bd46b9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,5 @@ repos: - - repo: https://github.com/MarketSquare/robotframework-tidy - id: robotidy - rev: 4.11.0 + - repo: https://github.com/MarketSquare/robotframework-robocop + rev: v6.9.2 hooks: - - id: robotidy + - id: robocop-format diff --git a/README.md b/README.md index ad385d9e8a658e7e0de6d7d9261509d9223c55f6..354d82c9338ce4dce482e01fa4b965c3794b882d 100644 --- a/README.md +++ b/README.md @@ -401,9 +401,9 @@ To launch a run configuration, choose one of the two configurations from the Run ### Pre commit Before each commit, a formatting according to the rules of -[Robotidy](https://github.com/MarketSquare/robotframework-tidy) is done for files with the `.robot` or `.resource` +[Robocop](https://robocop.readthedocs.io/en/stable/index.html) is done for files with the `.robot` or `.resource` extension. If nothing has been modified, the commit is done normally. Otherwise, the commit displays an error message -with all the modifications made by Robotidy to format the file. Modified files can then be added to the commit. +with all the modifications made by Robocop to format the file. Modified files can then be added to the commit. To use it, install `pre-commit` with the following commands (using pip): @@ -417,7 +417,7 @@ Now, it will run automatically on every commit. To manually launch the tool, the following command can be used: -```$ python -m robotidy .``` +```$ robocop format``` Further details can be found on the [pre-commit](https://pre-commit.com) site. diff --git a/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyLdContextNotAvailable/043_01.robot b/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyLdContextNotAvailable/043_01.robot index 86ee791f75ff8c115c8e9d548ad4885879999da9..86a5c56e16f54eeded692ec44ae2bd5cdd243207 100644 --- a/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyLdContextNotAvailable/043_01.robot +++ b/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyLdContextNotAvailable/043_01.robot @@ -19,7 +19,7 @@ ${registration_filename}= csourceRegistrations/context-source-registration *** Test Cases *** -043_01_01 Create entity +043_01_01 Create Entity [Documentation] Verify receiving 503 – LdContextNotAvailable error if remote JSON-LD @context cannot be retrieved (Create entity) [Tags] e-create cb-ldcontext 5_2_2 ${entity_id}= Generate Random Building Entity Id @@ -34,7 +34,7 @@ ${registration_filename}= csourceRegistrations/context-source-registration Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} [Teardown] Delete Entity by Id ${entity_id} -043_01_02 Create subscription +043_01_02 Create Subscription [Documentation] Verify receiving 503 – LdContextNotAvailable error if remote JSON-LD @context cannot be retrieved (Create subscription) [Tags] sub-create cb-ldcontext 5_2_2 ${subscription_id}= Generate Random Subscription Id @@ -46,7 +46,7 @@ ${registration_filename}= csourceRegistrations/context-source-registration Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} [Teardown] Delete Subscription ${subscription_id} -043_01_03 Create Temporal Representation of Entities +043_01_03 Create Temporal Representation Of Entities [Documentation] Verify receiving 503 – LdContextNotAvailable error if remote JSON-LD @context cannot be retrieved (Create Temporal Representation of Entities) [Tags] te-create cb-ldcontext 5_2_2 ${temporal_entity_representation_id}= Generate Random Vehicle Entity Id @@ -61,7 +61,7 @@ ${registration_filename}= csourceRegistrations/context-source-registration Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} [Teardown] Delete Temporal Representation Of Entity ${temporal_entity_representation_id} -043_01_04 Batch entity create +043_01_04 Batch Entity Create [Documentation] Verify receiving 503 – LdContextNotAvailable error if remote JSON-LD @context cannot be retrieved (Batch entity create) [Tags] be-create cb-ldcontext 5_2_2 ${first_entity_id}= Generate Random Building Entity Id @@ -84,7 +84,7 @@ ${registration_filename}= csourceRegistrations/context-source-registration ... ${response.json()['errors'][1]['error']} [Teardown] Batch Delete Entities entities_ids_to_be_deleted=@{entities_ids_to_be_created} -043_01_05 Create context source registration +043_01_05 Create Context Source Registration [Documentation] Verify receiving 503 – LdContextNotAvailable error if remote JSON-LD @context cannot be retrieved (Create context source registration) [Tags] csr-create cb-ldcontext 5_2_2 ${registration_id}= Generate Random CSR Id diff --git a/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyMergePatchJson/044_01.robot b/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyMergePatchJson/044_01.robot index 2b521b2b8e225d194fed9021ceced75a3e013c66..5807a82dbd1f9f2ff5bff3dae352974033311414 100644 --- a/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyMergePatchJson/044_01.robot +++ b/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyMergePatchJson/044_01.robot @@ -17,7 +17,7 @@ ${attribute_id}= brandName *** Test Cases *** -044_01_01 endpoint /entities/{entityId}/attrs/{attrId} +044_01_01 Endpoint /entities/{entityId}/attrs/{attrId} [Documentation] Verify that PATCH HTTP requests can be done with "application/merge-patch+json" as Content-Type [Tags] ea-partial-update cb-mergepatch 6_3_4 ${response}= Partial Update Entity Attributes diff --git a/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyNotAcceptableMediaType/049_01.robot b/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyNotAcceptableMediaType/049_01.robot index ae9ba566bb6dfdd2edb542cf9bf88cd8eaf2e01e..3db6875e19cb8def90fd46b15df69b5ad673872f 100644 --- a/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyNotAcceptableMediaType/049_01.robot +++ b/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyNotAcceptableMediaType/049_01.robot @@ -18,7 +18,7 @@ ${status_code}= 406 *** Test Cases *** -049_01_01 Endpoint get /entities/{entityId} +049_01_01 Endpoint Get /entities/{entityId} [Documentation] Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /entities/{entityId}) [Tags] e-query cb-noacceptable-medtype 6_3_4 ${entity_id}= Generate Random Building Entity Id @@ -28,7 +28,7 @@ ${status_code}= 406 Check Response Status Code ${status_code} ${response.status_code} [Teardown] Delete Entity by Id ${entity_id} -049_01_02 Endpoint get /subscriptions/{subscriptionId} +049_01_02 Endpoint Get /subscriptions/{subscriptionId} [Documentation] Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /subscriptions/{subscriptionId}) [Tags] sub-retrieve cb-noacceptable-medtype 6_3_4 ${id}= Generate Random Subscription Id @@ -38,19 +38,19 @@ ${status_code}= 406 Check Response Status Code ${status_code} ${response.status_code} [Teardown] Delete Subscription ${id} -049_01_03 Endpoint get /csourceRegistrations/ +049_01_03 Endpoint Get /csourceRegistrations/ [Documentation] Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /csourceRegistrations/) [Tags] csr-query cb-noacceptable-medtype 6_3_4 ${response}= Query Context Source Registrations With Return type=Building accept=${accept} Check Response Status Code ${status_code} ${response.status_code} -049_01_04 Endpoint get /csourceSubscriptions/ +049_01_04 Endpoint Get /csourceSubscriptions/ [Documentation] Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /csourceSubscriptions/) [Tags] csrsub-query cb-noacceptable-medtype 6_3_4 ${response}= Query Context Source Registration Subscriptions accept=${accept} Check Response Status Code ${status_code} ${response.status_code} -049_01_05 Endpoint get /temporal/entities +049_01_05 Endpoint Get /temporal/entities [Documentation] Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /temporal/entities) [Tags] te-query cb-noacceptable-medtype 6_3_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyNotAcceptableMediaType/049_02.robot b/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyNotAcceptableMediaType/049_02.robot index 728ce974363cbc408f2511cb08f2faed652b6741..3442fdbd6f1584f5a71294b1251b9eca2b934894 100644 --- a/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyNotAcceptableMediaType/049_02.robot +++ b/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyNotAcceptableMediaType/049_02.robot @@ -15,7 +15,7 @@ ${status_code}= 406 *** Test Cases *** -049_02_01 Retrieve subscription by id +049_02_01 Retrieve Subscription By Id [Documentation] Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header is "application/geo+json" for operations different than "Retrieve Entity" and "Query Entity" (get /subscriptions/{subscriptionId}) [Tags] sub-retrieve cb-noacceptable-medtype 6_3_4 ${id}= Generate Random Subscription Id @@ -24,7 +24,7 @@ ${status_code}= 406 ... accept=${accept} Check Response Status Code ${status_code} ${response.status_code} -049_02_02 Query temporal entities +049_02_02 Query Temporal Entities [Documentation] Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header is "application/geo+json" for operations different than "Retrieve Entity" and "Query Entity" (get /temporal/entities) [Tags] te-query cb-noacceptable-medtype 6_3_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle @@ -35,7 +35,7 @@ ${status_code}= 406 ... accept=${accept} Check Response Status Code ${status_code} ${response.status_code} -049_02_03 Query context source registration +049_02_03 Query Context Source Registration [Documentation] Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header is "application/geo+json" for operations different than "Retrieve Entity" and "Query Entity" (get /csourceRegistrations) [Tags] csr-query cb-noacceptable-medtype 6_3_4 ${response}= Query Context Source Registrations With Return type=Building accept=${accept} diff --git a/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyUnsupportedMediaType/048_01.robot b/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyUnsupportedMediaType/048_01.robot index 41fdf24243db6ba957cf70f5087360f920e8c2cb..00b6b02c8785c3c3f95917dfda54b2cb3b9149c0 100644 --- a/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyUnsupportedMediaType/048_01.robot +++ b/TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyUnsupportedMediaType/048_01.robot @@ -21,7 +21,7 @@ ${content_type}= application/xml *** Test Cases *** -048_01_01 Endpoint patch /entities/{entityId}/attrs/{attrId} +048_01_01 Endpoint Patch /entities/{entityId}/attrs/{attrId} [Documentation] Verify throwing 415 HTTP status code (Unsupported Media Type) if "Content-Type" header is not "application/json" or "application/ld+json" (patch /entities/{entityId}/attrs/{attrId}) [Tags] ea-partial-update cb-unsupport-medtype 6_3_4 ${entity_id}= Generate Random Vehicle Entity Id @@ -33,7 +33,7 @@ ${content_type}= application/xml Check Response Status Code 415 ${response.status_code} [Teardown] Delete Entity by Id ${entity_id} -048_01_02 Endpoint patch /subscriptions/{subscriptionId} +048_01_02 Endpoint Patch /subscriptions/{subscriptionId} [Documentation] Verify throwing 415 HTTP status code (Unsupported Media Type) if "Content-Type" header is not "application/json" or "application/ld+json" (patch /subscriptions/{subscriptionId}) [Tags] sub-update cb-unsupport-medtype 6_3_4 ${id}= Generate Random Subscription Id @@ -41,7 +41,7 @@ ${content_type}= application/xml Check Response Status Code 415 ${response.status_code} [Teardown] Delete Subscription ${id} -048_01_03 Endpoint post /entities/ +048_01_03 Endpoint Post /entities/ [Documentation] Verify throwing 415 HTTP status code (Unsupported Media Type) if "Content-Type" header is not "application/json" or "application/ld+json" (post /entities/) [Tags] e-create cb-unsupport-medtype 6_3_4 ${entity_id}= Generate Random Building Entity Id @@ -52,7 +52,7 @@ ${content_type}= application/xml Check Response Status Code 415 ${response.status_code} [Teardown] Delete Entity by Id ${entity_id} -048_01_04 Endpoint post /subscriptions/ +048_01_04 Endpoint Post /subscriptions/ [Documentation] Verify throwing 415 HTTP status code (Unsupported Media Type) if "Content-Type" header is not "application/json" or "application/ld+json" (post /subscriptions/) [Tags] sub-create cb-unsupport-medtype 6_3_4 ${subscriptions_id}= Generate Random Subscription Id @@ -60,7 +60,7 @@ ${content_type}= application/xml Check Response Status Code 415 ${response.status_code} [Teardown] Delete Subscription ${subscriptions_id} -048_01_05 Endpoint post /entityOperations/create +048_01_05 Endpoint Post /entityOperations/create [Documentation] Verify throwing 415 HTTP status code (Unsupported Media Type) if "Content-Type" header is not "application/json" or "application/ld+json" (post /entityOperations/create) [Tags] be-create cb-unsupport-medtype 6_3_4 ${first_entity_id}= Generate Random Building Entity Id @@ -73,7 +73,7 @@ ${content_type}= application/xml Check Response Status Code 415 ${response.status_code} [Teardown] Batch Delete Entities entities_ids_to_be_deleted=@{expected_entities_ids} -048_01_06 Endpoint post /temporal/entities/ +048_01_06 Endpoint Post /temporal/entities/ [Documentation] Verify throwing 415 HTTP status code (Unsupported Media Type) if "Content-Type" header is not "application/json" or "application/ld+json" (post /temporal/entities/) [Tags] te-create cb-unsupport-medtype 6_3_4 ${temporal_entity_representation_id}= Generate Random Vehicle Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_01.robot index ef3de1232b9511612fc87b5e6834fd77cf75de6c..a0eb001f04264d48da054e58718148d24070b721 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_01.robot @@ -18,7 +18,7 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building *** Test Cases *** -019_01_01 Query several entities based on ids +019_01_01 Query Several Entities Based On Ids [Documentation] Check that one can query several entities based on ids [Tags] e-query 5_7_2 @{entities_ids_to_be_compared}= Create List ${first_entity_id} ${second_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_02.robot index a5014450c070ab551c5573a5d88c575282537f99..3b808664994314769ffc5985531e5fe8e393f1ea 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_02.robot @@ -22,7 +22,7 @@ ${parking_entity_type}= https://ngsi-ld-test-suite/context#OffStreetParking *** Test Cases *** -019_01_02 Query several entities based on the entities types +019_01_02 Query Several Entities Based On The Entities Types [Documentation] Check that one can query several entities based on the entities types [Tags] e-query 5_7_2 @{entities_ids_to_be_compared}= Create List ${vehicle_entity_id} ${parking_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_03.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_03.robot index e61c33589d8901cf5df25e376dd11b239041284c..382e5328a041d1a1aa38dd41d8226c513cdd2a66 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_03.robot @@ -19,7 +19,7 @@ ${entity_id_pattern}= urn:ngsi-ld:Building:.* *** Test Cases *** -019_01_03 Query several entities based on the given id pattern +019_01_03 Query Several Entities Based On The Given Id Pattern [Documentation] Check that one can query several entities based on the given id pattern [Tags] e-query 5_7_2 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, ${entity_type} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_04.robot index 6f78753aa8e0bc141911664246a8d6c9fc34b97d..2fa093875d22b8ad944c48bbe30ef5a2d9ef1554 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_04.robot @@ -21,7 +21,7 @@ ${attribute_subcategory}= https://ngsi-ld-test-suite/context#subCatego *** Test Cases *** -019_01_04 Query several entities based on attribute names +019_01_04 Query Several Entities Based On Attribute Names [Documentation] Check that one can query several entities based on attribute names [Tags] e-query 5_7_2 ${attributes_to_be_retrieved}= Catenate diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_05.robot index a542ac9dd4a95adf7d4ade75fe3bdcef57ac841a..5014ad2e7c9751b83b655fabb02447cac8447156 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_05.robot @@ -21,7 +21,7 @@ ${coordinates}= [13.3986, 52.5547] *** Test Cases *** -019_01_05 Query several entities based on a geoquery +019_01_05 Query Several Entities Based On A Geoquery [Documentation] Check that one can query entities based on a geoquery [Tags] e-query 5_7_2 @{entities_ids_to_be_compared}= Create List ${first_entity_id} ${second_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_01.robot index 638f17c5c51070183268600f0239234e33ef2a9c..16b84c579959da58b413f118c8837275b558276d 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_01.robot @@ -18,7 +18,7 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building *** Test Cases *** -019_02_01 Query one entity via POST Interaction based on id +019_02_01 Query One Entity Via POST Interaction Based On Id [Documentation] Check that one can query one entity via POST Interaction based on id [Tags] e-query 5_7_2 @{entities_ids_to_be_compared}= Create List ${first_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_02.robot index 88727250bdfef80382e43294acc255b0ac7ddbe9..d5c74a7a0cc5043e15f6842318a2808398fd3b6d 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_02.robot @@ -20,7 +20,7 @@ ${vehicle_entity_type}= https://ngsi-ld-test-suite/context#Vehicle *** Test Cases *** -019_02_02 Query several entities via POST Interaction based on the entities types +019_02_02 Query Several Entities Via POST Interaction Based On The Entities Types [Documentation] Check that one can query several entities via POST Interaction based on the entity type [Tags] e-query 5_7_2 ${entities_ids_to_be_compared}= Create List ${first_vehicle_entity_id} ${second_vehicle_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_03.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_03.robot index e9f4a532cb6b19aafba6688c829792c10c4fb966..70a510e87cf1eb1f50826fc4b98170faf2df4ce7 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_03.robot @@ -19,7 +19,7 @@ ${entity_id_pattern}= urn:ngsi-ld:Building:.* *** Test Cases *** -019_02_03 Query several entities via POST Interaction based on the given id pattern +019_02_03 Query Several Entities Via POST Interaction Based On The Given Id Pattern [Documentation] Check that one can query several entities via POST Interaction based on the given id pattern [Tags] e-query 5_7_2 @{entities_ids_to_be_compared}= Create List ${first_entity_id} ${second_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_04.robot index 869c00a35a3b9034c62fe347c0ddb25dc4fbf6f0..fe82d50995752644f8f9a02bf34d0d19927fcd7b 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_04.robot @@ -20,7 +20,7 @@ ${attribute_isparked}= https://uri.etsi.org/ngsi-ld/default-context/isParke *** Test Cases *** -019_02_04 Query several entities via POST Interaction based on attribute names +019_02_04 Query Several Entities Via POST Interaction Based On Attribute Names [Documentation] Check that one can query several entities via POST Interaction based on attribute names [Tags] e-query 5_7_2 @{attributes_to_be_retrieved}= Create List ${attribute_brandname} ${attribute_isparked} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_05.robot index f05ee6765de5ff47a9264b015a904b8982aee59a..51d71a96962317caa7928243ecabd33e7c564240 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_05.robot @@ -21,7 +21,7 @@ ${parking_entity_type}= https://ngsi-ld-test-suite/context#OffStreet *** Test Cases *** -019_02_05 Query several entities via POST Interaction asking for a GeoJSON representation +019_02_05 Query Several Entities Via POST Interaction Asking For A GeoJSON Representation [Documentation] Check that one can query entities via POST Interaction asking for a GeoJSON representation [Tags] e-query 5_7_2 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, ${vehicle_entity_type} ${parking_entity_type} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_06.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_06.robot index a91f6c19d215a9330ed1d919bf2246a96a53ab23..e673d2931dc74f77a75a4cf67bf08779028628b9 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_06.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_06.robot @@ -18,7 +18,7 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building *** Test Cases *** -019_02_06 Query two entities via POST Interaction based on ids +019_02_06 Query Two Entities Via POST Interaction Based On Ids [Documentation] Check that one can query two entities via POST Interaction based on ids [Tags] e-query 5_7_2 @{entities_ids_to_be_compared}= Create List ${first_entity_id} ${second_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_01.robot index 78e04223ba17568d7890042c1d4b89f64673cc09..56f3e74109353db07646b9a69c5566c2d87aad61 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_01.robot @@ -19,7 +19,7 @@ ${entity_invalid_id_two}= thisisaninvaliduri2 *** Test Cases *** -019_03_01 Query entities based on incorrect ids +019_03_01 Query Entities Based On Incorrect Ids [Documentation] Check that one cannot query entities if the requested ids are incorrect [Tags] e-query 5_7_2 ${entities_ids_to_be_retrieved}= Catenate SEPARATOR=, ${entity_invalid_id_one} ${entity_invalid_id_two} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_02.robot index 1467b72e200a16c9bb65b6a7a7ee21b2a3f77fbf..1b9fae788127320aaded9ec1dedc97780ae2876f 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_02.robot @@ -18,7 +18,7 @@ ${invalid_entity_id_pattern}= invalid_entity_id_pattern** *** Test Cases *** -019_03_02 Query several entities based on incorrect id pattern +019_03_02 Query Several Entities Based On Incorrect Id Pattern [Documentation] Check that one cannot query entities if the requested id pattern is incorrect [Tags] e-query 5_7_2 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, ${entity_type} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_03.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_03.robot index 3311f47d51f510245c53ca0b74797ca8aa449939..3f0fd52a683c08724801fac0f505285755419cc7 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_03.robot @@ -19,7 +19,7 @@ ${invalid_attribute_two}= type *** Test Cases *** -019_03_03 Query several entities based on incorrect attribute names +019_03_03 Query Several Entities Based On Incorrect Attribute Names [Documentation] Check that one cannot query entities if the requested attribute names are incorrect [Tags] e-query 5_7_2 ${attributes_to_be_retrieved}= Catenate SEPARATOR=, ${invalid_attribute_one} ${invalid_attribute_two} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_04.robot index daffe17ea283636137a3f850f8fb3a824d326af3..f968c43842bd15875679dbe841cb5751898f23c0 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_04.robot @@ -21,7 +21,7 @@ ${geoproperty}= location *** Test Cases *** -019_03_04 Query entities when the request has a wrong geometryProperty +019_03_04 Query Entities When The Request Has A Wrong geometryProperty [Documentation] Check that one cannot query entities if the request has a wrong geometryProperty [Tags] e-query 5_7_2 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, ${entity_type} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_04.robot index 4aaeda0345639fcef66bfdf9109afaa753e239ea..93a51bce92eada3607dc16b93152134d5cbda274 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_04.robot @@ -19,7 +19,7 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building *** Test Cases *** -019_04_01 Query entities in a simplified representation +019_04_01 Query Entities In A Simplified Representation [Documentation] Check that the queried entities by Id can be returned in a simplified representation [Tags] e-query 6_3_7 @{entities_ids_to_be_compared}= Create List ${first_entity_id} ${second_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_05.robot index c9b3fa1e9e0df4cd265d2cc1a63db1f061d64dae..3f91b95928e7eb7af915dcb2b934d10d1d5327cf 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_05.robot @@ -19,7 +19,7 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building *** Test Cases *** -019_05_01 Get an entity by id that can be returned in GeoJSON format +019_05_01 Get An Entity By Id That Can Be Returned In GeoJSON Format [Documentation] Check that the queried entities by id can be returned in GeoJSON format [Tags] e-query 6_3_7 ${entities_ids_to_be_retrieved}= Catenate SEPARATOR=, ${first_entity_id} ${second_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_06.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_06.robot index 7946eac59ae4fe7e0a37298cec65f5ce36990bab..085cc3f3fd77cdc6b02fd28258f575ee98c9a96d 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_06.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_06.robot @@ -18,7 +18,7 @@ ${limit}= 2 *** Test Cases *** -019_06_01 Query entities specifying a maximum number of results +019_06_01 Query Entities Specifying A Maximum Number Of Results [Documentation] Check that one can query entities specifying a maximum number of results [Tags] e-query 6_3_10 ${entities_ids_to_be_retrieved}= Catenate diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_07.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_07.robot index f56d83447c88b78ceb6997d87ebab93bbc774238..bae311e55ec9be8cc39616927acc4a863f7a5292 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_07.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_07.robot @@ -20,10 +20,10 @@ ${airQualityLevel}= airQualityLevel==6 *** Test Cases *** Q_PARAMETER EXPECTED_STATUS EXPECTED_COUNT -019_07_01 Check that the total number of matching results is returned if the count parameter is set to true and only the entity type is provided +019_07_01 Check That The Total Number Of Matching Results Is Returned If The Count Parameter Is Set To True And Only The Entity Type Is Provided [Tags] e-query 5_7_2 6_3_13 ${EMPTY} 200 2 -019_07_02 Check that the total number of matching results is returned if the count parameter is set to true and a q parameter is provided +019_07_02 Check That The Total Number Of Matching Results Is Returned If The Count Parameter Is Set To True And A Q Parameter Is Provided [Tags] e-query 5_7_2 6_3_13 ${airQualityLevel} 200 1 diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_08.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_08.robot index 008cd7c8fbb30569329e431d2575ebdb416bc08c..d320d2512d72cfee836be20c8826af46dcaf2662 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_08.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_08.robot @@ -23,11 +23,11 @@ ${tourist_destination_entity_type} TouristDestination *** Test Cases *** ENTITY_TYPES_SELECTION EXPECTED_ENTITIES_IDS -019_08_01 query with one type ${building_entity_type} ${first_entity_id},${third_entity_id} -019_08_02 query with the AND operator (${building_entity_type};${tourist_destination_entity_type}) ${third_entity_id} -019_08_03 query with the OR operator ${building_entity_type},${parking_entity_type} ${first_entity_id},${second_entity_id},${third_entity_id} -019_08_04 different query with the OR operator ${parking_entity_type},${tourist_destination_entity_type} ${second_entity_id},${third_entity_id} -019_08_05 query with two operators (${building_entity_type};${parking_entity_type}),${tourist_destination_entity_type} ${third_entity_id} +019_08_01 Query With One Type ${building_entity_type} ${first_entity_id},${third_entity_id} +019_08_02 Query With The AND Operator (${building_entity_type};${tourist_destination_entity_type}) ${third_entity_id} +019_08_03 Query With The OR Operator ${building_entity_type},${parking_entity_type} ${first_entity_id},${second_entity_id},${third_entity_id} +019_08_04 Different Query With The OR Operator ${parking_entity_type},${tourist_destination_entity_type} ${second_entity_id},${third_entity_id} +019_08_05 Query With Two Operators (${building_entity_type};${parking_entity_type}),${tourist_destination_entity_type} ${third_entity_id} *** Keywords *** diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_12.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_12.robot index 038b832af8488a063402b211a3d385e45a1ff751..366ed852132c78035e873c21812554180b597c81 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_12.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_12.robot @@ -16,25 +16,25 @@ ${filename} building-multi-instances-attributes.jsonld *** Test Cases *** ATTRS DATASET_ID EXPECTATION_FILENAME -019_12_01 filter based on attrs only +019_12_01 Filter Based On Attrs Only [Tags] e-query 4_5_5 5_7_2 since_v1.8.1 name ${EMPTY} building-name-attribute.jsonld -019_12_02 filter based on datasetId only +019_12_02 Filter Based On datasetId Only [Tags] e-query 4_5_5 5_7_2 since_v1.8.1 ${EMPTY} urn:ngsi-ld:Dataset:french-name building-french-datasetid-only.jsonld -019_12_03 filter based on two datasetIds +019_12_03 Filter Based On Two datasetIds [Tags] e-query 4_5_5 5_7_2 since_v1.8.1 ${EMPTY} urn:ngsi-ld:Dataset:french-name,urn:ngsi-ld:Dataset:spanish-name building-two-datasetids.jsonld -019_12_04 filter based on default instance +019_12_04 Filter Based On Default Instance [Tags] e-query 4_5_5 5_7_2 since_v1.8.1 ${EMPTY} @none building-default-instances.jsonld -019_12_05 filter based on attrs and default instance +019_12_05 Filter Based On Attrs And Default Instance [Tags] e-query 4_5_5 5_7_2 since_v1.8.1 name @none building-name-attribute-default-instance.jsonld -019_12_06 filter based on attrs and datasetId +019_12_06 Filter Based On Attrs And datasetId [Tags] e-query 4_5_5 5_7_2 since_v1.8.1 name urn:ngsi-ld:Dataset:german-name building-name-attribute-german-instance.jsonld -019_12_07 filter based on attrs and datasetId with no match +019_12_07 Filter Based On Attrs And datasetId With No Match [Tags] e-query 4_5_5 5_7_2 since_v1.8.1 name urn:ngsi-ld:Dataset:spanish-name building-no-attributes.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_01_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_01_01.robot index 29172e3a7f18598343acb6f46ac2e70cebe93279..1a16308845ae45d2aa8272f1b7c049fc2c590e40 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_01_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_01_01.robot @@ -17,7 +17,7 @@ ${expectation_filename}= building-simple-attributes.jsonld *** Test Cases *** -018_01_01 Get an entity by id +018_01_01 Get An Entity By Id [Documentation] Check that one can get an entity by id [Tags] e-retrieve 5_7_1 ${response}= Query Entity diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_01_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_01_02.robot index 6a061c2259e085cc2776e626d6db35dc55f02b8a..12c19706bfdb57789cb5f3614d7b9457207d80c7 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_01_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_01_02.robot @@ -19,7 +19,7 @@ ${attribute_subcategory}= https://ngsi-ld-test-suite/context#subCatego *** Test Cases *** -018_01_02 Query some attributes from an entity +018_01_02 Query Some Attributes From An Entity [Documentation] Check that one can query some attributes from an entity [Tags] e-retrieve 5_7_1 ${attributes_to_be_retrieved}= Catenate diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_02.robot index dd9ab9d81f22ae6f0fed560aa4c059083d6e1531..f02cc450e0624cf30d15902ec42dfceec41b8840 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_02.robot @@ -8,7 +8,7 @@ Test Template Get Entity With Invalid Id *** Test Cases *** ENTITY_ID EXPECTED_STATUS_CODE PROBLEM_TYPE -018_02_01 Get an entity if the Entity Id is not a valid URI +018_02_01 Get An Entity If The Entity Id Is Not A Valid URI thisisaninvaliduri 400 ${ERROR_TYPE_BAD_REQUEST_DATA} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_03_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_03_01.robot index bccd230d03aa5398bb6e46d0b778f9363a4f39ec..879b982dff29e231cfe7cc4d38c0622a041de3b5 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_03_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_03_01.robot @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** -018_03_01 Get an entity if the Entity Id is not known to the system +018_03_01 Get An Entity If The Entity Id Is Not Known To The System [Documentation] Check that one cannot get an entity if the entity id is not known to the system [Tags] e-retrieve 5_7_1 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_03_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_03_02.robot index 40533d529d92452b9ba1f018d23e6623a87c89a6..1f151d17b816e849f263f5006b341dcc8904bc6b 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_03_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_03_02.robot @@ -17,7 +17,7 @@ ${attribute_not_known}= property_not_found *** Test Cases *** -018_03_02 Get an entity if an attribute is not known to the system +018_03_02 Get An Entity If An Attribute Is Not Known To The System [Documentation] Check that one cannot get an entity if an attribute is not known to the system [Tags] e-retrieve 5_7_1 ${attributes_to_be_retrieved}= Catenate SEPARATOR=, ${attribute_not_known} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_04.robot index c10c7e8a3a4b8badde462dfd852dfad3b1a84880..ab0ada04eca57af3c54393b1d01feffec1f326d3 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_04.robot @@ -18,7 +18,7 @@ ${options_parameter}= keyValues *** Test Cases *** -018_04_01 Get an entity in a simplified representation +018_04_01 Get An Entity In A Simplified Representation [Documentation] Check that the queried entity by Id can be returned in a simplified representation [Tags] e-retrieve 6_3_7 ${response}= Query Entity diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_05.robot index 7ffa0a6137cf6f967b37bfa5dc849c2255620363..c150e55b8a40d1ebbc3a32633c75495117d21eee 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_05.robot @@ -23,10 +23,10 @@ ${filename}= building-two-geometry-attributes.jsonld 018_05_02 Normalized [Tags] e-retrieve 6_3_7 ${EMPTY} ${EMPTY} building-two-geometry-attribute-normalized.geojson -018_05_03 with geometryProperty +018_05_03 With geometryProperty [Tags] e-retrieve 6_3_7 ${EMPTY} observationSpace building-two-geometry-property-on-observation-space.geojson -018_05_04 with nonexistent geometryProperty +018_05_04 With Nonexistent geometryProperty [Tags] e-retrieve 6_3_7 ${EMPTY} operationSpace building-two-geometry-property-on-nonexistent-operation-space.geojson diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_07.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_07.robot index 5fb5efa3011599494f2f51e473e15bfc48de7e13..6ef77c05c2bc90bdbcc333e1ceb2f8fe156782f1 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_07.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_07.robot @@ -17,22 +17,22 @@ ${filename}= building-language-property.jsonld *** Test Cases *** LANGUAGE_FILTER OPTIONS EXPECTATION_FILENAME -018_07_01 Retrieve an entity using a specific natural language +018_07_01 Retrieve An Entity Using A Specific Natural Language [Tags] e-retrieve 5_7_1 4_15 since_v1.4.1 fr ${EMPTY} building-language-property-fr-filter.jsonld -018_07_02 Retrieve an entity using multiple natural languages with no ranked preference +018_07_02 Retrieve An Entity Using Multiple Natural Languages With No Ranked Preference [Tags] e-retrieve 5_7_1 4_15 since_v1.4.1 fr-CH,fr ${EMPTY} building-language-property-fr-filter.jsonld -018_07_03 Retrieve an entity with any supported language +018_07_03 Retrieve An Entity With Any Supported Language [Tags] e-retrieve 5_7_1 4_15 since_v1.4.1 * ${EMPTY} building-language-property-any-language-filter.jsonld -018_07_04 Retrieve an entity using multiple natural languages with ranked preferences +018_07_04 Retrieve An Entity Using Multiple Natural Languages With Ranked Preferences [Tags] e-retrieve 5_7_1 4_15 since_v1.4.1 fr-CH,fr;q=0.9,en;q=0.8,*;q=0.5 ${EMPTY} building-language-property-fr-filter.jsonld -018_07_05 Retrieve an entity using a specific natural language with simplified representation +018_07_05 Retrieve An Entity Using A Specific Natural Language With Simplified Representation [Tags] e-retrieve 5_7_1 4_15 since_v1.4.1 fr keyValues building-language-property-fr-filter-simplified.jsonld -018_07_06 Retrieve an entity with any supported language with simplified representation +018_07_06 Retrieve An Entity With Any Supported Language With Simplified Representation [Tags] e-retrieve 5_7_1 4_15 since_v1.4.1 * keyValues building-language-property-any-language-filter-simplified.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_02.robot index eba0fd5ad5d943c0cc706a64278a7452bddb6b03..a878562f1207ee3a7e47b5fe95e657af60f23eee 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_02.robot @@ -18,7 +18,7 @@ ${expectation_file}= vehicles-temporal-representation-021-02.json *** Test Cases *** -021_02_01 Query the temporal evolution of certain attributes of entities +021_02_01 Query The Temporal Evolution Of Certain Attributes Of Entities [Documentation] Check that one can query the temporal evolution of certain attributes of entities [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_03.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_03.robot index 91eef8135b26c7ab3b28dc33c2d23c38e857b244..593a9002808de6b319e0cb279c845b08ac0e5035 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_03.robot @@ -18,7 +18,7 @@ ${expectation_file}= vehicles-temporal-representation-021-03.json *** Test Cases *** -021_03_01 Query the temporal evolution of the last N instances of entities attributes +021_03_01 Query The Temporal Evolution Of The Last N Instances Of Entities Attributes [Documentation] Check that one can query the temporal evolution of the last N instances of entities attributes [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_04.robot index 68bad1125a42ba0a53bfcc278af62ec763d87c14..9a329c7ef1cda44be7311cc3b7208f698336fd30 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_04.robot @@ -18,7 +18,7 @@ ${expectation_file}= vehicles-temporal-representation-021-04.json *** Test Cases *** -021_04_01 Query the temporal evolution of entities using a context +021_04_01 Query The Temporal Evolution Of Entities Using A Context [Documentation] Check that one can query the temporal evolution of entities using a context [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_05.robot index d9dc1451f528adbe038dccb33cca55a86307cf14..2aa19d74b66e7fca46f6ec9660d4d8579175ce30 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_05.robot @@ -18,7 +18,7 @@ ${expectation_file}= vehicles-temporal-representation-021-05.jsonld *** Test Cases *** -021_05_01 Query the temporal evolution of entities matching the given type(s) +021_05_01 Query The Temporal Evolution Of Entities Matching The Given Type(s) [Documentation] Check that one can query the temporal evolution of entities matching the given type(s) [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Bus diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_06.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_06.robot index 35caab5657efe5ce323834efb541be82e64a87ae..973d93c8571ba93e51ee153d5538d960e1219fee 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_06.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_06.robot @@ -18,7 +18,7 @@ ${expectation_file}= vehicles-temporal-representation-021-06.json *** Test Cases *** -021_06_01 Query the temporal evolution of entities matching the given identifier(s) +021_06_01 Query The Temporal Evolution Of Entities Matching The Given Identifier(s) [Documentation] Check that one can query the temporal evolution of entities matching the given identifier(s) [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_07.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_07.robot index 84e6d1dabb224e35f96ffac07f6950ff044c2812..408c9cae401543092353d7c75b8fdbf50679d5ad 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_07.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_07.robot @@ -18,7 +18,7 @@ ${expectation_file}= vehicles-temporal-representation-021-07.json *** Test Cases *** -021_07_01 Query the temporal evolution of entities matching the given id pattern +021_07_01 Query The Temporal Evolution Of Entities Matching The Given Id Pattern [Documentation] Check that one can query the temporal evolution of entities matching the given id pattern [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_08.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_08.robot index 0c0a391931b199b7ceae5bd14b6fe056e55a0636..ede5242d2a23d55ee662d6171c2bb3b0283a2852 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_08.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_08.robot @@ -18,7 +18,7 @@ ${expectation_file}= vehicles-temporal-representation-021-08.json *** Test Cases *** -021_08_01 Query the temporal evolution of entities matching the given NGSI-LD query +021_08_01 Query The Temporal Evolution Of Entities Matching The Given NGSI-LD Query [Documentation] Check that one can query the temporal evolution of entities matching the given NGSI-LD query [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_11.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_11.robot index d7acb604bde991438927287760172caaa009f395..2656b774b8092012d9bf275269928bfec4f31a8a 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_11.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_11.robot @@ -18,10 +18,10 @@ ${second_vehicle_payload_file}= 2020-09-vehicle-temporal-representation.json *** Test Cases *** LIMIT -021_11_01 Query Some entities +021_11_01 Query Some Entities [Tags] te-query 5_7_4 ${2} -021_11_02 Query All entities +021_11_02 Query All Entities [Tags] te-query 5_7_4 ${3} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_12.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_12.robot index 187de2fbef54f02436721cb4c11a2c8e48607b66..769a1a5850ffbbd69962182f96ed328f04425c87 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_12.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_12.robot @@ -16,7 +16,7 @@ ${vehicle_payload_file}= 2020-08-vehicle-temporal-representation.jsonld *** Test Cases *** -021_12_01 Query the temporal evolution of entities with an invalid request +021_12_01 Query The Temporal Evolution Of Entities With An Invalid Request [Documentation] Check that one cannot query the temporal evolution of entities with an invalid request [Tags] te-query 5_7_4 ${response}= Query Temporal Representation Of Entities diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_15.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_15.robot index b2a3b81bdb9a977cb099b3f596424db136ccc096..40625f0df477d2e455210b723c7299996c09b764 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_15.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_15.robot @@ -22,28 +22,28 @@ ${mrt}= most recent timestamp *** Test Cases *** -021_15_01 retrieve the entity with lastN and timerel before +021_15_01 Retrieve The Entity With lastN And Timerel Before [Tags] te-retrieve 5_7_4 6_3_10 since_v1.5.1 lastN=${20} expectedSize=20 timerel=before timeAt=${timeAfter} expectedRangeStart=${timeAfter} expectedRangeEnd=${lrt} -021_15_02 retrieve the entity with lastN and timerel between +021_15_02 Retrieve The Entity With lastN And Timerel Between [Tags] te-retrieve 5_7_4 6_3_10 since_v1.5.1 lastN=${20} timerel=between timeAt=${timeBefore} endTimeAt=${timeAfter} expectedRangeStart=${timeAfter} expectedRangeEnd=${lrt} -021_15_03 retrieve the entity with lastN and timerel after +021_15_03 Retrieve The Entity With lastN And Timerel After [Tags] te-retrieve 5_7_4 6_3_10 since_v1.5.1 lastN=${20} expectedSize=20 timerel=after timeAt=${timeBefore} expectedRangeStart=${mrt} expectedRangeEnd=${lrt} -021_15_04 retrieve the entity with timerel before +021_15_04 Retrieve The Entity With Timerel Before [Tags] te-retrieve 5_7_4 6_3_10 since_v1.5.1 timerel=before expectedSize=* timeAt=${timeAfter} expectedRangeEnd=${mrt} -021_15_05 retrieve the entity with timerel between +021_15_05 Retrieve The Entity With Timerel Between [Tags] te-retrieve 5_7_4 6_3_10 since_v1.5.1 timerel=between timeAt=${timeBefore} endTimeAt=${timeAfter} expectedRangeStart=${timeBefore} expectedRangeEnd=${mrt} -021_15_06 retrieve the entity with timerel after +021_15_06 Retrieve The Entity With Timerel After [Tags] te-retrieve 5_7_4 6_3_10 since_v1.5.1 timerel=after timeAt=${timeBefore} expectedRangeStart=${timeBefore} expectedRangeEnd=${mrt} -021_15_07 retrieve the entity with temporalValues and timerel after +021_15_07 Retrieve The Entity With temporalValues And Timerel After [Tags] te-retrieve 5_7_4 6_3_10 since_v1.5.1 representation=temporalValues timerel=after timeAt=${timeBefore} expectedRangeStart=${timeBefore} expectedRangeEnd=${mrt} -021_15_08 retrieve the entity with temporalValues, lastN and timerel between +021_15_08 Retrieve The Entity With temporalValues, lastN And Timerel Between [Tags] te-retrieve 5_7_4 6_3_10 since_v1.5.1 representation=temporalValues lastN=${20} timerel=between timeAt=${timeBefore} endTimeAt=${timeAfter} expectedRangeStart=${timeAfter} expectedRangeEnd=${lrt} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_16.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_16.robot index 5aa9de130b8f62fb9f8deefc30d9dca634e98cab..0a146236634892a1eafb855e3cca57ffabf6180f 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_16.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_16.robot @@ -18,7 +18,7 @@ ${second_vehicle_payload_file}= 2020-09-vehicle-temporal-representation.json *** Test Cases *** PAYLOAD_FILE -021_16_01 retrieve the entities via post +021_16_01 Retrieve The Entities Via Post [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 entity-operations-before-query.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_17.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_17.robot index dec15ac875d985afb748d29829f17af8e633a3c3..a5b82acc756a9acd76a86ffddc0aa155ce8b366f 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_17.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_17.robot @@ -18,16 +18,16 @@ ${second_vehicle_payload_file}= 2020-08-vehicle-temporal-representation.json *** Test Cases *** AGGRMETHODS AGGRPERIODDURATION ATTRS VEHICLE_EXPECTATION_FILE -021_17_01 One aggregate method aggregated by one hour duration +021_17_01 One Aggregate Method Aggregated By One Hour Duration [Tags] te-retrieve 5_7_3 4_5_19 since_v1.4.1 avg PT1H ${EMPTY} vehicle-temporal-representation-aggregated-avg-PT1H.json -021_17_02 One aggregate method aggregated by one hour duration asking for one attribute +021_17_02 One Aggregate Method Aggregated By One Hour Duration Asking For One Attribute [Tags] te-retrieve 5_7_3 4_5_19 since_v1.4.1 avg PT1H fuelLevel vehicle-temporal-representation-aggregated-avg-PT1H-fuelLevel.json -021_17_03 Multiple aggregate methods aggregated by one hour duration +021_17_03 Multiple Aggregate Methods Aggregated By One Hour Duration [Tags] te-retrieve 5_7_3 4_5_19 since_v1.4.1 avg,max PT1H ${EMPTY} vehicle-temporal-representation-aggregated-avg-max-PT1H.json -021_17_04 Multiple aggregate methods aggregated by one day duration +021_17_04 Multiple Aggregate Methods Aggregated By One Day Duration [Tags] te-retrieve 5_7_3 4_5_19 since_v1.4.1 min,max P1D ${EMPTY} vehicle-temporal-representation-aggregated-min-max-P1D.json diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_18.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_18.robot index 6b395af579b62e296ac418bb707bd83a26af712b..93fcb6ca34612bc377779a4d69d4db7e7783e29c 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_18.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_18.robot @@ -19,25 +19,25 @@ ${timeat} 2020-08-01T12:04:00Z *** Test Cases *** ATTRS DATASET_ID EXPECTATION_FILENAME -021_18_01 filter based on attrs only +021_18_01 Filter Based On Attrs Only [Tags] te-query 4_5_5 5_7_4 since_v1.8.1 speed ${EMPTY} vehicle-temporal-representation-speed-attribute.json -021_18_02 filter based on datasetId only +021_18_02 Filter Based On datasetId Only [Tags] te-query 4_5_5 5_7_4 since_v1.8.1 ${EMPTY} urn:ngsi-ld:Dataset:Common vehicle-temporal-representation-common-datasetid.json -021_18_03 filter based on two datasetIds +021_18_03 Filter Based On Two datasetIds [Tags] te-query 4_5_5 5_7_4 since_v1.8.1 ${EMPTY} urn:ngsi-ld:Dataset:Common,urn:ngsi-ld:Dataset:Speed vehicle-temporal-representation-two-datasetids.json -021_18_04 filter based on default instance +021_18_04 Filter Based On Default Instance [Tags] te-query 4_5_5 5_7_4 since_v1.8.1 ${EMPTY} @none vehicle-temporal-representation-default-instances.json -021_18_05 filter based on attrs and default instance +021_18_05 Filter Based On Attrs And Default Instance [Tags] te-query 4_5_5 5_7_4 since_v1.8.1 speed @none vehicle-temporal-representation-speed-default-instance.json -021_18_06 filter based on attrs and datasetId +021_18_06 Filter Based On Attrs And datasetId [Tags] te-query 4_5_5 5_7_4 since_v1.8.1 fuelLevel urn:ngsi-ld:Dataset:fuel vehicle-temporal-representation-fuellevel-attribute-fuel-datasetid.json -021_18_07 filter based on attrs and datasetId with no match +021_18_07 Filter Based On Attrs And datasetId With No Match [Tags] te-query 4_5_5 5_7_4 since_v1.8.1 speed urn:ngsi-ld:Dataset:fuel empty.json diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_01.robot index 2431f0fd2ee8f7cc93238ec8617a7a16646c79c2..2db9fb42972ff313a5b97928f8fd92a508cb6f3d 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_01.robot @@ -17,7 +17,7 @@ ${vehicle_expectation_file}= vehicle-temporal-representation-020-01.jsonld *** Test Cases *** -020_01_01 Retrieve the temporal evolution of an entity +020_01_01 Retrieve The Temporal Evolution Of An Entity [Documentation] Check that one can retrieve the temporal evolution of an entity [Tags] te-retrieve 5_7_3 ${response}= Retrieve Temporal Representation Of Entity diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_02.robot index ce97fe166f2f5444d3202c5afd41f389961a56b0..569221aa211b1115c66f626ce6d9d663bcb87513 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_02.robot @@ -17,7 +17,7 @@ ${vehicle_expectation_file}= vehicle-temporal-representation-020-02.jsonld *** Test Cases *** -020_02_01 Retrieve the temporal evolution of an entity using a context +020_02_01 Retrieve The Temporal Evolution Of An Entity Using A Context [Documentation] Check that one can retrieve the temporal evolution of an entity using a context [Tags] te-retrieve 5_7_3 ${response}= Retrieve Temporal Representation Of Entity diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_03.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_03.robot index 910f13e7f3998cea9f27aec4b9355a6dc58c8219..7a5431ad29a7950f37b5381dd1f7286191cee027 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_03.robot @@ -18,10 +18,10 @@ ${vehicle_expectation_file}= vehicle-temporal-representation-020-03.jsonld *** Test Cases *** ATTRS EXPECTED_RESULT -020_03_01 With one attribute +020_03_01 With One Attribute [Tags] te-retrieve 5_7_3 fuelLevel vehicle-temporal-representation-020-03-01.jsonld -020_03_02 With two attributes +020_03_02 With Two Attributes [Tags] te-retrieve 5_7_3 fuelLevel,speed vehicle-temporal-representation-020-03-02.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_06.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_06.robot index 29c59367488e910e4b7ff222a566b8afadfb165f..cc50b225c30573ac8e2e08d7f7334e0f5b66e2ad 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_06.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_06.robot @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** -020_06_01 Retrieve the temporal evolution of an entity with an invalid id +020_06_01 Retrieve The Temporal Evolution Of An Entity With An Invalid Id [Documentation] Check that one cannot retrieve the temporal evolution of an entity with an invalid id (invalid URI) [Tags] te-retrieve 5_7_3 ${response}= Retrieve Temporal Representation Of Entity diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_07.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_07.robot index f62ae3570c05dd9a6f5feba33ab1b187cd319d70..d4b4c6be26fb677c6dbdb19b05389b7110404480 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_07.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_07.robot @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** -020_07_01 Retrieve the temporal evolution of a non-existing entity +020_07_01 Retrieve The Temporal Evolution Of A Non-existing Entity [Documentation] Check that one cannot retrieve the temporal evolution of a non-existing entity [Tags] te-retrieve 5_7_3 ${response}= Retrieve Temporal Representation Of Entity diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_08.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_08.robot index 3490fd60a7a2d7e283282f13b2ab746eb39113bf..b60fc031118fab94d734c470bd3ea6417051b539 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_08.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_08.robot @@ -16,7 +16,7 @@ ${vehicle_payload_file}= 2020-08-vehicle-temporal-representation.jsonld *** Test Cases *** -020_08_01 Retrieve the temporal evolution of non-existing entity attributes +020_08_01 Retrieve The Temporal Evolution Of Non-existing Entity Attributes [Documentation] Check that one cannot retrieve the temporal evolution of non-existing entity attributes [Tags] te-retrieve 5_7_3 @{temporal_attributes_to_be_retrieved}= Create List unknownAttribute diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_10.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_10.robot index 072501dac0d662dd1745e6a5b51c2d0bcd8939c6..3c9a327a7a181bb9c7d1b123f96565adb33dd3b4 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_10.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_10.robot @@ -17,7 +17,7 @@ ${vehicle_expectation_file}= vehicle-temporal-representation-020-10.jsonld *** Test Cases *** -020_10_01 Retrieve the temporal evolution of an entity with the simplified temporal representation +020_10_01 Retrieve The Temporal Evolution Of An Entity With The Simplified Temporal Representation [Documentation] Check that one can retrieve the temporal evolution of an entity with the simplified temporal representation [Tags] te-retrieve 5_7_3 @{options}= Create List temporalValues diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_11.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_11.robot index b8d40404945778c2f3b8a8f43a47e1b1a041cd5c..ac25abe95c2d8d58278efd1f3f9a5060e415e9f8 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_11.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_11.robot @@ -17,16 +17,16 @@ ${vehicle_payload_file}= 2020-08-vehicle-temporal-representation.jsonld *** Test Cases *** AGGRMETHODS AGGRPERIODDURATION ATTRS VEHICLE_EXPECTATION_FILE -020_11_01 One aggregate method aggregated by one hour duration +020_11_01 One Aggregate Method Aggregated By One Hour Duration [Tags] te-retrieve 5_7_3 4_5_19 since_v1.4.1 avg PT1H ${EMPTY} vehicle-temporal-representation-aggregated-avg-PT1H.json -020_11_02 One aggregate method aggregated by one hour duration asking for one attribute +020_11_02 One Aggregate Method Aggregated By One Hour Duration Asking For One Attribute [Tags] te-retrieve 5_7_3 4_5_19 since_v1.4.1 avg PT1H fuelLevel vehicle-temporal-representation-aggregated-avg-PT1H-fuelLevel.json -020_11_03 Multiple aggregate methods aggregated by one hour duration +020_11_03 Multiple Aggregate Methods Aggregated By One Hour Duration [Tags] te-retrieve 5_7_3 4_5_19 since_v1.4.1 avg,max PT1H ${EMPTY} vehicle-temporal-representation-aggregated-avg-max-PT1H.json -020_11_04 Multiple aggregate methods aggregated by one day duration +020_11_04 Multiple Aggregate Methods Aggregated By One Day Duration [Tags] te-retrieve 5_7_3 4_5_19 since_v1.4.1 min,max P1D ${EMPTY} vehicle-temporal-representation-aggregated-min-max-P1D.json diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_12.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_12.robot index c145bb5654b46ed102fda5545b44801e232ae7dc..ba3265a275e2cc80fc88289a43c82ca006ba33e7 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_12.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_12.robot @@ -17,10 +17,10 @@ ${vehicle_payload_file}= vehicle-language-property-temporal-representation.js *** Test Cases *** REPRESENTATION EXPECTATION_FILENAME -020_12_01 Retrieve the normalized temporal representation of an entity with a LanguageProperty property +020_12_01 Retrieve The Normalized Temporal Representation Of An Entity With A LanguageProperty Property [Tags] te-retrieve 5_7_3 4_5_7 4_5_18 since_v1.4.1 ${EMPTY} vehicle-language-property-normalized-temporal-representation.jsonld -020_12_02 Retrieve the simplified temporal representation of an entity with a LanguageProperty property +020_12_02 Retrieve The Simplified Temporal Representation Of An Entity With A LanguageProperty Property [Tags] te-retrieve 5_7_3 4_5_9 4_5_18 since_v1.4.1 temporalValues vehicle-language-property-simplified-temporal-representation.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_13.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_13.robot index 88931a495197e55ec86b73cc2688dbe51070dd2f..1e4d87ef5b2709e526a9629753c65140c94f5dfd 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_13.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_13.robot @@ -21,34 +21,34 @@ ${mrt}= most recent timestamp *** Test Cases *** -020_13_01 retrieve an entity with 20 instances on two attributes +020_13_01 Retrieve An Entity With 20 Instances On Two Attributes [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 ${EMPTY} expectedSize=* expectedRangeStart=${lrt} expectedRangeEnd=${mrt} -020_13_02 retrieve the entity with lastN +020_13_02 Retrieve The Entity With lastN [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 lastN=${20} expectedSize=20 expectedRangeStart=${mrt} expectedRangeEnd=${lrt} -020_13_03 retrieve the entity with lastN and timerel before +020_13_03 Retrieve The Entity With lastN And Timerel Before [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 lastN=${20} expectedSize=20 timerel=before timeAt=${timeAfter} expectedRangeStart=${timeAfter} expectedRangeEnd=${lrt} -020_13_04 retrieve the entity with lastN and timerel between +020_13_04 Retrieve The Entity With lastN And Timerel Between [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 lastN=${20} timerel=between timeAt=${timeBefore} endTimeAt=${timeAfter} expectedRangeStart=${timeAfter} expectedRangeEnd=${lrt} -020_13_05 retrieve the entity with lastN and timerel after +020_13_05 Retrieve The Entity With lastN And Timerel After [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 lastN=${20} expectedSize=20 timerel=after timeAt=${timeBefore} expectedRangeStart=${mrt} expectedRangeEnd=${lrt} -020_13_06 retrieve the entity with timerel before +020_13_06 Retrieve The Entity With Timerel Before [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 timerel=before expectedSize=* timeAt=${timeAfter} expectedRangeEnd=${mrt} -020_13_07 retrieve the entity with timerel between +020_13_07 Retrieve The Entity With Timerel Between [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 timerel=between timeAt=${timeBefore} endTimeAt=${timeAfter} expectedRangeStart=${timeBefore} expectedRangeEnd=${mrt} -020_13_08 retrieve the entity with timerel after +020_13_08 Retrieve The Entity With Timerel After [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 timerel=after timeAt=${timeBefore} expectedRangeStart=${timeBefore} expectedRangeEnd=${mrt} -020_13_09 retrieve the entity with temporalValues and timerel after +020_13_09 Retrieve The Entity With temporalValues And Timerel After [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 representation=temporalValues timerel=after timeAt=${timeBefore} expectedRangeStart=${timeBefore} expectedRangeEnd=${mrt} -020_13_10 retrieve the entity with temporalValues, lastN and timerel between +020_13_10 Retrieve The Entity With temporalValues, lastN And Timerel Between [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 representation=temporalValues lastN=${20} timerel=between timeAt=${timeBefore} endTimeAt=${timeAfter} expectedRangeStart=${timeAfter} expectedRangeEnd=${lrt} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_14.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_14.robot index 5933f0af552cba09eefcb4726bb33cb1853fb77a..63238b65c5ae6d7246f1672a30edc497b925050f 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_14.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_14.robot @@ -19,10 +19,10 @@ ${timeAfter}= 2021-01-01T01:01:00Z *** Test Cases *** -020_14_01 retrieve an entity with 60 instances of unsynchronized attributes +020_14_01 Retrieve An Entity With 60 Instances Of Unsynchronized Attributes [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 timerel=after timeAt=${timeBefore} emptyAttr=fuelLevel -020_14_02 retrieve the entity with lastN +020_14_02 Retrieve The Entity With lastN [Tags] te-retrieve 5_7_3 6_3_10 since_v1.5.1 lastN=${100} timerel=before timeAt=${timeAfter} emptyAttr=speed diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_15.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_15.robot index 7c070816514acc3dc98ec705a3f240c8dce13950..2c336715d8d7a2f57fa56f4663f97b0eb5bfb07c 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_15.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_15.robot @@ -16,10 +16,10 @@ ${vehicle_payload_file}= vehicle-json-property-temporal-representation.jsonld *** Test Cases *** REPRESENTATION EXPECTATION_FILENAME -020_15_01 Retrieve the normalized temporal representation of an entity with a JSON property +020_15_01 Retrieve The Normalized Temporal Representation Of An Entity With A JSON Property [Tags] te-retrieve 5_7_3 4_5_7 since_v1.8.1 ${EMPTY} vehicle-json-property-temporal-representation.json -020_15_02 Retrieve the simplified temporal representation of an entity with a JSON property +020_15_02 Retrieve The Simplified Temporal Representation Of An Entity With A JSON Property [Tags] te-retrieve 5_7_3 4_5_9 since_v1.8.1 temporalValues vehicle-json-property-simplified-temporal-representation.json diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_16.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_16.robot index 690781f3f9a62b76dfb5b0959ccc7c40f7d9acb7..58a66acdc0a0ddf8541d2ef6245de3663817291e 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_16.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_16.robot @@ -16,10 +16,10 @@ ${vehicle_payload_file}= vehicle-vocab-property-temporal-representation.jsonl *** Test Cases *** REPRESENTATION EXPECTATION_FILENAME -020_16_01 Retrieve the normalized temporal representation of an entity with a VocabProperty property +020_16_01 Retrieve The Normalized Temporal Representation Of An Entity With A VocabProperty Property [Tags] te-retrieve 5_7_3 4_5_7 4_5_24 since_v1.7.1 ${EMPTY} vehicle-vocab-property-temporal-representation.json -020_16_02 Retrieve the simplified temporal representation of an entity with a VocabProperty property +020_16_02 Retrieve The Simplified Temporal Representation Of An Entity With A VocabProperty Property [Tags] te-retrieve 5_7_3 4_5_9 4_5_24 since_v1.7.1 temporalValues vehicle-vocab-property-simplified-temporal-representation.json diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_17.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_17.robot index d66fba43ede0b789f1b0378eec7c78ea5175a954..0ba30bad518de009c726022295d40fb95f158498 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_17.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_17.robot @@ -18,13 +18,13 @@ ${vehicle_payload_file}= vehicle-temporal-representation-different-attributes *** Test Cases *** ATTR_NAME EXPECTATION_FILENAME -020_17_01 With a Property +020_17_01 With A Property [Tags] te-retrieve 5_7_3 since_v1.6.1 fuelLevel vehicle-temporal-representation-property-020-17.jsonld -020_17_02 With a Relationship +020_17_02 With A Relationship [Tags] te-retrieve 5_7_3 since_v1.6.1 isParkedIn vehicle-temporal-representation-relationship-020-17.jsonld -020_17_03 With a LanguageProperty +020_17_03 With A LanguageProperty [Tags] te-retrieve 5_7_3 4_5_18 since_v1.6.1 name vehicle-temporal-representation-languageproperty-020-17.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_18.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_18.robot index c7e76c992af75d20fba8dfc7fd86c8567cf1c653..c0d03906f7768112107496c943a7c120db020512 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_18.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_18.robot @@ -18,13 +18,13 @@ ${vehicle_payload_file}= vehicle-temporal-representation-different-attributes *** Test Cases *** ATTR_NAME SIMPLIFIED_TEMPORAL_KEY EXPECTATION_FILENAME -020_18_01 With a Property +020_18_01 With A Property [Tags] te-retrieve 5_7_3 since_v1.6.1 fuelLevel values vehicle-temporal-values-representation-property-020-18.jsonld -020_18_02 With a Relationship +020_18_02 With A Relationship [Tags] te-retrieve 5_7_3 since_v1.6.1 isParkedIn objects vehicle-temporal-values-representation-relationship-020-18.jsonld -020_18_03 With a LanguageProperty +020_18_03 With A LanguageProperty [Tags] te-retrieve 5_7_3 4_5_18 since_v1.6.1 name languageMaps vehicle-temporal-values-representation-languageproperty-020-18.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_19.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_19.robot index 97ea149e97e011a874fe960beacd66c24f039af7..a699ee496703eabfad0b72a4200a3f0acfda25e8 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_19.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_19.robot @@ -18,7 +18,7 @@ ${vehicle_payload_file}= vehicle-temporal-representation-scope.jsonld *** Test Cases *** EXPECTATION_FILENAME -020_19_01 With a Scope +020_19_01 With A Scope [Tags] te-retrieve 4_18 5_7_3 6_19_3_1 since_v1.6.1 vehicle-temporal-representation-property-020-19.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_20.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_20.robot index 584fa6775a8019a92fabdef79d07c0557d5af6f6..28df0620dde31a7fb46e2b7c1063775f2a8d7513 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_20.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_20.robot @@ -18,7 +18,7 @@ ${vehicle_payload_file}= vehicle-temporal-representation-scope.jsonld *** Test Cases *** EXPECTATION_FILENAME -020_20_01 With a Scope +020_20_01 With A Scope [Tags] te-retrieve 4_18 5_7_3 6_19_3_1 since_v1.6.1 vehicle-temporal-representation-property-020-20.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_02.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_02.robot index d3fdb20b8173711ddd8fb3ece654d83b21908d68..ae0f64dc0bc5d9aba233cd1fd9375e81fde6cbed 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_02.robot @@ -12,7 +12,7 @@ Suite Teardown Delete Initial Entities *** Test Cases *** -003_02_01 Create a batch of two valid entities and one invalid entity +003_02_01 Create A Batch Of Two Valid Entities And One Invalid Entity [Documentation] Check that one can create a batch of two valid entities and one invalid entity [Tags] be-create 5_6_7 ${first_entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_04.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_04.robot index ddaca8e8280bf97911c53eb39d132a5ec3ccee52..38b8e3f8a982f482acb77331c517270d1eefea79 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_04.robot @@ -11,7 +11,7 @@ Test Teardown Delete Initial Entities *** Test Cases *** -003_04_01 Create a batch of one entity using a provided Link header with JSON content type and retrieve the entity with context detail +003_04_01 Create A Batch Of One Entity Using A Provided Link Header With JSON Content Type And Retrieve The Entity With Context Detail [Documentation] Check that the @context is obtained from a Link Header if the Content-Type header is "application/json" [Tags] be-create 6_3_5 @@ -34,7 +34,7 @@ Test Teardown Delete Initial Entities ... expected_attribute_name=almostFull ... response_body=${response1.json()} -003_04_02 Create a batch of one entity using a provided Link header with JSON content type and retrieve the entity without context detail +003_04_02 Create A Batch Of One Entity Using A Provided Link Header With JSON Content Type And Retrieve The Entity Without Context Detail [Documentation] Check that the @context is obtained from a Link Header if the Content-Type header is "application/json" [Tags] be-create 6_3_5 diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_05.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_05.robot index 890bbfc896726e00ea9b905e4a36ddd14c3ce743..19b81a5e751b526c910a0355e8fffeb192de18db 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_05.robot @@ -11,7 +11,7 @@ Test Teardown Delete Initial Entities *** Test Cases *** -003_05_01 Create a batch of one entity using the default context with JSON content type +003_05_01 Create A Batch Of One Entity Using The Default Context With JSON Content Type [Documentation] Check that the default @context is used if the Content-Type header is "application/json" and the Link header does not contain a JSON-LD @context and retrieve the entity without context [Tags] be-create 6_3_5 @@ -29,7 +29,7 @@ Test Teardown Delete Initial Entities ... expected_attribute_name=almostFull ... response_body=${response1.json()} -003_05_02 Create a batch of one entity using the default context with JSON content type +003_05_02 Create A Batch Of One Entity Using The Default Context With JSON Content Type [Documentation] Check that the default @context is used if the Content-Type header is "application/json" and the Link header does not contain a JSON-LD @context and retrieve the entity with context [Tags] be-create 6_3_5 diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot index e39f3e325c66a0a346dc0a24e301083027e0f295..b086cb9b74ded826d2282c8dbba81b1180a787a3 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** -003_06_01 Create a batch of one entity containing a JSON-LD @context with a JSON content type +003_06_01 Create A Batch Of One Entity Containing A JSON-LD @context With A JSON Content Type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/json" and the request payload body (as JSON) contains a "@context" term [Tags] be-create 6_3_5 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_07.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_07.robot index 271c35c7eb99f3fc5d8363d89434638601c9aac2..17d2b2a7f22dfcb36c571b0cfa4a444e8966a02c 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_07.robot @@ -11,7 +11,7 @@ Test Teardown Delete Initial Entities *** Test Cases *** -003_07_01 Create a batch of one entity using a JSON-LD @context obtained from the request payload +003_07_01 Create A Batch Of One Entity Using A JSON-LD @context Obtained From The Request Payload [Documentation] Check that the @context is obtained from the request payload body itself if the Content-Type header is "application/ld+json" and the response attribute should be compacted as one used the same context as provided when creating the entity [Tags] be-create 6_3_5 ${entity_id}= Generate Random Building Entity Id @@ -30,7 +30,7 @@ Test Teardown Delete Initial Entities ... expected_attribute_name=almostFull ... response_body=${response1.json()} -003_07_02 Create a batch of one entity using a JSON-LD @context obtained from the request payload +003_07_02 Create A Batch Of One Entity Using A JSON-LD @context Obtained From The Request Payload [Documentation] Check that the @context is obtained from the request payload body itself if the Content-Type header is "application/ld+json" and response attribute should not be compacted as one did not provide a context containing this term [Tags] be-create 6_3_5 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot index d446685218349aad9f71b5819777457f1885e5f4..f0c4137358c84ac478025a84f361650a97195dc6 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** -003_08_01 Create a batch of one entity not containing a JSON-LD @context with a JSON-LD content type +003_08_01 Create A Batch Of One Entity Not Containing A JSON-LD @context With A JSON-LD Content Type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/ld+json" and the request payload body does not contain a @context term [Tags] be-create 6_3_5 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_09.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_09.robot index 367c912e02fca2ada0ad55af00876f9f3fcb2540..988ba0fa39d15c52034a280d5f5d37df3e7fc7ad 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_09.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_09.robot @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** -003_09_01 Create a batch of one entity with a Link header and a JSON-LD content type +003_09_01 Create A Batch Of One Entity With A Link Header And A JSON-LD Content Type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/ld+json" and a JSON-LD Link header is present in the incoming HTTP request [Tags] be-create 6_3_5 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_10.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_10.robot index 73672e6b11f297136048267bd459cda09334a667..e190bde3ff408df4ab96753f04082880d9884d40 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_10.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_10.robot @@ -11,7 +11,7 @@ Test Teardown Delete Entities *** Test Cases *** -003_10_01 Create a batch of three valid entities where two have the same id +003_10_01 Create A Batch Of Three Valid Entities Where Two Have The Same Id [Documentation] Check that one can create a batch of entities where two have the same id [Tags] be-create 5_6_7 5_5_11 since_v1.5.1 ${first_entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_01.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_01.robot index 70110e7ab4047411c274e4eb7dd27fc4d08fd4a1..422f089aeac1559c9489e537b153d91eb4d06683 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_01.robot @@ -11,7 +11,7 @@ Test Setup Setup Initial Entities *** Test Cases *** -006_01_01 Delete a batch of entities +006_01_01 Delete A Batch Of Entities [Documentation] Check that one can delete a batch of entities [Tags] be-delete 5_6_10 ${response}= Batch Delete Entities entities_ids_to_be_deleted=@{entities_ids_to_be_deleted} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_02.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_02.robot index 4d44089eda586cc27b94e0ca3ae8b47583fdee1d..e36bcdc7d211ba10e978d64635e587520d7f3357 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_02.robot @@ -11,7 +11,7 @@ Test Setup Setup Initial Entity *** Test Cases *** -006_02_01 Delete a batch of non-existing and existing entities +006_02_01 Delete A Batch Of Non-existing And Existing Entities [Documentation] Check that one can delete a batch of non-existing and existing entities [Tags] be-delete 5_6_10 ${new_entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_04.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_04.robot index 76077be6b89f18b87dfba1a3edab0116102ae672..a5bc6ebf9c40e3e1922aae02ef77d95a62c85225 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_04.robot @@ -11,7 +11,7 @@ Test Setup Setup Initial Entity *** Test Cases *** -006_04_01 Delete a batch of existing entities with the same id +006_04_01 Delete A Batch Of Existing Entities With The Same Id [Documentation] Check that one can delete a batch entities with the same id [Tags] be-delete 5_6_10 5_5_11 since_v1.5.1 ${new_entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/MergeBatchOfEntities/057_02.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/MergeBatchOfEntities/057_02.robot index 2c6656eaea87371cf3149fbaf73ac72a81a06cd7..3a6543a189781bb7d83fa13cacf8300b97cd9f05 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/MergeBatchOfEntities/057_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/MergeBatchOfEntities/057_02.robot @@ -18,7 +18,7 @@ ${entity_filename}= building-relationship-of-property.jsonld *** Test Cases *** -057_02_01 Merge a batch should succeed for existing entities and fail for non existing one by returning 207 status +057_02_01 Merge A Batch Should Succeed For Existing Entities And Fail For Non Existing One By Returning 207 Status [Documentation] Check that you can merge a batch of non-existing and existing entities [Tags] be-merge 5_6_17 since_v1.6.1 ${first_existing_entity}= Load Entity diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_03.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_03.robot index 814867ab4981b395332f47bfc11d983c92d8e269..e98f8ddb81e59c9daa852c5ab0e2c4d580265b4c 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_03.robot @@ -17,7 +17,7 @@ ${update_fragment_filename}= fragmentEntities/simple-attributes-relationship- *** Test Cases *** -005_03_01 Update a batch of non-existing and existing entities +005_03_01 Update A Batch Of Non-existing And Existing Entities [Documentation] Check that one can update a batch of non-existing and existing entities [Tags] be-update 5_6_9 ${first_existing_entity}= Load Entity diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_05.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_05.robot index f3a7833caae5f574b4f1fb5720c0b5841e0e685d..f0d4c035ae14b67800e352b0ea48dfe97db52bda 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_05.robot @@ -11,7 +11,7 @@ Test Teardown Delete Entities *** Test Cases *** -004_05_01 Upsert a batch of two valid entities and one invalid entity +004_05_01 Upsert A Batch Of Two Valid Entities And One Invalid Entity [Documentation] Check that one can upsert a batch of two valid entities and one invalid entity [Tags] be-upsert 5_6_8 ${first_entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_07.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_07.robot index 0717f7abffcbd29c216e6e442865c0cc92d711b2..6dba1cad88b089293c78074806a3aafba11678cc 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_07.robot @@ -11,7 +11,7 @@ Test Teardown Delete Entities *** Test Cases *** -004_07_01 Upsert a batch of three valid entities where two have the same id +004_07_01 Upsert A Batch Of Three Valid Entities Where Two Have The Same Id [Documentation] Check that one can upsert a batch of where two have the same id [Tags] be-upsert 5_6_8 5_5_11 since_v1.5.1 ${first_entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_03.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_03.robot index 539d78fee876d717cee4e8fac9bcaa2606f960ce..49e8617c08eeab20c22c6d26bfe05bdbfa0d24e1 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_03.robot @@ -16,7 +16,7 @@ ${content_type}= application/ld+json *** Test Cases *** -001_03_01 Create one valid entity and one invalid entity +001_03_01 Create One Valid Entity And One Invalid Entity [Documentation] Check that one cannot create an entity with an existing id [Tags] e-create 5_6_1 ${response}= Create Entity Selecting Content Type diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_04.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_04.robot index 8f1d3f779e06491874cb441bb68e5750baaaae1b..b57129fc41bb65252d6d4d8780d8464261d5e051 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_04.robot @@ -15,7 +15,7 @@ ${filename}= building-simple-attributes.json *** Test Cases *** -001_04_01 Create one entity using a provided Link header with JSON content type and NGSILD context +001_04_01 Create One Entity Using A Provided Link Header With JSON Content Type And NGSILD Context [Documentation] Check that the @context is obtained from a Link Header if the Content-Type header is "application/json" [Tags] e-create 6_3_5 ${entity_id}= Generate Random Building Entity Id @@ -31,7 +31,7 @@ ${filename}= building-simple-attributes.json ... expected_attribute_name=almostFull ... response_body=${response1.json()} -001_04_02 Create one entity using a provided Link header with JSON content type and no context +001_04_02 Create One Entity Using A Provided Link Header With JSON Content Type And No Context [Documentation] Check that the @context is obtained from a Link Header if the Content-Type header is "application/json" [Tags] e-create 6_3_5 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_05.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_05.robot index e2e780c288e9736f9bc1ded39db86e0834f2c8d2..db8fedb9146c7edab82dfa3aac4b3f3eb73ba014 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_05.robot @@ -15,7 +15,7 @@ ${filename}= building-simple-attributes.json *** Test Cases *** -001_05_01 Create one entity using the default context with JSON content type and request without context +001_05_01 Create One Entity Using The Default Context With JSON Content Type And Request Without Context [Documentation] Check that the default @context is used if the Content-Type header is "application/json" and the Link header does not contain a JSON-LD @context, requesting without context [Tags] e-create 6_3_5 ${entity_id}= Generate Random Building Entity Id @@ -27,7 +27,7 @@ ${filename}= building-simple-attributes.json ... expected_attribute_name=almostFull ... response_body=${response1.json()} -001_05_02 Create one entity using the default context with JSON content type and request with context +001_05_02 Create One Entity Using The Default Context With JSON Content Type And Request With Context [Documentation] Check that the default @context is used if the Content-Type header is "application/json" and the Link header does not contain a JSON-LD @context, requesting with context [Tags] e-create 6_3_5 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_06.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_06.robot index 52439c750651919f22a1f5184726059a2e41bea6..61c9d45f9262e45c1aa9c92afc080afb64f764ad 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_06.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_06.robot @@ -12,7 +12,7 @@ ${filename}= building-simple-attributes.jsonld *** Test Cases *** -001_06_01 Create one entity containing a JSON-LD @context with a JSON content type +001_06_01 Create One Entity Containing A JSON-LD @context With A JSON Content Type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/json" and the request payload body (as JSON) contains a "@context" term [Tags] e-create 6_3_5 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_07.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_07.robot index eb7897cc9742bd83a4b1501890fc376803629d30..256a1734025a570674d9f4e4e974a45c9661a17b 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_07.robot @@ -15,7 +15,7 @@ ${filename}= building-simple-attributes.jsonld *** Test Cases *** -001_07_01 Create one entity using a JSON-LD @context obtained from the request payload with ld context +001_07_01 Create One Entity Using A JSON-LD @context Obtained From The Request Payload With Ld Context [Documentation] Check that the @context is obtained from the request payload body itself if the Content-Type header is "application/ld+json" and retrieve with ld context [Tags] e-create 6_3_5 ${entity_id}= Generate Random Building Entity Id @@ -27,7 +27,7 @@ ${filename}= building-simple-attributes.jsonld ... expected_attribute_name=almostFull ... response_body=${response1.json()} -001_07_02 Create one entity using a JSON-LD @context obtained from the request payload without context +001_07_02 Create One Entity Using A JSON-LD @context Obtained From The Request Payload Without Context [Documentation] Check that the @context is obtained from the request payload body itself if the Content-Type header is "application/ld+json" and retrieve without context [Tags] e-create 6_3_5 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_08.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_08.robot index df7fb32b46667e6f2712d5f3b00f638a836c7478..87f12e5b79403e47b9fc530f92df5d115f9d171a 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_08.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_08.robot @@ -12,7 +12,7 @@ ${filename}= building-simple-attributes.json *** Test Cases *** -001_08_01 Create one entity not containing a JSON-LD @context with a JSON-LD content type +001_08_01 Create One Entity Not Containing A JSON-LD @context With A JSON-LD Content Type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/ld+json" and the request payload body does not contain a @context term [Tags] e-create 6_3_5 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_09.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_09.robot index 9fab24a1b18434cde06b36a59b795d945f3ae8a1..83d6c46fae402478b98fd2d75a941cdac6a8ad22 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_09.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_09.robot @@ -12,7 +12,7 @@ ${filename}= building-simple-attributes.jsonld *** Test Cases *** -001_09_01 Create one entity with a Link header and a JSON-LD content type +001_09_01 Create One Entity With A Link Header And A JSON-LD Content Type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/ld+json" and a JSON-LD Link header is present in the incoming HTTP request [Tags] e-create 6_3_5 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_01.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_01.robot index d7792dee0bd0967f2774f31ee07e3cc0dbbb3941..ef54d02c196aefa5488efc5d7fed81748170cadd 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_01.robot @@ -11,7 +11,7 @@ Test Setup Setup Initial Entity *** Test Cases *** -002_01_01 Delete an entity +002_01_01 Delete An Entity [Documentation] Check that one can delete an entity by id [Tags] e-delete 5_6_6 ${response}= Delete Entity by Id ${entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_02.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_02.robot index ce23482cbd0111a323be885391f5f637b744f4fb..dee467b9c543e3840d619b2c6f6b3f25e63a02e8 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_02.robot @@ -9,10 +9,10 @@ Test Template Delete Entity Scenarios *** Test Cases *** ENTITY_ID EXPECTED_STATUS_CODE PROBLEM_TYPE -002_02_01 Delete an entity if the Entity Id is not present +002_02_01 Delete An Entity If The Entity Id Is Not Present [Tags] e-delete 5_6_6 ${EMPTY} 405 ${EMPTY} -002_02_02 Delete an entity if the Entity Id is not a valid URI +002_02_02 Delete An Entity If The Entity Id Is Not A Valid URI [Tags] e-delete 5_6_6 thisisaninvaliduri 400 ${ERROR_TYPE_BAD_REQUEST_DATA} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_03.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_03.robot index 5aa3128e27cbb0dc4ebbd96866c979459487be66..32a3ceea240e97f155bae4ca287c02ceaf8d1291 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_03.robot @@ -12,7 +12,7 @@ ${expected_status_code}= 404 *** Test Cases *** -002_03_01 Delete an entity with an id not known to the system +002_03_01 Delete An Entity With An Id Not Known To The System [Documentation] Check that one cannot delete an entity if the entity id is not known to the system [Tags] e-delete 5_6_6 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_02.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_02.robot index 0b6200dcecbff6a7642d8fe66f08d37b13dd9d44..f67e6f3acb90c7f877df431ec5a514b569eb3ec2 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_02.robot @@ -18,13 +18,13 @@ ${entity_replacement_filename} building-locatedAt-and-name.json *** Test Cases *** FAULTY_ENTITY_ID EXPECTED_STATUS_CODE -056_02_01 Merge an existing entity giving an invalid Id +056_02_01 Merge An Existing Entity Giving An Invalid Id [Tags] e-merge 5_6_17 6_5_3_4 since_v1.6.1 invalidUri 400 -056_02_02 Merge an existing entity without giving an Id +056_02_02 Merge An Existing Entity Without Giving An Id [Tags] e-merge 5_6_17 6_5_3_4 since_v1.6.1 ${EMPTY} 400 -056_02_03 Merge an existing entity giving a nonexistent Id +056_02_03 Merge An Existing Entity Giving A Nonexistent Id [Tags] e-merge 5_6_17 6_5_3_4 since_v1.6.1 urn:ngsi-ld:Building:Nonexistent 404 diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_03.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_03.robot index 3d81f42b0b220df35be69c8862bc399d1edaa20d..a78629ccdb8a7e2730bfff79b72e255b86236159 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_03.robot @@ -17,16 +17,16 @@ ${entity_payload_filename}= building-different-attributes-types.jsonld *** Test Cases *** FILENAME EXPECTATION_FILENAME -056_03_01 Delete a Property +056_03_01 Delete A Property [Tags] e-merge 5_6_17 6_5_3_4 4_5_5 since_v1.6.1 fragmentEntities/ngsild-null/building-null-property.jsonld ngsild-null/building-deleted-property.jsonld -056_03_02 Delete a Relationship +056_03_02 Delete A Relationship [Tags] e-merge 5_6_17 6_5_3_4 since_v1.6.1 fragmentEntities/ngsild-null/building-null-relationship.jsonld ngsild-null/building-deleted-relationship.jsonld -056_03_03 Delete a GeoProperty +056_03_03 Delete A GeoProperty [Tags] e-merge 5_6_17 6_5_3_4 since_v1.6.1 fragmentEntities/ngsild-null/building-null-geoproperty.jsonld ngsild-null/building-deleted-geoproperty.jsonld -056_03_04 Delete a LanguageProperty +056_03_04 Delete A LanguageProperty [Tags] e-merge 5_6_17 6_5_3_4 4_5_18 since_v1.6.1 fragmentEntities/ngsild-null/building-null-languageproperty.jsonld ngsild-null/building-deleted-languageproperty.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_04.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_04.robot index feada65d88965dad3189dc2f2bd24c7458d35b4f..4639e0cb79ffe6600a74c7294bae524322639c68 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_04.robot @@ -17,16 +17,16 @@ ${entity_payload_filename}= building-different-attributes-instances-and-type *** Test Cases *** FILENAME EXPECTATION_FILENAME -056_04_01 Delete a Property instance +056_04_01 Delete A Property Instance [Tags] e-merge 5_6_17 6_5_3_4 4_5_5 since_v1.6.1 fragmentEntities/ngsild-null/building-null-property-instance.jsonld ngsild-null/building-deleted-property-instance.jsonld -056_04_02 Delete a Relationship instance +056_04_02 Delete A Relationship Instance [Tags] e-merge 5_6_17 6_5_3_4 4_5_5 since_v1.6.1 fragmentEntities/ngsild-null/building-null-relationship-instance.jsonld ngsild-null/building-deleted-relationship-instance.jsonld -056_04_03 Delete a GeoProperty instance +056_04_03 Delete A GeoProperty Instance [Tags] e-merge 5_6_17 6_5_3_4 4_5_5 since_v1.6.1 fragmentEntities/ngsild-null/building-null-geoproperty-instance.jsonld ngsild-null/building-deleted-geoproperty-instance.jsonld -056_04_04 Delete a LanguageProperty instance +056_04_04 Delete A LanguageProperty Instance [Tags] e-merge 5_6_17 6_5_3_4 4_5_18 4_5_5 since_v1.6.1 fragmentEntities/ngsild-null/building-null-languageproperty-instance.jsonld ngsild-null/building-deleted-languageproperty-instance.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_05.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_05.robot index 70b1db8d3a2a2648ed4fd65e4ac63a2f32a18492..448bf07abcb59e8367d0728f6b3f1c82cf154da5 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/MergeEntity/056_05.robot @@ -17,16 +17,16 @@ ${entity_payload_filename}= building-different-default-attributes-instances- *** Test Cases *** FILENAME EXPECTATION_FILENAME -056_05_01 Delete a Property instance +056_05_01 Delete A Property Instance [Tags] e-merge 5_6_17 6_5_3_4 4_5_5 since_v1.6.1 fragmentEntities/ngsild-null/building-null-property.jsonld ngsild-null/building-deleted-property-default-instance.jsonld -056_05_02 Delete a Relationship instance +056_05_02 Delete A Relationship Instance [Tags] e-merge 5_6_17 6_5_3_4 4_5_5 since_v1.6.1 fragmentEntities/ngsild-null/building-null-relationship.jsonld ngsild-null/building-deleted-relationship-default-instance.jsonld -056_05_03 Delete a GeoProperty instance +056_05_03 Delete A GeoProperty Instance [Tags] e-merge 5_6_17 6_5_3_4 4_5_5 since_v1.6.1 fragmentEntities/ngsild-null/building-null-geoproperty.jsonld ngsild-null/building-deleted-geoproperty-default-instance.jsonld -056_05_04 Delete a LanguageProperty instance +056_05_04 Delete A LanguageProperty Instance [Tags] e-merge 5_6_17 6_5_3_4 4_5_18 4_5_5 since_v1.6.1 fragmentEntities/ngsild-null/building-null-languageproperty.jsonld ngsild-null/building-deleted-languageproperty-default-instance.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/ReplaceEntity/054_01.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/ReplaceEntity/054_01.robot index 771728f5d05d667d31605eb8ff516d247c235230..013cb1a2b20c48672ed8612e5d35197c13950947 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/ReplaceEntity/054_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/ReplaceEntity/054_01.robot @@ -18,7 +18,7 @@ ${expectation_filename} building-locatedAt-and-name-normalized.jsonl *** Test Cases *** -054_01_01 Replace an existing entity +054_01_01 Replace An Existing Entity [Documentation] Check that one can replace an existing entity and that its createdAt Temporal Property remains unchanged [Tags] e-replace 5_6_18 6_5_3_3 since_v1.6.1 ${entity}= Load Entity diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/ReplaceEntity/054_02.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/ReplaceEntity/054_02.robot index 84ab3660a8e89ce0e0b8648d95253b2152108ca9..86c3d25ae37cb4fc37d478e5295d690cb4902747 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/ReplaceEntity/054_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/ReplaceEntity/054_02.robot @@ -18,13 +18,13 @@ ${entity_replacement_filename} building-locatedAt-and-name.json *** Test Cases *** FAULTY_ENTITY_ID EXPECTED_STATUS_CODE -054_02_01 Replace an existing entity giving an invalid Id +054_02_01 Replace An Existing Entity Giving An Invalid Id [Tags] e-replace 5_6_18 6_5_3_3 since_v1.6.1 invalidUri 400 -054_02_02 Replace an existing entity without giving an Id +054_02_02 Replace An Existing Entity Without Giving An Id [Tags] e-replace 5_6_18 6_5_3_3 since_v1.6.1 ${EMPTY} 400 -054_02_03 Replace an existing entity giving a nonexistent Id +054_02_03 Replace An Existing Entity Giving A Nonexistent Id [Tags] e-replace 5_6_18 6_5_3_3 since_v1.6.1 urn:ngsi-ld:Building:Nonexistent 404 diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/ReplaceEntity/054_03.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/ReplaceEntity/054_03.robot index 90c53babdc4d3e5568bcfc1c922699e961b2aafc..5dadd454744de32af4c0bfde632673a2d1d8e74c 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/ReplaceEntity/054_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/ReplaceEntity/054_03.robot @@ -17,7 +17,7 @@ ${expectation_filename} building-minimal-with-two-scopes.json *** Test Cases *** -054_03_01 Replace an existing entity having scopes +054_03_01 Replace An Existing Entity Having Scopes [Documentation] Check that one can replace an existing entity and that scopes are replaced [Tags] e-replace 4_18 5_6_18 6_5_3_3 since_v1.6.1 ${response}= Replace Entity diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_01.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_01.robot index 22b1bbac6524a7962e1fb72748076403058aab9b..c24c6f393e6dd0fd6b61adbac33f77f2841cd15c 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_01.robot @@ -17,10 +17,10 @@ ${filename}= vehicle-speed-two-datasetid.jsonld *** Test Cases *** STATUS_CODE FRAGMENT_FILENAME EXPECTATION_FILENAME -010_01_01 Append entity attributes +010_01_01 Append Entity Attributes [Tags] ea-append 5_6_3 204 vehicle-new-attribute-fragment.jsonld vehicle-speed-appended.jsonld -010_01_02 Append entity attributes with different datasetid +010_01_02 Append Entity Attributes With Different Datasetid [Tags] ea-append 5_6_3 204 vehicle-speed-different-datasetid-fragment.jsonld vehicle-speed-different-datasetid.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_02.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_02.robot index f5b43cb2e76bedcc43655a6b34f9f69a79177564..6c20dd365bf6566fa3bf5dcb550b6f6ca1165f6e 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_02.robot @@ -19,9 +19,9 @@ ${invalid_fragment_filename}= invalid-fragment.jsonld *** Test Cases *** ENTITY_INVALID_ID -010_02_01 Append entity attributes if the entity Id is not present +010_02_01 Append Entity Attributes If The Entity Id Is Not Present ${EMPTY} -010_02_02 Append entity attributes if the Entity Id is not a valid URI +010_02_02 Append Entity Attributes If The Entity Id Is Not A Valid URI thisisaninvaliduri diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_03.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_03.robot index 07d3e62e7cc2cb4ed94359089cba397fa84d6c83..226158908d92f5552ab1c536a433a1b6a1d2ded1 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_03.robot @@ -14,7 +14,7 @@ ${fragment_filename}= vehicle-attribute-to-add-fragment.jsonld *** Test Cases *** -010_03_01 Append entity attributes when the entity id is not known to the system +010_03_01 Append Entity Attributes When The Entity Id Is Not Known To The System [Documentation] Check that one cannot append entity attributes if the entity id is not known to the system [Tags] ea-append 5_6_3 ${entity_id}= Generate Random Vehicle Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_04.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_04.robot index 71eee8cb9f035e608739feb7867a12c645d0c999..c966b2d2764917ae58e959643918e1202b5e786d 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_04.robot @@ -19,9 +19,9 @@ ${non_existing_attribute_name}= https://uri.etsi.org/ngsi-ld/default-context *** Test Cases *** STATUS_CODE FRAGMENT_FILENAME EXPECTATION_FILENAME -010_04_01 Append entity attributes and ignore existing multi-attribute instance +010_04_01 Append Entity Attributes And Ignore Existing Multi-attribute Instance 207 vehicle-attribute-to-add-fragment.jsonld vehicle-speed-appended.jsonld -010_04_02 Append entity attributes with a new multi-attribute instance +010_04_02 Append Entity Attributes With A New Multi-attribute Instance 204 vehicle-speed-different-datasetid-fragment.jsonld vehicle-speed-different-datasetid.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_05.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_05.robot index b8f08070bb5230fa0674cb08587f8b1957fb115e..4458ef8183d3de443881e54e3c9507827ddcb5ef 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_05.robot @@ -18,7 +18,7 @@ ${invalid_fragment_filename}= invalid-fragment.jsonld *** Test Cases *** -010_05_01 Append entity attributes with invalid entity fragments +010_05_01 Append Entity Attributes With Invalid Entity Fragments [Documentation] Check that one cannot append entity attributes with invalid entity fragments [Tags] ea-append 5_6_3 ${response}= Append Entity Attributes diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_06.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_06.robot index 4f1ad98ab379b52a2e4c162e7083ce8a81e40822..e39afc8d83a3a69b297fc85d7d1b95f5c7503fb2 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_06.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_06.robot @@ -17,7 +17,7 @@ ${filename}= vehicle-speed-two-datasetid.jsonld *** Test Cases *** STATUS_CODE FRAGMENT_FILENAME EXPECTATION_FILENAME -010_06_01 Append a LanguageProperty property +010_06_01 Append A LanguageProperty Property [Tags] ea-append 5_6_3 4_5_18 since_v1.4.1 204 vehicle-new-language-property-fragment.jsonld vehicle-language-property-appended.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_07.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_07.robot index 5873c371139a6f5d1a6645639b53eaf80a00bd1d..53641f08538f592e0e5818dd4e78d0f9b9111538 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_07.robot @@ -17,7 +17,7 @@ ${scope_fragment_filename}= one-scope-fragment.json *** Test Cases *** -010_07_01 Append scope to an entity with overwrite enabled +010_07_01 Append Scope To An Entity With Overwrite Enabled [Documentation] Check that scope is replaced if overwrite is enabled [Tags] ea-append 5_6_3 4_18 since_v1.5.1 ${response}= Append Entity Attributes @@ -34,7 +34,7 @@ ${scope_fragment_filename}= one-scope-fragment.json ... context=${ngsild_test_suite_context} Check Updated Resource Set To ${entity_expectation_payload} ${response.json()} -010_07_01 Append scope to an entity with overwrite disabled +010_07_01 Append Scope To An Entity With Overwrite Disabled [Documentation] Check that scope is appended if overwrite is disabled [Tags] ea-append 5_6_3 4_18 since_v1.5.1 ${response}= Append Entity Attributes With Parameters diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_08.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_08.robot index e664fd7778b8f1f923bf3b43b093e0426b21b363..e0a20b0764a91f293ae7a9c263a2cedc984ad87c 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_08.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_08.robot @@ -18,7 +18,7 @@ ${expectation_filename}= building-observation-space-geoproper *** Test Cases *** -010_08 Append observationSpace geospatial Property to an entity +010_08 Append observationSpace Geospatial Property To An Entity [Documentation] Check that one can append an observationSpace geospatial Property to an entity [Tags] ea-append 5_6_3 4_7 ${response}= Append Entity Attributes diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_09.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_09.robot index 3f0f42cf9785314f5e0814f8577a8a3de07ac28b..152df043771946567a3d8fbacf302d9235580db3 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_09.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_09.robot @@ -18,7 +18,7 @@ ${expectation_filename}= building-operation-space-geoproperty *** Test Cases *** -010_09 Append operationSpace geospatial Property to an entity +010_09 Append operationSpace Geospatial Property To An Entity [Documentation] Check that one can append an operationSpace geospatial Property to an entity [Tags] ea-append 5_6_3 4_7 ${response}= Append Entity Attributes diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_10.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_10.robot index 14386a1817878e23e18da4e40d33d60a3a430360..7c22ef86e127b0b500b1393ddee053ec8474c58a 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_10.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_10.robot @@ -16,7 +16,7 @@ ${filename}= vehicle-speed-two-datasetid.jsonld *** Test Cases *** STATUS_CODE FRAGMENT_FILENAME EXPECTATION_FILENAME -010_10_01 Append a JSON property +010_10_01 Append A JSON Property [Tags] ea-append 5_6_3 4_5_24 since_v1.8.1 204 vehicle-new-json-property-fragment.jsonld vehicle-json-property-appended.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_11.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_11.robot index 5b3994e46615e4d5054bffbd5ba5aad00a018831..1f5e8931513f35a288324765557d63035c51f285 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_11.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_11.robot @@ -16,7 +16,7 @@ ${filename}= vehicle-minimal.jsonld *** Test Cases *** STATUS_CODE FRAGMENT_FILENAME EXPECTATION_FILENAME -010_11_01 Append a VocabProperty property +010_11_01 Append A VocabProperty Property [Tags] ea-append 5_6_3 4_5_20 since_v1.7.1 204 vehicle-new-vocab-property-fragment.jsonld vehicle-vocab-property-appended.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_01.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_01.robot index a5f8a687e58265d33d434ac9a96ac00242c95b9f..171fb2a4befbb2bbdf219738dd0e406a16365d82 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_01.robot @@ -19,11 +19,11 @@ ${attribute_id}= speed *** Test Cases *** DATASETID DELETEALL EXPECTATION_FILENAME -013_01_01 Delete an attribute with the default instance +013_01_01 Delete An Attribute With The Default Instance ${EMPTY} false vehicle-delete-default-speed.jsonld -013_01_02 Delete an attribute with the datasetId +013_01_02 Delete An Attribute With The datasetId urn:ngsi-ld:Property:gpsBxyz123-speed false vehicle-delete-datasetid-speed.jsonld -013_01_03 Delete all target attribute instances +013_01_03 Delete All Target Attribute Instances ${EMPTY} true vehicle-delete-deleteall-speed.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_02.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_02.robot index 51752453b4e3f778268da42c6cf0a6d65659502a..76721c48478ddecd7a6b4a07f6040fdd76a17b7e 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_02.robot @@ -16,11 +16,11 @@ ${filename}= vehicle-two-datasetid-attributes.jsonld *** Test Cases *** ENTITY_ID ATTRIBUTE_ID EXPECTED_STATUS_CODE -013_02_01 Delete an attribute if the Entity Id is not present +013_02_01 Delete An Attribute If The Entity Id Is Not Present ${EMPTY} speed 400 -013_02_02 Delete an attribute if the Entity Id is not a valid URI +013_02_02 Delete An Attribute If The Entity Id Is Not A Valid URI thisIsAnInvalidURI speed 400 -013_02_03 Delete an attribute if the Attribute Name is not present +013_02_03 Delete An Attribute If The Attribute Name Is Not Present ${valid_entity_id} ${EMPTY} 405 diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_03.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_03.robot index 3ba0ff03a4b72bae45b4789b976f399a54544f23..09e0a614bbb1eeb9ce92883329cfeaa549db089f 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_03.robot @@ -17,11 +17,11 @@ ${filename}= vehicle-two-datasetid-attributes.jsonld *** Test Cases *** ENTITY_ID ATTRIBUTE_ID DATASETID -013_03_01 Delete an attribute when the Entity Id is not known to the system +013_03_01 Delete An Attribute When The Entity Id Is Not Known To The System ${not_found_entity_id} speed urn:ngsi-ld:Property:gpsBxyz123-speed -013_03_02 Delete an attribute when the Entity does not contain the target attribute id +013_03_02 Delete An Attribute When The Entity Does Not Contain The Target Attribute Id ${valid_entity_id} notFound ${EMPTY} -013_03_03 Delete an attribute when the Entity does not contain the target attribute with same datasetId +013_03_03 Delete An Attribute When The Entity Does Not Contain The Target Attribute With Same datasetId ${valid_entity_id} speed urn:ngsi-ld:Property:notFound diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_04.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_04.robot index c1ea0267c8c64a73c80d438215c03e94151d26a8..6e946dc568278e6f4dc1d5bfdda51358eec6413e 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_04.robot @@ -17,7 +17,7 @@ ${expectation_filename}= building-minimal-compacted.json *** Test Cases *** -013_04 Delete scope from an entity +013_04 Delete Scope From An Entity [Documentation] Check that one can delete a scope from an entity [Tags] ea-delete 5_6_5 4_18 since_v1.5.1 ${response}= Delete Entity Attributes diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_05.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_05.robot index 5250755a27a6e021179d542ecdfda732e10c1d8b..e1cbb4aeed6e9ad28deb2ac88436d19c53097b52 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_05.robot @@ -17,7 +17,7 @@ ${expectation_filename}= building-minimal-compacted.json *** Test Cases *** -013_05 Delete an observationSpace geospatial Property from an entity +013_05 Delete An observationSpace Geospatial Property From An Entity [Documentation] Check that one can delete an observationSpace geospatial Property from an entity [Tags] ea-delete 5_6_5 4_7 ${response}= Delete Entity Attributes diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_06.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_06.robot index 45cd2b7207cdb083115abc82c9f129c4251ef113..04b45d48cacbb0924215c8965ee98a4e2551c515 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_06.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_06.robot @@ -17,7 +17,7 @@ ${expectation_filename}= building-minimal-compacted.json *** Test Cases *** -013_06 Delete an operationSpace geospatial Property from an entity +013_06 Delete An operationSpace Geospatial Property From An Entity [Documentation] Check that one can delete an operationSpace geospatial Property from an entity [Tags] ea-delete 5_6_5 4_7 ${response}= Delete Entity Attributes diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_07.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_07.robot index e8e520f688fba21ba184ff241e43f13ddc9f31d1..076d2685842e7b243bac44d58ca79b9e19360ac2 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_07.robot @@ -16,7 +16,7 @@ ${expectation_filename}= building-minimal.json *** Test Cases *** -013_07_01 Delete a VocabProperty property from an entity +013_07_01 Delete A VocabProperty Property From An Entity [Documentation] Check that you can delete a VocabProperty property from an entity [Tags] ea-delete 5_6_5 4_5_20 since_v1.7.1 ${response}= Delete Entity Attributes diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_01.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_01.robot index 38e4c6ab63b0451cf3b26006190ce7a198be91f8..ce8e2b51e752d620335519a0eb3e1aaf70e56c7c 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_01.robot @@ -18,9 +18,9 @@ ${status_code}= 204 *** Test Cases *** FRAGMENT_FILENAME ATTRIBUTE_ID EXPECTATION_FILENAME -012_01_01 Check that one can partially update an attribute +012_01_01 Check That One Can Partially Update An Attribute vehicle-isparked-fragment.jsonld isParked vehicle-isparked-update.jsonld -012_01_02 Check that one can partially update an attribute by specifying the datasetId +012_01_02 Check That One Can Partially Update An Attribute By Specifying The datasetId vehicle-speed-equal-datasetid-fragment.jsonld speed vehicle-update-speed.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_02.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_02.robot index 4b0993a3c9ab584f37135a4715184d30fdfc5ea1..1be83d22f7db1d9b000b9a266d8103f83a8d6599 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_02.robot @@ -17,16 +17,16 @@ ${status_code}= 400 *** Test Cases *** ENTITY_ID ATTRIBUTE_ID FRAGMENT_FILENAME -012_02_01 Make a partial attribute update if the Entity Id is not present +012_02_01 Make A Partial Attribute Update If The Entity Id Is Not Present [Documentation] Check that one cannot perform a partial update on an entity attribute with missing entity id ${EMPTY} speed vehicle-speed-equal-datasetid-fragment.jsonld -012_02_02 Make a partial attribute update if the Entity Id is not a valid URI +012_02_02 Make A Partial Attribute Update If The Entity Id Is Not A Valid URI [Documentation] Check that one cannot perform a partial update on an entity attribute with invalid entity id thisisaninvaliduri speed vehicle-speed-equal-datasetid-fragment.jsonld -012_02_03 Make a partial attribute update if the Attribute type does not match +012_02_03 Make A Partial Attribute Update If The Attribute Type Does Not Match [Documentation] Check that one cannot perform a partial update on an entity attribute with a different attribute type ${valid_entity_id} speed vehicle-speed-equal-datasetid-different-type-fragment.jsonld -012_02_04 Make a partial attribute update if the entity fragment is empty +012_02_04 Make A Partial Attribute Update If The Entity Fragment Is Empty [Documentation] Check that one cannot perform a partial update on an entity attribute with an empty fragment ${valid_entity_id} speed empty-fragment.json diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_03.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_03.robot index 27b0743745eae3b07dc4c71c925622dc69e03c67..6569cf7fe03a059df5501f7fa3c6aca83f31e416 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_03.robot @@ -18,13 +18,13 @@ ${default_attr_id}= speed *** Test Cases *** ENTITY_ID ATTR_ID FRAGMENT_FILENAME -012_03_01 Partial update when the Entity Id is not known to the system +012_03_01 Partial Update When The Entity Id Is Not Known To The System ${not_found_entity_id} ${default_attr_id} vehicle-isparked-fragment.jsonld -012_03_02 Partial update when no default instance and no datasetId specified +012_03_02 Partial Update When No Default Instance And No datasetId Specified ${valid_entity_id} ${default_attr_id} vehicle-speed-no-datasetid-fragment.jsonld -012_03_03 Partial update when no instance with the datasetId specified +012_03_03 Partial Update When No Instance With The datasetId Specified ${valid_entity_id} ${default_attr_id} vehicle-speed-unknown-datasetid-fragment.jsonld -012_03_04 Partial update when the Attribute Name does not exist in the entity +012_03_04 Partial Update When The Attribute Name Does Not Exist In The Entity ${valid_entity_id} isParked2 vehicle-isparked-fragment.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_04.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_04.robot index dbafcc0ec976404077fdacae8fa746946d444690..610534cda23169b895d332a2439023cf7e67028a 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_04.robot @@ -18,7 +18,7 @@ ${status_code}= 204 *** Test Cases *** FRAGMENT_FILENAME ATTRIBUTE_ID EXPECTATION_FILENAME -012_04_01 Check that one can partially update a LanguageProperty property +012_04_01 Check That One Can Partially Update A LanguageProperty Property [Tags] ea-partial-update 5_6_4 4_5_18 since_v1.4.1 building-language-property-fragment.jsonld street building-language-property-update.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_05.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_05.robot index 47e7b8e0ebdf1346bd3e700ad34e2a03514c263a..26b93b9587ec06423f4d4821fd30c5d68763efe1 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_05.robot @@ -17,16 +17,16 @@ ${filename}= building-different-attributes-types.jsonld *** Test Cases *** STATUS_CODE ATTR_NAME FRAGMENT_FILENAME EXPECTATION_FILENAME -012_05_01 Delete a Property +012_05_01 Delete A Property [Tags] ea-partial-update 5_6_4 6_7_3_1 since_v1.6.1 204 name ngsild-null/null-property-fragment.jsonld ngsild-null/building-deleted-property.jsonld -012_05_02 Delete a Relationship +012_05_02 Delete A Relationship [Tags] ea-partial-update 5_6_4 6_7_3_1 since_v1.6.1 204 locatedAt ngsild-null/null-relationship-fragment.jsonld ngsild-null/building-deleted-relationship.jsonld -012_05_03 Delete a GeoProperty +012_05_03 Delete A GeoProperty [Tags] ea-partial-update 5_6_4 6_7_3_1 since_v1.6.1 204 location ngsild-null/null-geoproperty-fragment.jsonld ngsild-null/building-deleted-geoproperty.jsonld -012_05_04 Delete a LanguageProperty +012_05_04 Delete A LanguageProperty [Tags] ea-partial-update 5_6_4 6_7_3_1 4_5_18 since_v1.6.1 204 street ngsild-null/null-languageproperty-fragment.jsonld ngsild-null/building-deleted-languageproperty.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_06.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_06.robot index b65ce263c93140225606ac00bc8409bccfa1c49e..771d74a863a0d5c7b500249b31fd79f621d1946a 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_06.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_06.robot @@ -17,16 +17,16 @@ ${filename}= building-different-attributes-instances-and-types.jsonld *** Test Cases *** STATUS_CODE ATTR_NAME FRAGMENT_FILENAME EXPECTATION_FILENAME -012_06_01 Delete a Property +012_06_01 Delete A Property [Tags] ea-partial-update 5_6_4 6_7_3_1 since_v1.6.1 204 name ngsild-null/null-property-instance-fragment.jsonld ngsild-null/building-deleted-property-instance.jsonld -012_06_02 Delete a Relationship +012_06_02 Delete A Relationship [Tags] ea-partial-update 5_6_4 6_7_3_1 since_v1.6.1 204 locatedAt ngsild-null/null-relationship-instance-fragment.jsonld ngsild-null/building-deleted-relationship-instance.jsonld -012_06_03 Delete a GeoProperty +012_06_03 Delete A GeoProperty [Tags] ea-partial-update 5_6_4 6_7_3_1 since_v1.6.1 204 location ngsild-null/null-geoproperty-instance-fragment.jsonld ngsild-null/building-deleted-geoproperty-instance.jsonld -012_06_04 Delete a LanguageProperty +012_06_04 Delete A LanguageProperty [Tags] ea-partial-update 5_6_4 6_7_3_1 4_5_18 since_v1.6.1 204 street ngsild-null/null-languageproperty-instance-fragment.jsonld ngsild-null/building-deleted-languageproperty-instance.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_07.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_07.robot index abbfedacbcb401a1aa01a0a55914e6682042a8f5..e4cf3a42a23640fc678054795521175a74831fb5 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_07.robot @@ -17,16 +17,16 @@ ${filename}= building-different-default-attributes-instances-and-types.jsonld *** Test Cases *** STATUS_CODE ATTR_NAME FRAGMENT_FILENAME EXPECTATION_FILENAME -012_07_01 Delete a Property +012_07_01 Delete A Property [Tags] ea-partial-update 5_6_4 6_7_3_1 since_v1.6.1 204 name ngsild-null/null-property-fragment.jsonld ngsild-null/building-deleted-property-default-instance.jsonld -012_07_02 Delete a Relationship +012_07_02 Delete A Relationship [Tags] ea-partial-update 5_6_4 6_7_3_1 since_v1.6.1 204 locatedAt ngsild-null/null-relationship-fragment.jsonld ngsild-null/building-deleted-relationship-default-instance.jsonld -012_07_03 Delete a GeoProperty +012_07_03 Delete A GeoProperty [Tags] ea-partial-update 5_6_4 6_7_3_1 since_v1.6.1 204 location ngsild-null/null-geoproperty-fragment.jsonld ngsild-null/building-deleted-geoproperty-default-instance.jsonld -012_07_04 Delete a LanguageProperty +012_07_04 Delete A LanguageProperty [Tags] ea-partial-update 5_6_4 6_7_3_1 4_5_18 since_v1.6.1 204 street ngsild-null/null-languageproperty-fragment.jsonld ngsild-null/building-deleted-languageproperty-default-instance.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_08.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_08.robot index 8f629e6a64dcc90fd6d411e28d606485cb76ef6c..2fd1c9ee944ddd871de46db36a5a83669668d95c 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_08.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_08.robot @@ -17,7 +17,7 @@ ${status_code}= 204 *** Test Cases *** FRAGMENT_FILENAME ATTRIBUTE_ID EXPECTATION_FILENAME -012_08_01 Check that you can partially update a JSON property +012_08_01 Check That You Can Partially Update A JSON Property [Tags] ea-partial-update 5_6_4 4_5_24 since_v1.8.1 building-json-property-fragment.jsonld jsonProperty building-json-property-update.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_09.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_09.robot index cfd0d32674bb1d44e5353e55a05d9f300a831826..1e5d9050c3a72c25f9c1e7e13370bf5adb1b7c44 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_09.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_09.robot @@ -17,7 +17,7 @@ ${status_code}= 204 *** Test Cases *** FRAGMENT_FILENAME ATTRIBUTE_ID EXPECTATION_FILENAME -012_09_01 Check that you can partially update a VocabProperty property +012_09_01 Check That You Can Partially Update A VocabProperty Property [Tags] ea-partial-update 5_6_4 4_5_20 since_v1.7.1 building-vocab-property-fragment.jsonld vocabProperty building-vocab-property-update.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/ReplaceEntityAttribute/055_01.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/ReplaceEntityAttribute/055_01.robot index 073369e2f6c6befd5ffdc9a88bbf48a266ffb9d9..9cc5ae02aeea7b356331bfa7b33bfc1ac65abd26 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/ReplaceEntityAttribute/055_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/ReplaceEntityAttribute/055_01.robot @@ -17,10 +17,10 @@ ${entity_filename} vehicle-speed-multi-instances.jsonld *** Test Cases *** ATTRIBUTE_FILE_NAME EXPECTATION_FILE_NAME -055_01_01 Replace entity attribute +055_01_01 Replace Entity Attribute [Tags] ea-replace 5_6_19 6_7_3_3 since_v1.6.1 vehicle-isParked-attribute.json vehicle-replace-isParked-attribute.jsonld -055_01_02 Replace entity attribute giving a new attribute type +055_01_02 Replace Entity Attribute Giving A New Attribute Type [Tags] ea-replace 5_6_19 6_7_3_3 since_v1.6.1 vehicle-isParked-new-type-attribute.json vehicle-replace-isParked-new-type-attribute.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/ReplaceEntityAttribute/055_02.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/ReplaceEntityAttribute/055_02.robot index c7115c6090edf40b2e16776746cd2cca69061e0b..18204c5b777fd61f3c313547beb67367868756d7 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/ReplaceEntityAttribute/055_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/ReplaceEntityAttribute/055_02.robot @@ -17,10 +17,10 @@ ${entity_filename} vehicle-speed-multi-instances.jsonld *** Test Cases *** ATTRIBUTE_FILE_NAME EXPECTATION_FILE_NAME -055_02_01 Replace entity attribute giving no datasetId +055_02_01 Replace Entity Attribute Giving No datasetId [Tags] ea-replace 5_6_19 6_7_3_3 since_v1.6.1 vehicle-speed-default-instance.json vehicle-replace-speed-default-instance.jsonld -055_02_02 Replace entity attribute giving a datasetId +055_02_02 Replace Entity Attribute Giving A datasetId [Tags] ea-replace 5_6_19 6_7_3_3 since_v1.6.1 vehicle-speed-datasetid-instance.json vehicle-replace-speed-datasetid-instance.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/ReplaceEntityAttribute/055_03.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/ReplaceEntityAttribute/055_03.robot index 3a486586055157d67a8a35dbe4643f24901532d6..f4191b1e1a00551b770d0641b684b0ee07fda279 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/ReplaceEntityAttribute/055_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/ReplaceEntityAttribute/055_03.robot @@ -17,19 +17,19 @@ ${entity_filename} vehicle-speed-multi-instances.jsonld *** Test Cases *** ENTITY_ID ATTR_ID ATTRIBUTE_FILE_NAME EXPECTED_STATUS_CODE -055_03_01 Replace entity attribute giving an invalid entity ID +055_03_01 Replace Entity Attribute Giving An Invalid Entity ID [Tags] ea-replace 5_6_19 6_7_3_3 since_v1.6.1 invalidUri isParked vehicle-isParked-attribute.json 400 -055_03_02 Replace entity attribute giving a nonexistent entity ID +055_03_02 Replace Entity Attribute Giving A Nonexistent Entity ID [Tags] ea-replace 5_6_19 6_7_3_3 since_v1.6.1 urn:ngsi-ld:Vehicle:Nonexistent isParked vehicle-isParked-attribute.json 404 -055_03_03 Replace entity attribute giving an invalid attribute name +055_03_03 Replace Entity Attribute Giving An Invalid Attribute Name [Tags] ea-replace 5_6_19 6_7_3_3 since_v1.6.1 ${entity_id} @invalid vehicle-isParked-attribute.json 400 -055_03_04 Replace entity attribute giving a nonexistent attribute name +055_03_04 Replace Entity Attribute Giving A Nonexistent Attribute Name [Tags] ea-replace 5_6_19 6_7_3_3 since_v1.6.1 ${entity_id} brandName vehicle-isParked-attribute.json 404 -055_03_05 Replace entity attribute giving a scope attribute +055_03_05 Replace Entity Attribute Giving A Scope Attribute [Tags] ea-replace 5_6_19 6_7_3_3 since_v1.6.1 ${entity_id} scope vehicle-scope-attribute.json 400 diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_01.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_01.robot index 0de6feb840f99939611c0d466d8aa377ed9db829..602afcb9f2e102fd675ff73f64ac66d6d28a3fe9 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_01.robot @@ -17,13 +17,13 @@ ${filename}= vehicle-two-datasetid-attributes.jsonld *** Test Cases *** STATUS_CODE FRAGMENT_FILENAME EXPECTATION_FILENAME -011_01_01 Check that one can update existing attributes with no datasetId +011_01_01 Check That One Can Update Existing Attributes With No datasetId 204 vehicle-speed-two-datasetid-01-fragment.jsonld expectations/vehicle-update-attributes.jsonld -011_01_02 Check that one can update existing attributes with the datasetId +011_01_02 Check That One Can Update Existing Attributes With The datasetId 204 vehicle-speed-two-datasetid-02-fragment.jsonld expectations/vehicle-update-datasetid-attributes.jsonld -011_01_03 Check that one can update existing attributes and append non-existing attributes +011_01_03 Check That One Can Update Existing Attributes And Append Non-existing Attributes 204 vehicle-speed-two-datasetid-03-fragment.jsonld expectations/vehicle-multi-attributes.jsonld -011_01_04 Check that one can change the type of an existing attribute +011_01_04 Check That One Can Change The Type Of An Existing Attribute 204 vehicle-speed-two-datasetid-04-fragment.jsonld expectations/vehicle-update-attributes-new-attribute-type.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_02.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_02.robot index 2f591cda15feda4282d62471a2bdc343a5f37f24..d9263c1092c62b0c3b36210e7861c46e6e7c45fb 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_02.robot @@ -12,9 +12,9 @@ Test Template Update Attributes *** Test Cases *** ENTITY_INVALID_ID FRAGMENT_FILENAME -011_02_01 Update an attribute if the Entity Id is not present +011_02_01 Update An Attribute If The Entity Id Is Not Present ${EMPTY} vehicle-speed-two-datasetid-01-fragment.jsonld -011_02_02 Update an attribute if the Entity Id is not a valid URI +011_02_02 Update An Attribute If The Entity Id Is Not A Valid URI thisisaninvaliduri vehicle-speed-two-datasetid-01-fragment.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_03.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_03.robot index eea13c066271e8ef0c810e8883b7b9f9f5b9c50f..6f25a2a1f69e0363a958a4c21836a9aa7ab8cf60 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_03.robot @@ -14,7 +14,7 @@ ${fragment_filename}= vehicle-speed-two-datasetid-01-fragment.jsonld *** Test Cases *** -011_03_01 Update entity attributes when the entity id is not known to the system +011_03_01 Update Entity Attributes When The Entity Id Is Not Known To The System [Documentation] Check that one cannot update entity attributes if the entity id or attributes are not known to the system [Tags] ea-update 5_6_2 ${entity_id}= Generate Random Vehicle Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_04.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_04.robot index dd5480038136f3b4fa642927b83b659905f601fa..e304b66c11883b017f7ed0e06c78acec66181a76 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_04.robot @@ -15,7 +15,7 @@ ${filename}= vehicle-speed-two-datasetid.jsonld *** Test Cases *** -011_04_01 Update entity attributes with invalid entity fragments +011_04_01 Update Entity Attributes With Invalid Entity Fragments vehicle-speed-two-datasetid.jsonld invalid-fragment.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_05.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_05.robot index 86c63bf82db7a02b7ef46b5618b3ef57856a85dc..7e33953fb6de965cfa0af17a0b59136cb9f4318e 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_05.robot @@ -15,7 +15,7 @@ ${scope_fragment_filename}= one-scope-fragment.json *** Test Cases *** -011_05_01 Update scope to an entity already having a scope +011_05_01 Update Scope To An Entity Already Having A Scope [Documentation] Check that scope is replaced if entity already has a scope [Tags] ea-append 5_6_2 4_18 since_v1.5.1 [Setup] Create Initial Entity building-minimal-with-one-scope.json @@ -33,7 +33,7 @@ ${scope_fragment_filename}= one-scope-fragment.json ... context=${ngsild_test_suite_context} Check Updated Resource Set To ${entity_expectation_payload} ${response.json()} -011_05_02 Update scope to an entity not having a scope +011_05_02 Update Scope To An Entity Not Having A Scope [Documentation] Check that scope is not added if entity does not already have a scope [Tags] ea-append 5_6_2 4_18 since_v1.5.1 [Setup] Create Initial Entity building-minimal.json diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_07.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_07.robot index 6308bbf5f6473a6e98802f6e633e96a15e1ee112..f569f04abbf6073ef1c9b949c013418dbe7d6514 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_07.robot @@ -17,16 +17,16 @@ ${filename}= building-different-attributes-types.jsonld *** Test Cases *** STATUS_CODE FRAGMENT_FILENAME EXPECTATION_FILENAME -011_07_01 Delete a Property +011_07_01 Delete A Property [Tags] ea-update 5_6_2 6_6_3_2 since_v1.6.1 204 ngsild-null/null-property.jsonld ngsild-null/building-deleted-property.jsonld -011_07_02 Delete a Relationship +011_07_02 Delete A Relationship [Tags] ea-update 5_6_2 6_6_3_2 since_v1.6.1 204 ngsild-null/null-relationship.jsonld ngsild-null/building-deleted-relationship.jsonld -011_07_03 Delete a GeoProperty +011_07_03 Delete A GeoProperty [Tags] ea-update 5_6_2 6_6_3_2 since_v1.6.1 204 ngsild-null/null-geoproperty.jsonld ngsild-null/building-deleted-geoproperty.jsonld -011_07_04 Delete a LanguageProperty +011_07_04 Delete A LanguageProperty [Tags] ea-update 5_6_2 6_6_3_2 4_5_18 since_v1.6.1 204 ngsild-null/null-languageproperty.jsonld ngsild-null/building-deleted-languageproperty.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_08.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_08.robot index aea4410fc6c7b6f74d3b84e1cb84f456896c36ed..84615d7634fb554d6586a10741c5e94ad5247de8 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_08.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_08.robot @@ -17,16 +17,16 @@ ${filename}= building-different-attributes-instances-and-types.jsonld *** Test Cases *** STATUS_CODE FRAGMENT_FILENAME EXPECTATION_FILENAME -011_08_01 Delete a Property +011_08_01 Delete A Property [Tags] ea-update 5_6_2 6_6_3_2 since_v1.6.1 204 ngsild-null/null-property-instance.jsonld ngsild-null/building-deleted-property-instance.jsonld -011_08_02 Delete a Relationship +011_08_02 Delete A Relationship [Tags] ea-update 5_6_2 6_6_3_2 since_v1.6.1 204 ngsild-null/null-relationship-instance.jsonld ngsild-null/building-deleted-relationship-instance.jsonld -011_08_03 Delete a GeoProperty +011_08_03 Delete A GeoProperty [Tags] ea-update 5_6_2 6_6_3_2 since_v1.6.1 204 ngsild-null/null-geoproperty-instance.jsonld ngsild-null/building-deleted-geoproperty-instance.jsonld -011_08_04 Delete a LanguageProperty +011_08_04 Delete A LanguageProperty [Tags] ea-update 5_6_2 6_6_3_2 4_5_18 since_v1.6.1 204 ngsild-null/null-languageproperty-instance.jsonld ngsild-null/building-deleted-languageproperty-instance.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_09.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_09.robot index b50e52fd39f3bb6e86b18c2a5dc89f0fb37ce9fe..11ec832323aa7ad57d1bbe9f7b18f45d5c61600d 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_09.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_09.robot @@ -17,16 +17,16 @@ ${filename}= building-different-default-attributes-instances-and-types.jsonld *** Test Cases *** STATUS_CODE FRAGMENT_FILENAME EXPECTATION_FILENAME -011_09_01 Delete a Property +011_09_01 Delete A Property [Tags] ea-update 5_6_2 6_6_3_2 since_v1.6.1 204 ngsild-null/null-property.jsonld ngsild-null/building-deleted-property-default-instance.jsonld -011_09_02 Delete a Relationship +011_09_02 Delete A Relationship [Tags] ea-update 5_6_2 6_6_3_2 since_v1.6.1 204 ngsild-null/null-relationship.jsonld ngsild-null/building-deleted-relationship-default-instance.jsonld -011_09_03 Delete a GeoProperty +011_09_03 Delete A GeoProperty [Tags] ea-update 5_6_2 6_6_3_2 since_v1.6.1 204 ngsild-null/null-geoproperty.jsonld ngsild-null/building-deleted-geoproperty-default-instance.jsonld -011_09_04 Delete a LanguageProperty +011_09_04 Delete A LanguageProperty [Tags] ea-update 5_6_2 6_6_3_2 4_5_18 since_v1.6.1 204 ngsild-null/null-languageproperty.jsonld ngsild-null/building-deleted-languageproperty-default-instance.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_01.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_01.robot index aae4124644b62fc47723e434adf130d17c5bf08f..f0d5413d575f37e2e294de8456423231e05306cd 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_01.robot @@ -12,9 +12,9 @@ Test Template Create Temporal Entity *** Test Cases *** FILENAME EXPECTATION_FILENAME CONTENT_TYPE -007_01_01 Create a temporal representation of an entity +007_01_01 Create A Temporal Representation Of An Entity vehicle-create-temporal-representation.jsonld vehicle-temporal-representation-create.jsonld application/ld+json -007_01_02 Create a temporal entity with no context +007_01_02 Create A Temporal Entity With No Context vehicle-create-temporal-representation-without-context.jsonld vehicle-temporal-representation-create-with-no-context.jsonld application/json diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_02.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_02.robot index 49659f8114ef8deb49d2ae6c95871c88d6cab6b0..11ba17feb2f2dcb05e1f7b1d8386abffb0e5cd96 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_02.robot @@ -13,9 +13,9 @@ ${status_code}= 400 *** Test Cases *** FILENAME -007_02_01 Create a temporal entity with an invalid json +007_02_01 Create A Temporal Entity With An Invalid Json vehicle-temporal-representation-invalid-json.jsonld -007_02_02 Create a temporal entity with an empty json +007_02_02 Create A Temporal Entity With An Empty Json vehicle-temporal-representation-empty-json.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_03.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_03.robot index 5c4c2bfefd26964c02bf1ba36ca7da0c6ea96905..15d1ecbf886bcbc688055f8e59b3c9de9f75d0cf 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_03.robot @@ -13,9 +13,9 @@ ${status_code}= 400 *** Test Cases *** ENTITY_ID FILENAME -007_03_01 Create a temporal entity with missing id +007_03_01 Create A Temporal Entity With Missing Id ${EMPTY} vehicle-temporal-representation-without-id.jsonld -007_03_02 Create a temporal invalid URI +007_03_02 Create A Temporal Invalid URI invalidId vehicle-temporal-representation.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_01.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_01.robot index 4273f69059561d64597ceea9da2ee80c400a6a81..128566443d85d3102bc8c2c7cdd18e82992e62a3 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_01.robot @@ -15,7 +15,7 @@ ${filename}= vehicle-temporal-representation.jsonld *** Test Cases *** -009_01_01 Delete a temporal representation of an entity with simple temporal properties +009_01_01 Delete A Temporal Representation Of An Entity With Simple Temporal Properties [Documentation] Check that one can delete a temporal representation of an entity with simple temporal properties [Tags] te-delete 5_6_16 ${response}= Delete Temporal Representation Of Entity With Returning Response diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_02.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_02.robot index 16b5ede7b925f4d9b4f4140a3b93fb256eea9845..3d50c8ea6483095703b467287cee657b130fed30 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_02.robot @@ -9,9 +9,9 @@ Test Template Delete Temporal Entity *** Test Cases *** ID EXPECTED_STATUS_CODE PROBLEM_TYPE -009_02_01 Delete a temporal representation of an entity with an empty entity id +009_02_01 Delete A Temporal Representation Of An Entity With An Empty Entity Id ${EMPTY} 405 ${EMPTY} -009_02_02 Delete a temporal representation of an entity with an invalid entity id +009_02_02 Delete A Temporal Representation Of An Entity With An Invalid Entity Id invalidId 400 ${ERROR_TYPE_BAD_REQUEST_DATA} diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_03.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_03.robot index 589c0f506168b96d43da014bf73c4cf7fb21394c..5305ff7008894cd89af9de5b135ed398244d0aed 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_03.robot @@ -12,7 +12,7 @@ ${status_code}= 404 *** Test Cases *** -009_03_01 Delete a temporal representation of an entity with an unknown entity id +009_03_01 Delete A Temporal Representation Of An Entity With An Unknown Entity Id [Documentation] Check that an error is raised if one deletes a temporal entity with a non-existing entity id [Tags] te-delete 5_6_16 ${temporal_entity_id}= Generate Random Vehicle Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/UpdateTemporalRepresentationOfEntity/008_01.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/UpdateTemporalRepresentationOfEntity/008_01.robot index 2a3aabf5e69ed030dc39c77cbde318f34ee62baf..c26824c8aea13bda13397b921057cbfba9e719e2 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/UpdateTemporalRepresentationOfEntity/008_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/UpdateTemporalRepresentationOfEntity/008_01.robot @@ -18,7 +18,7 @@ ${expectation_filename}= vehicle-temporal-representation-update.jsonld *** Test Cases *** -008_01_01 Update a temporal representation of an entity with simple temporal properties +008_01_01 Update A Temporal Representation Of An Entity With Simple Temporal Properties [Documentation] Check that one can update a temporal representation of an entity with simple temporal properties [Tags] te-update 5_6_11 ${response}= Create Or Update Temporal Representation Of Entity Selecting Content Type diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_01.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_01.robot index e5f2ad8968d9f2013f71a1d1e075199a8b1fef66..3760d4ec2dd1dd937f9fd183ed1cf220f7daa3cf 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_01.robot @@ -18,7 +18,7 @@ ${expectation_filename}= vehicle-temporal-representation-added-attribute.json *** Test Cases *** -014_01_01 Add an attribute to a temporal entity with simple temporal properties +014_01_01 Add An Attribute To A Temporal Entity With Simple Temporal Properties [Documentation] Check that one can add a simple temporal attribute to a temporal representation of an entity [Tags] tea-append 5_6_12 ${response}= Append Attribute To Temporal Entity diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_02.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_02.robot index 38fdb41288895661149dfcdbeb5e5639331c30ff..add0857042707fa962add9f2147bc4cfa4990b9c 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_02.robot @@ -18,9 +18,9 @@ ${status_code}= 400 *** Test Cases *** ID -014_02_01 Add an attribute to a temporal representation of an entity with an empty entity id +014_02_01 Add An Attribute To A Temporal Representation Of An Entity With An Empty Entity Id ${EMPTY} -014_02_02 Add an attribute to a temporal representation of an entity with an invalid entity id +014_02_02 Add An Attribute To A Temporal Representation Of An Entity With An Invalid Entity Id thisIsAninvalidId diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_04.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_04.robot index 3c8d6f9614176b9854f1b5521da7ffc3210a375f..7374e1098a3854076a44abc8fc789a0f8195e5c9 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_04.robot @@ -18,9 +18,9 @@ ${status_code}= 400 *** Test Cases *** UPDATE_FILENAME -014_04_01 Add an attribute to a temporal representation of an entity with invalid content +014_04_01 Add An Attribute To A Temporal Representation Of An Entity With Invalid Content vehicle-temporal-representation-invalid-json-fragment.jsonld -014_04_02 Add an attribute to a temporal representation of an entity with empty content +014_04_02 Add An Attribute To A Temporal Representation Of An Entity With Empty Content vehicle-temporal-representation-empty-json-fragment.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_01.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_01.robot index d9a7ae93fd33a36a938817c27062f87f6a2359c4..3c51f1c4e0795c9654a62916f88d056a12bf8b96 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_01.robot @@ -19,11 +19,11 @@ ${attribute_id}= fuelLevel *** Test Cases *** DELETE_ALL DATASET_ID EXPECTATION_FILE -015_01_01 Delete an attribute from a temporal representation of an entity without deleteAll/datasetId +015_01_01 Delete An Attribute From A Temporal Representation Of An Entity Without deleteAll/datasetId false ${EMPTY} vehicle-temporal-representation-delete-fuelLevel.jsonld -015_01_02 Delete an attribute from a temporal representation of an entity with datasetId +015_01_02 Delete An Attribute From A Temporal Representation Of An Entity With datasetId false urn:ngsi-ld:Vehicle:12345-fuel vehicle-temporal-representation-delete-fuelLevel-datasetid.jsonld -015_01_03 Delete an attribute from a temporal representation of an entity with deleteAll +015_01_03 Delete An Attribute From A Temporal Representation Of An Entity With deleteAll true ${EMPTY} vehicle-temporal-representation-deleteall-fuelLevel.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_02.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_02.robot index b89aa5219ea309651a711d0634262b943f44b9f2..6d4ec45778b6bdad7cd08b4b0cc0fca287e285ab 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_02.robot @@ -17,11 +17,11 @@ ${filename}= vehicle-temporal-representation.jsonld *** Test Cases *** ENTITY_ID ATTRIBUTE_ID -015_02_01 Delete an attribute to a temporal representation of an entity with a missing entity id +015_02_01 Delete An Attribute To A Temporal Representation Of An Entity With A Missing Entity Id ${EMPTY} speed -015_02_02 Delete an attribute to a temporal representation of an entity with an invalid entity id +015_02_02 Delete An Attribute To A Temporal Representation Of An Entity With An Invalid Entity Id invalidId speed -015_02_03 Delete an attribute to a temporal representation of an entity with an invalid attribute id +015_02_03 Delete An Attribute To A Temporal Representation Of An Entity With An Invalid Attribute Id ${valid_temporal_entity_id} invalid(Name diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_03.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_03.robot index 07af2a29be5b138193b9fa8ae907ea5d351815c8..1121a562f44f47484754c79323e194c6a76350e6 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_03.robot @@ -17,9 +17,9 @@ ${status_code}= 404 *** Test Cases *** ENTITY_ID ATTRIBUTE_ID -015_03_01 Delete an attribute to a temporal entity if the entity id does not exist +015_03_01 Delete An Attribute To A Temporal Entity If The Entity Id Does Not Exist ${unknown_temporal_entity_id} fuelLevel -015_03_02 Delete an attribute to a temporal entity if the entity does not contain the target attribute +015_03_02 Delete An Attribute To A Temporal Entity If The Entity Does Not Contain The Target Attribute ${valid_temporal_entity_id} notExistingAttribute diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_01.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_01.robot index f2dbb4e7060d2b4f2abcfb09b47b2d888878503b..5caa86ba74d8a0a0a57e4a661267ce2b5513f615 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_01.robot @@ -18,7 +18,7 @@ ${expectation_filename}= vehicle-temporal-representation-delete-speed-instanc *** Test Cases *** -017_01_01 Delete an attribute instance in temporal representation of an entity +017_01_01 Delete An Attribute Instance In Temporal Representation Of An Entity [Documentation] Check that one can delete an attribute instance in temporal representation of an entity [Tags] tea-instance-delete 5_6_15 ${retrieve_response}= Retrieve Temporal Representation Of Entity diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_02.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_02.robot index 72e8ff57badab824b6f49e681cb6200a3de9b57f..c65f76db58bde3fbd1f955a2ce8e28718bcf8566 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_02.robot @@ -18,15 +18,15 @@ ${status_code}= 400 *** Test Cases *** TEMPORAL_ENTITY_ID ATTRIBUTE_ID INSTANCE_ID -017_02_01 Delete an attribute instance in temporal representation of an entity if the entity id is not valid +017_02_01 Delete An Attribute Instance In Temporal Representation Of An Entity If The Entity Id Is Not Valid invalidId speed ${valid_instanceId} -017_02_02 Delete an attribute instance in temporal representation of an entity if the entity id is not present +017_02_02 Delete An Attribute Instance In Temporal Representation Of An Entity If The Entity Id Is Not Present ${EMPTY} speed ${valid_instanceId} -017_02_03 Delete an attribute instance in temporal representation of an entity if the instance id is not valid +017_02_03 Delete An Attribute Instance In Temporal Representation Of An Entity If The Instance Id Is Not Valid ${temporal_entity_representation_id} speed invalidId -017_02_04 Delete an attribute instance in temporal representation of an entity if the attribute name is not a valid name +017_02_04 Delete An Attribute Instance In Temporal Representation Of An Entity If The Attribute Name Is Not A Valid Name ${temporal_entity_representation_id} invalid(Name ${valid_instanceId} -017_02_05 Delete an attribute instance in temporal representation of an entity if the attribute name is not present +017_02_05 Delete An Attribute Instance In Temporal Representation Of An Entity If The Attribute Name Is Not Present ${temporal_entity_representation_id} ${EMPTY} ${valid_instanceId} diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_03.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_03.robot index 638eb85a1dca19e803f5b3e5fe7eb47260c0a2ad..c7c3976831a18dc2d08c6246062963057051e330 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_03.robot @@ -18,11 +18,11 @@ ${status_code}= 404 *** Test Cases *** TEMPORAL_ENTITY_ID ATTRIBUTE_ID INSTANCE_ID -017_03_01 Delete an attribute instance in temporal representation of an entity if the entity with given id is not found +017_03_01 Delete An Attribute Instance In Temporal Representation Of An Entity If The Entity With Given Id Is Not Found ${unknown_temporal_entity_id} speed ${valid_instanceId} -017_03_02 Delete an attribute instance in temporal representation of an entity if the target attribute is not found +017_03_02 Delete An Attribute Instance In Temporal Representation Of An Entity If The Target Attribute Is Not Found ${temporal_entity_representation_id} speed2 ${valid_instanceId} -017_03_03 Delete an attribute instance in temporal representation of an entity if the target attribute instance is not found +017_03_03 Delete An Attribute Instance In Temporal Representation Of An Entity If The Target Attribute Instance Is Not Found ${temporal_entity_representation_id} speed urn:ngsi-ld:01234567890123456789 diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_01.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_01.robot index f6688478859f786ef0764b6979752e22bfb280de..dcc8a0c7e29b7a61052a47a8a8b935773a15bd6d 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_01.robot @@ -19,7 +19,7 @@ ${attributeId}= speed *** Test Cases *** -016_01_01 Modify attribute instance in temporal representation of an entity +016_01_01 Modify Attribute Instance In Temporal Representation Of An Entity [Documentation] Check that one can partially update an attribute instance of a temporal representation of an entity [Tags] tea-partial-update 5_6_14 ${response}= Retrieve Temporal Representation Of Entity diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_02.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_02.robot index f0f3f85b6f8b66e1307dca8e591568d9de348167..ad66435bec1587ce6c2775fb2d2ec37a657a8e5f 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_02.robot @@ -18,17 +18,17 @@ ${fragment_filename}= vehicle-temporal-modify-attribute-instance-fragment. *** Test Cases *** TEMPORAL_ENTITY_ID ATTRIBUTE_ID INSTANCE_ID EXPECTED_STATUS_CODE -016_02_01 Modify attribute instance in temporal representation of an entity if the entity id is not valid +016_02_01 Modify Attribute Instance In Temporal Representation Of An Entity If The Entity Id Is Not Valid invalidId speed ${valid_instanceId} 400 -016_02_02 Modify attribute instance in temporal representation of an entity if the entity id is not present +016_02_02 Modify Attribute Instance In Temporal Representation Of An Entity If The Entity Id Is Not Present ${EMPTY} speed ${valid_instanceId} 400 -016_02_03 Modify attribute instance in temporal representation of an entity if the instance id is not valid +016_02_03 Modify Attribute Instance In Temporal Representation Of An Entity If The Instance Id Is Not Valid ${temporal_entity_representation_id} speed invalidId 400 -016_02_04 Modify attribute instance in temporal representation of an entity if the instance id is not present +016_02_04 Modify Attribute Instance In Temporal Representation Of An Entity If The Instance Id Is Not Present ${temporal_entity_representation_id} speed ${EMPTY} 405 -016_02_05 Modify attribute instance in temporal representation of an entity if the attribute name is not a valid name +016_02_05 Modify Attribute Instance In Temporal Representation Of An Entity If The Attribute Name Is Not A Valid Name ${temporal_entity_representation_id} invalid(Id ${valid_instanceId} 400 -016_02_06 Modify attribute instance in temporal representation of an entity if the attribute name is not present +016_02_06 Modify Attribute Instance In Temporal Representation Of An Entity If The Attribute Name Is Not Present ${temporal_entity_representation_id} ${EMPTY} ${valid_instanceId} 405 diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_03.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_03.robot index d134c5b0398c156a0aa31ef5eef90bcdeb9f1677..22536d786d2ed1640d4b0fe874882f13a8eaf371 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_03.robot @@ -19,11 +19,11 @@ ${status_code}= 404 *** Test Cases *** TEMPORAL_ENTITY_ID ATTRIBUTE_ID INSTANCE_ID -016_03_01 Modify attribute instance in temporal representation of an entity if the entity with given id is not found +016_03_01 Modify Attribute Instance In Temporal Representation Of An Entity If The Entity With Given Id Is Not Found ${unknown_temporal_entity_id} speed ${valid_instanceId} -016_03_02 Modify attribute instance in temporal representation of an entity if the target attribute is not found +016_03_02 Modify Attribute Instance In Temporal Representation Of An Entity If The Target Attribute Is Not Found ${temporal_entity_representation_id} speed2 ${valid_instanceId} -016_03_03 Modify attribute instance in temporal representation of an entity if the target attribute instance is not found +016_03_03 Modify Attribute Instance In Temporal Representation Of An Entity If The Target Attribute Instance Is Not Found ${temporal_entity_representation_id} speed urn:ngsi-ld:01234567890123456789 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_04.robot b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_04.robot index 66106a66cfc31d83968e0770f05f4b08995d75e1..e0eae4400d6f48e8605ecd478aaab66149763734 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_04.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_04.robot @@ -15,7 +15,7 @@ ${subscription_payload_file_path}= subscriptions/subscription.jsonld *** Test Cases *** -028_04_01 Create a subscription with an id known to the system +028_04_01 Create A Subscription With An Id Known To The System [Documentation] Check that one cannot create a subscription with an existing id [Tags] sub-create 5_8_1 ${response}= Create Subscription diff --git a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_06.robot b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_06.robot index 89ac02cdada34cacb537eb24862d907f00d15f09..b4c7ecce9a9e5c27d0111300d0fd4227ddc8cdb0 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_06.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_06.robot @@ -14,7 +14,7 @@ ${subscription_expectation_file_path} subscriptions/expectations/subscript *** Test Cases *** -028_06 Create a subscription with a datasetId +028_06 Create A Subscription With A datasetId [Documentation] Check that one can create a subscription with a datasetId [Tags] sub-create 5_8_1 4_5_5 since_v1.8.1 ${subscription_id}= Generate Random Subscription Id diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_01.robot index aed10b6a2b234357f4c7b575c82361b4d0f20fae..2912337b682225b64e44e43085f60bb110280ac9 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_01.robot @@ -20,7 +20,7 @@ ${notification_server_send_url}= http://${notification_server_host}:${not *** Test Cases *** -046_01_01 Check that a notification is only sent if status is active +046_01_01 Check That A Notification Is Only Sent If Status Is Active [Documentation] Check that a notification is only sent if and only if the status is active [Tags] sub-notification 5_8_6 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_02.robot index ace3e6f1a3e27066cf1d7f9a649fb3c6eb004738..d6815eed6e0be043b1c2e3f9a60d807c513ea1ce 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_02.robot @@ -19,7 +19,7 @@ ${entity_building_filepath}= building-simple-attributes.jsonld *** Test Cases *** -046_02_01 Check that a notification is sent on the timeInterval +046_02_01 Check That A Notification Is Sent On The timeInterval [Documentation] If a Subscription defines a timeInterval member, a Notification shall be sent periodically, when the time interval (in seconds) specified in such value field is reached, regardless of Attribute changes. [Tags] sub-notification 5_8_6 ${response}= Setup Initial Subscriptions diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_03.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_03.robot index 6237d17cd664e830cf305579992f7faa9509149d..70a564f2462050954b7530edb2c664483c15119d 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_03.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_03.robot @@ -20,7 +20,7 @@ ${fragment_filename}= airQualityLevel-fragment.jsonld *** Test Cases *** -046_03_01 Check that a notification is sent with all entities +046_03_01 Check That A Notification Is Sent With All Entities [Documentation] A notification with all subscribed Entities will be included if query or geoquery are not defined. [Tags] sub-notification 5_8_6 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_04.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_04.robot index 3b2ab49434cb291ec2f79992cbc87ade9e16e0ba..abe6b194e97aaeabe721ec3bd1f0413f44cefb32 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_04.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_04.robot @@ -20,7 +20,7 @@ ${fragment_filename}= airQualityLevel-fragment.jsonld *** Test Cases *** -046_04_01 Check that a notification is sent with all entities +046_04_01 Check That A Notification Is Sent With All Entities [Documentation] The notification message shall include all the subscribed Entities that changed and that match (as mandated by clauses 4.9 and 4.10) the query and geoquery conditions [Tags] sub-notification 5_8_6 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_05.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_05.robot index 14b267ab2963970ad215230582a93f5a4b930516..248cca21391043d29b649c174346d25fbdafcb0c 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_05.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_05.robot @@ -20,7 +20,7 @@ ${fragment_filename}= airQualityLevel-fragment.jsonld *** Test Cases *** -046_05_01 Check that a notification is sent with all entities +046_05_01 Check That A Notification Is Sent With All Entities [Documentation] The notification message shall include all the subscribed Entities that changed and that match (as mandated by clauses 4.9 and 4.10) the query and geoquery conditions [Tags] sub-notification 5_8_6 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_06.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_06.robot index 5f1e592ce7278b8bee7f0c6624d3229ec2ac1b40..50dbf98732ba1a64dcf7780b665915d6f01110b2 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_06.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_06.robot @@ -19,7 +19,7 @@ ${notification_server_send_url}= http://${notification_server_host}:${not *** Test Cases *** -046_06_01 Check that a notification is sent with all matching entities +046_06_01 Check That A Notification Is Sent With All Matching Entities [Documentation] Check that a notification is sent when an entity is created and entityCreated notification trigger is configured [Tags] sub-notification 5_8_6 since_v1.6.1 ${entity_id}= Generate Random Building Entity Id diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_07.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_07.robot index 467dd4eb3d5a5916567afc9f78bb3b5f3e9dd725..b2e8abede29a80e80e185cddb4ed7011ad9a2dd2 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_07.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_07.robot @@ -25,7 +25,7 @@ ${date_format_with_millis} %Y-%m-%dT%H:%M:%S.%f *** Test Cases *** -046_07_01 Check notification structure +046_07_01 Check Notification Structure [Documentation] The structure of the notification message shall be as mandated by clause 5.3. Valid notification with attributes as stated above [Tags] sub-notification 5_8_6 [Setup] Setup Initial Subscriptions ${subscription_payload_file_path} @@ -38,7 +38,7 @@ ${date_format_with_millis} %Y-%m-%dT%H:%M:%S.%f ${notified_at_date}= Parse Ngsild Date ${notification}[notifiedAt] Should Not Be Equal ${notified_at_date} ${None} -046_07_02 Check correct attributes are included +046_07_02 Check Correct Attributes Are Included [Documentation] The structure of the notification message shall be as mandated by clause 5.3. The Entity Attributes included (Properties or Relationships) shall be those specified by the notification.attributes member in the Subscription data type (clause 5.2.12). [Tags] sub-notification 5_8_6 [Setup] Setup Initial Subscriptions ${subscription_payload_file_path_notificationAttributes} @@ -53,7 +53,7 @@ ${date_format_with_millis} %Y-%m-%dT%H:%M:%S.%f Dictionary Should Not Contain Key ${notification}[data][0] name Dictionary Should Contain Key ${notification}[data][0] airQualityLevel -046_07_03 Check URI expansion is observed +046_07_03 Check URI Expansion Is Observed [Documentation] The structure of the notification message shall be as mandated by clause 5.3. URI expansion shall be observed (clause 5.5.7). [Tags] sub-notification 5_8_6 [Setup] Setup Initial Subscriptions ${subscription_payload_file_path_default_context} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_08.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_08.robot index 34d82d9c5418777ff57bd0669e26583db925ea2d..6f38d64605e230bb9e407c89d5ab96b72d32a270 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_08.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_08.robot @@ -22,7 +22,7 @@ ${fragment_filename}= airQualityLevel-fragment.jsonld *** Test Cases *** -046_08_01 Check that a notification is sent with all attributes +046_08_01 Check That A Notification Is Sent With All Attributes [Documentation] The structure of the notification message shall be as mandated by clause 5.3.1. The absence of the notification.attributes member of a Subscription means that all Entity Attributes shall be included. All attributes are included [Tags] sub-notification 5_8_6 [Setup] Setup Initial Subscriptions ${False} @@ -40,7 +40,7 @@ ${fragment_filename}= airQualityLevel-fragment.jsonld Dictionary Should Contain Key ${notification}[data][0] airQualityLevel Dictionary Should Contain Key ${notification}[data][0] subCategory -046_08_02 Check that a notification is sent with all attributes in simplified format +046_08_02 Check That A Notification Is Sent With All Attributes In Simplified Format [Documentation] The structure of the notification message shall be as mandated by clause 5.3.1. The absence of the notification.attributes member of a Subscription means that all Entity Attributes shall be included If the notification.format member value is "keyValues" then a simplified representation of the entities (as mandated by clause 4.5.3) shall be provided [Tags] sub-notification 5_8_6 [Setup] Setup Initial Subscriptions ${True} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_09.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_09.robot index 4f96957ec28213ef835d22b1456c229c2d7eed03..4bff41b3a20fcd58db1190a0131c068d729407de 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_09.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_09.robot @@ -20,7 +20,7 @@ ${notification_server_send_url} http://${notification_server_host}:${not *** Test Cases *** -046_09_01 Check that a notification is sent to the endpoint +046_09_01 Check That A Notification Is Sent To The Endpoint [Documentation] A Notification shall be sent (as mandated by each concrete binding and including any optional endpoint.receiverInfo defined by clause 5.2.22) to the endpoint specified by the endpoint.uri member of the notification structure defined by clause 5.2.1 [Tags] sub-notification 5_8_6 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_10.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_10.robot index 940ca5b0823c74caba428e4af713a3575f7feb76..1ba901823c27f3f8a286f539ef0726bede9081a4 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_10.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_10.robot @@ -20,7 +20,7 @@ ${notification_server_send_url} http://${notification_server_host}:${not *** Test Cases *** -046_10_01 Check that the notification is sent as JSON +046_10_01 Check That The Notification Is Sent As JSON [Documentation] The Notification shall be sent as JSON [Tags] sub-notification 5_8_6 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_11.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_11.robot index c8d2ad243a71f7006f518c717082389f69a3d336..3397c547690421fc4b88c610ef15f2c0942d76c0 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_11.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_11.robot @@ -22,7 +22,7 @@ ${date_format_with_millis}= %Y-%m-%dT%H:%M:%S.%fZ *** Test Cases *** -046_11_01 Check that timesSent is increased by one +046_11_01 Check That timesSent Is Increased By One [Documentation] The notification.timesSent member shall be incremented by one. [Tags] sub-notification 5_8_6 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_12.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_12.robot index 26b3e43f4a681d29763f7110483291079990ceba..ceb85e0546bafcbbe52122e0d01ab1ca032d2337 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_12.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_12.robot @@ -20,7 +20,7 @@ ${notification_server_send_url}= http://${notification_server_host}:${not *** Test Cases *** -046_12_01 Check that lastNotification is updated +046_12_01 Check That lastNotification Is Updated [Documentation] The status, lastNotification and lastSuccess members shall be updated with expected value and dates. This test will check these formats. [Tags] sub-notification 5_8_6 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_13.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_13.robot index d07ebf64ddc489f72dab6dc57514cf99fe290dbf..c4a12c883917eb259af5631e267c764941a2007f 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_13.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_13.robot @@ -20,7 +20,7 @@ ${fragment_filename}= airQualityLevel-fragment.jsonld *** Test Cases *** -046_13_01 Check that lastFailure and status are updated if a notification could not be sent +046_13_01 Check That lastFailure And Status Are Updated If A Notification Could Not Be Sent [Documentation] If the response to the notification request is different than 200 OK then implementations shall: Update notification.lastFailure with a timestamp representing the current date and time, update notification.status to "failed" [Tags] sub-notification 5_8_6 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_14.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_14.robot index 4f354b9e3660d47cb2550c661f14a18898229192..7d8b55db05df32e1f1ef51bc0a0fc234d5ae47f5 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_14.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_14.robot @@ -20,7 +20,7 @@ ${notification_server_send_url} http://${notification_server_host}:${not *** Test Cases *** -046_14_01 Check that a notification is sent as JSON-LD +046_14_01 Check That A Notification Is Sent As JSON-LD [Documentation] The Notification content shall be JSON-LD when endpoint.accept is set to 'application/ld+json' [Tags] sub-notification 5_8_6 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_15.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_15.robot index 6cc1d802383744bfad40c8d868322e9adee0da60..598ed7689df46945982de07be9ef62d862e88746 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_15.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_15.robot @@ -20,7 +20,7 @@ ${fragment_filename}= airQualityLevel-fragment.jsonld *** Test Cases *** -046_15_01 Check that a notification is not sent if the throttling has not elapsed yet +046_15_01 Check That A Notification Is Not Sent If The Throttling Has Not Elapsed Yet [Documentation] If a Subscription defines a throttling member, a Notification shall not be sent if the throttling specified (in seconds) has not elapsed yet. [Tags] sub-notification 5_8_6 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_16_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_16_01.robot index c9d538cacf45556d1b4d728381fea0d638ab67c1..7fd14c42c2111ec30222538d44eb5304102dad78 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_16_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_16_01.robot @@ -20,7 +20,7 @@ ${content_type}= application/ld+json *** Test Cases *** -046_16_01 Check that a notification is sent with entity matching the entity type selection +046_16_01 Check That A Notification Is Sent With Entity Matching The Entity Type Selection [Documentation] If a subscription defines an entity type selection query, a notification shall be sent whenever an entity matches the query. [Tags] sub-notification 5_8_6 since_v1.5.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_16_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_16_02.robot index 6598466e9d6e18d7a2bc19727c7043e220d6e170..bf7d573d2687544ba30052673a7e46fd3c7ef7f7 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_16_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_16_02.robot @@ -20,7 +20,7 @@ ${content_type}= application/ld+json *** Test Cases *** -046_16_02 Check that a notification is not sent if the entity type does not match the entity type selection +046_16_02 Check That A Notification Is Not Sent If The Entity Type Does Not Match The Entity Type Selection [Documentation] If a subscription defines an entity type selection query, a notification shall not be sent if the entity type does not match the query [Tags] sub-notification 5_8_6 since_v1.5.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_17.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_17.robot index 49e114a910e9bc2a5e623923ba655501823ec120..775e7f15ca5a049abbe9135b362c2908ce8faa8a 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_17.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_17.robot @@ -20,7 +20,7 @@ ${notification_server_send_url} http://${notification_server_host}:${not *** Test Cases *** -046_17_01 Check that the response payload body contains the system generated attributes if sysAttrs parameter is set to true +046_17_01 Check That The Response Payload Body Contains The System Generated Attributes If sysAttrs Parameter Is Set To True [Documentation] The system generated attributes are included in the response payload body of a notification if sysAttrs parameter is set to true. [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_18.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_18.robot index 02ad0c4a296fd06892a78186324f35aa26eb8880..f8b7a085da41792107052bd0546711a03425fc9a 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_18.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_18.robot @@ -20,7 +20,7 @@ ${notification_server_send_url} http://${notification_server_host}:${not *** Test Cases *** -046_18_01 Check that the response payload body does not contain the system generated attributes if sysAttrs parameter is set to false +046_18_01 Check That The Response Payload Body Does Not Contain The System Generated Attributes If sysAttrs Parameter Is Set To False [Documentation] The system generated attributes are not included in the response payload body of a notification if sysAttrs parameter is set to false. [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_19.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_19.robot index 4e2553c6eaad18904bc63489f946a245faa9e5ea..68951db664037879da24f301724cec946c8baecd 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_19.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_19.robot @@ -20,7 +20,7 @@ ${entity_expectation_file_path} entity-with-datasetid-046-19.jsonld *** Test Cases *** -046_19 Check that only the attribute instances that match the datasetId member are included in the entity in the notification +046_19 Check That Only The Attribute Instances That Match The datasetId Member Are Included In The Entity In The Notification [Documentation] If a subscription has a datasetId member instances should be filtered based on that datasetId. [Tags] sub-notification 4_5_5 5_8_6 since_v1.8.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_21_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_21_01.robot index ea4be5c12fa96b81d24c26ca719f1dc114df67a5..e4f18a49d3732c3c2dc231d66ce7564c30d34ff7 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_21_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_21_01.robot @@ -18,7 +18,7 @@ ${building_filename}= building-location-attribute.jsonld *** Test Cases *** -046_21_01 Check that a notification is sent with matching entity +046_21_01 Check That A Notification Is Sent With Matching Entity [Documentation] Delete an entity and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_21_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_21_02.robot index 6ff061b98fa75303eda3d11f075f189b72944121..0424ced746329d987a0495e97c97fd1abdc6d7e4 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_21_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_21_02.robot @@ -18,7 +18,7 @@ ${building_filename}= building-location-attribute.jsonld *** Test Cases *** -046_21_02 Check that a notification is sent with matching entity +046_21_02 Check That A Notification Is Sent With Matching Entity [Documentation] Delete an entity and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_01.robot index 08ceb0bab627f091644a48e39bdd7c799f696098..e36d8b7be72c726a4c84f1bc3543cbc4ee1c74b8 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_01.robot @@ -19,7 +19,7 @@ ${entity_expectation_file_path}= entity-deleted-name-attribute-keyValues. *** Test Cases *** -046_22_01 Check that a notification is sent with matching entity +046_22_01 Check That A Notification Is Sent With Matching Entity [Documentation] Delete an attribute and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_02.robot index 3639de28880f811bafe8dec0f9f9c9a70e374117..e58c6e3891cce3582badf2d1878401b2b759bf79 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_02.robot @@ -19,7 +19,7 @@ ${entity_expectation_file_path}= entity-deleted-name-attribute-keyValues. *** Test Cases *** -046_22_02 Check that a notification is sent with matching entity +046_22_02 Check That A Notification Is Sent With Matching Entity [Documentation] Delete an attribute and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_03.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_03.robot index 46f6df10b14822e00b5e4216b96e6fb40bad7743..2c79274d78fc2d96daa3efd03bd3edcb3adaf380 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_03.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_03.robot @@ -18,7 +18,7 @@ ${building_filename}= building-simple-attributes.jsonld *** Test Cases *** -046_22_03 Check that a notification is not sent with updated entity +046_22_03 Check That A Notification Is Not Sent With Updated Entity [Documentation] Delete a not watched attribute and check no notification is received [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_04.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_04.robot index 0fd763b9f097c998f5ad20fad027d50edbbe69c8..dd399aabbc5a883d9de5c91e32115ce523d40d4b 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_04.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_04.robot @@ -19,7 +19,7 @@ ${entity_expectation_file_path}= entity-deleted-name-attribute-normalized *** Test Cases *** -046_22_04 Check that a notification is sent with matching entity +046_22_04 Check That A Notification Is Sent With Matching Entity [Documentation] Delete an attribute and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_05.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_05.robot index f2748f01dae9ebac7254f32856db18a62cb3c804..3d6030443edd00fb42d56d71ab9f9d9a673c179a 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_05.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_05.robot @@ -18,7 +18,7 @@ ${building_filename}= building-simple-attributes.jsonld *** Test Cases *** -046_22_05 Check that a notification is sent with matching entity +046_22_05 Check That A Notification Is Sent With Matching Entity [Documentation] Delete an attribute and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_06.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_06.robot index cf25e5c18785d4853bdbf0299036c5c2d4097bcc..7cd84ff030ac45283a4c5d861958233ccd291c91 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_06.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_06.robot @@ -19,7 +19,7 @@ ${entity_expectation_file_path}= entity-deleted-name-attribute-instance-n *** Test Cases *** -046_22_06 Check that a notification is sent with matching entity +046_22_06 Check That A Notification Is Sent With Matching Entity [Documentation] Delete an attribute with a specific datasetId and check the received notification [Tags] sub-notification 5_8_6 4_5_5 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_07.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_07.robot index 75319b91d8939a9daa024a1a9b55a64e4f994322..ee605103aaa2e722617344a244fadbe537522993 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_07.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_07.robot @@ -19,7 +19,7 @@ ${entity_expectation_file_path}= entity-deleted-name-attribute-instance-k *** Test Cases *** -046_22_07 Check that a notification is sent with matching entity +046_22_07 Check That A Notification Is Sent With Matching Entity [Documentation] Delete an attribute with a specific datasetId and check the received notification [Tags] sub-notification 5_8_6 4_5_5 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_08.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_08.robot index 6b10cfa49c76eb51b78c47d1dca3138cd2345fad..fecdec1deee671b771446703838e57fb2696e660 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_08.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_08.robot @@ -19,7 +19,7 @@ ${entity_expectation_file_path}= entity-deleted-name-attribute-instance-n *** Test Cases *** -046_22_08 Check that a notification is sent with matching entity +046_22_08 Check That A Notification Is Sent With Matching Entity [Documentation] Delete all instances of an attribute and check the received notification [Tags] sub-notification 5_8_6 4_5_5 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_09.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_09.robot index fa813da3e713f67e4e8fa9a1b30fc15709dc0685..b15e01119daffe4a64d1d60f74d57e5327c05c72 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_09.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_09.robot @@ -19,7 +19,7 @@ ${entity_expectation_file_path}= entity-different-attributes-types-delete *** Test Cases *** -046_22_09_01 Check that a notification is sent with matching entity when deleting via Merge Entity operation +046_22_09_01 Check That A Notification Is Sent With Matching Entity When Deleting Via Merge Entity Operation [Documentation] Delete an attribute via Merge Entity operation and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 @@ -38,7 +38,7 @@ ${entity_expectation_file_path}= entity-different-attributes-types-delete ... ${entity_expectation_file_path} ... ${notification} -046_22_09_02 Check that a notification is sent with matching entity when deleting via Update Attributes operation +046_22_09_02 Check That A Notification Is Sent With Matching Entity When Deleting Via Update Attributes Operation [Documentation] Delete an attribute via Update Attributes operation and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 @@ -57,7 +57,7 @@ ${entity_expectation_file_path}= entity-different-attributes-types-delete ... ${entity_expectation_file_path} ... ${notification} -046_22_09_03 Check that a notification is sent with matching entity when deleting via Partial Attribute Update operation +046_22_09_03 Check That A Notification Is Sent With Matching Entity When Deleting Via Partial Attribute Update Operation [Documentation] Delete an attribute via Update Partial Attribute Update operation and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_10.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_10.robot index 702addd6ad7d82f7f401439952a85d8f274f7cdc..444b19db6a22c9721b15d800da19d814136bab1e 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_10.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_10.robot @@ -19,7 +19,7 @@ ${entity_expectation_file_path}= entity-different-attributes-types-delete *** Test Cases *** -046_22_10_01 Check that a notification is sent with matching entity when deleting via Merge Entity operation +046_22_10_01 Check That A Notification Is Sent With Matching Entity When Deleting Via Merge Entity Operation [Documentation] Delete a relationship via Merge Entity operation and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 @@ -38,7 +38,7 @@ ${entity_expectation_file_path}= entity-different-attributes-types-delete ... ${entity_expectation_file_path} ... ${notification} -046_22_10_02 Check that a notification is sent with matching entity when deleting via Update Attributes operation +046_22_10_02 Check That A Notification Is Sent With Matching Entity When Deleting Via Update Attributes Operation [Documentation] Delete a relationship via Update Attributes operation and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 @@ -57,7 +57,7 @@ ${entity_expectation_file_path}= entity-different-attributes-types-delete ... ${entity_expectation_file_path} ... ${notification} -046_22_10_03 Check that a notification is sent with matching entity when deleting via Partial Attribute Update operation +046_22_10_03 Check That A Notification Is Sent With Matching Entity When Deleting Via Partial Attribute Update Operation [Documentation] Delete a relationship via Update Partial Attribute Update operation and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_11.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_11.robot index 4bd8da924e7a122e7a9c64d01c420432e2b598fe..6d2accc693895466d5a9e2d02c9d68df9b9291fe 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_11.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_11.robot @@ -19,7 +19,7 @@ ${entity_expectation_file_path}= entity-different-attributes-types-delete *** Test Cases *** -046_22_11_01 Check that a notification is sent with matching entity when deleting via Merge Entity operation +046_22_11_01 Check That A Notification Is Sent With Matching Entity When Deleting Via Merge Entity Operation [Documentation] Delete a language property via Merge Entity operation and check the received notification [Tags] sub-notification 5_8_6 4_5_18 since_v1.6.1 @@ -38,7 +38,7 @@ ${entity_expectation_file_path}= entity-different-attributes-types-delete ... ${entity_expectation_file_path} ... ${notification} -046_22_11_02 Check that a notification is sent with matching entity when deleting via Update Attributes operation +046_22_11_02 Check That A Notification Is Sent With Matching Entity When Deleting Via Update Attributes Operation [Documentation] Delete a language property via Update Attributes operation and check the received notification [Tags] sub-notification 5_8_6 4_5_18 since_v1.6.1 @@ -57,7 +57,7 @@ ${entity_expectation_file_path}= entity-different-attributes-types-delete ... ${entity_expectation_file_path} ... ${notification} -046_22_11_03 Check that a notification is sent with matching entity when deleting via Partial Attribute Update operation +046_22_11_03 Check That A Notification Is Sent With Matching Entity When Deleting Via Partial Attribute Update Operation [Documentation] Delete a language property via Update Partial Attribute Update operation and check the received notification [Tags] sub-notification 5_8_6 4_5_18 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_12.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_12.robot index 6c5edab7d72aeb4d1061838030bf6afeae747372..60ab533103f5399e2f4d00962daf5a8952842189 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_12.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_12.robot @@ -19,7 +19,7 @@ ${entity_expectation_file_path}= entity-deleted-name-attribute-on-entity- *** Test Cases *** -046_22_12 Check that a notification is sent with matching entity +046_22_12 Check That A Notification Is Sent With Matching Entity [Documentation] Delete an entity with a matching attribute and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_13.robot b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_13.robot index 24003f14956566f96c6eef6078cf736d1e8f1b6b..37a4b191e4f104e4feb14754e2557b3257d0bb99 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_13.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/SubscriptionNotificationBehaviour/046_22_13.robot @@ -19,7 +19,7 @@ ${entity_expectation_file_path}= entity-deleted-name-attribute-on-entity- *** Test Cases *** -046_22_13 Check that a notification is sent with matching entity +046_22_13 Check That A Notification Is Sent With Matching Entity [Documentation] Delete an entity with a matching attribute and check the received notification [Tags] sub-notification 5_8_6 since_v1.6.1 diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_05.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_05.robot index c7a4471143fb068e71c5b05b76c96a7b7ca93cd2..04c6453e0d34c4ebc00b60f040243264844131c7 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_05.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_05.robot @@ -18,7 +18,7 @@ ${expected_expanded_subscription_payload_file_path}= subscriptions/expectatio *** Test Cases *** -029_05_01 Update Subscription With Term to Uri Expansion with Context +029_05_01 Update Subscription With Term To Uri Expansion With Context [Documentation] Check that one can update a subcription: Term to URI expansion of Attribute names shall be observed [Tags] sub-update 5_8_2 ${response}= Update Subscription @@ -38,7 +38,7 @@ ${expected_expanded_subscription_payload_file_path}= subscriptions/expectatio ... ${response1.json()} ... ${ignore_keys} -029_05_02 Update Subscription With Term to Uri Expansion without Context +029_05_02 Update Subscription With Term To Uri Expansion Without Context [Documentation] Check that one can update a subcription: Term to URI expansion of Attribute names shall be observed [Tags] sub-update 5_8_2 ${response}= Update Subscription diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_01.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_01.robot index 3cd4d089aae4a0d1afb80fe24fe10bdab16bd88a..44172ddd06adb9cea531f0ee85591cbcddf3ba30 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_01.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_01.robot @@ -18,10 +18,10 @@ ${second_context_source_registration_payload_file_path}= csourceRegistrations *** Test Cases *** QUERY_PARAM_NAME QUERY_PARAM_VALUE EXPECTATION_FILE_PATH EXPECTED_CONTEXT_SOURCE_REGISTRATION_IDS -037_01_01 With list of entity types +037_01_01 With List Of Entity Types [Tags] csr-query 5_10_2 type Building csourceRegistrations/expectations/context-source-registrations-037-01.json ${second_context_source_registration_id} -037_01_02 With list of attribute names +037_01_02 With List Of Attribute Names [Tags] csr-query 5_10_2 attrs name csourceRegistrations/expectations/context-source-registrations-037-01.json ${second_context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_02.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_02.robot index da48ac7313cd3a7ae46d8674c8755af277d959f5..861035b4d61966d5aa9cf53a442062c4d91fe4e7 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_02.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_02.robot @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** -037_02_01 Query Context Source Registrations Without Entity Types and Attribute Names +037_02_01 Query Context Source Registrations Without Entity Types And Attribute Names [Documentation] Check that one cannot query context source registrations, if neither Entity types nor Attribute names are provided, an error of type 400 shall be raised. [Tags] csr-query 5_10_2 ${response}= Query Context Source Registrations context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_09.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_09.robot index 7db27322bf0fdbcc299054fc16e9a9866b246054..29d6c89b43a975ff0d5de7fc750341985a6dcdd6 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_09.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_09.robot @@ -22,7 +22,7 @@ ${management_interval_expectation_file_path}= csou 037_09_01 Observation Interval With observedAt [Tags] csr-query 5_10_2 ${context_source_registration_observation_interval_payload_file_path} observedAt ${observation_interval_expectation_file_path} -037_09_02 Observation Interval Without timeproperty +037_09_02 Observation Interval Without Timeproperty [Tags] csr-query 5_10_2 ${context_source_registration_observation_interval_payload_file_path} ${EMPTY} ${observation_interval_expectation_file_path} 037_09_03 Management Interval With createdAt diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_10.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_10.robot index 799d58c37c46976dccec85923c5aae1042445491..d9393d1c6f52aee7336353339d284070c835350b 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_10.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_10.robot @@ -19,7 +19,7 @@ ${third_context_source_registration_payload_file_path}= csourceRegistrations *** Test Cases *** QUERY_PARAM_NAME QUERY_PARAM_VALUE EXPECTATION_FILE_PATH EXPECTED_CONTEXT_SOURCE_REGISTRATION_IDS -037_10_01 With list of Entity Ids +037_10_01 With List Of Entity Ids [Tags] csr-query 5_10_2 id ${first_context_source_registration_id},${third_context_source_registration_id} csourceRegistrations/expectations/context-source-registrations-037-10-01.json ${first_context_source_registration_id},${third_context_source_registration_id} 037_10_02 With NGSI-LD Query diff --git a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_01.robot b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_01.robot index 009a86f59f5b72015f17b402a184ce8b8e0ec18e..d08350d56e1f349c836d8083b7845df581c0291c 100644 --- a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_01.robot +++ b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_01.robot @@ -15,7 +15,7 @@ ${registration_payload_file_path}= context-source-registration.jsonld *** Test Cases *** -035_01_01 Delete a context source registration by id +035_01_01 Delete A Context Source Registration By Id [Documentation] Check that one can delete a context source registration by id [Tags] csr-delete 5_9_4 diff --git a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_02.robot b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_02.robot index 8e52961605efac8963bbc4fd1df9f2b9463c90da..d717fe6a513bb22496256044144aa339fd73ada8 100644 --- a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_02.robot @@ -16,10 +16,10 @@ ${filename}= context-source-registration.jsonld *** Test Cases *** INVALID_REGISTRATION_ID EXPECTED_STATUS_CODE PROBLEM_TYPE -035_02_01 Delete a Context Source Registration if the Id is not present +035_02_01 Delete A Context Source Registration If The Id Is Not Present [Tags] csr-delete 5_9_4 ${EMPTY} 405 ${EMPTY} -035_02_02 Delete a Context Source Registration if the Id is not a valid URI +035_02_02 Delete A Context Source Registration If The Id Is Not A Valid URI [Tags] csr-delete 5_9_4 invalidURI 400 ${ERROR_TYPE_BAD_REQUEST_DATA} diff --git a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_03.robot b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_03.robot index 83edff3ea4902bfc68a7d33b9e10bc2e5d24084c..b5890c7fa6d0e02dcac9337dfe62cffcf5b41613 100644 --- a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_03.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= context-source-registration-simple.jsonl *** Test Cases *** -035_03_01 Delete a context source registration by id +035_03_01 Delete A Context Source Registration By Id [Documentation] Check that one cannot delete a context source registration by id if the id is not known to the system [Tags] csr-delete 5_9_4 ${registration_id}= Generate Random CSR Id diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_02.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_02.robot index 72e3ce602ebaa1836f0b2918893f5c331b690700..717262af9afd83a8aaf65e96bb5c00cf9240e3e5 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_02.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi *** Test Cases *** -033_02_01 Create a context source registration with invalid content +033_02_01 Create A Context Source Registration With Invalid Content [Documentation] Check that one cannot create a context source with invalid content [Tags] csr-create 5_9_2 ${csr_payload}= Load JSON From File ${EXECDIR}/data/${registration_payload_file_path} diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_03.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_03.robot index 2be02a34ee6742a02c1966eb9ee657f37103cd0d..247dd8d607c6727b369a2c8b06ab4520935adc03 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_03.robot @@ -15,7 +15,7 @@ ${filename}= csourceRegistrations/context-source-registration.jsonld *** Test Cases *** -033_03_01 Create a context source registration that already exists +033_03_01 Create A Context Source Registration That Already Exists [Documentation] Check that one cannot create a context source registration that already exists [Tags] csr-create 5_9_2 ${response}= Create Context Source Registration With Return ${updated_payload} diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_04.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_04.robot index 86f49ecc3c60fbcc67fc160b243e0522bca8ee46..0dbdd76545485c413f5a47d53bacc1b3fcfe9c56 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_04.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_04.robot @@ -15,7 +15,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi *** Test Cases *** -033_04_01 Create one context source registration using a provided Link header with JSON content type with Context +033_04_01 Create One Context Source Registration Using A Provided Link Header With JSON Content Type With Context [Documentation] Check that the @context is obtained from a Link Header if the Content-Type header is "application/json" [Tags] csr-create 6_3_5 ${registration_id}= Generate Random CSR Id @@ -36,7 +36,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi ... Building ... ${response1.json()} -033_04_02 Create one context source registration using a provided Link header with JSON content type without Context +033_04_02 Create One Context Source Registration Using A Provided Link Header With JSON Content Type Without Context [Documentation] Check that the @context is obtained from a Link Header if the Content-Type header is "application/json" [Tags] csr-create 6_3_5 ${registration_id}= Generate Random CSR Id diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_05.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_05.robot index c83383b34c320c43aac0e0b1bd3a54fcb8474eaf..5f745e081446143003a7838665d4237877d07cd3 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_05.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_05.robot @@ -15,7 +15,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi *** Test Cases *** -033_05_01 Create one context source registration using the default context with JSON content type with Context +033_05_01 Create One Context Source Registration Using The Default Context With JSON Content Type With Context [Documentation] Check that the default @context is used if the Content-Type header is "application/json" and the Link header does not contain a JSON-LD @context and retrieve the information with ngsild context [Tags] csr-create 6_3_5 ${registration_id}= Generate Random CSR Id @@ -35,7 +35,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi ... ngsi-ld:default-context/Building ... ${response1.json()} -033_05_02 Create one context source registration using the default context with JSON content type without Context +033_05_02 Create One Context Source Registration Using The Default Context With JSON Content Type Without Context [Documentation] Check that the default @context is used if the Content-Type header is "application/json" and the Link header does not contain a JSON-LD @context and retrieve the information without ngsild context [Tags] csr-create 6_3_5 ${registration_id}= Generate Random CSR Id diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_06.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_06.robot index 14068f2ef1e819eb2238d7e538fdd42bebe75fbe..b12d5732e82570e364a05bba988e62ad1f80e35a 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_06.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_06.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi *** Test Cases *** -033_06_01 Create one context source registration containing a JSON-LD @context with a JSON content type +033_06_01 Create One Context Source Registration Containing A JSON-LD @context With A JSON Content Type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/json" and the request payload body (as JSON) contains a "@context" term [Tags] csr-create 6_3_5 ${registration_id}= Generate Random CSR Id diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_07.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_07.robot index 1cc60971de35060b62e3efc42590095e475113e4..5502c605741672a7393e3163e6267d9f4a492513 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_07.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_07.robot @@ -15,7 +15,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi *** Test Cases *** -033_07_01 Create one context source registration using a JSON-LD @context obtained from the request payload with Context +033_07_01 Create One Context Source Registration Using A JSON-LD @context Obtained From The Request Payload With Context [Documentation] Check that the @context is obtained from the request payload body itself if the Content-Type header is "application/ld+json" and retrieve the information with ngsild context [Tags] csr-create 6_3_5 ${registration_id}= Generate Random CSR Id @@ -35,7 +35,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi ... Vehicle ... ${response1.json()} -033_07_02 Create one context source registration using a JSON-LD @context obtained from the request payload without Context +033_07_02 Create One Context Source Registration Using A JSON-LD @context Obtained From The Request Payload Without Context [Documentation] Check that the @context is obtained from the request payload body itself if the Content-Type header is "application/ld+json" and retrieve the information without ngsild context [Tags] csr-create 6_3_5 ${registration_id}= Generate Random CSR Id diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_08.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_08.robot index 58e047144cad52434b56e6179506d1abe8fe7d66..d586b4118aefe729775be783738ee2dbcf430332 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_08.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_08.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi *** Test Cases *** -033_08_01 Create one context source registration not containing a JSON-LD @context with a JSON-LD content type +033_08_01 Create One Context Source Registration Not Containing A JSON-LD @context With A JSON-LD Content Type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/ld+json" and the request payload body does not contain a @context term [Tags] csr-create 6_3_5 ${registration_id}= Generate Random CSR Id diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_09.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_09.robot index fab0da5a7297cfcefaa952455cad49614df94fda..4a94c14a50295e28c4c3c6dcb3e652f9406bdac1 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_09.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_09.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi *** Test Cases *** -033_09_01 Create one context source registration with a Link header and a JSON-LD content type +033_09_01 Create One Context Source Registration With A Link Header And A JSON-LD Content Type [Documentation] Check that an HTTP error response of type BadRequestData is raised if the Content-Type header is "application/ld+json" and a JSON-LD Link header is present in the incoming HTTP request [Tags] csr-create 6_3_5 ${registration_id}= Generate Random CSR Id diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_10.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_10.robot index cb68ada92a731d1046ce74f7e4620c9fe8d79a99..fd059e05e263a5c0e4f3396362d967c468bf0e3a 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_10.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_10.robot @@ -10,9 +10,9 @@ Test Template Create Context Source With Invalid Content *** Test Cases *** -033_10_01 Create a context source registration with a different data structure than CSourceRegistration data type +033_10_01 Create A Context Source Registration With A Different Data Structure Than CSourceRegistration Data Type csourceRegistrations/context-source-registration-invalid-structure.jsonld -033_10_02 Create a context source registration with a date in the past +033_10_02 Create A Context Source Registration With A Date In The Past csourceRegistrations/context-source-registration-past-expiration.jsonld diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_11.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_11.robot index 58db60a0ca4216cbc8a3f28824cda749010d1f3d..688857be30bf870672898f76afeef5b7d6f032b2 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_11.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_11.robot @@ -14,7 +14,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi *** Test Cases *** -033_11 Create Context Source Registration Without Specifying an ID +033_11 Create Context Source Registration Without Specifying An ID [Documentation] Check that one can create a context source registration without specifying an ID [Tags] csr-create 5_9_2 ${payload}= Load JSON From File ${EXECDIR}/data/${registration_payload_file_path} diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_01.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_01.robot index 1b97de9667dc37fcc7ece3462229aab61772a58f..1831cbfdf1ad442bc755d6c6b2a0ae2a0b2d36dc 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_01.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_01.robot @@ -13,7 +13,7 @@ Test Template Update A Context Source *** Test Cases *** FILENAME UPDATE_FILENAME -034_01_01 Update a context source registration by id +034_01_01 Update A Context Source Registration By Id [Tags] csr-update 5_9_3 context-source-registration.jsonld context-source-registration-update.json diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_02.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_02.robot index ea7c96136868ad20b572be246e5880ac0f2dc584..7bdd5a0cbb2923c7bf5674b0ba5f468511cac908 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_02.robot @@ -18,11 +18,11 @@ ${reason_400}= Bad Request *** Test Cases *** REGISTRATION_ID FRAGMENT_FILENAME EXPECTED_STATUS_CODE PROBLEM_TYPE -034_02_01 Update a context source registration by id if the Id is not a valid URI +034_02_01 Update A Context Source Registration By Id If The Id Is Not A Valid URI invalidURI fragments/context-source-registration-different-type.jsonld 400 ${ERROR_TYPE_BAD_REQUEST_DATA} -034_02_02 Update a context source registration if the request body is not of the same data type +034_02_02 Update A Context Source Registration If The Request Body Is Not Of The Same Data Type ${valid_registration_id} fragments/context-source-registration-different-type.jsonld 400 ${ERROR_TYPE_BAD_REQUEST_DATA} -034_02_03 Update a context source registration if one attempts to remove a mandatory property +034_02_03 Update A Context Source Registration If One Attempts To Remove A Mandatory Property ${valid_registration_id} context-source-registration-invalid.jsonld 400 ${ERROR_TYPE_BAD_REQUEST_DATA} diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_03.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_03.robot index bd0b6525822ecb66f9df42b5be5e8d957f47666d..3faa9309fa4391d7e768ddf5a04aa56087d642fc 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_03.robot @@ -13,7 +13,7 @@ ${reason_404}= Not Found *** Test Cases *** -034_03_01 Update a context source registration by id if the id is not known to the system +034_03_01 Update A Context Source Registration By Id If The Id Is Not Known To The System [Documentation] Check that one cannot update a context source registration by id if the id is not known to the system [Tags] csr-update 5_9_3 ${registration_id}= Generate Random CSR Id diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_04.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_04.robot index 482aacd5524c0bc930916cfe268c71bb97ad36c1..aa84736402b4b35c4d8f79c22a9a10a98af7b46a 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_04.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_04.robot @@ -16,7 +16,7 @@ ${registration_payload_file_path}= context-source-registration-invalid-json *** Test Cases *** -034_04_01 Update a context source registration if the request body is invalid +034_04_01 Update A Context Source Registration If The Request Body Is Invalid [Documentation] Check that one cannot update a context source registration if the request body is invalid [Tags] csr-update 5_9_3 ${response}= Update Context Source Registration From File diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_05.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_05.robot index 1d624e9d90813089be976c9116e148a090539fda..0a8da0e9ec4e1822c1dcad65bb0e8fba19fb790a 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_05.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_05.robot @@ -13,7 +13,7 @@ Test Template Update A Context Source *** Test Cases *** FILENAME UPDATE_FILENAME -034_05_01 Update a context source registration to never expire +034_05_01 Update A Context Source Registration To Never Expire [Tags] csr-update 5_9_3 context-source-registration-with-expiration.jsonld context-source-registration-null-expiresAt.json diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_06.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_06.robot index 050817ac842f8b1f03ce432fc5f7b20b7af31183..e74a700dc13b46bcd7cd11df2e31d2668d630139 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_06.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_06.robot @@ -18,7 +18,7 @@ ${reason_405}= Method Not Allowed *** Test Cases *** FRAGMENT_FILENAME EXPECTED_STATUS_CODE REASON -034_06_01 Update a context source registration by id if the Id is not present +034_06_01 Update A Context Source Registration By Id If The Id Is Not Present fragments/context-source-registration-different-type.jsonld 405 ${reason_405} diff --git a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_01_03_inc.robot b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_01_03_inc.robot index 63352591d1c15db2a6d433565b240c0473714a5c..d427227269b513d21b4c2b4b9f20f551f8e881b3 100644 --- a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_01_03_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_01_03_inc.robot @@ -22,7 +22,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi *** Test Cases *** -D011_01_03_inc Query The Context Broker With Type and Attribute +D011_01_03_inc Query The Context Broker With Type And Attribute [Documentation] Check that if one queries for attribute present in an entity on a Context Source, only that entity gets returned [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_7_2 ${entity_body}= Load Entity ${entity_payload_filename2} ${second_entity_id} diff --git a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_01_04_inc.robot b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_01_04_inc.robot index d3c67fe2222fdc888b6f06ebd5fc31ecf34ab12d..4dc1d70dd48e5ed52f5485ddcf98d1c18d5e3a3f 100644 --- a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_01_04_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_01_04_inc.robot @@ -22,7 +22,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi *** Test Cases *** -D011_01_04_inc Query The Context Broker With Type and Attribute In Neither +D011_01_04_inc Query The Context Broker With Type And Attribute In Neither [Documentation] Check that if one queries for attribute present in neither of the entities, neither of them gets returned [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_7_2 ${entity_body}= Load Entity ${entity_payload_filename} ${first_entity_id} diff --git a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_01_aux.robot b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_01_aux.robot index 1940e0ed0aa8ec5e956d469f8ff631bd32caa035..41e9203ac3c1c18b750a9ab4bd8914d61f335742 100644 --- a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_01_aux.robot +++ b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_01_aux.robot @@ -24,7 +24,7 @@ ${expected_attribute} brandName *** Test Cases *** -D011_01_aux Query entities that exists on both the Context Source and the Context Broker from the Context Broker +D011_01_aux Query Entities That Exists On Both The Context Source And The Context Broker From The Context Broker [Documentation] Check that if one queries the Context Broker for type, entities get merged correctly [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-auxiliary 4_3_6_2 5_7_1 ${entity_body}= Load Entity ${entity_payload_filename} ${entity_id} diff --git a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_03_inc.robot b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_03_inc.robot index 4b424bf5fc5d1fdd69d9b221e1b6c98c56f1a59f..cd8c741546ab6f4b3fef0f87a0065f2f047d7b4c 100644 --- a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_03_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_03_inc.robot @@ -9,8 +9,8 @@ Resource ${EXECDIR}/resources/AssertionUtils.resource Resource ${EXECDIR}/resources/JsonUtils.resource Resource ${EXECDIR}/resources/MockServerUtils.resource -Test Template Setup Registration, Context Source Mock Server And Query The Context Broker With Type -Test Teardown Delete Registration And Stop Context Source Mock Server +Test Teardown Delete Registration And Stop Context Source Mock Server +Test Template Setup Registration, Context Source Mock Server And Query The Context Broker With Type *** Variables *** @@ -19,22 +19,23 @@ ${entity_payload_filename} vehicle-simple-attributes.json ${registration_id_prefix} urn:ngsi-ld:Registration: ${registration_payload_file_path} csourceRegistrations/context-source-registration-vehicle-complete.jsonld -*** Test Cases *** -D011_03_01_inc Query The Context Broker By Id using the queryEntity operation + +*** Test Cases *** +D011_03_01_inc Query The Context Broker By Id Using The queryEntity Operation [Documentation] Check that if one queries the Context Broker for type, and the registration only allows the queryEntity operation, the request is forwarded as expected [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_7_2 - [Template] Setup Registration, Context Source Mock Server And Query The Context Broker With Type + [Template] Setup Registration, Context Source Mock Server And Query The Context Broker With Type queryEntity GET /ngsi-ld/v1/entities?type=Vehicle - -D011_03_02_inc Query The Context Broker By Id using the queryBatch operation +D011_03_02_inc Query The Context Broker By Id Using The queryBatch Operation [Documentation] Check that if one queries the Context Broker for type, and the registration only allows the queryBatch operation, the request is forwarded as expected [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_7_2 - [Template] Setup Registration, Context Source Mock Server And Query The Context Broker With Type + [Template] Setup Registration, Context Source Mock Server And Query The Context Broker With Type queryBatch POST /ngsi-ld/v1/entityOperations/query + *** Keywords *** Setup Registration, Context Source Mock Server And Query The Context Broker With Type - [Arguments] ${operation} ${method} ${url} + [Arguments] ${operation} ${method} ${url} ${entity_id}= Generate Random Entity Id ${entity_id_prefix} ${registration_id}= Generate Random Entity Id ${registration_id_prefix} @@ -49,14 +50,13 @@ Setup Registration, Context Source Mock Server And Query The Context Broker With Start Context Source Mock Server ${entity_body}= Load Entity ${entity_payload_filename} ${entity_id} - Set Stub Reply ${method} ${url} 200 ${entity_body} + Set Stub Reply ${method} ${url} 200 ${entity_body} @{entities_id}= Create List ${entity_id} ${response}= Query Entities entity_ids=${entities_id} context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} Check Response Body Containing Entities URIS set to ${entities_id} ${response.json()} - Delete Registration And Stop Context Source Mock Server Delete Context Source Registration ${registration_id} - Stop Context Source Mock Server \ No newline at end of file + Stop Context Source Mock Server diff --git a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_04_inc.robot b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_04_inc.robot index aff7cc1a7971bb093b83ee2fb58e004f48246c1a..3a6cff7ec4e64f64d1a4714e195edc0c81a3b504 100644 --- a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_04_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/QueryEntities/D011_04_inc.robot @@ -9,8 +9,8 @@ Resource ${EXECDIR}/resources/AssertionUtils.resource Resource ${EXECDIR}/resources/JsonUtils.resource Resource ${EXECDIR}/resources/MockServerUtils.resource -Test Template Setup Registration, Context Source Mock Server And Query The Context Broker With Type Via POST -Test Teardown Delete Registration And Stop Context Source Mock Server +Test Teardown Delete Registration And Stop Context Source Mock Server +Test Template Setup Registration, Context Source Mock Server And Query The Context Broker With Type Via POST *** Variables *** @@ -19,22 +19,23 @@ ${entity_payload_filename} vehicle-simple-attributes.json ${registration_id_prefix} urn:ngsi-ld:Registration: ${registration_payload_file_path} csourceRegistrations/context-source-registration-vehicle-complete.jsonld -*** Test Cases *** -D011_04_01_inc Query The Context Broker By Id Via POST using the queryBatch operation + +*** Test Cases *** +D011_04_01_inc Query The Context Broker By Id Via POST Using The queryBatch Operation [Documentation] Check that if one queries the Context Broker for type via POST, and the registration only allows the queryBatch operation, the request is forwarded as expected [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_7_2 6_23_3 - [Template] Setup Registration, Context Source Mock Server And Query The Context Broker With Type Via POST + [Template] Setup Registration, Context Source Mock Server And Query The Context Broker With Type Via POST queryBatch POST /ngsi-ld/v1/entityOperations/query - -D011_04_02_inc Query The Context Broker By Id Via POST using the queryEntity operation +D011_04_02_inc Query The Context Broker By Id Via POST Using The queryEntity Operation [Documentation] Check that if one queries the Context Broker for type via POST, and the registration only allows the queryEntity operation, the request is forwarded as expected [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_7_2 6_23_3 - [Template] Setup Registration, Context Source Mock Server And Query The Context Broker With Type Via POST + [Template] Setup Registration, Context Source Mock Server And Query The Context Broker With Type Via POST queryEntity GET /ngsi-ld/v1/entities?type=Vehicle + *** Keywords *** Setup Registration, Context Source Mock Server And Query The Context Broker With Type Via POST - [Arguments] ${operation} ${method} ${url} + [Arguments] ${operation} ${method} ${url} ${entity_id}= Generate Random Entity Id ${entity_id_prefix} ${registration_id}= Generate Random Entity Id ${registration_id_prefix} @@ -49,7 +50,7 @@ Setup Registration, Context Source Mock Server And Query The Context Broker With Start Context Source Mock Server ${entity_body}= Load Entity ${entity_payload_filename} ${entity_id} - Set Stub Reply ${method} ${url} 200 ${entity_body} + Set Stub Reply ${method} ${url} 200 ${entity_body} &{entities}= Create Dictionary Set To Dictionary ${entities} id=${entity_id} @{entities}= Create List ${entities} @@ -59,7 +60,6 @@ Setup Registration, Context Source Mock Server And Query The Context Broker With @{entities_id}= Create List ${entity_id} Check Response Body Containing Entities URIS set to ${entities_id} ${response.json()} - Delete Registration And Stop Context Source Mock Server Delete Context Source Registration ${registration_id} - Stop Context Source Mock Server \ No newline at end of file + Stop Context Source Mock Server diff --git a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_01_aux.robot b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_01_aux.robot index 1339a0a3494a2989526be81ebb31456bc900b9e8..5138b9bf75e50c614648b5f6425fa953d14f6ae1 100644 --- a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_01_aux.robot +++ b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_01_aux.robot @@ -24,7 +24,7 @@ ${expected_attribute} brandName *** Test Cases *** -D010_01_aux Retrieve entity that exists on both the Context Source and the Context Broker from the Context Broker +D010_01_aux Retrieve Entity That Exists On Both The Context Source And The Context Broker From The Context Broker [Documentation] Check that if one retrieves entity living on on both the Context Broker and a Context Source, entities get merged correctly [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-auxiliary 4_3_6_2 5_7_1 ${entity_body}= Load Entity ${entity_payload_filename} ${entity_id} diff --git a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_01_inc.robot b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_01_inc.robot index 925dc71416bfd96a0ff63a5ab780b9911d25931d..100c8bbd548dfd9468027abc6f300f11e203787c 100644 --- a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_01_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_01_inc.robot @@ -22,7 +22,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi *** Test Cases *** -D010_01_inc Retrieve entity on a Context Source from the Context Broker +D010_01_inc Retrieve Entity On A Context Source From The Context Broker [Documentation] Check that if one retrieves entity living on a Context Source from a Context Broker, entity gets returned [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_7_1 ${entity_body}= Load Entity ${entity_payload_filename} ${entity_id} diff --git a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_02_inc.robot b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_02_inc.robot index 6832b3e593ddc236fc0e5979c3a6aa70402d746e..e5e682825d57a6429c4ea03842a9636f4ce030a3 100644 --- a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_02_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_02_inc.robot @@ -21,7 +21,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi *** Test Cases *** -D010_02_inc Retrieve entity on a Context Source from the Context Broker with local flag +D010_02_inc Retrieve Entity On A Context Source From The Context Broker With Local Flag [Documentation] Check that if one retrieves entity living on a Context Source from a Context Broker with local flag, entity not found error is raised [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_7_1 6_3_18 ${response}= Retrieve Entity By Id ${entity_id} context=${ngsild_test_suite_context} local=true diff --git a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_03_inc.robot b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_03_inc.robot index de7bf5494b02943ded3c8fa4a6da9c161b5fb6d3..59dac6099421af7db2c0dfee11c81cfa4d15fb52 100644 --- a/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_03_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Consumption/Entity/RetrieveEntity/D010_03_inc.robot @@ -9,8 +9,8 @@ Resource ${EXECDIR}/resources/AssertionUtils.resource Resource ${EXECDIR}/resources/JsonUtils.resource Resource ${EXECDIR}/resources/MockServerUtils.resource -Test Template Setup Registration, Context Source Mock Server And Retrieve Entity -Test Teardown Delete Registration And Stop Context Source Mock Server +Test Teardown Delete Registration And Stop Context Source Mock Server +Test Template Setup Registration, Context Source Mock Server And Retrieve Entity *** Variables *** @@ -19,27 +19,28 @@ ${entity_payload_filename} vehicle-simple-attributes.json ${registration_id_prefix} urn:ngsi-ld:Registration: ${registration_payload_file_path} csourceRegistrations/context-source-registration-vehicle-complete.jsonld -*** Test Cases *** -D010_03_01_inc Retrieve Entity By Id using the retrieveEntity operation + +*** Test Cases *** +D010_03_01_inc Retrieve Entity By Id Using The retrieveEntity Operation [Documentation] Check that if one retrieves entity living on a Context Source from a Context Broker, and the registration only allows the retrieveEntity operation, the request is forwarded as expected [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_7_1 - [Template] Setup Registration, Context Source Mock Server And Retrieve Entity + [Template] Setup Registration, Context Source Mock Server And Retrieve Entity retrieveEntity GET /ngsi-ld/v1/entities/ - -D010_03_02_inc Retrieve Entity By Id using the queryEntity operation +D010_03_02_inc Retrieve Entity By Id Using The queryEntity Operation [Documentation] Check that if one retrieves entity living on a Context Source from a Context Broker, and the registration only allows the queryEntity operation, the request is forwarded as expected [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_7_1 - [Template] Setup Registration, Context Source Mock Server And Retrieve Entity + [Template] Setup Registration, Context Source Mock Server And Retrieve Entity queryEntity GET /ngsi-ld/v1/entities?type=Vehicle -D010_03_03_inc Retrieve Entity By Id using the queryBatch operation +D010_03_03_inc Retrieve Entity By Id Using The queryBatch Operation [Documentation] Check that if one retrieves entity living on a Context Source from a Context Broker, and the registration only allows the queryBatch operation, the request is forwarded as expected [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_7_1 - [Template] Setup Registration, Context Source Mock Server And Retrieve Entity + [Template] Setup Registration, Context Source Mock Server And Retrieve Entity queryBatch POST /ngsi-ld/v1/entityOperations/query + *** Keywords *** Setup Registration, Context Source Mock Server And Retrieve Entity - [Arguments] ${operation} ${method} ${url} + [Arguments] ${operation} ${method} ${url} ${entity_id}= Generate Random Entity Id ${entity_id_prefix} IF '${operation}' == 'retrieveEntity' @@ -58,12 +59,11 @@ Setup Registration, Context Source Mock Server And Retrieve Entity Start Context Source Mock Server ${entity_body}= Load Entity ${entity_payload_filename} ${entity_id} - Set Stub Reply ${method} ${url} 200 ${entity_body} + Set Stub Reply ${method} ${url} 200 ${entity_body} ${response}= Retrieve Entity by Id ${entity_id} context=${ngsild_test_suite_context} - - Check Response Status Code 200 ${response.status_code} + Check Response Status Code 200 ${response.status_code} Delete Registration And Stop Context Source Mock Server Delete Context Source Registration ${registration_id} - Stop Context Source Mock Server \ No newline at end of file + Stop Context Source Mock Server diff --git a/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_01_inc.robot b/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_01_inc.robot index 76441a296bc4b32ede8c08dc9cfa484cf39db5ef..a12e00f27c96c99536f5744b06c70868f23b9807 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_01_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_01_inc.robot @@ -20,7 +20,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi *** Test Cases *** -D001_01_inc Create Entity On Both Context Broker and Context Source +D001_01_inc Create Entity On Both Context Broker And Context Source [Documentation] Check that if one requests the Context Broker to create an entity that matches an inclusive registration, this is created on the Context Source too [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_6_1 Set Stub Reply POST /ngsi-ld/v1/entities 201 diff --git a/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_02_inc.robot b/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_02_inc.robot index 77f0289c755fd37b5d51dd3bf94c6e270b661cbd..3a35ddd0dddea280e90b97370d74622cb1441a77 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_02_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_02_inc.robot @@ -21,7 +21,7 @@ ${context_source_registration_payload_file_path} csourceRegistrations/context *** Test Cases *** -D001_02_inc Request to create an entity with a malformed id on both Context Broker and Context Source +D001_02_inc Request To Create An Entity With A Malformed Id On Both Context Broker And Context Source [Documentation] Check that if one requests the Context Broker to create an entity that matches an inclusive registration but is malformed, this is created neither on the Context Broker nor on the Context Source [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_6_1 6_3_3 ${response}= Create Entity ${entity_payload_filename} ${entity_id} diff --git a/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_03_01_inc.robot b/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_03_01_inc.robot index 6ebb17f36bf2fcadb9be44bce9e13bf889f20bec..f561087b92858cf381a1da3592f2369762177b17 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_03_01_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_03_01_inc.robot @@ -20,7 +20,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi *** Test Cases *** -D001_03_01_inc Create entity already existing locally on a Context Source +D001_03_01_inc Create Entity Already Existing Locally On A Context Source [Documentation] Check that if one requests the Context Broker to create an entity that matches an inclusive registration and already exists locally, this raises an error on the Context Broker but is created correctly on the Context Source [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_6_1 6_3_3 Set Stub Reply POST /ngsi-ld/v1/entities 201 diff --git a/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_03_02_inc.robot b/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_03_02_inc.robot index 7e15a599a91f078d08d0b865b407c073753de039..18c391ce92592a3517a7000e38519dde74c7be6e 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_03_02_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_03_02_inc.robot @@ -20,7 +20,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi *** Test Cases *** -D001_03_02_inc Create entity already existing on both Context Broker and Context Source +D001_03_02_inc Create Entity Already Existing On Both Context Broker And Context Source [Documentation] Check that if one requests the Context Broker to create an entity that matches an inclusive registration and already exists both locally and remotely, this raises an error on both Context Broker and Context Source [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_6_1 6_3_3 Set Stub Reply POST /ngsi-ld/v1/entities 409 diff --git a/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_03_03_inc.robot b/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_03_03_inc.robot index 4b1f825a722b930615300bd6af2563348e7f7115..1fe4abb1762df2a4329f00976624cd66b069603c 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_03_03_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_03_03_inc.robot @@ -20,7 +20,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi *** Test Cases *** -D001_03_03_inc Create entity already existing remotely on the Context Broker +D001_03_03_inc Create Entity Already Existing Remotely On The Context Broker [Documentation] Check that if one requests the Context Broker to create an entity that matches an inclusive registration and already exists remotely, this raises an error on the Context Source, but it works just fine on the Context Broker [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_6_1 6_3_3 Set Stub Reply POST /ngsi-ld/v1/entities 409 diff --git a/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_04_inc.robot b/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_04_inc.robot index 48c411139bcf0e62ea7468d582e8f2683aa29a16..a008538e5438998f1fcbabf76da391c2f062b40c 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_04_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/Entities/CreateEntity/D001_04_inc.robot @@ -1,7 +1,6 @@ *** Settings *** Documentation Verify that when an entity creation request is made to the Context Broker with the local parameter, the request is not forwarded to the Context Source, and the entity is created only on the Context Broker - Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource @@ -20,6 +19,7 @@ ${entity_payload_filename} vehicle-simple-attributes.jsonld ${registration_id_prefix} urn:ngsi-ld:Registration: ${registration_payload_file_path} csourceRegistrations/context-source-registration-vehicle-redirection-ops.jsonld + *** Test Cases *** D001_04_inc Create Entity With Local Flag [Documentation] Verify that, when one has an inclusive registration on a Context Broker, one is able to create an entity with local flag and the operation should not be forwarded to the Context Source @@ -29,6 +29,7 @@ D001_04_inc Create Entity With Local Flag Wait For No Request + *** Keywords *** Setup Entity Id And Registration And Start Context Source Mock Server ${entity_id}= Generate Random Entity Id ${entity_id_prefix} @@ -48,4 +49,4 @@ Setup Entity Id And Registration And Start Context Source Mock Server Delete Created Entity And Registration And Stop Context Source Mock Server Delete Context Source Registration ${registration_id} Delete Entity By Id ${entity_id} - Stop Context Source Mock Server \ No newline at end of file + Stop Context Source Mock Server diff --git a/TP/NGSI-LD/DistributedOperations/Provision/Entities/DeleteEntity/D002_01_inc.robot b/TP/NGSI-LD/DistributedOperations/Provision/Entities/DeleteEntity/D002_01_inc.robot index a11ba945e2a2c314549a3df4f01363ab264f55ec..2ecd6900d1db35191a7610894c199f077fcd2d60 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/Entities/DeleteEntity/D002_01_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/Entities/DeleteEntity/D002_01_inc.robot @@ -20,7 +20,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi *** Test Cases *** -D002_01_inc Delete Entities On Both Context Broker and Context Source +D002_01_inc Delete Entities On Both Context Broker And Context Source [Documentation] Verify that, when one has an inclusive registration on a Context Broker, one is able to delete entities on both Context Broker and Context Source [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_6_6 Set Stub Reply DELETE /ngsi-ld/v1/entities/${entity_id} 204 diff --git a/TP/NGSI-LD/DistributedOperations/Provision/Entities/DeleteEntity/D002_02_02_inc.robot b/TP/NGSI-LD/DistributedOperations/Provision/Entities/DeleteEntity/D002_02_02_inc.robot index 6f9e10288cda95b0ca8b3a5a7c9270789cc40c9e..579ac214dac76a4eadb327dd5e7c5f54688adb5f 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/Entities/DeleteEntity/D002_02_02_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/Entities/DeleteEntity/D002_02_02_inc.robot @@ -20,7 +20,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi *** Test Cases *** -D002_02_02_inc Delete Entity On a Context Source +D002_02_02_inc Delete Entity On A Context Source [Documentation] Verify that, when one has an inclusive registration on a Context Broker, one is able to delete entities on a Context Source and should get a BatchOperationResult structure [Tags] since_v1.6.1 dist-ops 4_3_3 cf_06 additive-inclusive 4_3_6_2 5_6_6 6_3_3 Set Stub Reply DELETE /ngsi-ld/v1/entities/${entity_id} 204 diff --git a/TP/NGSI-LD/DistributedOperations/Provision/Entities/DeleteEntity/D002_03_inc.robot b/TP/NGSI-LD/DistributedOperations/Provision/Entities/DeleteEntity/D002_03_inc.robot index d33d88ee1b8abcdcfe98f776466b58e76b8503c7..55db9c4bcde83356e8c661268a1aee9bf984f598 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/Entities/DeleteEntity/D002_03_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/Entities/DeleteEntity/D002_03_inc.robot @@ -1,5 +1,4 @@ *** Settings *** - Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -17,6 +16,7 @@ ${entity_payload_filename} vehicle-simple-attributes.jsonld ${registration_id_prefix} urn:ngsi-ld:Registration: ${registration_payload_file_path} csourceRegistrations/context-source-registration-vehicle-redirection-ops.jsonld + *** Test Cases *** D002_03_inc Delete Entity With Local Flag [Documentation] Verify that, when one has an inclusive registration on a Context Broker, one is able to delete an entity with local flag and the operation should not be forwarded to the Context Source @@ -26,6 +26,7 @@ D002_03_inc Delete Entity With Local Flag Wait For No Request + *** Keywords *** Create Entity And Registration On The Context Broker And Start Context Source Mock Server ${entity_id}= Generate Random Entity Id ${entity_id_prefix} @@ -46,4 +47,4 @@ Create Entity And Registration On The Context Broker And Start Context Source Mo Delete Created Entity And Registration And Stop Context Source Mock Server Delete Context Source Registration ${registration_id} Delete Entity By Id ${entity_id} - Stop Context Source Mock Server \ No newline at end of file + Stop Context Source Mock Server diff --git a/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_01_exc.robot b/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_01_exc.robot index 32ba0789b50cd53ca4b302162284078a594306ad..c6ece0bea2ecfc9ab6a094ffe3f42175e493d658 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_01_exc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_01_exc.robot @@ -17,6 +17,7 @@ ${entity_payload_filename} vehicle-simple-attributes.jsonld ${fragment_filename} vehicle-speed-isParked-fragment.json ${registration_payload_file_path} csourceRegistrations/context-source-registration-vehicle-speed-with-redirection-ops.jsonld + *** Test Cases *** D003_01_exc Append Entity Attribute [Documentation] Check that an entity attribute is appended and the exclusive registration forwards the request to the Context Source @@ -36,6 +37,7 @@ D003_01_exc Append Entity Attribute ${body}= Get From Dictionary ${response.json()} speed Should Not Contain ${body} speed + *** Keywords *** Create Entity And Registration On The Context Broker And Start Context Source Mock Server ${entity_id}= Generate Random Vehicle Entity Id @@ -59,4 +61,4 @@ Create Entity And Registration On The Context Broker And Start Context Source Mo Delete Registration And Stop Context Source Mock Server Delete Context Source Registration ${registration_id} Delete Entity by Id ${entity_id} - Stop Context Source Mock Server \ No newline at end of file + Stop Context Source Mock Server diff --git a/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_01_inc.robot b/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_01_inc.robot index 61e437ff65a8d9415dfcc4c0799de5ccd87d8fde..b5fa371f2013cc17b206a7fc465d50385e3a62e7 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_01_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_01_inc.robot @@ -19,6 +19,7 @@ ${entity_payload_filename} vehicle-simple-attributes.jsonld ${fragment_filename} vehicle-speed-isParked-fragment.json ${registration_payload_file_path} csourceRegistrations/context-source-registration-vehicle-redirection-ops.jsonld + *** Test Cases *** D003_01_inc Append Entity Attribute [Documentation] Check that, given an inclusive registration, appending entity attributes updates the Context Source accordingly. @@ -43,6 +44,7 @@ D003_01_inc Append Entity Attribute Should Have Value In Json ${response.json()} $.speed Should Not Be Equal ${old_body} ${new_body} + *** Keywords *** Create Entity And Registration On The Context Broker And Start Context Source Mock Server ${entity_id}= Generate Random Vehicle Entity Id diff --git a/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_01_red.robot b/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_01_red.robot index c25f2a38b7b54e0e7b198f8ea33388016b8873b5..f7fbf6597d4876b0f4acfea434e93aee6c43b03a 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_01_red.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_01_red.robot @@ -1,5 +1,6 @@ *** Settings *** Documentation Check that if one request the Context Broker to append an attribute whose id matches two redirect registrations, the update is forwarded and the entity attributes are updated in both Context Sources + Resource ${EXECDIR}/resources/ApiUtils/Common.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource @@ -18,6 +19,7 @@ ${entity_payload_filename} vehicle-simple-attributes.jsonld ${fragment_filename} vehicle-speed-isParked-fragment.json ${registration_payload_file_path} csourceRegistrations/context-source-registration-vehicle-redirection-ops.jsonld + *** Test Cases *** D003_01_red Append Entity Attribute [Documentation] Check that an entity attribute is appended and the redirect registration forwards the request to the Context Sources @@ -39,6 +41,7 @@ D003_01_red Append Entity Attribute ${response}= Retrieve Entity by Id ${entity_id} context=${ngsild_test_suite_context} local=true Check Response Status Code 404 ${response.status_code} + *** Keywords *** Setup Registration And Start Context Source Mock Server ${entity_id}= Generate Random Vehicle Entity Id @@ -65,10 +68,10 @@ Setup Registration And Start Context Source Mock Server ... endpoint=/broker2 ${response}= Create Context Source Registration With Return ${registration_payload} Check Response Status Code 201 ${response.status_code} - + Start Context Source Mock Server Delete Registration And Stop Context Source Mock Server Delete Context Source Registration ${registration_id} Delete Context Source Registration ${registration_id2} - Stop Context Source Mock Server \ No newline at end of file + Stop Context Source Mock Server diff --git a/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_02_exc.robot b/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_02_exc.robot index 1c9b6b1fb563de50c859b26e39301cc93913d216..db67802bb771899213449d3c0d555dc6d9994ad8 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_02_exc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_02_exc.robot @@ -19,6 +19,7 @@ ${entity_payload_filename} vehicle-simple-attributes.jsonld ${fragment_filename} vehicle-speed-isParked-fragment.json ${registration_payload_file_path} csourceRegistrations/context-source-registration-vehicle-speed-with-redirection-ops.jsonld + *** Test Cases *** D003_02_exc Append Entity Attribute [Documentation] Check that an entity attribute is appended and the exclusive registration forwards the request to the Context Source with the noOverwrite flag @@ -31,11 +32,12 @@ D003_02_exc Append Entity Attribute ... ${CONTENT_TYPE_JSON} ... noOverwrite Wait for redirected request - Check Response Status Code 207 ${response.status_code} + Check Response Status Code 207 ${response.status_code} ${stub}= Get Request Url Params options Should Contain ${stub} noOverwrite + *** Keywords *** Create Entity And Registration On The Context Broker And Start Context Source Mock Server ${entity_id}= Generate Random Vehicle Entity Id @@ -60,4 +62,4 @@ Create Entity And Registration On The Context Broker And Start Context Source Mo Delete Registration And Stop Context Source Mock Server Delete Context Source Registration ${registration_id} Delete Entity by Id ${entity_id} - Stop Context Source Mock Server \ No newline at end of file + Stop Context Source Mock Server diff --git a/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_02_inc.robot b/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_02_inc.robot index 40a0684324a00a1805a2a4f1b77aa215e641cad5..c0119a541e7b2c871e70b0d55ad55f37c67c7b2e 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_02_inc.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_02_inc.robot @@ -13,11 +13,13 @@ Resource ${EXECDIR}/resources/MockServerUtils.resource Test Setup Create Entity And Registration On The Context Broker And Start Context Source Mock Server Test Teardown Delete Registration And Stop Context Source Mock Server + *** Variables *** ${entity_payload_filename} vehicle-simple-attributes.jsonld ${fragment_filename} vehicle-speed-isParked-fragment.json ${registration_payload_file_path} csourceRegistrations/context-source-registration-vehicle-redirection-ops.jsonld + *** Test Cases *** D003_02_inc Append Entity Attribute [Documentation] Check that an entity attribute is appended and the inclusive registration forwards the request to the Context Source with the noOverwrite flag @@ -43,6 +45,7 @@ D003_02_inc Append Entity Attribute Should Have Value In Json ${response.json()} $.speed Should Be Equal ${old_body} ${new_body} + *** Keywords *** Create Entity And Registration On The Context Broker And Start Context Source Mock Server ${entity_id}= Generate Random Vehicle Entity Id diff --git a/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_02_red.robot b/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_02_red.robot index 42eb5fabf348f21929363af0204abd8e4f9e0329..c08dcf7f5be30d688d44435f3db5b9e7a613e99a 100644 --- a/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_02_red.robot +++ b/TP/NGSI-LD/DistributedOperations/Provision/EntityAttributes/AppendEntityAttributes/D003_02_red.robot @@ -19,6 +19,7 @@ ${entity_payload_filename} vehicle-simple-attributes.jsonld ${fragment_filename} vehicle-speed-isParked-fragment.json ${registration_payload_file_path} csourceRegistrations/context-source-registration-vehicle-redirection-ops.jsonld + *** Test Cases *** D003_02_red Append Entity Attribute [Documentation] Check that an entity attribute is appended and the redirect registration forwards the request to the Context Source with the noOverwrite flag @@ -32,11 +33,12 @@ D003_02_red Append Entity Attribute ... ${CONTENT_TYPE_JSON} ... noOverwrite Wait for redirected request - Check Response Status Code 207 ${response.status_code} + Check Response Status Code 207 ${response.status_code} ${stub}= Get Request Url Params options Should Contain ${stub} noOverwrite + *** Keywords *** Setup Registration And Start Context Source Mock Server ${entity_id}= Generate Random Vehicle Entity Id @@ -69,4 +71,4 @@ Setup Registration And Start Context Source Mock Server Delete Registration And Stop Context Source Mock Server Delete Context Source Registration ${registration_id} Delete Context Source Registration ${registration_id2} - Stop Context Source Mock Server \ No newline at end of file + Stop Context Source Mock Server diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_01.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_01.robot index f4623001f38065187819ad3f7ab329d3ceb52658..3511c244682a9d9249454e415d9ef55452f5bb34 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_01.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_01.robot @@ -14,28 +14,28 @@ ${reason_204}= No Content *** Test Cases *** DETAILS KIND -052_01_01 List @contexts with neither details or kind and not previously created @context +052_01_01 List @contexts With Neither Details Or Kind And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} ${EMPTY} -052_01_02 List @contexts with no details and kind equal to hosted and not previously created @context +052_01_02 List @contexts With No Details And Kind Equal To Hosted And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} Hosted -052_01_03 List @contexts with no details and kind equal to cached and not previously created @context +052_01_03 List @contexts With No Details And Kind Equal To Cached And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} Cached -052_01_04 List @contexts with no details and kind equal to implicitlycreated and not previously created @context +052_01_04 List @contexts With No Details And Kind Equal To Implicitlycreated And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} ImplicitlyCreated -052_01_05 List @contexts with details equal to false and no kind and not previously created @context +052_01_05 List @contexts With Details Equal To False And No Kind And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 false ${EMPTY} -052_01_06 List @contexts with details equal to false and kind equal to hosted and not previously created @context +052_01_06 List @contexts With Details Equal To False And Kind Equal To Hosted And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 false Hosted -052_01_07 List @contexts with details equal to false and kind equal to cached and not previously created @context +052_01_07 List @contexts With Details Equal To False And Kind Equal To Cached And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 false Cached -052_01_08 List @contexts with details equal to false and kind equal to implicitlycreated and not previously created @context +052_01_08 List @contexts With Details Equal To False And Kind Equal To Implicitlycreated And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 false ImplicitlyCreated diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_02.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_02.robot index 4bfc1a96e8575b153316876652b44e4fb65f61ba..57f3d12bcaed5f38f8a01a9af6e4b52135e99ebe 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_02.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_02.robot @@ -17,16 +17,16 @@ ${reason_204}= No Content *** Test Cases *** DETAILS KIND -052_02_01 List @contexts with neither details or kind and with previously one add @context +052_02_01 List @contexts With Neither Details Or Kind And With Previously One Add @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} ${EMPTY} -052_02_02 List @contexts with no details and kind equal to hosted and with previously one add @context +052_02_02 List @contexts With No Details And Kind Equal To Hosted And With Previously One Add @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} Hosted -052_02_03 List @contexts with details equal to false and no kind and with previously one add @context +052_02_03 List @contexts With Details Equal To False And No Kind And With Previously One Add @context [Tags] ctx-list 5_13_3 since_v1.5.1 false ${EMPTY} -052_02_04 List @contexts with details equal to false and kind equal to hosted and with previously one add @context +052_02_04 List @contexts With Details Equal To False And Kind Equal To Hosted And With Previously One Add @context [Tags] ctx-list 5_13_3 since_v1.5.1 false Hosted diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_03.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_03.robot index 99f322b6fc9382197bfc4c161cd35279e8f0cd46..267f2abb17ae6a225988f56f66cde93bfde4d50d 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_03.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_03.robot @@ -19,16 +19,16 @@ ${reason_204}= No Content *** Test Cases *** DETAILS KIND -052_03_01 List @contexts with neither details or kind and with previously several add @context +052_03_01 List @contexts With Neither Details Or Kind And With Previously Several Add @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} ${EMPTY} -052_03_02 List @contexts with no details and kind equal to hosted and with previously several add @context +052_03_02 List @contexts With No Details And Kind Equal To Hosted And With Previously Several Add @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} Hosted -052_03_03 List @contexts with details equal to false and no kind and with previously several add @context +052_03_03 List @contexts With Details Equal To False And No Kind And With Previously Several Add @context [Tags] ctx-list 5_13_3 since_v1.5.1 false ${EMPTY} -052_03_04 List @contexts with details equal to false and kind equal to hosted and with previously several add @context +052_03_04 List @contexts With Details Equal To False And Kind Equal To Hosted And With Previously Several Add @context [Tags] ctx-list 5_13_3 since_v1.5.1 false Hosted diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_04.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_04.robot index 5593fa1a8990e980a7c69f6107416d5bc0907af2..7ee034f330b2c8de9d80ca1128d8f3974e90079e 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_04.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_04.robot @@ -14,19 +14,19 @@ ${reason_204}= No Content *** Test Cases *** DETAILS KIND -052_04_01 List @contexts with no details and kind set to other and not previously created @context +052_04_01 List @contexts With No Details And Kind Set To Other And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} other -052_04_02 List @contexts with details set to other and no kind and not previously created @context +052_04_02 List @contexts With Details Set To Other And No Kind And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 other ${EMPTY} -052_04_03 List @contexts with details set to other and kind set to other and not previously created @context +052_04_03 List @contexts With Details Set To Other And Kind Set To Other And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 other other -052_04_04 List @contexts with details set to true and kind set to other and not previously created @context +052_04_04 List @contexts With Details Set To True And Kind Set To Other And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 true other -052_04_05 List @contexts with details set to other and kind set to Hosted and not previously created @context +052_04_05 List @contexts With Details Set To Other And Kind Set To Hosted And Not Previously Created @context [Tags] ctx-list 5_13_3 since_v1.5.1 other Hosted diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_05.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_05.robot index 26001b80c50771f704cc5c6d2c9ed4d8a022affe..cb6dd4665d1ea201d74fc7b406cedd9c29a50582 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_05.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_05.robot @@ -19,10 +19,10 @@ ${reason_204}= No Content *** Test Cases *** DETAILS KIND -052_05_01 List @contexts with details set to true and no kind and with previously several add @contexts +052_05_01 List @contexts With Details Set To True And No Kind And With Previously Several Add @contexts [Tags] ctx-list 5_13_3 since_v1.5.1 true ${EMPTY} -052_05_02 List @contexts with details set to true and kind set to hosted and with previously several add @contexts +052_05_02 List @contexts With Details Set To True And Kind Set To Hosted And With Previously Several Add @contexts [Tags] ctx-list 5_13_3 since_v1.5.1 true Hosted # move to new tests this doesn't work like this. cached need to run differently diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_06.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_06.robot index 6a865899200a136ec3f717861d2088fca7bfc3b8..19a6384051069cc0305e6748b49daf5fb8bb7095 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_06.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_06.robot @@ -18,28 +18,28 @@ ${reason_204}= No Content *** Test Cases *** DETAILS KIND -052_06_01 List @contexts with neither details or kind and a created ImplicitlyCreated @context +052_06_01 List @contexts With Neither Details Or Kind And A Created ImplicitlyCreated @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} ${EMPTY} -052_06_02 List @contexts with no details and kind set to hosted and a created ImplicitlyCreated @context +052_06_02 List @contexts With No Details And Kind Set To Hosted And A Created ImplicitlyCreated @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} Hosted -052_06_03 List @contexts with no details and kind set to cached and a created ImplicitlyCreated @context +052_06_03 List @contexts With No Details And Kind Set To Cached And A Created ImplicitlyCreated @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} Cached -052_06_04 List @contexts with no details and kind set to implicitlycreated and a created ImplicitlyCreated @context +052_06_04 List @contexts With No Details And Kind Set To Implicitlycreated And A Created ImplicitlyCreated @context [Tags] ctx-list 5_13_3 since_v1.5.1 ${EMPTY} ImplicitlyCreated -052_06_05 List @contexts with details set to false and no kind and a created ImplicitlyCreated @context +052_06_05 List @contexts With Details Set To False And No Kind And A Created ImplicitlyCreated @context [Tags] ctx-list 5_13_3 since_v1.5.1 false ${EMPTY} -052_06_06 List @contexts with details set to false and kind equal to hosted and a created ImplicitlyCreated @context +052_06_06 List @contexts With Details Set To False And Kind Equal To Hosted And A Created ImplicitlyCreated @context [Tags] ctx-list 5_13_3 since_v1.5.1 false Hosted -052_06_07 List @contexts with details set to false and kind equal to cached and a created ImplicitlyCreated @context +052_06_07 List @contexts With Details Set To False And Kind Equal To Cached And A Created ImplicitlyCreated @context [Tags] ctx-list 5_13_3 since_v1.5.1 false Cached -052_06_08 List @contexts with details set to false and kind equal to implicitlycreated and a created ImplicitlyCreated @context +052_06_08 List @contexts With Details Set To False And Kind Equal To Implicitlycreated And A Created ImplicitlyCreated @context [Tags] ctx-list 5_13_3 since_v1.5.1 false ImplicitlyCreated @@ -55,10 +55,9 @@ List @contexts with no previous created @context IF '${kind}' == 'Hosted' ${entryFound}= Run Keyword And Return Status - ... Check Context Response Body Containing a list of identifiers - ... ${response.json()} - ... ${list_contexts} - ... ${kind} + ... Check Context Response Body Containing a list of identifiers ${response.json()} + ... ${list_contexts} + ... ${kind} Should Not Be True ${entryFound} ELSE IF '${kind}' == 'ImplicitlyCreated' ${tmp}= Create List ${implicit_id} diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_07.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_07.robot index da5ca903a566697cce2fd226d3207f8c7ab8a744..74600e3de7a3f4da5d9edd58f1da9a8822e3030d 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_07.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_07.robot @@ -21,7 +21,7 @@ ${content_type}= application/json *** Test Cases *** DETAILS KIND -052_07_01 List @contexts with details set to true and kind set to cached and with previously several add @contexts +052_07_01 List @contexts With Details Set To True And Kind Set To Cached And With Previously Several Add @contexts [Tags] ctx-list 5_13_3 since_v1.5.1 true Cached # 052_05_04 List @contexts with details set to true and kind set to implicitlycreated and with previously several add @contexts diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_01.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_01.robot index ac5329628e861ad6dbba753d086400f9eb8c30ed..583c61f08bbb7b7e243dd41be2c7c39d6ecda8b7 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_01.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_01.robot @@ -17,10 +17,10 @@ ${reason_204}= No Content *** Test Cases *** DETAILS -053_01_01 Serve a @context without details +053_01_01 Serve A @context Without Details [Tags] ctx-serve 5_13_4 since_v1.5.1 ${EMPTY} -053_01_02 Serve a @context with details equal to false +053_01_02 Serve A @context With Details Equal To False [Tags] ctx-serve 5_13_4 since_v1.5.1 false diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_02.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_02.robot index 62976c0ec4c1993d3444ebd1e9d67152f8e6bbb8..eb59919d0dfa1229c00a13e2633884345d2d2592 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_02.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_02.robot @@ -17,7 +17,7 @@ ${reason_204}= No Content *** Test Cases *** DETAILS CONTEXT_TYPE -053_02_01 Serve a @context with details set to True +053_02_01 Serve A @context With Details Set To True [Tags] ctx-serve 5_13_4 since_v1.5.1 true Hosted diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_03.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_03.robot index 7b098775575d5f31331c563aab523ffea2825aa6..e9d45717c1e6c993f37f4e1cbbee70338448b719 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_03.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_03.robot @@ -19,7 +19,7 @@ ${reason_422}= Unprocessable Content *** Test Cases *** CONTEXTID DETAILS STATUSCODE REASON ERROR -053_03_01 Serve a @contexts with a wrong id and correct details +053_03_01 Serve A @contexts With A Wrong Id And Correct Details [Tags] ctx-serve 5_13_4 since_v1.5.1 wrong_id_context true 404 ${reason_404} ${ERROR_TYPE_RESOURCE_NOT_FOUND} # Deactivated because of boolean parsing diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_04.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_04.robot index 3df4ab4344956b8376194eaac887f70518b48882..d616c7e8d040229dd0b2126be2396ce2bb6e30a9 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_04.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_04.robot @@ -17,7 +17,7 @@ ${entity_context_id}= urn:ngsi-ld:Building:randomUUID *** Test Cases *** -053_04_01 Check that the numberOfHits is increased after using a Hosted context +053_04_01 Check That The numberOfHits Is Increased After Using A Hosted Context [Documentation] Check that the numberOfHits is increased after using a Hosted context [Tags] ctx-serve 5_13_4 since_v1.5.1 diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_05.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_05.robot index 1105951ee4f1af47d79cf2c9227c6787b8235188..57e6c50b29f3208bc82fa74ee8b9852369f506b2 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_05.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_05.robot @@ -26,7 +26,7 @@ ${reason_200}= OK *** Test Cases *** -053_05_01 Check that the context served by a context server is still in the broker after a ERROR_TYPE_LD_CONTEXT_NOT_AVAILABLE with details=true +053_05_01 Check That The Context Served By A Context Server Is Still In The Broker After A ERROR_TYPE_LD_CONTEXT_NOT_AVAILABLE With Details=true [Documentation] Check that the context served by a context server is still in the broker after a ERROR_TYPE_LD_CONTEXT_NOT_AVAILABLE with details=true [Tags] ctx-serve 5_13_4 since_v1.5.1 ${response}= List @contexts ${TRUE} diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_06.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_06.robot index 1ab2148846a1dede7a69738e71c97a6f34555ecd..6dff6033e06fd048867ddd8e7212589aa9c9bee8 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_06.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_06.robot @@ -27,7 +27,7 @@ ${testing_id_prefix}= urn:ngsi-ld:Testing: *** Test Cases *** -053_06_01 Check that the numberOfHits is increased after using a Cached context +053_06_01 Check That The numberOfHits Is Increased After Using A Cached Context [Documentation] Check that the numberOfHits is increased after using a Cached context [Tags] ctx-serve 5_13_4 since_v1.5.1 diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_07.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_07.robot index 2f57ab049ccbc091976384dcc230334fa27913f9..5c920b12867212c99b885c59a762ede461edd337 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_07.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_07.robot @@ -16,7 +16,7 @@ ${reason_200}= OK *** Test Cases *** -053_07_01 Check that one can serve a ImplicitlyCreated @context with details set to true +053_07_01 Check That One Can Serve A ImplicitlyCreated @context With Details Set To True [Documentation] Check that one can serve a ImplicitlyCreated @context with details set to true [Tags] sub-create 5_13_4 since_v1.5.1 diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_08.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_08.robot index db51b16f0ae55a0d579df3ba3ddd50c47b82054e..f4a666ed3acb340873588506e3b0ef0fa533f737 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_08.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_08.robot @@ -19,7 +19,7 @@ ${entityfile}= minimal-entity-using-@context.jsonld *** Test Cases *** -053_08_01 Check that the numberOfHits is increased after using a ImplicitlyCreated context +053_08_01 Check That The numberOfHits Is Increased After Using A ImplicitlyCreated Context [Documentation] Check that the numberOfHits is increased after using a ImplicitlyCreated context [Tags] ctx-serve 5_13_4 since_v1.5.1 diff --git a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_01.robot b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_01.robot index 80e1b321202c2c53f18bd61487971526f0ba384d..dc82a72dacec65d08b2193eba4682a02f1fa6486 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_01.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_01.robot @@ -18,10 +18,10 @@ ${reason_204}= No Content *** Test Cases *** FILENAME CONTEXT_TYPE -050_01_01 Add a valid hosted @context from key=value +050_01_01 Add A Valid Hosted @context From Key=value [Tags] ctx-add 5_13_2 since_v1.5.1 ${filename_dictionary} Hosted -050_01_02 Add a valid cached @context from URI +050_01_02 Add A Valid Cached @context From URI [Tags] ctx-add 5_13_2 since_v1.5.1 ${filename_list} Hosted diff --git a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_03.robot b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_03.robot index 1f645129c01da7e2978801243570964d5a0dafb0..a9c5350bb91d10f3e138963072e2dd87fbdf1670 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_03.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_03.robot @@ -14,7 +14,7 @@ ${subscription_payload_file_path}= jsonldContext/subscription-with-implicit *** Test Cases *** -050_03_01 Check the creation of ImplicitelyCreted @context +050_03_01 Check The Creation Of ImplicitelyCreted @context [Documentation] Check that one can create a subscription [Tags] sub-create 5_13_2 since_v1.5.1 ${subscription_payload}= Load JSON From File ${EXECDIR}/data/${subscription_payload_file_path} diff --git a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_04.robot b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_04.robot index 3a424dcc101542424f59e86ddd5505c3fbf42c8d..56a0d6b65a98503b01664619e08ba47af46ee7bc 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_04.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_04.robot @@ -20,7 +20,7 @@ ${content_type}= application/json *** Test Cases *** -050_04_01 Add a valid hosted @context with URIs and check that the URIs are Cached @contexts +050_04_01 Add A Valid Hosted @context With URIs And Check That The URIs Are Cached @contexts [Documentation] Check that one can add a @context [Tags] ctx-add 5_13_2 since_v1.5.1 diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_01.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_01.robot index f8b7cb877c319f734d31bea1470b3ef4651fdc54..da07542434adbbb8eae67a6b790e30631ad1f532 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_01.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_01.robot @@ -14,7 +14,7 @@ ${reason_204}= No Content *** Test Cases *** -051_01_01 Delete a @context whose kind is hosted without reload param +051_01_01 Delete A @context Whose Kind Is Hosted Without Reload Param [Documentation] Check that one can delete a hosted @context [Tags] ctx-serve 5_13_5 since_v1.5.1 diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_02.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_02.robot index 87b08bb13925887011118079191f29a33b002da2..f4d0634201a69ab25b1311ea628cc47dcbc6af95 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_02.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_02.robot @@ -10,7 +10,7 @@ ${reason_404}= Not Found *** Test Cases *** -051_02_01 Delete a @context with unknown @context identifier +051_02_01 Delete A @context With Unknown @context Identifier [Documentation] Check that an error message is obtained in the response when one tries to delete a @context with unknonwn id [Tags] ctx-serve 5_13_5 since_v1.5.1 diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_03.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_03.robot index df7603b7fa881bc86d6160e6361eefef934909ea..19fd77d7aa5301728e25e8bf649eb934d4229ccc 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_03.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_03.robot @@ -20,7 +20,7 @@ ${reason_204}= No Content *** Test Cases *** -051_03_01 Delete a @context whose kind is cached without reload param +051_03_01 Delete A @context Whose Kind Is Cached Without Reload Param [Documentation] Check that one can delete a cached @context [Tags] ctx-serve 5_13_5 since_v1.5.1 diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_04.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_04.robot index 34f483f65b76fc967513203810ebf680a811c309..fdbb783ecfb199d8db1966a541a418e48161efa5 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_04.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_04.robot @@ -19,19 +19,19 @@ ${reason_422}= Unprocessable *** Test Cases *** CONTEXTID RELOAD STATUSCODE REASON ERROR -051_04_01 Delete a @contexts with a wrong id and reload set to true +051_04_01 Delete A @contexts With A Wrong Id And Reload Set To True [Tags] ctx-delete 5_13_5 since_v1.5.1 wrong_id_context true 400 ${reason_400} ${ERROR_TYPE_BAD_REQUEST_DATA} -051_04_02 Delete a @contexts with a wrong id and reload set to false +051_04_02 Delete A @contexts With A Wrong Id And Reload Set To False [Tags] ctx-delete 5_13_5 since_v1.5.1 wrong_id_context false 404 ${reason_404} ${ERROR_TYPE_RESOURCE_NOT_FOUND} -051_04_03 Delete a @contexts with a wrong id and no reload value +051_04_03 Delete A @contexts With A Wrong Id And No Reload Value [Tags] ctx-delete 5_13_5 since_v1.5.1 wrong_id_context ${EMPTY} 404 ${reason_404} ${ERROR_TYPE_RESOURCE_NOT_FOUND} -051_04_04 Delete a @contexts with a wrong id and wrong reload value +051_04_04 Delete A @contexts With A Wrong Id And Wrong Reload Value [Tags] ctx-delete 5_13_5 since_v1.5.1 wrong_id_context xxx 400 ${reason_400} ${ERROR_TYPE_BAD_REQUEST_DATA} -051_04_05 Delete a Hosted @contexts with a valid id and reload set to true +051_04_05 Delete A Hosted @contexts With A Valid Id And Reload Set To True [Tags] ctx-delete 5_13_5 since_v1.5.1 ${uri} true 400 ${reason_400} ${ERROR_TYPE_BAD_REQUEST_DATA} diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_05.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_05.robot index 9cc8910b49e0dbd21247aafe254ece217a2b2973..191521556d088c4f87ae3902f9b55b0f7027ff37 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_05.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_05.robot @@ -25,7 +25,7 @@ ${uri} /api/v1/context.jsonld *** Test Cases *** -051_05_01 Delete and Reload a Cached @context with no communication with the Context Server +051_05_01 Delete And Reload A Cached @context With No Communication With The Context Server [Documentation] Check that one gets an error if one tries to reload a cached context with no communication with the context server [Tags] ctx-serve 5_13_5 since_v1.5.1 diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_06.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_06.robot index 0912fee7a62cc3e018ef062fa34f094f42948ba0..3ae126d07d47036a0fd6b76accbbf47da92d8e54 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_06.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_06.robot @@ -16,7 +16,7 @@ ${reason_204}= No Content *** Test Cases *** -051_06_01 Delete a @context whose kind is ImplicitlyCreated without reload param +051_06_01 Delete A @context Whose Kind Is ImplicitlyCreated Without Reload Param [Documentation] Check that one can delete a ImplicitlyCreated @context [Tags] ctx-serve 5_13_5 since_v1.5.1 diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_07.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_07.robot index d5e72752aff2029b7ffed9758b9944db20054dca..f3da19c42efd4a3aae411b2fe7762055db08bfa6 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_07.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_07.robot @@ -15,7 +15,7 @@ ${reason_400}= Bad Request *** Test Cases *** -051_07_01 Delete a ImplicitlyCreated @contexts with a valid id and reload set to true +051_07_01 Delete A ImplicitlyCreated @contexts With A Valid Id And Reload Set To True [Documentation] Check that one cannot delete a ImplicitlyCreated @context with reload set to true [Tags] ctx-delete 5_13_5 since_v1.5.1 diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_08.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_08.robot index c6b440d6fd2e4bf3bf9573a8dcc8dda001eb7a71..222104572f384c89cd934139362c5ca6b7b633be 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_08.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_08.robot @@ -14,10 +14,10 @@ ${type}= https://uri.etsi.org/ngsi-ld/errors/BadRequestData *** Test Cases *** RELOAD -051_08_01 Delete a core @contexts and return an error with no reload +051_08_01 Delete A Core @contexts And Return An Error With No Reload [Tags] ctx-delete 5_13_5 since_v1.5.1 ${EMPTY} -051_08_02 Delete a core @contexts and return an error with reload set to false +051_08_02 Delete A Core @contexts And Return An Error With Reload Set To False [Tags] ctx-delete 5_13_5 since_v1.5.1 false diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_09.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_09.robot index 30fd1e4762023ac2d4fd3d86d93613a76d388ec7..ee76e1fe76a48e95544f1839b09210b4defeb88b 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_09.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_09.robot @@ -17,7 +17,7 @@ ${type}= https://uri.etsi.org/ngsi-ld/errors/BadRequestData *** Test Cases *** -051_09_01 Delete a core @contexts with reload set to true and check if the context has been download again by the broker +051_09_01 Delete A Core @contexts With Reload Set To True And Check If The Context Has Been Download Again By The Broker [Documentation] Delete a core @contexts with reload set to true and check downloaded core context [Tags] ctx-delete 5_13_5 since_v1.5.1 # TODO: There is something to change in the spec to faciliate checking if the core context was really updated diff --git a/pyproject.toml b/pyproject.toml index 4e4f899eef26fe570dbe1c7120198c8a51339e34..19588c20677232ccab433106fa4cc4a8074a3fe4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,27 @@ -[tool.robotidy] -diff = true +[tool.robocop] +exclude = ["libraries/"] +include = ["TP/", "resources/"] + +[tool.robocop.format] configure = [ - "SplitTooLongLine: split_on_every_arg = True" + "IndentNestedKeywords.enabled=True", + # Implies to rename keywords in doc/analysis files... - To be done later + "RenameKeywords.enabled=False", + "RenameTestCases.enabled=True", + "RenameTestCases.capitalize_each_word=True", + # Nice but has side effects (like renaming endTimeAt to end_time_at) - To be investigated + "RenameVariables.enabled=False", + # Nice but requires Robot 7.x - To be enabled later once the upgrade is done + "ReplaceWithVAR.enabled=False" ] +line_length = 120 +reruns = 3 +# It currently raises thousands of errors and modifies almost all the files +# So not to be done now while there is a lot of progress going on +#[tool.robocop.lint] +#configure = [] +#reports = [ +# "text_file", +# "all" +#] diff --git a/requirements.txt b/requirements.txt index e26df1ea32e903b469640de42e1c63a488d57eaa..d4470c099ac8ec094279054002adc6ddf6de8c5f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,6 @@ robotframework-requests==0.9.6 deepdiff==6.7.1 prettydiff==0.1.0 robotframework-httpctrl==0.3.1 -robotframework-tidy==4.11.0 +robotframework-robocop==6.9.2 paho-mqtt==1.6.1 robotframework-mqttlibrary==0.7.1.post3 diff --git a/resources/ApiUtils/ContextSourceRegistration.resource b/resources/ApiUtils/ContextSourceRegistration.resource index d6d4135bc8a4a264eea6de396eb9cc95fbd8bdc8..5d1eaa2c197bc7786b68fe3d8c2fbda3ee1eadf3 100755 --- a/resources/ApiUtils/ContextSourceRegistration.resource +++ b/resources/ApiUtils/ContextSourceRegistration.resource @@ -23,7 +23,13 @@ ${context_source_url} http://${context_source_host}:${ *** Keywords *** Prepare Context Source Registration From File - [Arguments] ${id} ${registration_file} ${entity_id}=${EMPTY} ${mode}=${EMPTY} ${endpoint}=${EMPTY} ${operations}=[] + [Arguments] + ... ${id} + ... ${registration_file} + ... ${entity_id}=${EMPTY} + ... ${mode}=${EMPTY} + ... ${endpoint}=${EMPTY} + ... ${operations}=[] ${payload}= Load JSON From File ${EXECDIR}/data/${registration_file} ${registration_payload}= Update Value To JSON diff --git a/resources/AssertionUtils.resource b/resources/AssertionUtils.resource index 3f75dad058ac288578a36ea050f2ee68c453c4ad..b67330e14212dcc0c207e1355d8c0c3b3c275c7b 100755 --- a/resources/AssertionUtils.resource +++ b/resources/AssertionUtils.resource @@ -292,7 +292,8 @@ Check Response Body Containing Number Of Entities [Arguments] ${expected_entity_type} ${expected_length} ${response_body} ${response_body_length}= Get Length ${response_body} - ${is_list}= Run Keyword Evaluate type(${response_body})==list + ${is_list}= Run Keyword + ... Evaluate type(${response_body})==list IF ${is_list} Should Be Equal ${response_body_length} ${expected_length} @@ -675,7 +676,8 @@ Check Context Response Body Containing a list of identifiers ${found}= Set Variable ${FALSE} FOR ${index2} ${respObj} IN ENUMERATE @{response_body} ${uri}= Evaluate urllib.parse.unquote("${respObj['URL']}") modules=urllib - ${entryFound}= Run Keyword And Return Status Should End With ${uri} ${uri_context} + ${entryFound}= Run Keyword And Return Status + ... Should End With ${uri} ${uri_context} IF ${entryFound} IF '${kind}' != '' Check Context Response Body Containing Detailed Information ${respObj} ${kind} @@ -694,7 +696,8 @@ Check Context Response Body Containing a list of identifiers ${found}= Set Variable ${FALSE} FOR ${index2} ${respObj} IN ENUMERATE @{response_body} ${uri}= Evaluate urllib.parse.unquote("${respObj}") modules=urllib - ${entryFound}= Run Keyword And Return Status Should End With ${uri} ${uri_context} + ${entryFound}= Run Keyword And Return Status + ... Should End With ${uri} ${uri_context} IF ${entryFound} ${found}= Set Variable ${TRUE} BREAK @@ -833,9 +836,7 @@ Check Body With Alternatives ${result}= Set Variable ${False} FOR ${alternative} IN @{alternatives} ${result}= Run Keyword And Return Status - ... Check Response Body Content - ... expectation_filename=${alternative} - ... response_body=${response_body} + ... Check Response Body Content expectation_filename=${alternative} response_body=${response_body} IF ${result} BREAK END Should Be True ${result}