From eea3e2b48caafa2da0ed95528de9fafd5356ca30 Mon Sep 17 00:00:00 2001 From: Benoit Orihuela Date: Sun, 9 Nov 2025 09:08:57 +0100 Subject: [PATCH] chore: integrate Robocop format with default configuration --- .pre-commit-config.yaml | 7 ++--- README.md | 6 ++-- .../VerifyLdContextNotAvailable/043_01.robot | 10 +++---- .../VerifyMergePatchJson/044_01.robot | 2 +- .../VerifyNotAcceptableMediaType/049_01.robot | 10 +++---- .../VerifyNotAcceptableMediaType/049_02.robot | 6 ++-- .../VerifyUnsupportedMediaType/048_01.robot | 12 ++++---- .../Entity/QueryEntities/019_01_01.robot | 2 +- .../Entity/QueryEntities/019_01_02.robot | 2 +- .../Entity/QueryEntities/019_01_03.robot | 2 +- .../Entity/QueryEntities/019_01_04.robot | 2 +- .../Entity/QueryEntities/019_01_05.robot | 2 +- .../Entity/QueryEntities/019_02_01.robot | 2 +- .../Entity/QueryEntities/019_02_02.robot | 2 +- .../Entity/QueryEntities/019_02_03.robot | 2 +- .../Entity/QueryEntities/019_02_04.robot | 2 +- .../Entity/QueryEntities/019_02_05.robot | 2 +- .../Entity/QueryEntities/019_02_06.robot | 2 +- .../Entity/QueryEntities/019_03_01.robot | 2 +- .../Entity/QueryEntities/019_03_02.robot | 2 +- .../Entity/QueryEntities/019_03_03.robot | 2 +- .../Entity/QueryEntities/019_03_04.robot | 2 +- .../Entity/QueryEntities/019_04.robot | 2 +- .../Entity/QueryEntities/019_05.robot | 2 +- .../Entity/QueryEntities/019_06.robot | 2 +- .../Entity/QueryEntities/019_07.robot | 4 +-- .../Entity/QueryEntities/019_08.robot | 10 +++---- .../Entity/QueryEntities/019_12.robot | 14 ++++----- .../Entity/RetrieveEntity/018_01_01.robot | 2 +- .../Entity/RetrieveEntity/018_01_02.robot | 2 +- .../Entity/RetrieveEntity/018_02.robot | 2 +- .../Entity/RetrieveEntity/018_03_01.robot | 2 +- .../Entity/RetrieveEntity/018_03_02.robot | 2 +- .../Entity/RetrieveEntity/018_04.robot | 2 +- .../Entity/RetrieveEntity/018_05.robot | 4 +-- .../Entity/RetrieveEntity/018_07.robot | 12 ++++---- .../021_02.robot | 2 +- .../021_03.robot | 2 +- .../021_04.robot | 2 +- .../021_05.robot | 2 +- .../021_06.robot | 2 +- .../021_07.robot | 2 +- .../021_08.robot | 2 +- .../021_11.robot | 4 +-- .../021_12.robot | 2 +- .../021_15.robot | 16 +++++----- .../021_16.robot | 2 +- .../021_17.robot | 8 ++--- .../021_18.robot | 14 ++++----- .../020_01.robot | 2 +- .../020_02.robot | 2 +- .../020_03.robot | 4 +-- .../020_06.robot | 2 +- .../020_07.robot | 2 +- .../020_08.robot | 2 +- .../020_10.robot | 2 +- .../020_11.robot | 8 ++--- .../020_12.robot | 4 +-- .../020_13.robot | 20 ++++++------- .../020_14.robot | 4 +-- .../020_15.robot | 4 +-- .../020_16.robot | 4 +-- .../020_17.robot | 6 ++-- .../020_18.robot | 6 ++-- .../020_19.robot | 2 +- .../020_20.robot | 2 +- .../CreateBatchOfEntities/003_02.robot | 2 +- .../CreateBatchOfEntities/003_04.robot | 4 +-- .../CreateBatchOfEntities/003_05.robot | 4 +-- .../CreateBatchOfEntities/003_06.robot | 2 +- .../CreateBatchOfEntities/003_07.robot | 4 +-- .../CreateBatchOfEntities/003_08.robot | 2 +- .../CreateBatchOfEntities/003_09.robot | 2 +- .../CreateBatchOfEntities/003_10.robot | 2 +- .../DeleteBatchOfEntities/006_01.robot | 2 +- .../DeleteBatchOfEntities/006_02.robot | 2 +- .../DeleteBatchOfEntities/006_04.robot | 2 +- .../MergeBatchOfEntities/057_02.robot | 2 +- .../UpdateBatchOfEntities/005_03.robot | 2 +- .../UpsertBatchOfEntities/004_05.robot | 2 +- .../UpsertBatchOfEntities/004_07.robot | 2 +- .../Entities/CreateEntity/001_03.robot | 2 +- .../Entities/CreateEntity/001_04.robot | 4 +-- .../Entities/CreateEntity/001_05.robot | 4 +-- .../Entities/CreateEntity/001_06.robot | 2 +- .../Entities/CreateEntity/001_07.robot | 4 +-- .../Entities/CreateEntity/001_08.robot | 2 +- .../Entities/CreateEntity/001_09.robot | 2 +- .../Entities/DeleteEntity/002_01.robot | 2 +- .../Entities/DeleteEntity/002_02.robot | 4 +-- .../Entities/DeleteEntity/002_03.robot | 2 +- .../Entities/MergeEntity/056_02.robot | 6 ++-- .../Entities/MergeEntity/056_03.robot | 8 ++--- .../Entities/MergeEntity/056_04.robot | 8 ++--- .../Entities/MergeEntity/056_05.robot | 8 ++--- .../Entities/ReplaceEntity/054_01.robot | 2 +- .../Entities/ReplaceEntity/054_02.robot | 6 ++-- .../Entities/ReplaceEntity/054_03.robot | 2 +- .../AppendEntityAttributes/010_01.robot | 4 +-- .../AppendEntityAttributes/010_02.robot | 4 +-- .../AppendEntityAttributes/010_03.robot | 2 +- .../AppendEntityAttributes/010_04.robot | 4 +-- .../AppendEntityAttributes/010_05.robot | 2 +- .../AppendEntityAttributes/010_06.robot | 2 +- .../AppendEntityAttributes/010_07.robot | 4 +-- .../AppendEntityAttributes/010_08.robot | 2 +- .../AppendEntityAttributes/010_09.robot | 2 +- .../AppendEntityAttributes/010_10.robot | 2 +- .../AppendEntityAttributes/010_11.robot | 2 +- .../DeleteEntityAttribute/013_01.robot | 6 ++-- .../DeleteEntityAttribute/013_02.robot | 6 ++-- .../DeleteEntityAttribute/013_03.robot | 6 ++-- .../DeleteEntityAttribute/013_04.robot | 2 +- .../DeleteEntityAttribute/013_05.robot | 2 +- .../DeleteEntityAttribute/013_06.robot | 2 +- .../DeleteEntityAttribute/013_07.robot | 2 +- .../PartialAttributeUpdate/012_01.robot | 4 +-- .../PartialAttributeUpdate/012_02.robot | 8 ++--- .../PartialAttributeUpdate/012_03.robot | 8 ++--- .../PartialAttributeUpdate/012_04.robot | 2 +- .../PartialAttributeUpdate/012_05.robot | 8 ++--- .../PartialAttributeUpdate/012_06.robot | 8 ++--- .../PartialAttributeUpdate/012_07.robot | 8 ++--- .../PartialAttributeUpdate/012_08.robot | 2 +- .../PartialAttributeUpdate/012_09.robot | 2 +- .../ReplaceEntityAttribute/055_01.robot | 4 +-- .../ReplaceEntityAttribute/055_02.robot | 4 +-- .../ReplaceEntityAttribute/055_03.robot | 10 +++---- .../UpdateEntityAttributes/011_01.robot | 8 ++--- .../UpdateEntityAttributes/011_02.robot | 4 +-- .../UpdateEntityAttributes/011_03.robot | 2 +- .../UpdateEntityAttributes/011_04.robot | 2 +- .../UpdateEntityAttributes/011_05.robot | 4 +-- .../UpdateEntityAttributes/011_07.robot | 8 ++--- .../UpdateEntityAttributes/011_08.robot | 8 ++--- .../UpdateEntityAttributes/011_09.robot | 8 ++--- .../007_01.robot | 4 +-- .../007_02.robot | 4 +-- .../007_03.robot | 4 +-- .../009_01.robot | 2 +- .../009_02.robot | 4 +-- .../009_03.robot | 2 +- .../008_01.robot | 2 +- .../AddAttributes/014_01.robot | 2 +- .../AddAttributes/014_02.robot | 4 +-- .../AddAttributes/014_04.robot | 4 +-- .../DeleteAttribute/015_01.robot | 6 ++-- .../DeleteAttribute/015_02.robot | 6 ++-- .../DeleteAttribute/015_03.robot | 4 +-- .../DeleteAttributeInstance/017_01.robot | 2 +- .../DeleteAttributeInstance/017_02.robot | 10 +++---- .../DeleteAttributeInstance/017_03.robot | 6 ++-- .../016_01.robot | 2 +- .../016_02.robot | 12 ++++---- .../016_03.robot | 6 ++-- .../CreateSubscription/028_04.robot | 2 +- .../CreateSubscription/028_06.robot | 2 +- .../046_01.robot | 2 +- .../046_02.robot | 2 +- .../046_03.robot | 2 +- .../046_04.robot | 2 +- .../046_05.robot | 2 +- .../046_06.robot | 2 +- .../046_07.robot | 6 ++-- .../046_08.robot | 4 +-- .../046_09.robot | 2 +- .../046_10.robot | 2 +- .../046_11.robot | 2 +- .../046_12.robot | 2 +- .../046_13.robot | 2 +- .../046_14.robot | 2 +- .../046_15.robot | 2 +- .../046_16_01.robot | 2 +- .../046_16_02.robot | 2 +- .../046_17.robot | 2 +- .../046_18.robot | 2 +- .../046_19.robot | 2 +- .../046_21_01.robot | 2 +- .../046_21_02.robot | 2 +- .../046_22_01.robot | 2 +- .../046_22_02.robot | 2 +- .../046_22_03.robot | 2 +- .../046_22_04.robot | 2 +- .../046_22_05.robot | 2 +- .../046_22_06.robot | 2 +- .../046_22_07.robot | 2 +- .../046_22_08.robot | 2 +- .../046_22_09.robot | 6 ++-- .../046_22_10.robot | 6 ++-- .../046_22_11.robot | 6 ++-- .../046_22_12.robot | 2 +- .../046_22_13.robot | 2 +- .../UpdateSubscription/029_05.robot | 4 +-- .../037_01.robot | 4 +-- .../037_02.robot | 2 +- .../037_09.robot | 2 +- .../037_10.robot | 2 +- .../035_01.robot | 2 +- .../035_02.robot | 4 +-- .../035_03.robot | 2 +- .../RegisterContextSource/033_02.robot | 2 +- .../RegisterContextSource/033_03.robot | 2 +- .../RegisterContextSource/033_04.robot | 4 +-- .../RegisterContextSource/033_05.robot | 4 +-- .../RegisterContextSource/033_06.robot | 2 +- .../RegisterContextSource/033_07.robot | 4 +-- .../RegisterContextSource/033_08.robot | 2 +- .../RegisterContextSource/033_09.robot | 2 +- .../RegisterContextSource/033_10.robot | 4 +-- .../RegisterContextSource/033_11.robot | 2 +- .../034_01.robot | 2 +- .../034_02.robot | 6 ++-- .../034_03.robot | 2 +- .../034_04.robot | 2 +- .../034_05.robot | 2 +- .../034_06.robot | 2 +- .../Entity/QueryEntities/D011_01_03_inc.robot | 2 +- .../Entity/QueryEntities/D011_01_04_inc.robot | 2 +- .../Entity/QueryEntities/D011_01_aux.robot | 2 +- .../Entity/QueryEntities/D011_03_inc.robot | 24 +++++++-------- .../Entity/QueryEntities/D011_04_inc.robot | 24 +++++++-------- .../Entity/RetrieveEntity/D010_01_aux.robot | 2 +- .../Entity/RetrieveEntity/D010_01_inc.robot | 2 +- .../Entity/RetrieveEntity/D010_02_inc.robot | 2 +- .../Entity/RetrieveEntity/D010_03_inc.robot | 30 +++++++++---------- .../Entities/CreateEntity/D001_01_inc.robot | 2 +- .../Entities/CreateEntity/D001_02_inc.robot | 2 +- .../CreateEntity/D001_03_01_inc.robot | 2 +- .../CreateEntity/D001_03_02_inc.robot | 2 +- .../CreateEntity/D001_03_03_inc.robot | 2 +- .../Entities/CreateEntity/D001_04_inc.robot | 5 ++-- .../Entities/DeleteEntity/D002_01_inc.robot | 2 +- .../DeleteEntity/D002_02_02_inc.robot | 2 +- .../Entities/DeleteEntity/D002_03_inc.robot | 5 ++-- .../AppendEntityAttributes/D003_01_exc.robot | 4 ++- .../AppendEntityAttributes/D003_01_inc.robot | 2 ++ .../AppendEntityAttributes/D003_01_red.robot | 7 +++-- .../AppendEntityAttributes/D003_02_exc.robot | 6 ++-- .../AppendEntityAttributes/D003_02_inc.robot | 3 ++ .../AppendEntityAttributes/D003_02_red.robot | 6 ++-- .../Consumption/ListContexts/052_01.robot | 16 +++++----- .../Consumption/ListContexts/052_02.robot | 8 ++--- .../Consumption/ListContexts/052_03.robot | 8 ++--- .../Consumption/ListContexts/052_04.robot | 10 +++---- .../Consumption/ListContexts/052_05.robot | 4 +-- .../Consumption/ListContexts/052_06.robot | 23 +++++++------- .../Consumption/ListContexts/052_07.robot | 2 +- .../Consumption/ServeContext/053_01.robot | 4 +-- .../Consumption/ServeContext/053_02.robot | 2 +- .../Consumption/ServeContext/053_03.robot | 2 +- .../Consumption/ServeContext/053_04.robot | 2 +- .../Consumption/ServeContext/053_05.robot | 2 +- .../Consumption/ServeContext/053_06.robot | 2 +- .../Consumption/ServeContext/053_07.robot | 2 +- .../Consumption/ServeContext/053_08.robot | 2 +- .../Provision/AddContext/050_01.robot | 4 +-- .../Provision/AddContext/050_03.robot | 2 +- .../Provision/AddContext/050_04.robot | 2 +- .../Provision/DeleteContext/051_01.robot | 2 +- .../Provision/DeleteContext/051_02.robot | 2 +- .../Provision/DeleteContext/051_03.robot | 2 +- .../Provision/DeleteContext/051_04.robot | 10 +++---- .../Provision/DeleteContext/051_05.robot | 2 +- .../Provision/DeleteContext/051_06.robot | 2 +- .../Provision/DeleteContext/051_07.robot | 2 +- .../Provision/DeleteContext/051_08.robot | 4 +-- .../Provision/DeleteContext/051_09.robot | 2 +- pyproject.toml | 27 +++++++++++++++-- requirements.txt | 2 +- .../ContextSourceRegistration.resource | 8 ++++- resources/AssertionUtils.resource | 13 ++++---- 271 files changed, 578 insertions(+), 536 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index de8355d6e..eeb6a7de9 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 ad385d9e8..354d82c93 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 86ee791f7..86a5c56e1 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 2b521b2b8..5807a82db 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 ae9ba566b..3db6875e1 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 728ce9743..3442fdbd6 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 41fdf2424..00b6b02c8 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 ef3de1232..a0eb001f0 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 a5014450c..3b8086649 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 e61c33589..382e5328a 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 6f78753aa..2fa093875 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 a542ac9dd..5014ad2e7 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 638f17c5c..16b84c579 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 88727250b..d5c74a7a0 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 e9f4a532c..70a510e87 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 869c00a35..fe82d5099 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 f05ee6765..51d71a969 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 a91f6c19d..e673d2931 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 78e04223b..56f3e7410 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 1467b72e2..1b9fae788 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 3311f47d5..3f0fd52a6 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 daffe17ea..f968c4384 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 4aaeda034..93a51bce9 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 c9b3fa1e9..3f91b9592 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 7946eac59..085cc3f3f 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 f56d83447..bae311e55 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 008cd7c8f..d320d2512 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 038b832af..366ed8521 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 29172e3a7..1a1630884 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 6a061c225..12c19706b 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 dd9ab9d81..f02cc450e 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 bccd230d0..879b982df 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 40533d529..1f151d17b 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 c10c7e8a3..ab0ada04e 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 7ffa0a613..c150e55b8 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 5fb5efa30..6ef77c05c 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 eba0fd5ad..a878562f1 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 91eef8135..593a90028 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 68bad1125..9a329c7ef 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 d9dc1451f..2aa19d74b 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 35caab565..973d93c85 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 84e6d1dab..408c9cae4 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 0c0a39193..ede5242d2 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 d7acb604b..2656b774b 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 187de2fbe..769a1a585 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 b2a3b81bd..40625f0df 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 5aa9de130..0a1462366 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 dec15ac87..a5b82acc7 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 6b395af57..93fcb6ca3 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 2431f0fd2..2db9fb429 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 ce97fe166..569221aa2 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 910f13e7f..7a5431ad2 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 29c593674..cc50b225c 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 f62ae3570..d4b4c6be2 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 3490fd60a..b60fc0311 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 072501dac..3c9a327a7 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 b8d404049..ac25abe95 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 c145bb565..ba3265a27 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 88931a495..1e4d87ef5 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 5933f0af5..63238b65c 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 7c0708165..2c336715d 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 690781f3f..58a66acdc 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 d66fba43e..0ba30bad5 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 c7e76c992..c0d03906f 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 97ea149e9..a699ee496 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 584fa6775..28df0620d 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 d3fdb20b8..ae0f64dc0 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 ddaca8e82..38b8e3f8a 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 890bbfc89..19b81a5e7 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 e39f3e325..b086cb9b7 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 271c35c7e..17d2b2a7f 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 d44668521..f0c413735 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 367c912e0..988ba0fa3 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 73672e6b1..e190bde3f 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 70110e7ab..422f089ae 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 4d44089ed..e36bcdc7d 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 76077be6b..a5bc6ebf9 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 2c6656eae..3a6543a18 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 814867ab4..e98f8ddb8 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 f3a7833ca..f0d4c035a 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 0717f7abf..6dba1cad8 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 539d78fee..49e8617c0 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 8f1d3f779..b57129fc4 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 e2e780c28..db8fedb91 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 52439c750..61c9d45f9 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 eb7897cc9..256a17340 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 df7fb32b4..87f12e5b7 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 9fab24a1b..83d6c46fa 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 d7792dee0..ef54d02c1 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 ce23482cb..dee467b9c 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 5aa3128e2..32a3ceea2 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 0b6200dce..f67e6f3ac 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 3d81f42b0..a78629ccd 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 feada65d8..4639e0cb7 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 70b1db8d3..448bf07ab 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 771728f5d..013cb1a2b 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 84ab3660a..86c3d25ae 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 90c53babd..5dadd4547 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 22b1bbac6..c24c6f393 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 f5b43cb2e..6c20dd365 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 07d3e62e7..226158908 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 71eee8cb9..c966b2d27 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 b8f08070b..4458ef818 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 4f1ad98ab..e39afc8d8 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 5873c3711..53641f085 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 e664fd777..e0a20b076 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 3f0f42cf9..152df0437 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 14386a181..7c22ef86e 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 5b3994e46..1f5e89315 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 a5f8a687e..171fb2a4b 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 51752453b..76721c484 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 3ba0ff03a..09e0a614b 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 c1ea0267c..6e946dc56 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 5250755a2..e1cbb4aee 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 45cd2b720..04b45d48c 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 e8e520f68..076d26858 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 38e4c6ab6..ce8e2b51e 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 4b0993a3c..1be83d22f 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 27b074374..6569cf7fe 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 dbafcc0ec..610534cda 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 47e7b8e0e..26b93b958 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 b65ce263c..771d74a86 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 abbfedacb..e4cf3a42a 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 8f629e6a6..2fd1c9ee9 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 cfd0d3267..1e5d9050c 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 073369e2f..9cc5ae02a 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 c7115c609..18204c5b7 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 3a4865860..f4191b1e1 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 0de6feb84..602afcb9f 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 2f591cda1..d9263c109 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 eea13c066..6f25a2a1f 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 dd5480038..e304b66c1 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 86c63bf82..7e33953fb 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 6308bbf5f..f569f04ab 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 aea4410fc..84615d763 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 b50e52fd3..11ec83232 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 aae412464..f0d5413d5 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 49659f811..11ba17feb 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 5c4c2bfef..15d1ecbf8 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 4273f6905..128566443 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 16b5ede7b..3d50c8ea6 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 589c0f506..5305ff700 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 2a3aabf5e..c26824c8a 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 e5f2ad896..3760d4ec2 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 38fdb4128..add085704 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 3c8d6f961..7374e1098 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 d9a7ae93f..3c51f1c4e 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 b89aa5219..6d4ec4577 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 07af2a29b..1121a562f 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 f2dbb4e70..5caa86ba7 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 72e8ff57b..c65f76db5 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 638eb85a1..c7c397683 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 f66884788..dcc8a0c7e 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 f0f3f85b6..ad66435be 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 d134c5b03..22536d786 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 66106a66c..e0eae4400 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 89ac02cda..b4c7ecce9 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 aed10b6a2..2912337b6 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 ace3e6f1a..d6815eed6 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 6237d17cd..70a564f24 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 3b2ab4943..abe6b194e 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 14b267ab2..248cca213 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 5f1e592ce..50dbf9873 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 467dd4eb3..b2e8abede 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 34d82d9c5..6f38d6460 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 4f96957ec..4bff41b3a 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 940ca5b08..1ba901823 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 c8d2ad243..3397c5476 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 26b3e43f4..ceb85e054 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 d07ebf64d..c4a12c883 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 4f354b9e3..7d8b55db0 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 6cc1d8023..598ed7689 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 c9d538cac..7fd14c42c 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 6598466e9..bf7d573d2 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 49e114a91..775e7f15c 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 02ad0c4a2..f8b7a085d 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 4e2553c6e..68951db66 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 ea4be5c12..e4f18a49d 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 6ff061b98..0424ced74 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 08ceb0bab..e36d8b7be 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 3639de288..e58c6e389 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 46f6df10b..2c79274d7 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 0fd763b9f..dd399aabb 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 f2748f01d..3d6030443 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 cf25e5c18..7cd84ff03 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 75319b91d..ee605103a 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 6b10cfa49..fecdec1de 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 fa813da3e..b15e01119 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 702addd6a..444b19db6 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 4bd8da924..6d2accc69 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 6c5edab7d..60ab53310 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 24003f149..37a4b191e 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 c7a447114..04c6453e0 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 3cd4d089a..44172ddd0 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 da48ac731..861035b4d 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 7db27322b..29d6c89b4 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 799d58c37..d9393d1c6 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 009a86f59..d08350d56 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 8e5296160..d717fe6a5 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 83edff3ea..b5890c7fa 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 72e3ce602..717262af9 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 2be02a34e..247dd8d60 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 86f49ecc3..0dbdd7654 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 c83383b34..5f745e081 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 14068f2ef..b12d5732e 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 1cc60971d..5502c6057 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 58e047144..d586b4118 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 fab0da5a7..4a94c14a5 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 cb68ada92..fd059e05e 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 58db60a0c..688857be3 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 1b97de966..1831cbfdf 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 ea7c96136..7bdd5a0cb 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 bd0b65258..3faa9309f 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 482aacd55..aa8473640 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 1d624e9d9..0a8da0e9e 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 050817ac8..e74a700dc 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 63352591d..d42722726 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 d3c67fe22..4dc1d70dd 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 1940e0ed0..41e9203ac 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 4b424bf5f..cd8c74154 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 aff7cc1a7..3a6cff7ec 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 1339a0a34..5138b9bf7 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 925dc7141..100c8bbd5 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 6832b3e59..e5e682825 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 de7bf5494..59dac6099 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 76441a296..a12e00f27 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 77f0289c7..3a35ddd0d 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 6ebb17f36..f561087b9 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 7e15a599a..18c391ce9 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 4b1f825a7..1fe4abb17 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 48c411139..a008538e5 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 a11ba945e..2ecd6900d 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 6f9e10288..579ac214d 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 d33d88ee1..55db9c4bc 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 32ba0789b..c6ece0bea 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 61e437ff6..b5fa371f2 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 c25f2a38b..f7fbf6597 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 1c9b6b1fb..db67802bb 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 40a068432..c0119a541 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 42eb5fabf..c08dcf7f5 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 f4623001f..3511c2446 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 4bfc1a96e..57f3d12bc 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 99f322b6f..267f2abb1 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 5593fa1a8..7ee034f33 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 26001b80c..cb6dd4665 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 6a8658992..19a638405 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 da5ca903a..74600e3de 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 ac5329628..583c61f08 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 62976c0ec..eb59919d0 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 7b0987755..e9d45717c 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 3df4ab434..d616c7e8d 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 1105951ee..57e6c50b2 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 1ab214884..6dff6033e 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 2f57ab049..5c920b128 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 db51b16f0..f4a666ed3 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 80e1b3212..dc82a72da 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 1f645129c..a9c5350bb 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 3a424dcc1..56a0d6b65 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 f8b7cb877..da0754243 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 87b08bb13..f4d063420 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 df7603b7f..19fd77d7a 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 34f483f65..fdbb783ec 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 9cc8910b4..191521556 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 0912fee7a..3ae126d07 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 d5e72752a..f3da19c42 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 c6b440d6f..222104572 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 30fd1e476..ee76e1fe7 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 4e4f899ee..19588c206 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 e26df1ea3..d4470c099 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 d6d4135bc..5d1eaa2c1 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 3f75dad05..b67330e14 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} -- GitLab