From b11adf2f230778f86c783055f48740e2e096cc49 Mon Sep 17 00:00:00 2001 From: Serafino Date: Mon, 3 Jun 2024 18:54:01 +0200 Subject: [PATCH 1/5] added scripts to help with find and replace --- TP/NGSI-LD/find.py | 18 ++++++++++++++++++ TP/NGSI-LD/substitute.py | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 TP/NGSI-LD/find.py create mode 100644 TP/NGSI-LD/substitute.py diff --git a/TP/NGSI-LD/find.py b/TP/NGSI-LD/find.py new file mode 100644 index 00000000..e18f107f --- /dev/null +++ b/TP/NGSI-LD/find.py @@ -0,0 +1,18 @@ +import sys + +if len(sys.argv) < 2: + print("Usage: python3 find.py [otherfile, ...]", file=sys.stderr) + # find . -type f -name "*.robot" -exec python3 find.py "you" '{}' + + exit(1) + +counter = 0 +for filename in sys.argv[2:]: + with open(filename, "r") as file: + for line in file: + if sys.argv[1] in line: + counter += line.count(sys.argv[1]) + print(line.replace(sys.argv[1], f"\033[91m{sys.argv[1]}\033[0m")) + +print("Found {} occurrences".format(counter)) + + diff --git a/TP/NGSI-LD/substitute.py b/TP/NGSI-LD/substitute.py new file mode 100644 index 00000000..bc644ad5 --- /dev/null +++ b/TP/NGSI-LD/substitute.py @@ -0,0 +1,17 @@ +import sys +from os import SEEK_SET + +if len(sys.argv) != 4: + print("Usage: python3 substitute.py []") + # find . -type f -name "*.robot" -exec python3 substitute.py "you can" "one can" '{}' \; + + +counter = 0 +for filename in sys.argv[3:]: + with open(filename, "r+") as file: + lines = file.readlines() + file.seek(0, SEEK_SET) + for line in lines: + counter += line.count(sys.argv[1]) + file.write(line.replace(sys.argv[1], sys.argv[2])) +print ("Performed {} substitutions".format(counter)) -- GitLab From 2f4d304d0f38705048a30104b833fc7945a2148b Mon Sep 17 00:00:00 2001 From: Serafino Date: Mon, 3 Jun 2024 18:58:04 +0200 Subject: [PATCH 2/5] ; --> + --- TP/NGSI-LD/substitute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TP/NGSI-LD/substitute.py b/TP/NGSI-LD/substitute.py index bc644ad5..b0475044 100644 --- a/TP/NGSI-LD/substitute.py +++ b/TP/NGSI-LD/substitute.py @@ -3,7 +3,7 @@ from os import SEEK_SET if len(sys.argv) != 4: print("Usage: python3 substitute.py []") - # find . -type f -name "*.robot" -exec python3 substitute.py "you can" "one can" '{}' \; + # find . -type f -name "*.robot" -exec python3 substitute.py "you can" "one can" '{}' + counter = 0 -- GitLab From 4e4698d2362e931ec7804469ef0cb59965bf7506 Mon Sep 17 00:00:00 2001 From: Serafino Date: Mon, 3 Jun 2024 19:31:03 +0200 Subject: [PATCH 3/5] corrected use of personal pronouns in documentation --- .../RetrieveAvailableAttributeInformation/027_01.robot | 4 ++-- .../RetrieveAvailableAttributeInformation/027_02.robot | 4 ++-- .../Discovery/RetrieveAvailableAttributes/025_01.robot | 4 ++-- .../024_01.robot | 4 ++-- .../024_02.robot | 4 ++-- .../RetrieveAvailableEntityTypes/022_01.robot | 4 ++-- .../RetrieveDetailsOfAvailableAttributes/026_01.robot | 4 ++-- .../RetrieveDetailsOfAvailableEntityTypes/023_01.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_01_01.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_01_02.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_01_03.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_01_04.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_01_05.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_01_06.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_02_01.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_02_02.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_02_03.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_02_04.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_02_05.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_03_01.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_03_02.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_03_03.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_03_04.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_03_05.robot | 4 ++-- .../Consumption/Entity/QueryEntities/019_06.robot | 4 ++-- .../Consumption/Entity/RetrieveEntity/018_01_01.robot | 4 ++-- .../Consumption/Entity/RetrieveEntity/018_01_02.robot | 4 ++-- .../Consumption/Entity/RetrieveEntity/018_01_03.robot | 4 ++-- .../Consumption/Entity/RetrieveEntity/018_02.robot | 4 ++-- .../Consumption/Entity/RetrieveEntity/018_03_01.robot | 4 ++-- .../Consumption/Entity/RetrieveEntity/018_03_02.robot | 4 ++-- .../Consumption/Entity/RetrieveEntity/018_07.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_01.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_02.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_03.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_04.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_05.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_06.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_07.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_08.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_09.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_10.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_11.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_12.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_13.robot | 4 ++-- .../QueryTemporalEvolutionOfEntities/021_14.robot | 4 ++-- .../RetrieveTemporalEvolutionOfEntity/020_01.robot | 4 ++-- .../RetrieveTemporalEvolutionOfEntity/020_02.robot | 4 ++-- .../RetrieveTemporalEvolutionOfEntity/020_03.robot | 4 ++-- .../RetrieveTemporalEvolutionOfEntity/020_04.robot | 4 ++-- .../RetrieveTemporalEvolutionOfEntity/020_05.robot | 4 ++-- .../RetrieveTemporalEvolutionOfEntity/020_06.robot | 4 ++-- .../RetrieveTemporalEvolutionOfEntity/020_07.robot | 4 ++-- .../RetrieveTemporalEvolutionOfEntity/020_08.robot | 4 ++-- .../RetrieveTemporalEvolutionOfEntity/020_09.robot | 4 ++-- .../RetrieveTemporalEvolutionOfEntity/020_10.robot | 4 ++-- .../RetrieveTemporalEvolutionOfEntity/020_11.robot | 4 ++-- .../RetrieveTemporalEvolutionOfEntity/020_12.robot | 4 ++-- .../BatchEntities/CreateBatchOfEntities/003_01.robot | 4 ++-- .../BatchEntities/CreateBatchOfEntities/003_02.robot | 4 ++-- .../BatchEntities/CreateBatchOfEntities/003_03.robot | 4 ++-- .../BatchEntities/CreateBatchOfEntities/003_04.robot | 4 ++-- .../BatchEntities/CreateBatchOfEntities/003_05.robot | 4 ++-- .../BatchEntities/CreateBatchOfEntities/003_07.robot | 8 ++++---- .../BatchEntities/CreateBatchOfEntities/003_10.robot | 4 ++-- .../BatchEntities/DeleteBatchOfEntities/006_01.robot | 4 ++-- .../BatchEntities/DeleteBatchOfEntities/006_02.robot | 4 ++-- .../BatchEntities/DeleteBatchOfEntities/006_03.robot | 4 ++-- .../BatchEntities/DeleteBatchOfEntities/006_04.robot | 4 ++-- .../BatchEntities/UpdateBatchOfEntities/005_01.robot | 4 ++-- .../BatchEntities/UpdateBatchOfEntities/005_02.robot | 4 ++-- .../BatchEntities/UpdateBatchOfEntities/005_03.robot | 4 ++-- .../BatchEntities/UpdateBatchOfEntities/005_04.robot | 4 ++-- .../BatchEntities/UpsertBatchOfEntities/004_01.robot | 4 ++-- .../BatchEntities/UpsertBatchOfEntities/004_02.robot | 4 ++-- .../BatchEntities/UpsertBatchOfEntities/004_03.robot | 4 ++-- .../BatchEntities/UpsertBatchOfEntities/004_04.robot | 4 ++-- .../BatchEntities/UpsertBatchOfEntities/004_05.robot | 4 ++-- .../BatchEntities/UpsertBatchOfEntities/004_06.robot | 4 ++-- .../BatchEntities/UpsertBatchOfEntities/004_07.robot | 4 ++-- .../Provision/Entities/CreateEntity/001_01.robot | 4 ++-- .../Provision/Entities/CreateEntity/001_02.robot | 4 ++-- .../Provision/Entities/CreateEntity/001_03.robot | 4 ++-- .../Provision/Entities/CreateEntity/001_04.robot | 4 ++-- .../Provision/Entities/CreateEntity/001_05.robot | 4 ++-- .../Provision/Entities/CreateEntity/001_07.robot | 4 ++-- .../Provision/Entities/CreateEntity/001_10.robot | 4 ++-- .../Provision/Entities/CreateEntity/001_11.robot | 4 ++-- .../Provision/Entities/DeleteEntity/002_01.robot | 4 ++-- .../Provision/Entities/DeleteEntity/002_02.robot | 4 ++-- .../Provision/Entities/DeleteEntity/002_03.robot | 4 ++-- .../AppendEntityAttributes/010_01.robot | 4 ++-- .../AppendEntityAttributes/010_02.robot | 4 ++-- .../AppendEntityAttributes/010_03.robot | 4 ++-- .../AppendEntityAttributes/010_04.robot | 4 ++-- .../AppendEntityAttributes/010_05.robot | 4 ++-- .../AppendEntityAttributes/010_06.robot | 4 ++-- .../AppendEntityAttributes/010_07.robot | 2 +- .../DeleteEntityAttribute/013_01.robot | 4 ++-- .../DeleteEntityAttribute/013_02.robot | 4 ++-- .../DeleteEntityAttribute/013_03.robot | 4 ++-- .../DeleteEntityAttribute/013_04.robot | 4 ++-- .../PartialAttributeUpdate/012_01.robot | 8 ++++---- .../PartialAttributeUpdate/012_02.robot | 4 ++-- .../PartialAttributeUpdate/012_03.robot | 4 ++-- .../PartialAttributeUpdate/012_04.robot | 6 +++--- .../UpdateEntityAttributes/011_01.robot | 10 +++++----- .../UpdateEntityAttributes/011_02.robot | 4 ++-- .../UpdateEntityAttributes/011_03.robot | 4 ++-- .../UpdateEntityAttributes/011_04.robot | 4 ++-- .../UpdateEntityAttributes/011_05.robot | 2 +- .../CreateTemporalRepresentationOfEntity/007_01.robot | 4 ++-- .../CreateTemporalRepresentationOfEntity/007_02.robot | 4 ++-- .../CreateTemporalRepresentationOfEntity/007_03.robot | 4 ++-- .../DeleteTemporalRepresentationOfEntity/009_01.robot | 4 ++-- .../DeleteTemporalRepresentationOfEntity/009_02.robot | 4 ++-- .../DeleteTemporalRepresentationOfEntity/009_03.robot | 4 ++-- .../UpdateTemporalRepresentationOfEntity/008_01.robot | 4 ++-- .../AddAttributes/014_01.robot | 4 ++-- .../AddAttributes/014_02.robot | 4 ++-- .../AddAttributes/014_03.robot | 4 ++-- .../AddAttributes/014_04.robot | 4 ++-- .../DeleteAttribute/015_01.robot | 4 ++-- .../DeleteAttribute/015_02.robot | 4 ++-- .../DeleteAttribute/015_03.robot | 4 ++-- .../DeleteAttributeInstance/017_01.robot | 4 ++-- .../DeleteAttributeInstance/017_02.robot | 4 ++-- .../DeleteAttributeInstance/017_03.robot | 4 ++-- .../PartialUpdateAttributeInstance/016_01.robot | 4 ++-- .../PartialUpdateAttributeInstance/016_02.robot | 4 ++-- .../PartialUpdateAttributeInstance/016_03.robot | 4 ++-- .../Subscription/CreateSubscription/028_01.robot | 4 ++-- .../Subscription/CreateSubscription/028_02.robot | 4 ++-- .../Subscription/CreateSubscription/028_03.robot | 4 ++-- .../Subscription/CreateSubscription/028_04.robot | 4 ++-- .../Subscription/CreateSubscription/028_05.robot | 4 ++-- .../Subscription/DeleteSubscription/032_01.robot | 4 ++-- .../Subscription/DeleteSubscription/032_02.robot | 4 ++-- .../Subscription/DeleteSubscription/032_03.robot | 4 ++-- .../Subscription/QuerySubscriptions/031_01.robot | 4 ++-- .../Subscription/QuerySubscriptions/031_02.robot | 4 ++-- .../Subscription/RetrieveSubscription/030_01.robot | 4 ++-- .../Subscription/RetrieveSubscription/030_02.robot | 4 ++-- .../Subscription/RetrieveSubscription/030_03.robot | 4 ++-- .../Subscription/UpdateSubscription/029_01.robot | 4 ++-- .../Subscription/UpdateSubscription/029_02.robot | 4 ++-- .../Subscription/UpdateSubscription/029_03.robot | 4 ++-- .../Subscription/UpdateSubscription/029_04.robot | 4 ++-- .../Subscription/UpdateSubscription/029_05.robot | 6 +++--- .../Subscription/UpdateSubscription/029_06.robot | 4 ++-- .../Subscription/UpdateSubscription/029_07.robot | 4 ++-- .../Subscription/UpdateSubscription/029_08.robot | 4 ++-- .../Subscription/UpdateSubscription/029_09.robot | 4 ++-- .../Subscription/UpdateSubscription/029_10.robot | 4 ++-- .../Subscription/UpdateSubscription/029_11.robot | 4 ++-- .../QueryContextSourceRegistrations/037_01.robot | 4 ++-- .../QueryContextSourceRegistrations/037_02.robot | 4 ++-- .../QueryContextSourceRegistrations/037_03.robot | 4 ++-- .../QueryContextSourceRegistrations/037_04.robot | 4 ++-- .../QueryContextSourceRegistrations/037_05.robot | 4 ++-- .../QueryContextSourceRegistrations/037_06.robot | 4 ++-- .../QueryContextSourceRegistrations/037_07.robot | 4 ++-- .../QueryContextSourceRegistrations/037_08.robot | 4 ++-- .../QueryContextSourceRegistrations/037_09.robot | 4 ++-- .../QueryContextSourceRegistrations/037_10.robot | 4 ++-- .../QueryContextSourceRegistrations/037_11.robot | 4 ++-- .../RetrieveContextSourceRegistration/036_01.robot | 4 ++-- .../RetrieveContextSourceRegistration/036_02.robot | 4 ++-- .../RetrieveContextSourceRegistration/036_03.robot | 4 ++-- .../RetrieveContextSourceRegistration/036_04.robot | 4 ++-- .../DeleteContextSourceRegistration/035_01.robot | 4 ++-- .../DeleteContextSourceRegistration/035_02.robot | 4 ++-- .../DeleteContextSourceRegistration/035_03.robot | 4 ++-- .../Registration/RegisterContextSource/033_01_01.robot | 4 ++-- .../Registration/RegisterContextSource/033_01_02.robot | 4 ++-- .../Registration/RegisterContextSource/033_01_03.robot | 4 ++-- .../Registration/RegisterContextSource/033_02.robot | 2 +- .../Registration/RegisterContextSource/033_03.robot | 4 ++-- .../Registration/RegisterContextSource/033_10.robot | 4 ++-- .../UpdateContextSourceRegistration/034_01.robot | 4 ++-- .../UpdateContextSourceRegistration/034_02.robot | 6 +++--- .../UpdateContextSourceRegistration/034_03.robot | 4 ++-- .../UpdateContextSourceRegistration/034_04.robot | 4 ++-- .../UpdateContextSourceRegistration/034_05.robot | 4 ++-- .../UpdateContextSourceRegistration/034_06.robot | 4 ++-- .../047_16.robot | 4 ++-- .../038_01.robot | 6 +++--- .../038_02.robot | 4 ++-- .../038_03.robot | 4 ++-- .../038_04.robot | 4 ++-- .../038_05.robot | 4 ++-- .../038_06.robot | 4 ++-- .../038_07.robot | 4 ++-- .../038_08.robot | 4 ++-- .../038_09.robot | 4 ++-- .../042_01.robot | 4 ++-- .../042_02.robot | 4 ++-- .../042_03.robot | 4 ++-- .../041_01.robot | 4 ++-- .../041_02.robot | 4 ++-- .../041_03.robot | 4 ++-- .../041_04.robot | 4 ++-- .../040_01.robot | 6 +++--- .../040_02.robot | 4 ++-- .../040_03.robot | 4 ++-- .../039_01.robot | 4 ++-- .../039_02.robot | 4 ++-- .../039_03.robot | 4 ++-- .../039_04.robot | 4 ++-- .../039_05.robot | 4 ++-- .../Consumption/ListContexts/052_01.robot | 4 ++-- .../Consumption/ListContexts/052_02.robot | 4 ++-- .../Consumption/ListContexts/052_03.robot | 4 ++-- .../Consumption/ListContexts/052_04.robot | 4 ++-- .../Consumption/ListContexts/052_05.robot | 6 +++--- .../Consumption/ListContexts/052_06.robot | 4 ++-- .../Consumption/ServeContext/053_01.robot | 4 ++-- .../Consumption/ServeContext/053_02.robot | 4 ++-- .../Consumption/ServeContext/053_03.robot | 4 ++-- .../Consumption/ServeContext/053_04.robot | 2 +- .../Consumption/ServeContext/053_07.robot | 8 ++++---- .../jsonldContext/Provision/AddContext/050_01.robot | 6 +++--- .../jsonldContext/Provision/AddContext/050_02.robot | 2 +- .../jsonldContext/Provision/AddContext/050_03.robot | 4 ++-- .../jsonldContext/Provision/AddContext/050_04.robot | 6 +++--- .../jsonldContext/Provision/DeleteContext/051_01.robot | 4 ++-- .../jsonldContext/Provision/DeleteContext/051_02.robot | 4 ++-- .../jsonldContext/Provision/DeleteContext/051_03.robot | 6 +++--- .../jsonldContext/Provision/DeleteContext/051_04.robot | 4 ++-- .../jsonldContext/Provision/DeleteContext/051_05.robot | 4 ++-- .../jsonldContext/Provision/DeleteContext/051_06.robot | 2 +- .../jsonldContext/Provision/DeleteContext/051_07.robot | 4 ++-- .../jsonldContext/Provision/DeleteContext/051_08.robot | 4 ++-- .../jsonldContext/Provision/DeleteContext/051_09.robot | 2 +- TP/NGSI-LD/substitute.py | 2 +- 235 files changed, 480 insertions(+), 480 deletions(-) diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_01.robot index 49d35c14..13de0208 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot retrieve a detailed representation of an unknown NGSI-LD attribute +Documentation Check that one cannot retrieve a detailed representation of an unknown NGSI-LD attribute Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource @@ -17,7 +17,7 @@ ${filename}= building-simple-attributes-sample.json *** Test Cases *** 027_01_01 Retrieve Detailed Representation Of Available Attribute Without Context - [Documentation] Check that you cannot retrieve a detailed representation of an unknown NGSI-LD attribute + [Documentation] Check that one cannot retrieve a detailed representation of an unknown NGSI-LD attribute [Tags] ed-attr 5_7_10 ${response}= Retrieve Attribute attribute_name=airQualityLevel Check Response Status Code 404 ${response.status_code} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_02.robot index 14f30676..f4298288 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation/027_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve a list with a detailed representation of NGSI-LD attributes +Documentation Check that one can retrieve a list with a detailed representation of NGSI-LD attributes Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource @@ -18,7 +18,7 @@ ${expectation_file}= types/expectations/attribute-027-01-expectation.json *** Test Cases *** 027_02_01 Retrieve Detailed Representation Of Available Attribute - [Documentation] Check that you can retrieve a list with a detailed representation of NGSI-LD attributes + [Documentation] Check that one can retrieve a list with a detailed representation of NGSI-LD attributes [Tags] ed-attr 5_7_10 ${response}= Retrieve Attribute attribute_name=airQualityLevel context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributes/025_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributes/025_01.robot index efd3a030..05096b7e 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributes/025_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableAttributes/025_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve a list of NGSI-LD attributes +Documentation Check that one can retrieve a list of NGSI-LD attributes Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource @@ -27,7 +27,7 @@ ${filename}= building-simple-attributes-sample.json *** Keywords *** Retrieve Available Attributes - [Documentation] Check that you can retrieve a list of NGSI-LD attributes + [Documentation] Check that one can retrieve a list of NGSI-LD attributes [Arguments] ${context} ${expectation_file} ${response}= Retrieve Attributes ... context=${context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_01.robot index 6fc21b31..8b5c51cb 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot retrieve a detailed representation of an unknown NGSI-LD entity type +Documentation Check that one cannot retrieve a detailed representation of an unknown NGSI-LD entity type Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource @@ -17,7 +17,7 @@ ${filename}= building-simple-attributes-sample.json *** Test Cases *** 024_01_01 Retrieve Detailed Representation Of Available Entity Type Without Context - [Documentation] Check that you cannot retrieve a detailed representation of an unknown NGSI-LD entity type + [Documentation] Check that one cannot retrieve a detailed representation of an unknown NGSI-LD entity type [Tags] ed-type 5_7_7 ${response}= Retrieve Entity Type type=Building Check Response Status Code 404 ${response.status_code} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_02.robot index f7414eec..6ebc8c6a 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypeInformation/024_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve a detailed representation of a specified NGSI-LD entity type +Documentation Check that one can retrieve a detailed representation of a specified NGSI-LD entity type Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource @@ -18,7 +18,7 @@ ${expectation_file}= types/expectations/entity-type-info-024-01-expectati *** Test Cases *** 024_02_01 Retrieve Detailed Representation Of Available Entity Type - [Documentation] Check that you can retrieve a detailed representation of a specified NGSI-LD entity type + [Documentation] Check that one can retrieve a detailed representation of a specified NGSI-LD entity type [Tags] ed-type 5_7_7 ${response}= Retrieve Entity Type type=Building context=${ngsild_test_suite_context} Check Response Status Code 200 ${response.status_code} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypes/022_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypes/022_01.robot index c97a6e3e..93dc63ae 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypes/022_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveAvailableEntityTypes/022_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve a list of NGSI-LD entity types +Documentation Check that one can retrieve a list of NGSI-LD entity types Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource @@ -29,7 +29,7 @@ ${second_filename}= vehicle-simple-attributes-sample.json *** Keywords *** Retrieve Available Entity Types - [Documentation] Check that you can retrieve a list of NGSI-LD entity types + [Documentation] Check that one can retrieve a list of NGSI-LD entity types [Arguments] ${context} ${expectation_file} ${response}= Retrieve Entity Types ... context=${context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot index e7c1ef5e..035213c2 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes/026_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve a list with a detailed representation of NGSI-LD attributes +Documentation Check that one can retrieve a list with a detailed representation of NGSI-LD attributes Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource @@ -27,7 +27,7 @@ ${filename}= building-simple-attributes-sample.json *** Keywords *** Retrieve Details Of Available Attributes - [Documentation] Check that you can retrieve a list with a detailed representation of NGSI-LD attributes + [Documentation] Check that one can retrieve a list with a detailed representation of NGSI-LD attributes [Arguments] ${context} ${expectation_file} ${response}= Retrieve Attributes ... context=${context} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot index 36ca2ee2..e983ecfa 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableEntityTypes/023_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve a list with a detailed representation of NGSI-LD entity types +Documentation Check that one can retrieve a list with a detailed representation of NGSI-LD entity types Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource @@ -29,7 +29,7 @@ ${second_filename}= vehicle-simple-attributes-sample.json *** Keywords *** Retrieve Details Of Available Entity Types - [Documentation] Check that you can retrieve a list with a detailed representation of NGSI-LD entity types + [Documentation] Check that one can retrieve a list with a detailed representation of NGSI-LD entity types [Arguments] ${context} ${expectation_file} ${response}= Retrieve Entity Types ... context=${context} 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 61877562..557217f7 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query several entities based on ids +Documentation Check that one can query several entities based on ids Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -18,7 +18,7 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building *** Test Cases *** 019_01_01 Query several entities based on ids - [Documentation] Check that you can query several entities based on ids + [Documentation] Check that one can query several entities based on ids [Tags] e-query 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${first_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 762c8762..b5293c30 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query several entities based on the entities types +Documentation Check that one can query several entities based on the entities types Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -24,7 +24,7 @@ ${parking_entity_type}= https://ngsi-ld-test-suite/context#OffStreetParking *** Test Cases *** 019_01_02 Query several entities based on the entities types - [Documentation] Check that you can 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 ${building_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${building_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 d2ddcb45..6b293b76 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query several entities based on the given id pattern +Documentation Check that one can query several entities based on the given id pattern Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -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 - [Documentation] Check that you can 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 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${first_entity_id} 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 b151d952..a0acab89 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query several entities based on attribute names +Documentation Check that one can query several entities based on attribute names Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -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 - [Documentation] Check that you can 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 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${first_entity_id} 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 71916331..97c771e4 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query entities based on a geoquery +Documentation Check that one can query entities based on a geoquery Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -21,7 +21,7 @@ ${coordinates}= [13.3986, 52.5547] *** Test Cases *** 019_01_05 Query several entities based on a geoquery - [Documentation] Check that you can query entities based on a geoquery + [Documentation] Check that one can query entities based on a geoquery [Tags] e-query 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${first_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_06.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_06.robot index 9dbfeffd..b691af53 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_06.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_06.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query several entities based on scopes +Documentation Check that one can query several entities based on scopes Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -41,7 +41,7 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building *** Keywords *** Query several entities based on scopes - [Documentation] Check that you can query several entities based on scopes + [Documentation] Check that one can query several entities based on scopes [Arguments] ${scopeq} ${expected_count} ${response}= Query Entities ... scopeq=${scopeq} 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 18635a72..ab4d07f2 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query one entity via POST Interaction based on id +Documentation Check that one can query one entity via POST Interaction based on id Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -19,7 +19,7 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building *** Test Cases *** 019_02_01 Query one entity via POST Interaction based on id - [Documentation] Check that you can 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} ${response}= Query Entities Via POST 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 f262652e..3dfb6beb 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query several entities via POST Interaction based on the entity type +Documentation Check that one can query several entities via POST Interaction based on the entity type Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -22,7 +22,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 - [Documentation] Check that you can query several entities via POST Interaction based on the entity type + [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} ${response}= Query Entities Via POST 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 12f33896..7413bc2d 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can 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 Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -20,7 +20,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 - [Documentation] Check that you can 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} ${response}= Query Entities Via POST 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 913660a2..fe9373d8 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can 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 Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -22,7 +22,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 - [Documentation] Check that you can 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} @{entities_ids_to_be_retrieved}= Create List ${vehicle_entity_id} 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 50e2dbc6..f8d72a98 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query entitites via POST Interaction asking for a GeoJSON representation +Documentation Check that one can query entitites via POST Interaction asking for a GeoJSON representation Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -22,7 +22,7 @@ ${parking_entity_type}= https://ngsi-ld-test-suite/context#OffStreetParking *** Test Cases *** 019_02_05 Query several entities via POST Interaction asking for a GeoJSON representation - [Documentation] Check that you can query 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} ${response}= Query Entities Via POST 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 66e25659..d5f651c3 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot query entities if the requested ids are incorrect +Documentation Check that one cannot query entities if the requested ids are incorrect Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -19,7 +19,7 @@ ${entity_invalid_id_two}= thisisaninvaliduri2 *** Test Cases *** 019_03_01 Query entities based on incorrect ids - [Documentation] Check that you cannot query entities if the requested ids are incorrect + [Documentation] Check that one cannot query entities if the requested ids are incorrect [Tags] e-query 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${first_entity_id} 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 563b5c0c..7ce3496d 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot query entities if the requested entity types are incorrect +Documentation Check that one cannot query entities if the requested entity types are incorrect Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -20,7 +20,7 @@ ${invalid_entity_type_two}= invalid_entity_type_two *** Test Cases *** 019_03_02 Query entities based on incorrect entity types - [Documentation] Check that you cannot query entities if the requested entity types are incorrect + [Documentation] Check that one cannot query entities if the requested entity types are incorrect [Tags] e-query 5_7_2 ${building_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${building_entity_id} 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 1d0857cb..1068173e 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot query entities if the requested id pattern is incorrect +Documentation Check that one cannot query entities if the requested id pattern is incorrect Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -18,7 +18,7 @@ ${invalid_entity_id_pattern}= invalid_entity_id_pattern** *** Test Cases *** 019_03_03 Query several entities based on incorrect id pattern - [Documentation] Check that you cannot query entities if the requested id pattern is incorrect + [Documentation] Check that one cannot query entities if the requested id pattern is incorrect [Tags] e-query 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${first_entity_id} 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 7db8d213..9871e7f6 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot query entities if the requested attribute names are incorrect +Documentation Check that one cannot query entities if the requested attribute names are incorrect Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -19,7 +19,7 @@ ${invalid_attribute_two}= type *** Test Cases *** 019_03_04 Query several entities based on incorrect attribute names - [Documentation] Check that you cannot query entities if the requested attribute names are incorrect + [Documentation] Check that one cannot query entities if the requested attribute names are incorrect [Tags] e-query 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${first_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_05.robot index d89932a4..52214218 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_03_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot query entities if the request has a wrong geometryProperty +Documentation Check that one cannot query entities if the request has a wrong geometryProperty Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -21,7 +21,7 @@ ${geoproperty}= location *** Test Cases *** 019_03_05 Query entities when the request has a wrong geometryProperty - [Documentation] Check that you cannot query entities if 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 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${first_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 9b7dc7ec..8d136195 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_06.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_06.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query entities specifying a maximum number of results +Documentation Check that one can query entities specifying a maximum number of results Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -18,7 +18,7 @@ ${limit}= 2 *** Test Cases *** 019_06_01 Query entities specifying a maximum number of results - [Documentation] Check that you can 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 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${first_entity_id} 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 66970dfa..cada5b4b 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can get an entity by id +Documentation Check that one can get an entity by id Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -17,7 +17,7 @@ ${expectation_filename}= building-simple-attributes-expectation.jsonld *** Test Cases *** 018_01_01 Get an entity by id - [Documentation] Check that you can get an entity by id + [Documentation] Check that one can get an entity by id [Tags] e-retrieve 5_7_1 ${entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${entity_id} 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 c5c418be..986ba73f 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query some attributes from an entity +Documentation Check that one can query some attributes from an entity Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -19,7 +19,7 @@ ${attribute_subcategory}= https://ngsi-ld-test-suite/context#subCatego *** Test Cases *** 018_01_02 Query some attributes from an entity - [Documentation] Check that you can query some attributes from an entity + [Documentation] Check that one can query some attributes from an entity [Tags] e-retrieve 5_7_1 ${entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_01_03.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_01_03.robot index 2ec9c63d..d4a7b7d2 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_01_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_01_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query the geometry property from an entity +Documentation Check that one can query the geometry property from an entity Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -18,7 +18,7 @@ ${geometry_property}= location *** Test Cases *** 018_01_03 Query the geometry property from an entity - [Documentation] Check that you can query the geometry property from an entity + [Documentation] Check that one can query the geometry property from an entity [Tags] e-retrieve 5_7_1 ${entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${entity_id} 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 13067279..dd9ab9d8 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot get an entity with invalid id +Documentation Check that one cannot get an entity with invalid id Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -14,7 +14,7 @@ Test Template Get Entity With Invalid Id *** Keywords *** Get Entity With Invalid Id - [Documentation] Check that you cannot get an entity with invalid/missing id + [Documentation] Check that one cannot get an entity with invalid/missing id [Tags] e-retrieve 5_7_1 [Arguments] ${entity_id} ${expected_status_code} ${problem_type} ${response}= Query Entity 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 c83b8661..70e93c78 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot 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 Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -12,7 +12,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** 018_03_01 Get an entity if the Entity Id is not known to the system - [Documentation] Check that you cannot get an entity if the entity id or attributes are not known to the system + [Documentation] Check that one cannot get an entity if the entity id or attributes are not known to the system [Tags] e-retrieve 5_7_1 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${response}= Query Entity 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 a456aa68..97a35124 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 @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot 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 Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -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 - [Documentation] Check that you cannot 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 ${entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${entity_id} 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 1b7834dc..314cbf35 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_07.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/RetrieveEntity/018_07.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve an entity using Language Filter +Documentation Check that one can retrieve an entity using Language Filter Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -39,7 +39,7 @@ ${filename}= building-language-property-sample.jsonld *** Keywords *** Retrieve Entity With Language Filter - [Documentation] Check that you can retrieve an entity using Language Filter + [Documentation] Check that one can retrieve an entity using Language Filter [Arguments] ${language_filter} ${options} ${expectation_filename} ${response}= Query Entity ... id=${entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_01.robot index e7e0f174..1c08596b 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query the temporal evolution of entities +Documentation Check that one can query the temporal evolution of entities Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -30,7 +30,7 @@ ${bus_payload_file}= 2020-08-bus-temporal-representation-sample.j *** Keywords *** Query the temporal evolution of entities - [Documentation] Check that you can query the temporal evolution of entities + [Documentation] Check that one can query the temporal evolution of entities [Arguments] ${timerel} ${timeat} ${expectation_file} ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle ${response}= Query Temporal Representation Of Entities 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 2ede1332..91b5c64d 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query the temporal evolution of certain attributes of entities +Documentation Check that one can query the temporal evolution of certain attributes of entities Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -19,7 +19,7 @@ ${expectation_file}= vehicles-temporal-representation-021-02-expe *** Test Cases *** 021_02_01 Query the temporal evolution of certain attributes of entities - [Documentation] Check that you can 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 ${temporal_attributes_to_be_retrieved}= Catenate SEPARATOR=, speed 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 003a6594..4d8e3885 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can 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 Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -19,7 +19,7 @@ ${expectation_file}= vehicles-temporal-representation-021-03-expe *** Test Cases *** 021_03_01 Query the temporal evolution of the last N instances of entities attributes - [Documentation] Check that you can 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 ${response}= Query Temporal Representation Of Entities 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 4ddd9113..57817f32 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query the temporal evolution of entities using a context +Documentation Check that one can query the temporal evolution of entities using a context Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -19,7 +19,7 @@ ${expectation_file}= vehicles-temporal-representation-021-04-expe *** Test Cases *** 021_04_01 Query the temporal evolution of entities using a context - [Documentation] Check that you can 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 ${response}= Query Temporal Representation Of Entities 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 8ecc5c83..b9c607ce 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can 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) Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -20,7 +20,7 @@ ${expectation_file}= vehicles-temporal-representation-021-05-expectation. *** Test Cases *** 021_05_01 Query the temporal evolution of entities matching the given type(s) - [Documentation] Check that you can 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 ${response}= Query Temporal Representation Of Entities 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 90d282ed..1abc4825 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_06.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_06.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can 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) Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -19,7 +19,7 @@ ${expectation_file}= vehicles-temporal-representation-021-06-expe *** Test Cases *** 021_06_01 Query the temporal evolution of entities matching the given identifier(s) - [Documentation] Check that you can 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 ${entity_ids_to_be_retrieved}= Catenate SEPARATOR=, ${first_temporal_entity_representation_id} 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 77e54de9..a937da61 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_07.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_07.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can 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 Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -19,7 +19,7 @@ ${expectation_file}= vehicles-temporal-representation-021-07-expe *** Test Cases *** 021_07_01 Query the temporal evolution of entities matching the given id pattern - [Documentation] Check that you can 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 ${response}= Query Temporal Representation Of Entities 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 4e97c76f..7dec5616 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_08.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_08.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can 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 Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -19,7 +19,7 @@ ${expectation_file}= vehicles-temporal-representation-021-08-expe *** Test Cases *** 021_08_01 Query the temporal evolution of entities matching the given NGSI-LD query - [Documentation] Check that you can 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 ${response}= Query Temporal Representation Of Entities diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_09.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_09.robot index 64d4b253..0c2a0f23 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_09.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_09.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query the temporal evolution of entities matching the given NGSI-LD geo-query +Documentation Check that one can query the temporal evolution of entities matching the given NGSI-LD geo-query Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -29,7 +29,7 @@ ${expectation_file}= vehicles-temporal-representation-021-09-expe *** Keywords *** Query the temporal evolution of entities matching the given NGSI-LD geo-query - [Documentation] Check that you can query the temporal evolution of entities matching the given NGSI-LD geo-query + [Documentation] Check that one can query the temporal evolution of entities matching the given NGSI-LD geo-query [Arguments] ${georel} ${geometry} ${coordinates} ${geoproperty} ${expectation_file} ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle ${response}= Query Temporal Representation Of Entities diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_10.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_10.robot index a9431ab7..0a90bcfa 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_10.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_10.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query the temporal evolution of entities matching the given NGSI-LD Context Source filter +Documentation Check that one can query the temporal evolution of entities matching the given NGSI-LD Context Source filter Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -19,7 +19,7 @@ ${context_source_url}= http://${context_source_ *** Test Cases *** 021_10_01 Query the temporal evolution of entities matching the given NGSI-LD context source filter - [Documentation] Check that you can query the temporal evolution of entities matching the given NGSI-LD Context Source filter + [Documentation] Check that one can query the temporal evolution of entities matching the given NGSI-LD Context Source filter [Tags] te-query 5_7_4 ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Building ${response}= Query Temporal Representation Of Entities 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 1d35165e..f373dd13 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_11.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_11.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query the temporal evolution of entities with a limit to the number of entities to be retrieved +Documentation Check that one can query the temporal evolution of entities with a limit to the number of entities to be retrieved Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -28,7 +28,7 @@ ${second_vehicle_payload_file}= 2020-09-vehicule-temporal-representation-sam *** Keywords *** Query the temporal evolution of entities with a limit to the number of entities to be retrieved - [Documentation] Check that you can query the temporal evolution of entities with a limit to the number of entities to be retrieved + [Documentation] Check that one can query the temporal evolution of entities with a limit to the number of entities to be retrieved [Arguments] ${limit} ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Bus,Vehicle ${response}= Query Temporal Representation Of Entities 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 ed4e9148..0c8be253 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_12.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_12.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot query the temporal evolution of entities with an invalid request or invalid request content +Documentation Check that one cannot query the temporal evolution of entities with an invalid request or invalid request content Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -17,7 +17,7 @@ ${vehicle_payload_file}= 2020-08-vehicule-temporal-representation-sample.json *** Test Cases *** 021_12_01 Query the temporal evolution of entities with an invalid request - [Documentation] Check that you cannot 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 ... timerel=after diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_13.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_13.robot index b90c2fc6..a33e3115 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_13.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_13.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query the temporal evolution of entities using the entityOperations method +Documentation Check that one can query the temporal evolution of entities using the entityOperations method Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -28,7 +28,7 @@ ${second_vehicle_payload_file}= 2020-09-vehicule-temporal-representation-sam *** Keywords *** Query the temporal evolution of entities using the entityOperations method - [Documentation] Check that you can query the temporal evolution of entities using the entityOperations method + [Documentation] Check that one can query the temporal evolution of entities using the entityOperations method [Arguments] ${payload_file} ${expectation_file} ${response}= Query Temporal Representation Of Entities Via Post ... query_file_name=${payload_file} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_14.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_14.robot index d18dd087..ed2488f2 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_14.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities/021_14.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query the temporal evolution of entities with the simplified representation +Documentation Check that one can query the temporal evolution of entities with the simplified representation Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -30,7 +30,7 @@ ${bus_payload_file}= 2020-08-bus-temporal-representation-sample.j *** Keywords *** Query the temporal evolution of entities - [Documentation] Check that you can query the temporal evolution of entities with the simplified representation + [Documentation] Check that one can query the temporal evolution of entities with the simplified representation [Arguments] ${timerel} ${timeat} ${expectation_file} ${entity_types_to_be_retrieved}= Catenate SEPARATOR=, Vehicle ${response}= Query Temporal Representation Of Entities 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 4fc7fb12..5ad471d5 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve the temporal evolution of an entity +Documentation Check that one can retrieve the temporal evolution of an entity Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -18,7 +18,7 @@ ${vehicle_expectation_file}= vehicle-temporal-representation-020-01-expectati *** Test Cases *** 020_01_01 Retrieve the temporal evolution of an entity - [Documentation] Check that you can 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 ... temporal_entity_representation_id=${temporal_entity_representation_id} 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 359e26e0..acdd9fe5 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can 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 Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -18,7 +18,7 @@ ${vehicle_expectation_file}= vehicle-temporal-representation-020-02-expectati *** Test Cases *** 020_02_01 Retrieve the temporal evolution of an entity using a context - [Documentation] Check that you can 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 ... temporal_entity_representation_id=${temporal_entity_representation_id} 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 74f48620..8c75629c 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve the temporal evolution of certain attributes of an entity +Documentation Check that one can retrieve the temporal evolution of certain attributes of an entity Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -18,7 +18,7 @@ ${vehicle_expectation_file}= vehicle-temporal-representation-020-03-expectati *** Test Cases *** 020_03_01 Retrieve the temporal evolution of certain attributes of an entity - [Documentation] Check that you can retrieve the temporal evolution of certain attributes of an entity + [Documentation] Check that one can retrieve the temporal evolution of certain attributes of an entity [Tags] te-retrieve 5_7_3 @{temporal_attributes_to_be_retrieved}= Create List fuelLevel ${response}= Retrieve Temporal Representation Of Entity diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_04.robot index 4b7be9bb..8b01da92 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve the temporal evolution of an entity matching the given NGSI-LD temporal query +Documentation Check that one can retrieve the temporal evolution of an entity matching the given NGSI-LD temporal query Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -30,7 +30,7 @@ ${vehicle_payload_file}= 2020-08-vehicule-temporal-representation-sample.json *** Keywords *** Retrieve the temporal evolution of an entity matching the given NGSI-LD temporal query - [Documentation] Check that you can retrieve the temporal evolution of an entity matching the given NGSI-LD temporal query + [Documentation] Check that one can retrieve the temporal evolution of an entity matching the given NGSI-LD temporal query [Arguments] ${timerel} ${timeat} ${endtimeat} ${vehicle_expectation_file} ${response}= Retrieve Temporal Representation Of Entity ... temporal_entity_representation_id=${temporal_entity_representation_id} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_05.robot index 6e18ef82..9375ae08 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve the temporal evolution of the last N instances of entity attributes +Documentation Check that one can retrieve the temporal evolution of the last N instances of entity attributes Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -27,7 +27,7 @@ ${vehicle_payload_file}= 2020-08-vehicule-temporal-representation-multiple-in *** Keywords *** Retrieve the temporal evolution of the last N instances of entity attributes - [Documentation] Check that you can retrieve the temporal evolution of the last N instances of entity attributes + [Documentation] Check that one can retrieve the temporal evolution of the last N instances of entity attributes [Arguments] ${lastn} ${vehicle_expectation_file} ${response}= Retrieve Temporal Representation Of Entity ... temporal_entity_representation_id=${temporal_entity_representation_id} 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 1bf372e6..29c59367 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_06.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_06.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot retrieve the temporal evolution of an entity with an invalid id (invalid URI) +Documentation Check that one cannot retrieve the temporal evolution of an entity with an invalid id (invalid URI) Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** 020_06_01 Retrieve the temporal evolution of an entity with an invalid id - [Documentation] Check that you cannot retrieve the temporal evolution of an entity with an invalid id (invalid URI) + [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 ... temporal_entity_representation_id=invalidUri 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 7983fff0..f62ae357 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_07.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_07.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot retrieve the temporal evolution of a non-existing entity +Documentation Check that one cannot retrieve the temporal evolution of a non-existing entity Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** 020_07_01 Retrieve the temporal evolution of a non-existing entity - [Documentation] Check that you cannot 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 ... temporal_entity_representation_id=urn:ngsi-ld:Vehicle:unknowEntity 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 411ea56b..29374deb 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_08.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_08.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot retrieve the temporal evolution of non-existing entity attributes +Documentation Check that one cannot retrieve the temporal evolution of non-existing entity attributes Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -17,7 +17,7 @@ ${vehicle_payload_file}= 2020-08-vehicule-temporal-representation-sample.json *** Test Cases *** 020_08_01 Retrieve the temporal evolution of non-existing entity attributes - [Documentation] Check that you cannot 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 ${response}= Retrieve Temporal Representation Of Entity diff --git a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_09.robot b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_09.robot index 466b4181..9c4200fb 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_09.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_09.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot retrieve the temporal evolution of an entity with an invalid request content +Documentation Check that one cannot retrieve the temporal evolution of an entity with an invalid request content Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -30,7 +30,7 @@ ${vehicle_payload_file}= 2020-08-vehicule-temporal-representation-sample.json *** Keywords *** Retrieve the temporal evolution of an entity with an invalid request content - [Documentation] Check that you cannot retrieve the temporal evolution of an entity with an invalid request content + [Documentation] Check that one cannot retrieve the temporal evolution of an entity with an invalid request content [Arguments] ${timerel} ${timeat} ${endtimeat} ${response}= Retrieve Temporal Representation Of Entity ... temporal_entity_representation_id=${temporal_entity_representation_id} 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 17298e70..c549ec1d 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_10.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_10.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can 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 Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -18,7 +18,7 @@ ${vehicle_expectation_file}= vehicle-temporal-representation-020-10-expectati *** Test Cases *** 020_10_01 Retrieve the temporal evolution of an entity with the simplified temporal representation - [Documentation] Check that you can 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 ${response}= Retrieve Temporal Representation Of Entity 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 1e62d5f4..b4c20e90 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_11.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_11.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve the temporal evolution of an entity with the aggregated temporal representation +Documentation Check that one can retrieve the temporal evolution of an entity with the aggregated temporal representation Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -33,7 +33,7 @@ ${vehicle_payload_file}= 2020-08-vehicule-temporal-representation-sample.json *** Keywords *** Retrieve the temporal evolution of an entity with the aggregated temporal representation - [Documentation] Check that you can retrieve the temporal evolution of an entity with the aggregated temporal representation + [Documentation] Check that one can retrieve the temporal evolution of an entity with the aggregated temporal representation [Arguments] ${aggrmethods} ${aggrperiodduration} ${attrs} ${vehicle_expectation_file} @{options}= Create List aggregatedValues ${response}= Retrieve Temporal Representation Of Entity 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 61bdf8df..8bfa8d24 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_12.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity/020_12.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve the temporal evolution of an entity with a LanguageProperty property +Documentation Check that one can retrieve the temporal evolution of an entity with a LanguageProperty property Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource @@ -27,7 +27,7 @@ ${vehicle_payload_file}= vehicle-language-property-temporal-representation-sa *** Keywords *** Retrieve Temporal Entity - [Documentation] Check that you can retrieve the temporal evolution of an entity with a LanguageProperty property + [Documentation] Check that one can retrieve the temporal evolution of an entity with a LanguageProperty property [Arguments] ${representation} ${expectation_filename} ${response}= Retrieve Temporal Representation Of Entity ... temporal_entity_representation_id=${temporal_entity_representation_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_01.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_01.robot index 477e7f90..d6b9ac5f 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a batch of entities +Documentation Check that one can create a batch of entities Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -31,7 +31,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Keywords *** Batch Create Entity Scenarios - [Documentation] Check that you can create a batch of entities + [Documentation] Check that one can create a batch of entities [Arguments] ${filename} ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${second_entity_id}= Generate Random Entity Id ${building_id_prefix} 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 5a23e2ec..a9362c81 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a batch of entities where some will succeed and others will fail +Documentation Check that one can create a batch of entities where some will succeed and others will fail Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -16,7 +16,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** 003_02_01 Create a batch of two valid entities and one invalid entity - [Documentation] Check that you can 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 Entity Id ${building_id_prefix} Set Suite Variable ${first_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_03.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_03.robot index 97507d6f..dfa686db 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a batch of entities with an invalid request +Documentation Check that one cannot create a batch of entities with an invalid request Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -18,7 +18,7 @@ Test Template Create Batch Entity With Invalid Request Scenarios *** Keywords *** Create Batch Entity With Invalid Request Scenarios - [Documentation] Check that you cannot create a batch of entities with an invalid request + [Documentation] Check that one cannot create a batch of entities with an invalid request [Arguments] ${filename} ${problem_type} ${response}= Batch Request Entities From File create filename=${filename} Check Response Status Code 400 ${response.status_code} 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 b7551d9f..996b2fd1 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_04.robot @@ -31,7 +31,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: ${response1}= Retrieve Entity by Id ... id=${entity_id} ... context=${ngsild_test_suite_context} - # Attribute should be compacted as we used the same context as provided when creating the entity + # Attribute should be compacted as one used the same context as provided when creating the entity Check Response Body Containing an Attribute set to ... expected_attribute_name=almostFull ... response_body=${response1.json()} @@ -52,7 +52,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: ${response1}= Retrieve Entity by Id ... id=${entity_id} - # Attribute should not be compacted as we did not provide a context containing this attribute + # Attribute should not be compacted as one did not provide a context containing this attribute Check Response Body Containing an Attribute set to ... expected_attribute_name=https://ngsi-ld-test-suite/context#almostFull ... response_body=${response1.json()} 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 b1d934a7..a449532b 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_05.robot @@ -26,7 +26,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: Check Response Status Code 201 ${response.status_code} ${response1}= Retrieve Entity by Id id=${entity_id} - # Attribute should be compacted as we used the same default context as provided when creating the entity + # Attribute should be compacted as one used the same default context as provided when creating the entity Check Response Body Containing an Attribute set to ... expected_attribute_name=almostFull ... response_body=${response1.json()} @@ -43,7 +43,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: Check Response Status Code 201 ${response.status_code} ${response1}= Retrieve Entity by Id id=${entity_id} context=${ngsild_test_suite_context} - # Attribute should not be compacted as we did not provide a context containing this term + # Attribute should not be compacted as one did not provide a context containing this term Check Response Body Containing an Attribute set to ... expected_attribute_name=ngsi-ld:default-context/almostFull ... response_body=${response1.json()} 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 d48a7437..f88f8734 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_07.robot @@ -15,7 +15,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** 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 we used the same context as provided when creating the entity + [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 Entity Id ${building_id_prefix} Set Test Variable ${entity_id} @@ -26,13 +26,13 @@ ${building_id_prefix}= urn:ngsi-ld:Building: ${response1}= Retrieve Entity by Id ... id=${entity_id} ... context=${ngsild_test_suite_context} - # Attribute should be compacted as we used the same context as provided when creating the entity + # Attribute should be compacted as one used the same context as provided when creating the entity Check Response Body Containing an Attribute set to ... 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 - [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 we did not provide a context containing this term + [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 Entity Id ${building_id_prefix} Set Test Variable ${entity_id} @@ -42,7 +42,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: Check Response Status Code 201 ${response.status_code} ${response1}= Retrieve Entity by Id ... id=${entity_id} - # Attribute should not be compacted as we did not provide a context containing this term + # Attribute should not be compacted as one did not provide a context containing this term Check Response Body Containing an Attribute set to ... expected_attribute_name=https://ngsi-ld-test-suite/context#almostFull ... response_body=${response1.json()} 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 b719a9a3..72ffd6d8 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_10.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_10.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a batch of entities where two have the same id +Documentation Check that one can create a batch of entities where two have the same id Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -15,7 +15,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** 003_10_01 Create a batch of three valid entities where two have the same id - [Documentation] Check that you can create a batch of 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 since_v1.5.1 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${first_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 fa8104d9..0858a198 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can delete a batch of entities +Documentation Check that one can delete a batch of entities Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -15,7 +15,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** 006_01_01 Delete a batch of entities - [Documentation] Check that you can 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} Check Response Status Code 204 ${response.status_code} 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 c532ce2a..a7a21efb 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can delete a batch of entities where some will succeed and others will fail +Documentation Check that one can delete a batch of entities where some will succeed and others will fail Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -15,7 +15,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** 006_02_01 Delete a batch of non-existing and existing entities - [Documentation] Check that you can 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 Entity Id ${building_id_prefix} @{entities_ids_to_be_deleted}= Create List ${existing_entity_id} ${new_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_03.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_03.robot index 9b9d913a..365d4757 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete a batch of entities with an invalid request +Documentation Check that one cannot delete a batch of entities with an invalid request Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -18,7 +18,7 @@ Test Template Batch Delete Entity With Invalid Request Scenarios *** Keywords *** Batch Delete Entity With Invalid Request Scenarios - [Documentation] Check that you cannot delete a batch of entities with an invalid request + [Documentation] Check that one cannot delete a batch of entities with an invalid request [Arguments] ${filename} ${problem_type} ${response}= Batch Request Entities From File delete filename=${filename} Check Response Status Code 400 ${response.status_code} 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 2f550a03..6bc4a30d 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/DeleteBatchOfEntities/006_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can delete a batch of entities with the same id +Documentation Check that one can delete a batch of entities with the same id Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -15,7 +15,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** 006_04_01 Delete a batch of existing entities with the same id - [Documentation] Check that you can delete a batch entities with the same id + [Documentation] Check that one can delete a batch entities with the same id [Tags] be-delete 5_6_10 since_v1.5.1 ${new_entity_id}= Generate Random Entity Id ${building_id_prefix} @{entities_ids_to_be_deleted}= Create List ${entity_id} ${entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_01.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_01.robot index 01350e4a..96a32044 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a batch of entities +Documentation Check that one can update a batch of entities Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -30,7 +30,7 @@ ${entity_payload_filename}= building-simple-attributes-sample.jsonld *** Keywords *** Batch Update Entity Scenarios - [Documentation] Check that you can update a batch of entities + [Documentation] Check that one can update a batch of entities [Arguments] ${filename} ${update_fragment_filename} ${first_entity}= Load Entity ${filename} ${first_entity_id} ${second_entity}= Load Entity ${filename} ${second_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_02.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_02.robot index 20d9603e..46ae55f4 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a batch of entities with noOverwrite option +Documentation Check that one can update a batch of entities with noOverwrite option Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -30,7 +30,7 @@ ${entity_payload_filename}= building-simple-attributes-sample.jsonld *** Keywords *** Batch Update Entity With NoOverwrite Option Scenarios - [Documentation] Check that you can update a batch of entities with noOverwrite option + [Documentation] Check that one can update a batch of entities with noOverwrite option [Arguments] ${filename} ${update_fragment_filename} ${expected_status} ${first_entity}= Load Entity ${filename} ${first_entity_id} ${second_entity}= Load Entity ${filename} ${second_entity_id} 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 3e22a340..02fe8b83 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a batch of entities where some will succeed and others will fail +Documentation Check that one can update a batch of entities where some will succeed and others will fail Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -18,7 +18,7 @@ ${update_fragment_filename}= fragmentEntities/simple-attributes-relationship- *** Test Cases *** 005_03_01 Update a batch of non-existing and existing entities - [Documentation] Check that you can 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 ... building-relationship-of-property-sample.jsonld diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_04.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_04.robot index cd78f72b..8a183135 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update a batch of entities with an invalid request +Documentation Check that one cannot update a batch of entities with an invalid request Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -18,7 +18,7 @@ Test Template Batch Update Entity With Invalid Request Scenarios *** Keywords *** Batch Update Entity With Invalid Request Scenarios - [Documentation] Check that you cannot update a batch of entities with an invalid request + [Documentation] Check that one cannot update a batch of entities with an invalid request [Arguments] ${filename} ${problem_type} ${response}= Batch Request Entities From File update filename=${filename} Check Response Status Code 400 ${response.status_code} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_01.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_01.robot index 575f1c52..f3605ba9 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can upsert a batch of non-existing entities and they will be created +Documentation Check that one can upsert a batch of non-existing entities and they will be created Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -28,7 +28,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Keywords *** Batch Upsert Entity Scenarios - [Documentation] Check that you can upsert a batch of non-existing entities + [Documentation] Check that one can upsert a batch of non-existing entities [Arguments] ${filename} ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${second_entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_02.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_02.robot index c0f99081..ca888974 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can upsert a batch of non-existing and existing entities where non-existing will be created and existing will be replaced +Documentation Check that one can upsert a batch of non-existing and existing entities where non-existing will be created and existing will be replaced Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -28,7 +28,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Keywords *** Batch Upsert Non-existing And Existing Entities Scenarios - [Documentation] Check that you can upsert a batch of non-existing and existing entities + [Documentation] Check that one can upsert a batch of non-existing and existing entities [Arguments] ${filename} Setup Initial Entities ${filename} ${response}= Batch Upsert Entities @{entities_to_be_upserted} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_03.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_03.robot index cd69a975..78c6d316 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can upsert a batch of existing entities and they will be replaced +Documentation Check that one can upsert a batch of existing entities and they will be replaced Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -29,7 +29,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Keywords *** Batch Upsert Existing Entities Scenarios - [Documentation] Check that you can upsert a batch of existing entities + [Documentation] Check that one can upsert a batch of existing entities [Arguments] ${filename} ${first_existing_entity}= Load Entity ${filename} ${first_existing_entity_id} ${second_existing_entity}= Load Entity ${filename} ${second_existing_entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_04.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_04.robot index 373c711c..0776bdd7 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can upsert a batch of entities with update option +Documentation Check that one can upsert a batch of entities with update option Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -30,7 +30,7 @@ ${existing_entity_payload_filename}= building-minimal-sample.jsonld *** Keywords *** Batch Upsert Entities With Update Option Scenarios - [Documentation] Check that you can upsert a batch of entities with update option + [Documentation] Check that one can upsert a batch of entities with update option [Arguments] ${filename} ${update_fragment_filename} ${new_entity_id}= Generate Random Entity Id ${building_id_prefix} Set Test Variable ${new_entity_id} 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 d3261d04..9d38256b 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can upsert a batch of entities where some will succeed and others will fail +Documentation Check that one can upsert a batch of entities where some will succeed and others will fail Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -15,7 +15,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** 004_05_01 Upsert a batch of two valid entities and one invalid entity - [Documentation] Check that you can 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 Entity Id ${building_id_prefix} ${second_entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot index 94aa31b9..4d8211e6 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot upsert a batch of entities with an invalid request +Documentation Check that one cannot upsert a batch of entities with an invalid request Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -18,7 +18,7 @@ Test Template Batch Upsert Entity With Invalid Request Scenarios *** Keywords *** Batch Upsert Entity With Invalid Request Scenarios - [Documentation] Check that you cannot upsert a batch of entities with an invalid request + [Documentation] Check that one cannot upsert a batch of entities with an invalid request [Arguments] ${filename} ${problem_type} ${response}= Batch Request Entities From File upsert filename=${filename} Check Response Status Code 400 ${response.status_code} 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 16090b79..943666e9 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_07.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can upsert a batch of entities where two have the same id +Documentation Check that one can upsert a batch of entities where two have the same id Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -15,7 +15,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** 004_07_01 Upsert a batch of three valid entities where two have the same id - [Documentation] Check that you can upsert a batch of 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 since_v1.5.1 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${second_entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_01.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_01.robot index 1e500b95..a164793e 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create an entity +Documentation Check that one can create an entity Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -31,7 +31,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Keywords *** Create Entity Scenarios - [Documentation] Check that you can create an entity + [Documentation] Check that one can create an entity [Arguments] ${filename} ${content_type} ${entity_id}= Generate Random Entity Id ${building_id_prefix} Set Test Variable ${entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_02.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_02.robot index 74a2e46f..03c4f2ef 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create an entity with an invalid request +Documentation Check that one cannot create an entity with an invalid request Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -21,7 +21,7 @@ Test Template Create Entity With Invalid Request Scenarios *** Keywords *** Create Entity With Invalid Request Scenarios - [Documentation] Check that you cannot create an entity with an invalid request + [Documentation] Check that one cannot create an entity with an invalid request [Arguments] ${filename} ${error_type} ${response}= Create Entity From File ${filename} Check Response Status Code 400 ${response.status_code} 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 c1481b61..a87fc5f2 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create an entity with an existing id +Documentation Check that one cannot create an entity with an existing id Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ ${content_type}= application/ld+json *** Test Cases *** 001_03_01 Create one valid entity and one invalid entity - [Documentation] Check that you cannot create an entity with an existing id + [Documentation] Check that one cannot create an entity with an existing id [Tags] e-create 5_6_1 ${entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${entity_id} 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 d212101b..8badd392 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_04.robot @@ -26,7 +26,7 @@ ${filename}= building-simple-attributes-sample.json ... ${CONTENT_TYPE_JSON} ... context=${ngsild_test_suite_context} ${response1}= Retrieve Entity by Id id=${entity_id} context=${ngsild_test_suite_context} - # Attribute should be compacted as we used the same context as provided when creating the entity + # Attribute should be compacted as one used the same context as provided when creating the entity Check Response Body Containing an Attribute set to ... expected_attribute_name=almostFull ... response_body=${response1.json()} @@ -42,7 +42,7 @@ ${filename}= building-simple-attributes-sample.json ... ${CONTENT_TYPE_JSON} ... context=${ngsild_test_suite_context} ${response1}= Retrieve Entity by Id id=${entity_id} - # Attribute should not be compacted as we did not provide a context containing this term + # Attribute should not be compacted as one did not provide a context containing this term Check Response Body Containing an Attribute set to ... expected_attribute_name=https://ngsi-ld-test-suite/context#almostFull ... response_body=${response1.json()} 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 6105b77a..375fd6aa 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_05.robot @@ -22,7 +22,7 @@ ${filename}= building-simple-attributes-sample.json Set Suite Variable ${entity_id} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_JSON} ${response1}= Retrieve Entity by Id id=${entity_id} - # Attribute should be compacted as we used the same default context as provided when creating the entity + # Attribute should be compacted as one used the same default context as provided when creating the entity Check Response Body Containing an Attribute set to ... expected_attribute_name=almostFull ... response_body=${response1.json()} @@ -37,7 +37,7 @@ ${filename}= building-simple-attributes-sample.json ... id=${entity_id} ... accept=${CONTENT_TYPE_JSON} ... context=${ngsild_test_suite_context} - # Attribute should not be compacted as we did not provide a context containing this term + # Attribute should not be compacted as one did not provide a context containing this term Check Response Body Containing an Attribute set to ... expected_attribute_name=ngsi-ld:default-context/almostFull ... response_body=${response1.json()} 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 09805dce..eb74295b 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_07.robot @@ -22,7 +22,7 @@ ${filename}= building-simple-attributes-sample.jsonld Set Suite Variable ${entity_id} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response1}= Retrieve Entity by Id id=${entity_id} context=${ngsild_test_suite_context} - # Attribute should be compacted as we used the same context as provided when creating the entity + # Attribute should be compacted as one used the same context as provided when creating the entity Check Response Body Containing an Attribute set to ... expected_attribute_name=almostFull ... response_body=${response1.json()} @@ -34,7 +34,7 @@ ${filename}= building-simple-attributes-sample.jsonld Set Suite Variable ${entity_id} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response1}= Retrieve Entity by Id id=${entity_id} - # Attribute should not be compacted as we did not provide a context containing this term + # Attribute should not be compacted as one did not provide a context containing this term Check Response Body Containing an Attribute set to ... expected_attribute_name=https://ngsi-ld-test-suite/context#almostFull ... response_body=${response1.json()} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_10.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_10.robot index f038a369..a73e3b8a 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_10.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_10.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create an entity with a LanguageProperty property +Documentation Check that one can create an entity with a LanguageProperty property Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -22,7 +22,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Keywords *** Create Entity Scenarios - [Documentation] Check that you can create an entity with a LanguageProperty property + [Documentation] Check that one can create an entity with a LanguageProperty property [Arguments] ${filename} ${content_type} ${entity_id}= Generate Random Entity Id ${building_id_prefix} Set Test Variable ${entity_id} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_11.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_11.robot index 46f0cb87..d527be3d 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_11.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_11.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create an entity with one or more scopes +Documentation Check that one can create an entity with one or more scopes Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -25,7 +25,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Keywords *** Create Entity Scenarios - [Documentation] Check that you can create an entity with one or more scopes + [Documentation] Check that one can create an entity with one or more scopes [Arguments] ${filename} ${content_type} ${entity_id}= Generate Random Entity Id ${building_id_prefix} Set Test Variable ${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 0746a6a2..8705306c 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can delete an entity by id +Documentation Check that one can delete an entity by id Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -13,7 +13,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** 002_01_01 Delete an entity - [Documentation] Check that you can delete an entity by id + [Documentation] Check that one can delete an entity by id [Tags] e-delete 5_6_6 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${response}= Create Entity Selecting Content Type 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 7822ceae..ce23482c 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete an entity with invalid/missing id +Documentation Check that one cannot delete an entity with invalid/missing id Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -19,7 +19,7 @@ Test Template Delete Entity Scenarios *** Keywords *** Delete Entity Scenarios - [Documentation] Check that you cannot delete an entity with invalid/missing id + [Documentation] Check that one cannot delete an entity with invalid/missing id [Arguments] ${entity_id} ${expected_status_code} ${problem_type} ${response}= Delete Entity by Id ${entity_id} Check Response Status Code ${expected_status_code} ${response.status_code} 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 e057e68e..f872c907 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete an entity if the entity id is not known to the system +Documentation Check that one cannot delete an entity if the entity id is not known to the system Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -13,7 +13,7 @@ ${expected_status_code}= 404 *** Test Cases *** 002_03_01 Delete an entity with an id not known to the system - [Documentation] Check that you cannot delete an entity if the entity id is 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 Entity Id ${building_id_prefix} ${response}= Delete Entity by Id ${entity_id} 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 92f682aa..1a1c9c92 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can append entity attributes +Documentation Check that one can append entity attributes Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -27,7 +27,7 @@ ${filename}= vehicle-speed-two-datasetid-sample.jsonld *** Keywords *** Append Attributes Without Params - [Documentation] Check that you can append entity attributes + [Documentation] Check that one can append entity attributes [Arguments] ${status_code} ${fragment_filename} ${expectation_filename} ${response}= Append Entity Attributes ${entity_id} ${fragment_filename} ${CONTENT_TYPE_LD_JSON} Check Response Status Code ${status_code} ${response.status_code} 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 dc002913..630a3ff4 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot append entity attributes with invalid/missing id or invalid request body +Documentation Check that one cannot append entity attributes with invalid/missing id or invalid request body Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -27,7 +27,7 @@ ${invalid_fragment_filename}= invalid-fragment.jsonld *** Keywords *** Append Attributes - [Documentation] Check that you cannot append entity attributes with invalid/missing id or invalid request body + [Documentation] Check that one cannot append entity attributes with invalid/missing id or invalid request body [Tags] ea-append 5_6_3 [Arguments] ${entity_invalid_id} ${response}= Append Entity Attributes ${entity_invalid_id} ${fragment_filename} ${CONTENT_TYPE_LD_JSON} 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 72ba2e55..659cfd22 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot append entity attributes if 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 Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -15,7 +15,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 - [Documentation] Check that you cannot append entity attributes if 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 Entity Id ${vehicle_id_prefix} Set Suite Variable ${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 81329392..17b358e7 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can append entity attributes +Documentation Check that one can append entity attributes Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource @@ -25,7 +25,7 @@ ${filename}= vehicle-speed-two-datasetid-sample.jsonld *** Keywords *** Append Attributes With Params - [Documentation] Check that you can append entity attributes + [Documentation] Check that one can append entity attributes [Tags] ea-append 5_6_3 [Arguments] ${status_code} ${fragment_filename} ${expectation_filename} ${response}= Append Entity Attributes With Parameters 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 81f4950f..7aa6734e 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot append entity attributes with invalid/missing id or invalid request body +Documentation Check that one cannot append entity attributes with invalid/missing id or invalid request body Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -19,7 +19,7 @@ ${invalid_fragment_filename}= invalid-fragment.jsonld *** Test Cases *** 010_05_01 Append entity attributes with invalid entity fragments - [Documentation] Check that you cannot 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 ... ${entity_id} 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 0a2628d0..b4e68831 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_06.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_06.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can append a LanguageProperty property to an entity +Documentation Check that one can append a LanguageProperty property to an entity Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -24,7 +24,7 @@ ${filename}= vehicle-speed-two-datasetid-sample.jsonld *** Keywords *** Append Attributes Without Params - [Documentation] Check that you can append a LanguageProperty property to an entity + [Documentation] Check that one can append a LanguageProperty property to an entity [Arguments] ${status_code} ${fragment_filename} ${expectation_filename} ${response}= Append Entity Attributes ${entity_id} ${fragment_filename} ${CONTENT_TYPE_LD_JSON} Check Response Status Code ${status_code} ${response.status_code} 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 42d37efb..4c2ab4e6 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_07.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_07.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can append a scope to an entity +Documentation Check that one can append a scope to an entity Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource 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 ee6c473e..bc2b343a 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can delete an attribute from an entity +Documentation Check that one can delete an attribute from an entity Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -28,7 +28,7 @@ ${attribute_id}= speed *** Keywords *** Delete Attributes - [Documentation] Check that you can delete an attribute from an entity + [Documentation] Check that one can delete an attribute from an entity [Tags] ea-delete 5_6_5 [Arguments] ${datasetId} ${deleteAll} ${expectation_filename} ${entity_id}= Generate Random Entity Id ${vehicle_id_prefix} 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 e3211328..363032da 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete an attribute from an entity with invalid/missing ids +Documentation Check that one cannot delete an attribute from an entity with invalid/missing ids Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -26,7 +26,7 @@ ${filename}= vehicle-two-datasetid-attributes-sample.jsonld *** Keywords *** Delete Attributes - [Documentation] Check that you cannot delete an attribute from an entity with invalid/missing ids + [Documentation] Check that one cannot delete an attribute from an entity with invalid/missing ids [Tags] ea-delete 5_6_5 [Arguments] ${entity_id} ${attribute_id} ${expected_status_code} ${response}= Delete Entity Attributes 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 22275754..2fe08d7e 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete an attribute from an entity with invalid/missing ids +Documentation Check that one cannot delete an attribute from an entity with invalid/missing ids Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -27,7 +27,7 @@ ${filename}= vehicle-two-datasetid-attributes-sample.jsonld *** Keywords *** Delete Attributes - [Documentation] Check that you cannot delete an attribute from an entity with invalid/missing ids + [Documentation] Check that one cannot delete an attribute from an entity with invalid/missing ids [Tags] ea-delete 5_6_5 [Arguments] ${entity_id} ${attribute_id} ${datasetId} ${response}= Delete Entity Attributes 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 a11d8d9a..df4b17f8 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute/013_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can delete a scope from an entity +Documentation Check that one can delete a scope from an entity Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -18,7 +18,7 @@ ${expectation_filename}= building-minimal-compacted-expectation.json *** Test Cases *** 013_04 Delete scope from an entity - [Documentation] Check that you can delete a 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 ... ${entity_id} 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 8f45de32..5a0b22a4 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can perform a partial update on an entity attribute +Documentation Check that one can perform a partial update on an entity attribute Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -18,15 +18,15 @@ ${status_code}= 204 *** Test Cases *** FRAGMENT_FILENAME ATTRIBUTE_ID EXPECTATION_FILENAME -012_01_01 Check that you can partially update an attribute +012_01_01 Check that one can partially update an attribute vehicle-isparked-fragment.jsonld isParked vehicle-isparked-update-expectation.jsonld -012_01_02 Check that you 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-expectation.jsonld *** Keywords *** Update Attributes - [Documentation] Check that you can perform a partial update on an entity attribute + [Documentation] Check that one can perform a partial update on an entity attribute [Tags] ea-partial-update 5_6_4 [Arguments] ${fragment_filename} ${attribute_id} ${expectation_filename} ${response}= Partial Update Entity Attributes 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 299a2f7b..11940056 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot perform a partial update on an entity attribute with invalid/missing ids +Documentation Check that one cannot perform a partial update on an entity attribute with invalid/missing ids Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -29,7 +29,7 @@ ${status_code}= 400 *** Keywords *** Update Attributes - [Documentation] Check that you cannot perform a partial update on an entity attribute with invalid/missing ids + [Documentation] Check that one cannot perform a partial update on an entity attribute with invalid/missing ids [Tags] ea-partial-update 5_6_4 [Arguments] ${entity_id} ${attribute_id} ${fragment_filename} ${response}= Partial Update Entity Attributes 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 411c751a..ade2e05b 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot perform a partial update on an entity attribute if the entity id or attribute is not known to the system +Documentation Check that one cannot perform a partial update on an entity attribute if the entity id or attribute is not known to the system Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -30,7 +30,7 @@ ${default_attr_id}= speed *** Keywords *** Partial Update Attributes - [Documentation] Check that you cannot perform a partial update on an entity attribute if the entity id or attribute is not known to the system + [Documentation] Check that one cannot perform a partial update on an entity attribute if the entity id or attribute is not known to the system [Tags] ea-partial-update 5_6_4 [Arguments] ${entity_id} ${attr_id} ${fragment_filename} ${response}= Partial Update Entity Attributes 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 5a4c7f9e..91620737 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/PartialAttributeUpdate/012_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can perform a partial update on a LanguageProperty property +Documentation Check that one can perform a partial update on a LanguageProperty property Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -18,14 +18,14 @@ ${status_code}= 204 *** Test Cases *** FRAGMENT_FILENAME ATTRIBUTE_ID EXPECTATION_FILENAME -012_04_01 Check that you 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-expectation.jsonld *** Keywords *** Update Attributes - [Documentation] Check that you can perform a partial update on a LanguageProperty property + [Documentation] Check that one can perform a partial update on a LanguageProperty property [Arguments] ${fragment_filename} ${attribute_id} ${expectation_filename} ${response}= Partial Update Entity Attributes ... entityId=${entity_id} 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 02f52ce5..f1377d4f 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update entity attributes +Documentation Check that one can update entity attributes Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource @@ -17,17 +17,17 @@ ${filename}= vehicle-two-datasetid-attributes-sample.jsonld *** Test Cases *** STATUS_CODE FRAGMENT_FILENAME EXPECTATION_RESPONSE_FILENAME EXPECTATION_FILENAME -011_01_01 Check that you 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 ${EMPTY} expectations/vehicle-update-attributes-expectation.jsonld -011_01_02 Check that you 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 ${EMPTY} expectations/vehicle-update-datasetid-attributes-expectation.jsonld -011_01_03 Check that you can update only some attributes while unknown are ignored +011_01_03 Check that one can update only some attributes while unknown are ignored 204 vehicle-speed-two-datasetid-03-fragment.jsonld ${EMPTY} expectations/vehicle-multi-attributes-expectation.jsonld *** Keywords *** Update Attributes - [Documentation] Check that you can update entity attributes + [Documentation] Check that one can update entity attributes [Tags] ea-update 5_6_2 [Arguments] ... ${status_code} 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 6cbe3811..09607dd0 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update entity attributes with invalid/missing id or invalid request body +Documentation Check that one cannot update entity attributes with invalid/missing id or invalid request body Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -23,7 +23,7 @@ ${vehicle_id_prefix}= urn:ngsi-ld:Vehicle: *** Keywords *** Update Attributes - [Documentation] Check that you cannot update entity attributes with invalid/missing id or invalid request body + [Documentation] Check that one cannot update entity attributes with invalid/missing id or invalid request body [Tags] ea-update 5_6_2 [Arguments] ${entity_invalid_id} ${fragment_filename} ${response}= Update Entity Attributes ${entity_invalid_id} ${fragment_filename} ${CONTENT_TYPE_LD_JSON} 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 936cce7d..3e825099 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update entity attributes if the entity id or attributes are 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 Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -15,7 +15,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 - [Documentation] Check that you cannot update entity attributes if the entity id or attributes are 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 Entity Id ${vehicle_id_prefix} Set Suite Variable ${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 241a0712..cffffe4a 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update entity attributes with invalid request body +Documentation Check that one cannot update entity attributes with invalid request body Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -21,7 +21,7 @@ ${filename}= vehicle-speed-two-datasetid-sample.jsonld *** Keywords *** Update entity attributes with invalid entity fragments - [Documentation] Check that you cannot update an attribute if the entity fragment is invalid + [Documentation] Check that one cannot update an attribute if the entity fragment is invalid [Tags] ea-update 5_6_2 [Arguments] ${filename} ${fragment_filename} ${response}= Update Entity Attributes 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 9f7f0f22..becf67af 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_05.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a scope in an entity +Documentation Check that one can update a scope in an entity Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationConsumption.resource 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 591c0d5a..6f17ab1e 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a temporal representation of an entity +Documentation Check that one can create a temporal representation of an entity Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource @@ -23,7 +23,7 @@ ${vehicle_id_prefix}= urn:ngsi-ld:Vehicle: *** Keywords *** Create Temporal Entity - [Documentation] Check that you can create a temporal representation of an entity + [Documentation] Check that one can create a temporal representation of an entity [Tags] te-create 5_6_11 [Arguments] ${filename} ${expectation_filename} ${content_type} ${temporal_entity_representation_id}= Generate Random Entity Id ${vehicle_id_prefix} 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 d9ced397..1d39a82f 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a temporal entity with an empty/invalid json/id +Documentation Check that one cannot create a temporal entity with an empty/invalid json/id Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -21,7 +21,7 @@ ${status_code}= 400 *** Keywords *** Create Temporal Entity From File - [Documentation] Check that you cannot create a temporal entity with an empty/invalid json/id + [Documentation] Check that one cannot create a temporal entity with an empty/invalid json/id [Tags] te-create 5_6_11 [Arguments] ${filename} ${response}= Create Temporal Representation Of Entity Selecting Content Type 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 a2104f09..71e721b2 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a temporal entity with an empty/invalid json/id +Documentation Check that one cannot create a temporal entity with an empty/invalid json/id Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -21,7 +21,7 @@ ${status_code}= 400 *** Keywords *** Create Temporal Entity - [Documentation] Check that you cannot create a temporal entity with an invalid @context + [Documentation] Check that one cannot create a temporal entity with an invalid @context [Tags] te-create 5_6_11 [Arguments] ${entity_id} ${filename} ${response}= Create Or Update Temporal Representation Of Entity Selecting Content Type 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 924ee1d3..e2cdf8ba 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can 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 Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource @@ -16,7 +16,7 @@ ${filename}= vehicle-temporal-representation-sample.jsonld *** Test Cases *** 009_01_01 Delete a temporal representation of an entity with simple temporal properties - [Documentation] Check that you can 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 ... ${temporal_entity_representation_id} 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 8e3a2cd6..2eb55336 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that an error is raised if you delete a temporal entity with an empty/invalid EntityId +Documentation Check that an error is raised if one deletes a temporal entity with an empty/invalid EntityId Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -21,7 +21,7 @@ ${vehicle_id_prefix}= urn:ngsi-ld:Vehicle: *** Keywords *** Delete Temporal Entity - [Documentation] Check that an error is raised if you delete a temporal entity with an empty/invalid EntityId + [Documentation] Check that an error is raised if one deletes a temporal entity with an empty/invalid EntityId [Tags] te-delete 5_6_16 [Arguments] ${id} ${expected_status_code} ${problem_type} ${response}= Delete Temporal Representation Of Entity With Returning Response ${id} 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 4ead807e..4f9b44bd 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/DeleteTemporalRepresentationOfEntity/009_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that an error is raised if you delete a temporal entity with a non-existing/invalid EntityId +Documentation Check that an error is raised if one deletes a temporal entity with a non-existing/invalid EntityId Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -13,7 +13,7 @@ ${status_code}= 404 *** Test Cases *** 009_03_01 Delete a temporal representation of an entity with an unknown entity id - [Documentation] Check that an error is raised if you delete a temporal entity with a non-existing 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 Entity Id ${vehicle_id_prefix} ${response}= Delete Temporal Representation Of Entity With Returning Response ${temporal_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 ce010f33..fe1d96f7 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/UpdateTemporalRepresentationOfEntity/008_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/UpdateTemporalRepresentationOfEntity/008_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can 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 Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource @@ -18,7 +18,7 @@ ${expectation_filename}= vehicle-temporal-representation-update-expectation.j *** Test Cases *** 008_01_01 Update a temporal representation of an entity with simple temporal properties - [Documentation] Check that you can 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 ${temporal_entity_representation_id}= Generate Random Entity Id ${vehicle_id_prefix} Set Suite Variable ${temporal_entity_representation_id} 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 e4c99ed4..0a219652 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can add a simple temporal attribute to a temporal representation of an entity +Documentation Check that one can add a simple temporal attribute to a temporal representation of an entity Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource @@ -18,7 +18,7 @@ ${expectation_filename}= vehicle-temporal-representation-added-attribute-expe *** Test Cases *** 014_01_01 Add an attribute to a temporal entity with simple temporal properties - [Documentation] Check that you can add a simple temporal attribute to a temporal representation of an entity + [Documentation] Check that one can add a simple temporal attribute to a temporal representation of an entity [Tags] tea-append 5_6_12 ${temporal_entity_representation_id}= Generate Random Entity Id ${vehicle_id_prefix} Set Suite Variable ${temporal_entity_representation_id} 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 70f62e50..bd73ea21 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that an error is raised if you add an attribute to a temporal entity with invalid content +Documentation Check that an error is raised if one adds an attribute to a temporal entity with invalid content Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -24,7 +24,7 @@ ${status_code}= 400 *** Keywords *** Add Attribute To Temporal Entity - [Documentation] Check that an error is raised if you add a temporal entity attribute with a non-existing/invalid EntityId + [Documentation] Check that an error is raised if one adds a temporal entity attribute with a non-existing/invalid EntityId [Tags] tea-append 5_6_12 [Arguments] ${id} ${temporal_entity_representation_id}= Generate Random Entity Id ${vehicle_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_03.robot b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_03.robot index c20cae2a..f667654f 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that an error is raised if you add an attribute to a non-existent entity +Documentation Check that an error is raised if one adds an attribute to a non-existent entity Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -17,7 +17,7 @@ ${status_code}= 404 *** Test Cases *** 014_03_01 Add Attribute To Temporal Entity - [Documentation] Check that an error is raised if you add an attribute to a non-existent entity + [Documentation] Check that an error is raised if one adds an attribute to a non-existent entity [Tags] tea-append 5_6_12 ${temporal_entity_representation_id}= Generate Random Entity Id ${vehicle_id_prefix} Set Suite Variable ${temporal_entity_representation_id} 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 ab6d9fcd..d525d4c6 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_04.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/AddAttributes/014_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that an error is raised if you add a temporal entity attribute with empty/invalid content +Documentation Check that an error is raised if one adds a temporal entity attribute with empty/invalid content Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -25,7 +25,7 @@ ${status_code}= 400 *** Keywords *** Add an Attribute To a Temporal Entity From File - [Documentation] Check that an error is raised if you add a temporal entity attribute with empty/invalid content + [Documentation] Check that an error is raised if one adds a temporal entity attribute with empty/invalid content [Tags] tea-append 5_6_12 [Arguments] ${update_filename} ${response}= Append Attribute To Temporal Entity 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 21369d45..e2da4a97 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can delete an attribute of a temporal representation of an entity with simple temporal properties +Documentation Check that one can delete an attribute of a temporal representation of an entity with simple temporal properties Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource @@ -29,7 +29,7 @@ ${attribute_id}= fuelLevel *** Keywords *** Delete Attribute From A Temporal Entity - [Documentation] Check that you can delete an attribute of a temporal representation of an entity with simple temporal properties + [Documentation] Check that one can delete an attribute of a temporal representation of an entity with simple temporal properties [Tags] tea-delete 5_6_13 [Arguments] ${delete_all} ${dataset_id} ${expectation_filename} ${response}= Delete Attribute From Temporal Entity 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 4fdefef4..fe31762b 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that an error is raised if you delete an attribute to temporal entity with an unknown/invalid Entity/Attribute Id +Documentation Check that an error is raised if one deletes an attribute to temporal entity with an unknown/invalid Entity/Attribute Id Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -27,7 +27,7 @@ ${filename}= vehicle-temporal-representation-sample.jsonld *** Keywords *** Delete attribute from temporal entity with unknow entity/attribute id - [Documentation] Check that an error is raised if you delete an attribute to temporal entity with an unknown/invalid Entity/Attribute Id + [Documentation] Check that an error is raised if one deletes an attribute to temporal entity with an unknown/invalid Entity/Attribute Id [Tags] tea-delete 5_6_13 [Arguments] ${entity_id} ${attribute_id} ${response}= Delete Attribute From Temporal Entity 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 cd7bc1b3..0353c87a 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttribute/015_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that an error is raised if you delete a temporal entity with an unknown EntityId/Attribute Id +Documentation Check that an error is raised if one deletes a temporal entity with an unknown EntityId/Attribute Id Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -25,7 +25,7 @@ ${status_code}= 404 *** Keywords *** Delete An Attribute - [Documentation] Check that an error is raised if you delete a temporal entity with an unknown EntityId/Attribute Id + [Documentation] Check that an error is raised if one deletes a temporal entity with an unknown EntityId/Attribute Id [Tags] tea-delete 5_6_13 [Arguments] ${entity_id} ${attribute_id} ${response}= Delete Attribute From Temporal Entity 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 bd579a64..252acc57 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can 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 Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource @@ -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 - [Documentation] Check that you can 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 ${temporal_entity_representation_id}= Generate Random Entity Id ${vehicle_id_prefix} Set Suite Variable ${temporal_entity_representation_id} 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 a62015a7..7f0eb277 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete an attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not right +Documentation Check that one cannot delete an attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not right Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource @@ -32,7 +32,7 @@ ${status_code}= 400 *** Keywords *** Delete attribute instance - [Documentation] Check that you cannot delete an attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not right + [Documentation] Check that one cannot delete an attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not right [Tags] tea-instance-delete 5_6_15 [Arguments] ${temporal_entity_id} ${attributeId} ${instanceId} ${response}= Delete Attribute Instance From Temporal Entity 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 bfe466ea..0f7bd6bc 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/DeleteAttributeInstance/017_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete an attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not right +Documentation Check that one cannot delete an attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not right Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource @@ -28,7 +28,7 @@ ${status_code}= 404 *** Keywords *** Delete An Attribute Instance - [Documentation] Check that you cannot delete an attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not found + [Documentation] Check that one cannot delete an attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not found [Tags] tea-instance-delete 5_6_15 [Arguments] ${temporal_entity_id} ${attributeId} ${instanceId} ${response}= Delete Attribute Instance From Temporal Entity 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 3d7eebc5..d968821a 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can modify an attribute instance in temporal representation of an entity +Documentation Check that one can modify an attribute instance in temporal representation of an entity Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource @@ -19,7 +19,7 @@ ${attributeId}= speed *** Test Cases *** 016_01_01 Modify attribute instance in temporal representation of an entity - [Documentation] Check that you can partially update an attribute instance of a 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 ${temporal_entity_representation_id}= Generate Random Entity Id ${vehicle_id_prefix} Set Suite Variable ${temporal_entity_representation_id} 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 26cabf40..7191c02d 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot modify an attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not right +Documentation Check that one cannot modify an attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not right Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource @@ -34,7 +34,7 @@ ${fragment_filename}= vehicle-temporal-modify-attribute-instance-fragment. *** Keywords *** Modify Attribute Instance Temporal Entity - [Documentation] Check that you cannot partially modify attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not right + [Documentation] Check that one cannot partially modify attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not right [Tags] tea-partial-update 5_6_14 [Arguments] ${temporal_entity_id} ${attributeId} ${instanceId} ${expected_status_code} ${response}= Modify Attribute Instance From Temporal Entity 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 cde5c1e5..47a08510 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/TemporalEntityAttributes/PartialUpdateAttributeInstance/016_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot partially modify attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not found +Documentation Check that one cannot partially modify attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not found Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationProvision.resource Resource ${EXECDIR}/resources/ApiUtils/TemporalContextInformationConsumption.resource @@ -29,7 +29,7 @@ ${status_code}= 404 *** Keywords *** Modify Attribute Instance Temporal Entity - [Documentation] Check that you cannot partially modify attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not found + [Documentation] Check that one cannot partially modify attribute instance in temporal representation of an entity if the EntityId/AttributeId/InstanceId is not found [Tags] tea-partial-update 5_6_14 [Arguments] ${temporal_entity_id} ${attributeId} ${instanceId} ${response}= Modify Attribute Instance From Temporal Entity diff --git a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_01.robot index 07a8f00e..1ff8fec9 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a subscription +Documentation Check that one can create a subscription Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ ${subscription_expectation_file_path}= subscriptions/expectations/subscript *** Test Cases *** 028_01_01 Create Subscription - [Documentation] Check that you can create a subscription + [Documentation] Check that one can create a subscription [Tags] sub-create 5_8_1 ${subscription_id}= Generate Random Entity Id ${subscription_id_prefix} Set Suite Variable ${subscription_id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_02.robot index 23a0c521..ccfac130 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a subscription with an invalid request +Documentation Check that one cannot create a subscription with an invalid request Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ Test Template Create Subscription With Invalid Request *** Keywords *** Create Subscription With Invalid Request - [Documentation] Check that you cannot create a subscription with an invalid request + [Documentation] Check that one cannot create a subscription with an invalid request [Tags] sub-create 5_8_1 [Arguments] ${filename} ${expected_status} ${response}= Create Subscription From File ${filename} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_03.robot b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_03.robot index 34c28ec7..1685c588 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_03.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a subscription with an invalid/empty id +Documentation Check that one cannot create a subscription with an invalid/empty id Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -22,7 +22,7 @@ ${subscription_payload_file_path}= subscriptions/subscription-sample.jsonld *** Keywords *** Create Subscription With Invalid/Empty Id - [Documentation] Check that you cannot create a subscription with an invalid/empty id + [Documentation] Check that one cannot create a subscription with an invalid/empty id [Tags] sub-create 5_8_1 [Arguments] ${subscription_id} Set Suite Variable ${subscription_id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_04.robot b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_04.robot index a819183f..f5b0dd6f 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_04.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a subscription with an existing id +Documentation Check that one cannot create a subscription with an existing id Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -15,7 +15,7 @@ ${subscription_payload_file_path}= subscriptions/subscription-sample.jsonld *** Test Cases *** 028_04_01 Create a subscription with an id known to the system - [Documentation] Check that you cannot create a subscription with an existing id + [Documentation] Check that one cannot create a subscription with an existing id [Tags] sub-create 5_8_1 ${subscription_id}= Generate Random Entity Id ${subscription_id_prefix} Set Suite Variable ${subscription_id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_05.robot b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_05.robot index 9602eff7..b11792e1 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_05.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/CreateSubscription/028_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a subscription with invalid throttling +Documentation Check that one cannot create a subscription with invalid throttling Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ Test Template Create Subscription With Invalid Throttling *** Keywords *** Create Subscription With Invalid Throttling - [Documentation] Check that you cannot create a subscription with invalid throttling + [Documentation] Check that one cannot create a subscription with invalid throttling [Tags] sub-create 5_8_1 [Arguments] ${filename} ${expected_status} ${response}= Create Subscription From File ${filename} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_01.robot index d91dc8e1..956dac2d 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete a subscription: If the subscription Id is not present or it is not a valid URI, then an error shall be raised +Documentation Check that one cannot delete a subscription: If the subscription Id is not present or it is not a valid URI, then an error shall be raised Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -18,7 +18,7 @@ Test Template Delete Subscription With Non present Or Invalid Id *** Keywords *** Delete Subscription With Non present Or Invalid Id - [Documentation] Check that you cannot delete a subscription: If the subscription Id is not present or it is not a valid URI, then an error shall be raised + [Documentation] Check that one cannot delete a subscription: If the subscription Id is not present or it is not a valid URI, then an error shall be raised [Arguments] ${id} ${expected_status_code} ${problem_type} ${response}= Delete Subscription ${id} Check Response Status Code ${expected_status_code} ${response.status_code} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_02.robot index bf8a4268..f82f11b1 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete a subscription: If the subscription id provided does not correspond to any existing subscription in the system then an error of type ResourceNotFound shall be raised +Documentation Check that one cannot delete a subscription: If the subscription id provided does not correspond to any existing subscription in the system then an error of type ResourceNotFound shall be raised Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/AssertionUtils.resource *** Test Cases *** 032_02_01 Delete Unknown Subscription - [Documentation] Check that you cannot delete a subscription: If the subscription id provided does not correspond to any existing subscription in the system then an error of type ResourceNotFound shall be raised + [Documentation] Check that one cannot delete a subscription: If the subscription id provided does not correspond to any existing subscription in the system then an error of type ResourceNotFound shall be raised [Tags] sub-delete 5_8_5 ${response}= Delete Subscription urn:ngsi-ld:Subscription:unknowSubscription Check Response Status Code 404 ${response.status_code} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_03.robot b/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_03.robot index e87684fe..5747e0b5 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_03.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/DeleteSubscription/032_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can delete a subscription +Documentation Check that one can delete a subscription Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -15,7 +15,7 @@ ${subscription_payload_file_path}= subscriptions/subscription-sample.jsonld *** Test Cases *** 032_03_01 Delete Subscription - [Documentation] Check that you can delete a subscription + [Documentation] Check that one can delete a subscription [Tags] sub-delete 5_8_5 ${response}= Delete Subscription ${subscription_id} Check Response Status Code 204 ${response.status_code} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_01.robot index 3a4f0f84..d504b783 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query a list of subscriptions +Documentation Check that one can query a list of subscriptions Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -19,7 +19,7 @@ ${expectation_file_path}= subscriptions/expectations/subsc *** Test Cases *** 031_01_01 Query Subscriptions - [Documentation] Check that you can query a list of subscriptions + [Documentation] Check that one can query a list of subscriptions [Tags] sub-query 5_8_4 ${response}= Query Subscriptions context=${ngsild_test_suite_context} @{subscription_ids}= Create List diff --git a/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_02.robot index 6b3f827e..c3ca806b 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/QuerySubscriptions/031_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query a list of subscriptions: Pagination logic shall be in place +Documentation Check that one can query a list of subscriptions: Pagination logic shall be in place Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -31,7 +31,7 @@ ${third_subscription_payload_file_path}= subscriptions/subscription-inact *** Keywords *** Query Subscriptions With Limit And Page Parameters - [Documentation] Check that you can query a list of subscriptions: Pagination logic shall be in place + [Documentation] Check that one can query a list of subscriptions: Pagination logic shall be in place [Arguments] ${limit} ${offset} ${expectation_subscription_number} ${prev_link} ${next_link} ${response}= Query Subscriptions ... context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_01.robot index 626eeb79..ebdceaa5 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot retrieve a subscription if the subscription Id is not a valid URI, then an error of type BadRequestData shall be raised +Documentation Check that one cannot retrieve a subscription if the subscription Id is not a valid URI, then an error of type BadRequestData shall be raised Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -15,7 +15,7 @@ Test Template Retrieve Subscription With Invalid Id *** Keywords *** Retrieve Subscription With Invalid Id - [Documentation] Check that you cannot retrieve a subscription: If the subscription Id is not present or it is not a valid URI, then an error of type BadRequestData shall be raised + [Documentation] Check that one cannot retrieve a subscription: If the subscription Id is not present or it is not a valid URI, then an error of type BadRequestData shall be raised [Arguments] ${id} ${response}= Retrieve Subscription ... id=${id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_02.robot index 2b7a201b..c8a01bb9 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot retrieve a subscription: If the identifier provided does not correspond to any existing subscription in the system then an error of type ResourceNotFound shall be raised +Documentation Check that one cannot retrieve a subscription: If the identifier provided does not correspond to any existing subscription in the system then an error of type ResourceNotFound shall be raised Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -7,7 +7,7 @@ Resource ${EXECDIR}/resources/AssertionUtils.resource *** Test Cases *** 030_02_01 Retrieve Unknown Subscription - [Documentation] Check that you cannot retrieve a subscription: If the identifier provided does not correspond to any existing subscription in the system then an error of type ResourceNotFound shall be raised + [Documentation] Check that one cannot retrieve a subscription: If the identifier provided does not correspond to any existing subscription in the system then an error of type ResourceNotFound shall be raised [Tags] sub-retrieve 5_8_3 ${response}= Retrieve Subscription ... id=urn:ngsi-ld:Subscription:unknowSubscription diff --git a/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_03.robot b/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_03.robot index 25166491..cfc21f76 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_03.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/RetrieveSubscription/030_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve a subscription +Documentation Check that one can retrieve a subscription Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -17,7 +17,7 @@ ${expectation_file_path}= subscriptions/expectations/subscriptions *** Test Cases *** 030_03_01 Retrieve Subscription - [Documentation] Check that you can retrieve a subscription + [Documentation] Check that one can retrieve a subscription [Tags] sub-retrieve 5_8_3 ${response}= Retrieve Subscription ... id=${subscription_id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_01.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_01.robot index 13dab30b..a31ea8f0 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_01.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update a subscription: If the Subscription id is not present or it is not a valid URI, then an error of type BadRequestData shall be raised +Documentation Check that one cannot update a subscription: If the Subscription id is not present or it is not a valid URI, then an error of type BadRequestData shall be raised Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -23,7 +23,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscrip *** Keywords *** Update Subscription With Non present Or Invalid Id - [Documentation] Check that you cannot update a subscription: If the Subscription id is not present or it is not a valid URI, then an error of type BadRequestData shall be raised + [Documentation] Check that one cannot update a subscription: If the Subscription id is not present or it is not a valid URI, then an error of type BadRequestData shall be raised [Arguments] ${id} ${expected_status_code} ${problem_type} ${response}= Update Subscription ${id} ${subscription_update_fragment_file_path} ${CONTENT_TYPE_JSON} Check Response Status Code ${expected_status_code} ${response.status_code} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_02.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_02.robot index 551020eb..f28c640a 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_02.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update a subscription: If the NGSI-LD System does not know about the target Subscription, because there is no existing Subscription whose id (URI) is equivalent, an error of type ResourceNotFound shall be raised +Documentation Check that one cannot update a subscription: If the NGSI-LD System does not know about the target Subscription, because there is no existing Subscription whose id (URI) is equivalent, an error of type ResourceNotFound shall be raised Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -12,7 +12,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscrip *** Test Cases *** 029_02_01 Update Unknown Subscription - [Documentation] Check that you cannot update a subscription: If the NGSI-LD System does not know about the target Subscription, because there is no existing Subscription whose id (URI) is equivalent, an error of type ResourceNotFound shall be raised + [Documentation] Check that one cannot update a subscription: If the NGSI-LD System does not know about the target Subscription, because there is no existing Subscription whose id (URI) is equivalent, an error of type ResourceNotFound shall be raised [Tags] sub-update 5_8_2 ${response}= Update Subscription ... urn:ngsi-ld:Subscription:unknowSubscription diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_03.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_03.robot index 557cf6d4..f21ab5f0 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_03.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update a subscription: If the data types and restriction are not met by the Subscription Fragment, then an error of type BadRequestData shall be raised +Documentation Check that one cannot update a subscription: If the data types and restriction are not met by the Subscription Fragment, then an error of type BadRequestData shall be raised Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -17,7 +17,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscrip *** Test Cases *** 029_03_01 Update Subscription With Invalid Fragment - [Documentation] Check that you cannot update a subscription: If the data types and restriction are not met by the Subscription Fragment, then an error of type BadRequestData shall be raised + [Documentation] Check that one cannot update a subscription: If the data types and restriction are not met by the Subscription Fragment, then an error of type BadRequestData shall be raised [Tags] sub-update 5_8_2 ${response}= Update Subscription ... ${subscription_id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_04.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_04.robot index f77a9d55..2d8d7a0e 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_04.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update a subscription: Any attempt to remove (by setting them to null in the Fragment) mandatory properties of a Subscription (clause 5.2.12) shall result in an error of type BadRequestData +Documentation Check that one cannot update a subscription: Any attempt to remove (by setting them to null in the Fragment) mandatory properties of a Subscription (clause 5.2.12) shall result in an error of type BadRequestData Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -17,7 +17,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscrip *** Test Cases *** 029_04_01 Update Subscription With Null Mandatory Properties - [Documentation] Check that you cannot update a subscription: Any attempt to remove (by setting them to null in the Fragment) mandatory properties of a Subscription (clause 5.2.12) shall result in an error of type BadRequestData + [Documentation] Check that one cannot update a subscription: Any attempt to remove (by setting them to null in the Fragment) mandatory properties of a Subscription (clause 5.2.12) shall result in an error of type BadRequestData [Tags] sub-update 5_8_2 ${response}= Update Subscription ... ${subscription_id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_05.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_05.robot index f99ebf8a..9bc578ad 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_05.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a subcription: Term to URI expansion of Attribute names shall be observed +Documentation Check that one can update a subcription: Term to URI expansion of Attribute names shall be observed Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -19,7 +19,7 @@ ${expected_expanded_subscription_payload_file_path}= subscriptions/expectatio *** Test Cases *** 029_05_01 Update Subscription With Term to Uri Expansion with Context - [Documentation] Check that you can update a subcription: Term to URI expansion of Attribute names shall be observed + [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 ... ${subscription_id} @@ -36,7 +36,7 @@ ${expected_expanded_subscription_payload_file_path}= subscriptions/expectatio ... ${response1.json()} 029_05_02 Update Subscription With Term to Uri Expansion without Context - [Documentation] Check that you can update a subcription: Term to URI expansion of Attribute names shall be observed + [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 ... ${subscription_id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_06.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_06.robot index 5a3834a2..6eb12e05 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_06.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_06.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a subscription: The implementation shall modify the target Subscription +Documentation Check that one can update a subscription: The implementation shall modify the target Subscription Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -17,7 +17,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscrip *** Test Cases *** 029_06_01 Update Subscription - [Documentation] Check that you can update a subscription: The implementation shall modify the target Subscription + [Documentation] Check that one can update a subscription: The implementation shall modify the target Subscription [Tags] sub-update 5_8_2 ${response}= Update Subscription ... ${subscription_id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_07.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_07.robot index 6a8c6f28..a465f452 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_07.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_07.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a subscription: If isActive is equal to true and expiresAt is not present, then status shall be updated to "active", if and only if, the previous value of status was different than "expired" +Documentation Check that one can update a subscription: If isActive is equal to true and expiresAt is not present, then status shall be updated to "active", if and only if, the previous value of status was different than "expired" Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -23,7 +23,7 @@ ${subscription_payload_file_path}= subscriptions/subscription-inactive-samp *** Keywords *** Activate Paused Subscription With isActive Member - [Documentation] Check that you can update a subscription: If isActive is equal to true and expiresAt is not present, then status shall be updated to "active", if and only if, the previous value of status was different than "expired" + [Documentation] Check that one can update a subscription: If isActive is equal to true and expiresAt is not present, then status shall be updated to "active", if and only if, the previous value of status was different than "expired" [Arguments] ${subscription_update_fragment_file_path} ${response}= Update Subscription ... ${subscription_id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_08.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_08.robot index 18585700..2535a2b5 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_08.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_08.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a subscription: If isActive is equal to true and expiresAt corresponds to a DateTime in the future, then status shall be updated to "active" +Documentation Check that one can update a subscription: If isActive is equal to true and expiresAt corresponds to a DateTime in the future, then status shall be updated to "active" Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -23,7 +23,7 @@ ${subscription_payload_file_path}= subscriptions/subscription-inactive-samp *** Keywords *** Activate Paused Subscription With isActive And ExpiresAt Members - [Documentation] Check that you can update a subscription: If isActive is equal to true and expiresAt corresponds to a DateTime in the future, then status shall be updated to "active" + [Documentation] Check that one can update a subscription: If isActive is equal to true and expiresAt corresponds to a DateTime in the future, then status shall be updated to "active" [Arguments] ${subscription_update_fragment_file_path} ${response}= Update Subscription ... ${subscription_id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_09.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_09.robot index 0330b7d5..11d68bd4 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_09.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_09.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a subscription: If isActive is equal to false and expiresAt is not present, then status shall be updated to "paused", if and only if, the previous value of status was different than "expired" +Documentation Check that one can update a subscription: If isActive is equal to false and expiresAt is not present, then status shall be updated to "paused", if and only if, the previous value of status was different than "expired" Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -17,7 +17,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscrip *** Test Cases *** 029_09_01 Update Subscription Status To Paused - [Documentation] Check that you can update a subscription: If isActive is equal to false and expiresAt is not present, then status shall be updated to "paused", if and only if, the previous value of status was different than "expired" + [Documentation] Check that one can update a subscription: If isActive is equal to false and expiresAt is not present, then status shall be updated to "paused", if and only if, the previous value of status was different than "expired" [Tags] sub-update 5_8_2 ${response}= Update Subscription ... ${subscription_id} diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_10.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_10.robot index 3b70a8c3..3f666970 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_10.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_10.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a subscription: If only expiresAt is included and refers to a DateTime in the future, then status shall be updated to "active", if and only if the previous value of status was "expired" +Documentation Check that one can update a subscription: If only expiresAt is included and refers to a DateTime in the future, then status shall be updated to "active", if and only if the previous value of status was "expired" Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -17,7 +17,7 @@ ${subscription_update_fragment_file_path} subscriptions/fragments/subscrip *** Test Cases *** 029_10_01 Activate Expired Subscription - [Documentation] Check that you can update a subscription: If only expiresAt is included and refers to a DateTime in the future, then status shall be updated to "active", if and only if the previous value of status was "expired" + [Documentation] Check that one can update a subscription: If only expiresAt is included and refers to a DateTime in the future, then status shall be updated to "active", if and only if the previous value of status was "expired" [Tags] sub-update 5_8_2 # Update subscription to expire in 5 seconds ${now}= Get Current Date time_zone=UTC diff --git a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_11.robot b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_11.robot index 794e1048..f2c348a7 100644 --- a/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_11.robot +++ b/TP/NGSI-LD/ContextInformation/Subscription/UpdateSubscription/029_11.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update a subscription: If expiresAt is included but referring to a DateTime in the past, then a BadRequestData error shall be raised +Documentation Check that one cannot update a subscription: If expiresAt is included but referring to a DateTime in the past, then a BadRequestData error shall be raised Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -17,7 +17,7 @@ ${subscription_update_fragment_file_path}= subscriptions/fragments/subscrip *** Test Cases *** 029_11_01 Update Subscription With ExpiresAt In The Past - [Documentation] Check that you cannot update a subscription: If expiresAt is included but referring to a DateTime in the past, then a BadRequestData error shall be raised + [Documentation] Check that one cannot update a subscription: If expiresAt is included but referring to a DateTime in the past, then a BadRequestData error shall be raised [Tags] sub-update 5_8_2 ${response}= Update Subscription ... ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_01.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_01.robot index 2bc317bb..127e8d0d 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_01.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query context source registrations if at least one of list of Entity Types or list of Attribute names is present +Documentation Check that one can query context source registrations if at least one of list of Entity Types or list of Attribute names is present Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -28,7 +28,7 @@ ${second_context_source_registration_payload_file_path}= csourceRegistrations *** Keywords *** Query A Context Source Registration - [Documentation] Check that you can query context source registrations if at least one of list of Entity Types or list of Attribute names is present + [Documentation] Check that one can query context source registrations if at least one of list of Entity Types or list of Attribute names is present [Arguments] ... ${query_param_name} ... ${query_param_value} diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_02.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_02.robot index 6c0c788e..da48ac73 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_02.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot query context source registrations, if neither Entity types nor Attribute names are provided, an error of type 400 shall be raised. +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. Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** 037_02_01 Query Context Source Registrations Without Entity Types and Attribute Names - [Documentation] Check that you cannot query context source registrations, if neither Entity types nor Attribute names are provided, an error of type 400 shall be raised. + [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} Check Response Status Code 400 ${response.status_code} diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_03.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_03.robot index 0740c46b..338beb0b 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_03.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot query context source registrations, if the list of Entity identifiers includes a URI which it is not valid, or the query, geo-query or temporal query are not syntactically valid +Documentation Check that one cannot query context source registrations, if the list of Entity identifiers includes a URI which it is not valid, or the query, geo-query or temporal query are not syntactically valid Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -25,7 +25,7 @@ Test Template Query Context Source Registration With Invalid Query Param *** Keywords *** Query Context Source Registration With Invalid Query Param - [Documentation] Check that you cannot query context source registrations, if the list of Entity identifiers includes a URI which it is not valid, or the query, geo-query or temporal query are not syntactically valid + [Documentation] Check that one cannot query context source registrations, if the list of Entity identifiers includes a URI which it is not valid, or the query, geo-query or temporal query are not syntactically valid [Arguments] ${query_param_name} ${query_param_value} ${response}= Query Context Source Registrations ... context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_04.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_04.robot index c2cbb462..ae46d96f 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_04.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query context source registrations. If a JSON-LD context is not provided, then all the query terms shall be resolved against the default JSON-LD @context +Documentation Check that one can query context source registrations. If a JSON-LD context is not provided, then all the query terms shall be resolved against the default JSON-LD @context Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -19,7 +19,7 @@ ${entity_type}= https://ngsi-ld-test-sui *** Test Cases *** 037_04_01 Query Context Source Registrations Without Context - [Documentation] Check that you can query context source registrations. If a JSON-LD context is not provided, then all the query terms shall be resolved against the default JSON-LD @context + [Documentation] Check that one can query context source registrations. If a JSON-LD context is not provided, then all the query terms shall be resolved against the default JSON-LD @context [Tags] csr-query 5_10_2 ${response}= Query Context Source Registrations id=${context_source_registration_id} type=${entity_type} @{expected_context_source_registration_ids}= Create List ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_05.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_05.robot index 7856534f..41350779 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_05.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query context source registrations matching EntityInfo of RegistrationInfo +Documentation Check that one can query context source registrations matching EntityInfo of RegistrationInfo Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -25,7 +25,7 @@ ${context_source_registration_id_prefix}= urn:ngsi-ld:ContextSourceRegistr *** Keywords *** Query Context Source Registration Matching EntityInfo of RegistrationInfo - [Documentation] Check that you can query context source registrations matching EntityInfo of RegistrationInfo + [Documentation] Check that one can query context source registrations matching EntityInfo of RegistrationInfo [Arguments] ${registration_file_path} ${expectation_file_path} ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_06.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_06.robot index 4c25d9f6..bbfb96a5 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_06.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_06.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query context source registrations matching property and relationship names of RegistrationInfo +Documentation Check that one can query context source registrations matching property and relationship names of RegistrationInfo Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -27,7 +27,7 @@ ${context_source_registration_payload_file_path}= csourceRegistrations/con *** Keywords *** Query Context Source Registration Matching Properties And Relationships Of RegistrationInfo - [Documentation] Check that you can query context source registrations matching property and relationship names of RegistrationInfo + [Documentation] Check that one can query context source registrations matching property and relationship names of RegistrationInfo [Arguments] ${attrs_value} ${expectation_file_path} ${response}= Query Context Source Registrations ... context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_07.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_07.robot index 9c1aaf8d..36c4ed73 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_07.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_07.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query context source registrations. If present, the geoquery is matched against the GeoProperty programmatic parameter identified in the geoquery +Documentation Check that one can query context source registrations. If present, the geoquery is matched against the GeoProperty programmatic parameter identified in the geoquery Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -28,7 +28,7 @@ ${expectation_file_path}= csourceRegistrations/exp *** Keywords *** Query Context Source Registration Matching Geoquery - [Documentation] Check that you can query context source registrations. If present, the geoquery is matched against the GeoProperty programmatic parameter identified in the geoquery + [Documentation] Check that one can query context source registrations. If present, the geoquery is matched against the GeoProperty programmatic parameter identified in the geoquery [Arguments] ${georel} ${geometry} ${coordinates} ${geoproperty} ${expectation_file_path} ${response}= Query Context Source Registrations ... context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_08.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_08.robot index 580aa1fc..5b3d80dc 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_08.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_08.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query context source registrations. If no temporal query is present, only Context Source Registrations for Context Sources providing latest information are considered +Documentation Check that one can query context source registrations. If no temporal query is present, only Context Source Registrations for Context Sources providing latest information are considered Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -18,7 +18,7 @@ ${expectation_file_path}= csourceRegistrations/exp *** Test Cases *** 037_08_01 Query Context Source Registration Without Temporal Query - [Documentation] Check that you can query context source registrations. If no temporal query is present, only Context Source Registrations for Context Sources providing latest information are considered + [Documentation] Check that one can query context source registrations. If no temporal query is present, only Context Source Registrations for Context Sources providing latest information are considered [Tags] csr-query 5_10_2 ${response}= Query Context Source Registrations context=${ngsild_test_suite_context} type=Vehicle @{expected_context_source_registration_ids}= Create List ${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_09.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_09.robot index be3044f4..b7fc4a6c 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_09.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_09.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query context source registrations. If present, the temporal query is matched against the observationInterval or the managementInterval +Documentation Check that one can query context source registrations. If present, the temporal query is matched against the observationInterval or the managementInterval Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -35,7 +35,7 @@ ${management_interval_expectation_file_path}= csou *** Keywords *** Query Context Source Registration Matching Temporal Query - [Documentation] Check that you can query context source registrations. If present, the temporal query is matched against the observationInterval or the managementInterval + [Documentation] Check that one can query context source registrations. If present, the temporal query is matched against the observationInterval or the managementInterval [Arguments] ${payload_file_path} ${timeproperty} ${expectation_file_path} ${context_source_registration_id}= Generate Random Entity Id ${context_source_registration_id_prefix} ${context_source_registration_payload}= Load Test Sample diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_10.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_10.robot index cf87f232..b11664f4 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_10.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_10.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query context source registrations. If present, the conditions specified by the context source query match the respective Context Source Properties +Documentation Check that one can query context source registrations. If present, the conditions specified by the context source query match the respective Context Source Properties Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -29,7 +29,7 @@ ${third_context_source_registration_payload_file_path}= csourceRegistrations *** Keywords *** Query Context Source Registration With Query Params - [Documentation] Check that you can query context source registrations. If present, the conditions specified by the context source query match the respective Context Source Properties + [Documentation] Check that one can query context source registrations. If present, the conditions specified by the context source query match the respective Context Source Properties [Arguments] ... ${query_param_name} ... ${query_param_value} diff --git a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_11.robot b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_11.robot index 42da3269..f6825c2f 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_11.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/QueryContextSourceRegistrations/037_11.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query context source registrations with providing page and limit parameters, pagination logic shall be in place as mandated by clause 5.5.9. +Documentation Check that one can query context source registrations with providing page and limit parameters, pagination logic shall be in place as mandated by clause 5.5.9. Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -32,7 +32,7 @@ ${third_context_source_registration_payload_file_path}= csourceRegistrations *** Keywords *** Query Context Source Registration With Limit And Offset Parameters - [Documentation] Check that you can query context source registrations with providing page and limit parameters, pagination logic shall be in place as mandated by clause 5.5.9. + [Documentation] Check that one can query context source registrations with providing page and limit parameters, pagination logic shall be in place as mandated by clause 5.5.9. [Arguments] ${limit} ${offset} ${expected_number} ${prev_link} ${next_link} ${response}= Query Context Source Registrations ... context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_01.robot b/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_01.robot index b0a321ae..30019546 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_01.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot retrieve a Context Source Registration, if the context source registration id is not a valid URI +Documentation Check that one cannot retrieve a Context Source Registration, if the context source registration id is not a valid URI Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ Test Template Retrieve Context Source Registration With An Invalid Id *** Keywords *** Retrieve Context Source Registration With An Invalid Id - [Documentation] Check that you cannot retrieve a Context Source Registration, if the context source registration id is not a valid URI + [Documentation] Check that one cannot retrieve a Context Source Registration, if the context source registration id is not a valid URI [Arguments] ${id} ${response}= Retrieve Context Source Registration ... context_source_registration_id=${id} diff --git a/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_02.robot b/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_02.robot index 0a0f6a85..d69f9cd6 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_02.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot retrieve a Context Source Registration, if the NGSI-LD endpoint does not know about the target context source registration, because there is no existing context source registration whose id (URI) is equivalent +Documentation Check that one cannot retrieve a Context Source Registration, if the NGSI-LD endpoint does not know about the target context source registration, because there is no existing context source registration whose id (URI) is equivalent Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** 036_02_01 Retrieve Unknown Context Source Registration - [Documentation] Check that you cannot retrieve a Context Source Registration, if the NGSI-LD endpoint does not know about the target context source registration, because there is no existing context source registration whose id (URI) is equivalent + [Documentation] Check that one cannot retrieve a Context Source Registration, if the NGSI-LD endpoint does not know about the target context source registration, because there is no existing context source registration whose id (URI) is equivalent [Tags] csr-retrieve 5_10_1 ${response}= Retrieve Context Source Registration ... context_source_registration_id=urn:ngsi-ld:ContextSourceRegistration:unknowRegistration diff --git a/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_03.robot b/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_03.robot index 2e708d16..370ad599 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_03.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve a Context Source Registration. Term to URI expansion of Attribute names shall be observed. +Documentation Check that one can retrieve a Context Source Registration. Term to URI expansion of Attribute names shall be observed. Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -18,7 +18,7 @@ ${expectation_file_path}= csourceRegistrations/exp *** Test Cases *** 036_03_01 Retrieve Context Source Registration With Default Core Context - [Documentation] Check that you can retrieve a Context Source Registration. Term to URI expansion of Attribute names shall be observed. + [Documentation] Check that one can retrieve a Context Source Registration. Term to URI expansion of Attribute names shall be observed. [Tags] csr-retrieve 5_10_1 ${response}= Retrieve Context Source Registration ... context_source_registration_id=${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_04.robot b/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_04.robot index eeb98d89..f01cb838 100644 --- a/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_04.robot +++ b/TP/NGSI-LD/ContextSource/Discovery/RetrieveContextSourceRegistration/036_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve a Context Source Registration +Documentation Check that one can retrieve a Context Source Registration Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -18,7 +18,7 @@ ${expectation_file_path}= csourceRegistrations/exp *** Test Cases *** 036_04_01 Retrieve Context Source Registration - [Documentation] Check that you can retrieve a Context Source Registration + [Documentation] Check that one can retrieve a Context Source Registration [Tags] csr-retrieve 5_10_1 ${response}= Retrieve Context Source Registration ... context_source_registration_id=${context_source_registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_01.robot b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_01.robot index 42f6ec07..70138310 100644 --- a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_01.robot +++ b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can delete a context source registration by id +Documentation Check that one can delete a context source registration by id Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -14,7 +14,7 @@ ${registration_payload_file_path}= context-source-registration-sample.jsonl *** Test Cases *** 035_01_01 Delete a context source registration by id - [Documentation] Check that you can 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 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load JSON From File ${EXECDIR}/data/csourceRegistrations/${registration_payload_file_path} diff --git a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_02.robot b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_02.robot index 6ec5936d..0d7e55de 100644 --- a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete a context source registration under some conditions +Documentation Check that one cannot delete a context source registration under some conditions Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -26,7 +26,7 @@ ${filename}= context-source-registration-sample.jsonld *** Keywords *** Delete A Context Source - [Documentation] Check that you cannot delete a context source registration under some conditions + [Documentation] Check that one cannot delete a context source registration under some conditions [Arguments] ${invalid_registration_id} ${expected_status_code} ${problem_type} ${response}= Delete Context Source Registration With Return ${invalid_registration_id} Check Response Status Code ${expected_status_code} ${response.status_code} diff --git a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_03.robot b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_03.robot index 57ea1288..15682aec 100644 --- a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete a context source registration by id if the id is not known to the system +Documentation Check that one cannot delete a context source registration by id if the id is not known to the system Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -13,7 +13,7 @@ ${registration_payload_file_path}= context-source-registration-simple-sampl *** Test Cases *** 035_03_01 Delete a context source registration by id - [Documentation] Check that you cannot delete a context source registration by id if the id is not known to the system + [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 Entity Id ${registration_id_prefix} ${response}= Delete Context Source Registration With Return ${registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_01_01.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_01_01.robot index 49371599..773841e1 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_01_01.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_01_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a context source registration with specific ID and expiration date +Documentation Check that one can create a context source registration with specific ID and expiration date Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -16,7 +16,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi *** Test Cases *** 033_01_01 Create Context Source Registration With Specific Date Expiration Date - [Documentation] Check that you can create a context source registration with specific ID and expiration date + [Documentation] Check that one can create a context source registration with specific ID and expiration date [Tags] csr-create 5_9_2 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} Set Suite Variable ${registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_01_02.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_01_02.robot index 969d9764..2c741fa5 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_01_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_01_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a context source registration that never expires +Documentation Check that one can create a context source registration that never expires Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource @@ -16,7 +16,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi *** Test Cases *** 033_01_02 Create Context Source Registration That Never Expires - [Documentation] Check that you can create a context source registration that never expires + [Documentation] Check that one can create a context source registration that never expires [Tags] csr-create 5_9_2 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} Set Suite Variable ${registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_01_03.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_01_03.robot index bba76343..3008ec2b 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_01_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_01_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a context source registration without specifying an ID +Documentation Check that one can create a context source registration without specifying an ID Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource @@ -16,7 +16,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-regi *** Test Cases *** 033_01_03 Create Context Source Registration Without Specifying an ID - [Documentation] Check that you can create a 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} ${response}= Create Context Source Registration With Return ${payload} diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_02.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_02.robot index ab4f1485..1e8063d3 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a context source with invalid content +Documentation Check that one cannot create a context source with invalid content Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/AssertionUtils.resource diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_03.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_03.robot index 1af3676f..904cbe09 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a context source registration that already exists +Documentation Check that one cannot create a context source registration that already exists Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ ${filename}= csourceRegistrations/context-source-registration *** Test Cases *** 033_03_01 Create a context source registration that already exists - [Documentation] Check that you cannot 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} Check Response Status Code 409 ${response.status_code} diff --git a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_10.robot b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_10.robot index 80d52d13..42595a5f 100644 --- a/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_10.robot +++ b/TP/NGSI-LD/ContextSource/Registration/RegisterContextSource/033_10.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a context source with invalid content +Documentation Check that one cannot create a context source with invalid content Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -21,7 +21,7 @@ ${registration_id_prefix}= urn:ngsi-ld:Registration: *** Keywords *** Create Context Source With Invalid Content - [Documentation] Check that you cannot create a context source with invalid content + [Documentation] Check that one cannot create a context source with invalid content [Tags] csr-create 6_3_5 [Arguments] ${filename} ${registration_id}= Generate Random Entity Id ${registration_id_prefix} diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_01.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_01.robot index 28d67a23..7f2ff3e5 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_01.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a context source registration by id +Documentation Check that one can update a context source registration by id Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource @@ -23,7 +23,7 @@ ${registration_id_prefix}= urn:ngsi-ld:Registration: *** Keywords *** Update A Context Source - [Documentation] Check that you can update a context source registration by id + [Documentation] Check that one can update a context source registration by id [Arguments] ${filename} ${update_filename} Set Test Variable ${filename} ${fragment}= Load JSON From File ${EXECDIR}/data/csourceRegistrations/fragments/${update_filename} diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_02.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_02.robot index ec408e9c..78a92552 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update a context source registration under some conditions +Documentation Check that one cannot update a context source registration under some conditions Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -22,13 +22,13 @@ ${reason_400}= Bad Request invalidURI fragments/context-source-registration-different-type-sample.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 ${valid_registration_id} fragments/context-source-registration-different-type-sample.jsonld 400 ${ERROR_TYPE_BAD_REQUEST_DATA} -034_02_03 Update a context source registration if you attempt 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-sample.jsonld 400 ${ERROR_TYPE_BAD_REQUEST_DATA} *** Keywords *** Update A Context Source - [Documentation] Check that you cannot update a context source registration under some conditions + [Documentation] Check that one cannot update a context source registration under some conditions [Tags] csr-update 5_9_3 [Arguments] ${registration_id} ${fragment_filename} ${expected_status_code} ${problem_type} ${fragment}= Load JSON From File ${EXECDIR}/data/csourceRegistrations/${fragment_filename} diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_03.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_03.robot index b27e8dd6..ead47111 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot 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 Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -14,7 +14,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 - [Documentation] Check that you cannot 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 Entity Id ${registration_id_prefix} Set Suite Variable ${registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_04.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_04.robot index faef017a..aed9efb5 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_04.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update a context source registration under some conditions +Documentation Check that one cannot update a context source registration under some conditions Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -17,7 +17,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 - [Documentation] Check that you cannot 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 ... ${registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_05.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_05.robot index 4b04131f..efa3fb3e 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_05.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a context source registration by id +Documentation Check that one can update a context source registration by id Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceDiscovery.resource @@ -23,7 +23,7 @@ ${registration_id_prefix}= urn:ngsi-ld:Registration: *** Keywords *** Update A Context Source - [Documentation] Check that you can update a context source registration by id + [Documentation] Check that one can update a context source registration by id [Arguments] ${filename} ${update_filename} Set Test Variable ${filename} ${fragment}= Load JSON From File ${EXECDIR}/data/csourceRegistrations/fragments/${update_filename} diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_06.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_06.robot index e4ceac33..342c6e46 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_06.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_06.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update a context source registration if the Id is not present +Documentation Check that one cannot update a context source registration if the Id is not present Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -24,7 +24,7 @@ ${reason_405}= Method Not Allowed *** Keywords *** Update A Context Source - [Documentation] Check that you cannot update a context source registration under some conditions + [Documentation] Check that one cannot update a context source registration under some conditions [Tags] csr-update 5_9_3 [Arguments] ${fragment_filename} ${expected_status_code} ${reason} ${fragment}= Load JSON From File ${EXECDIR}/data/csourceRegistrations/${fragment_filename} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/ContextSourceRegistrationSubscriptionNotificationBehaviour/047_16.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/ContextSourceRegistrationSubscriptionNotificationBehaviour/047_16.robot index 9f140f2a..1b8c0878 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/ContextSourceRegistrationSubscriptionNotificationBehaviour/047_16.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/ContextSourceRegistrationSubscriptionNotificationBehaviour/047_16.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check if you update a context source registration subscription, a CsourceNotification will be sent with all currently matching context source registrations +Documentation Check if one updates a context source registration subscription, a CsourceNotification will be sent with all currently matching context source registrations Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistration.resource @@ -34,7 +34,7 @@ ${subscription_payload_file_path}= csourceSubscriptions *** Keywords *** Receive cSourceNotification For Newly Matching Context Source Registrations - [Documentation] Check if you update a context source registration subscription, a CsourceNotification will be sent with all currently matching context source registrations + [Documentation] Check if one updates a context source registration subscription, a CsourceNotification will be sent with all currently matching context source registrations [Arguments] ${filepath} @{notification_csr_ids} ${subscription_update_fragment}= Load Test Sample ${filepath} ${response}= Update Context Source Registration Subscription diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_01.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_01.robot index 9c47f2cb..a34c68a4 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_01.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a minimal context source registration subscription +Documentation Check that one can create a minimal context source registration subscription Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample *** Test Cases *** 038_01_01 Create Context Source Registration Subscription - [Documentation] Check that you can create a minimal context source registration subscription + [Documentation] Check that one can create a minimal context source registration subscription [Tags] csrsub-create 5_11_2 ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} ${response}= Create Context Source Registration Subscription ${subscription_payload} @@ -27,7 +27,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample ... context=${ngsild_test_suite_context} ... accept=${CONTENT_TYPE_LD_JSON} - # We need to ignore the Additional Members ('lastFailure', 'lastNotification', 'timesFailed', 'timesSent') + # One needs to ignore the Additional Members ('lastFailure', 'lastNotification', 'timesFailed', 'timesSent') ${ignored_attributes}= Create List ... ${status_regex_expr} ... ${lastfailure_regex_expr} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_02.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_02.robot index fe198aac..6d33309b 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_02.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a context source registration subscription without providing an id and it will be automatically generated +Documentation Check that one can create a context source registration subscription without providing an id and it will be automatically generated Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -15,7 +15,7 @@ ${subscription_id}= ${EMPTY} *** Test Cases *** 038_02_01 Create Context Source Registration Subscription Without An Id - [Documentation] Check that you can create a context source registration subscription without providing an id and it will be automatically generated + [Documentation] Check that one can create a context source registration subscription without providing an id and it will be automatically generated [Tags] csrsub-create 5_11_2 ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} Remove From Dictionary ${subscription_payload} id diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_03.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_03.robot index 69208861..277cf962 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_03.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a context source registration subscription without providing isActive member and will be active by default +Documentation Check that one can create a context source registration subscription without providing isActive member and will be active by default Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample *** Test Cases *** 038_03_01 Create Context Source Registration Subscription Without isActive Member - [Documentation] Check that you can create a context source registration subscription without providing isActive member and will be active by default + [Documentation] Check that one can create a context source registration subscription without providing isActive member and will be active by default [Tags] csrsub-create 5_11_2 ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} ${response}= Create Context Source Registration Subscription ${subscription_payload} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_04.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_04.robot index e2fb5b4f..cfc3d652 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_04.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a context source registration subscription with isActive member set to false and it's initial status will be set to "paused" +Documentation Check that one can create a context source registration subscription with isActive member set to false and it's initial status will be set to "paused" Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-inacti *** Test Cases *** 038_04_01 Create Inactive Context Source Registration Subscription - [Documentation] Check that you can create a context source registration subscription with isActive member set to false and it's initial status will be set to "paused" + [Documentation] Check that one can create a context source registration subscription with isActive member set to false and it's initial status will be set to "paused" [Tags] csrsub-create 5_11_2 ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} ${response}= Create Context Source Registration Subscription ${subscription_payload} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_05.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_05.robot index 39d956ff..ea783a83 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_05.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a context source registration subscription with an expiresAt member and when it is due the status of the subscription changes to "expired" +Documentation Check that one can create a context source registration subscription with an expiresAt member and when it is due the status of the subscription changes to "expired" Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-expire *** Test Cases *** 038_05_01 Create Context Source Registration Subscription With expiresAt Member - [Documentation] Check that you can create a context source registration subscription with an expiresAt member and when it is due the status of the subscription changes to "expired" + [Documentation] Check that one can create a context source registration subscription with an expiresAt member and when it is due the status of the subscription changes to "expired" [Tags] csrsub-create 5_11_2 ${subscription_payload_sample}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} ${current_date}= Get Current Date time_zone=UTC result_format=${date_format} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_06.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_06.robot index 9ef56fc3..659c8d65 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_06.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_06.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a context source registration subscription without an expiresAt member and it will be considered as perpetual +Documentation Check that one can create a context source registration subscription without an expiresAt member and it will be considered as perpetual Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample *** Test Cases *** 038_06_01 Create Context Source Registration Subscription Without expiresAt Member - [Documentation] Check that you can create a context source registration subscription without an expiresAt member and it will be considered as perpetual + [Documentation] Check that one can create a context source registration subscription without an expiresAt member and it will be considered as perpetual [Tags] csrsub-create 5_11_2 ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} ${response}= Create Context Source Registration Subscription ${subscription_payload} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_07.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_07.robot index e9cb913c..d45c12ef 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_07.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_07.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a context source registration subscription where another context source registration subscription whose id is equivalent exists +Documentation Check that one cannot create a context source registration subscription where another context source registration subscription whose id is equivalent exists Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample *** Test Cases *** 038_07_01 Create Existing Context Source Registration Subscription - [Documentation] Check that you cannot create a context source registration subscription where another context source registration subscription whose id is equivalent exists + [Documentation] Check that one cannot create a context source registration subscription where another context source registration subscription whose id is equivalent exists [Tags] csrsub-create 5_11_2 ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} ${response}= Create Context Source Registration Subscription ${subscription_payload} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_08.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_08.robot index 05e2da31..10e1f080 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_08.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_08.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a context source registration subscription If the data types, cardinalities and restrictions expressed by clause 5.2.12 are not met +Documentation Check that one cannot create a context source registration subscription If the data types, cardinalities and restrictions expressed by clause 5.2.12 are not met Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -30,7 +30,7 @@ ${subscription_payload_file_path}= ${EMPTY} *** Keywords *** Create Invalid Context Source Registration Subscription - [Documentation] Check that you cannot create a context source registration subscription If the data types, cardinalities and restrictions expressed by clause 5.2.12 are not met + [Documentation] Check that one cannot create a context source registration subscription If the data types, cardinalities and restrictions expressed by clause 5.2.12 are not met [Arguments] ${filepath} ${subscription_id}= Generate Random Entity Id ${subscription_id_prefix} ${subscription_payload}= Load Test Sample ${filepath} ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_09.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_09.robot index 420689f2..ad3c72eb 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_09.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/CreateContextSourceRegistrationSubscription/038_09.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot create a context source registration subscription with an expiration timestamp representing a moment before the current date and time +Documentation Check that one cannot create a context source registration subscription with an expiration timestamp representing a moment before the current date and time Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -13,7 +13,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-expire *** Test Cases *** 038_09_01 Create Expired Context Source Registration Subscription - [Documentation] Check that you cannot create a context source registration subscription with an expiration timestamp representing a moment before the current date and time + [Documentation] Check that one cannot create a context source registration subscription with an expiration timestamp representing a moment before the current date and time [Tags] csrsub-create 5_11_2 ${subscription_id}= Generate Random Entity Id ${subscription_id_prefix} ${subscription_payload}= Load Test Sample ${subscription_payload_file_path} ${subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_01.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_01.robot index 39108b3e..2fa66e39 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_01.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can delete a context source registration subscription +Documentation Check that one can delete a context source registration subscription Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -15,7 +15,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample *** Test Cases *** 042_01_01 Delete Context Source Registration Subscription - [Documentation] Check that you can delete a context source registration subscription + [Documentation] Check that one can delete a context source registration subscription [Tags] csrsub-delete 5_11_6 ${response}= Delete Context Source Registration Subscription ${subscription_id} Check Response Status Code 204 ${response.status_code} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_02.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_02.robot index aaf347e0..b0bcef23 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_02.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete a context source registration subscription with an invalid URI +Documentation Check that one cannot delete a context source registration subscription with an invalid URI Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** 042_02_01 Delete Context Source Registration Subscription With Invalid Uri - [Documentation] Check that you cannot delete a context source registration subscription with an invalid URI + [Documentation] Check that one cannot delete a context source registration subscription with an invalid URI [Tags] csrsub-delete 5_11_6 ${response}= Delete Context Source Registration Subscription invalidUri Check Response Status Code 400 ${response.status_code} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_03.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_03.robot index 483035cc..a76bcf28 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_03.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription/042_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete an unknown context source registration subscription +Documentation Check that one cannot delete an unknown context source registration subscription Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** 042_03_01 Delete Unknown Context Source Registration Subscription With Invalid Uri - [Documentation] Check that you cannot delete an unknown context source registration subscription + [Documentation] Check that one cannot delete an unknown context source registration subscription [Tags] csrsub-delete 5_11_6 ${response}= Delete Context Source Registration Subscription urn:ngsi-ld:Subscription:unknowSubscription Check Response Status Code 404 ${response.status_code} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_01.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_01.robot index 72bfb91d..fd181bac 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_01.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query context source registration subscriptions +Documentation Check that one can query context source registration subscriptions Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -18,7 +18,7 @@ ${expectation_file_path}= csourceSubscriptions/expectation *** Test Cases *** 041_01_01 Query Context Source Registration Subscriptions - [Documentation] Check that you can query context source registration subscriptions + [Documentation] Check that one can query context source registration subscriptions [Tags] csrsub-query 5_11_5 ${response}= Query Context Source Registration Subscriptions context=${ngsild_test_suite_context} @{subscription_ids}= Create List ${first_subscription_id} ${second_subscription_id} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_02.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_02.robot index b1f013ca..9ee802d7 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_02.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query context source registration subscriptions with a limit parameter and it will be the maximum number of subscriptions to be retrieved +Documentation Check that one can query context source registration subscriptions with a limit parameter and it will be the maximum number of subscriptions to be retrieved Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -32,7 +32,7 @@ ${expectation_file_path}= csourceSubscriptions/expectation *** Keywords *** Query Context Source Registration Subscriptions With Limit Parameter - [Documentation] Check that you can query context source registration subscriptions with a limit parameter and it will be the maximum number of subscriptions to be retrieved + [Documentation] Check that one can query context source registration subscriptions with a limit parameter and it will be the maximum number of subscriptions to be retrieved [Arguments] ${limit} ${expected_subscription_number} ${response}= Query Context Source Registration Subscriptions ... context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_03.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_03.robot index dd52a0c7..bb1db3d5 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_03.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can query context source registration subscriptions with providing page and limit parameters for pagination +Documentation Check that one can query context source registration subscriptions with providing page and limit parameters for pagination Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -31,7 +31,7 @@ ${third_subscription_payload_file_path}= csourceSubscriptions/subscriptio *** Keywords *** Query Context Source Registration Subscriptions With Limit And Page Parameters - [Documentation] Check that you can query context source registration subscriptions with providing page and limit parameters for pagination + [Documentation] Check that one can query context source registration subscriptions with providing page and limit parameters for pagination [Arguments] ${limit} ${page} ${expected_subscription_number} ${prev_link} ${next_link} ${response}= Query Context Source Registration Subscriptions ... context=${ngsild_test_suite_context} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_04.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_04.robot index 4847fb55..9f83eb84 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_04.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions/041_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot query context source registration subscriptions with invalid page and limit parameters +Documentation Check that one cannot query context source registration subscriptions with invalid page and limit parameters Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -22,7 +22,7 @@ Test Template Query Context Source Registration Subscriptions With Invalid *** Keywords *** Query Context Source Registration Subscriptions With Invalid Limit And Page Parameters - [Documentation] Check that you cannot query context source registration subscriptions with invalid page and limit parameters + [Documentation] Check that one cannot query context source registration subscriptions with invalid page and limit parameters [Arguments] ${limit} ${page} ${response}= Query Context Source Registration Subscriptions limit=${limit} page=${page} Check Response Status Code 400 ${response.status_code} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_01.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_01.robot index b146cebd..fd4f0e45 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_01.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can retrieve a context source registration subscription +Documentation Check that one can retrieve a context source registration subscription Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -17,7 +17,7 @@ ${expectation_file_path}= csourceSubscriptions/expectations/subscr *** Test Cases *** 040_01_01 Retrieve Context Source Registration Subscription - [Documentation] Check that you can retrieve a context source registration subscription + [Documentation] Check that one can retrieve a context source registration subscription [Tags] csrsub-retrieve 5_11_4 ${response}= Retrieve Context Source Registration Subscription ... subscription_id=${subscription_id} @@ -37,7 +37,7 @@ ${expectation_file_path}= csourceSubscriptions/expectations/subscr ${expectation_payload}= Load Test Sample ${expectation_file_path} ${subscription_id} - # We need to ignore the Additional Members ('lastFailure', 'lastNotification', 'timesFailed', 'timesSent', 'isActive') + # One needs to ignore the Additional Members ('lastFailure', 'lastNotification', 'timesFailed', 'timesSent', 'isActive') ${ignored_attributes}= Create List ... ${status_regex_expr} ... ${lastfailure_regex_expr} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_02.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_02.robot index 38e117d9..b9a37b6b 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_02.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot retrieve a context source registration subscription with an invalid URI, an error of type BadRequestData shall be raised +Documentation Check that one cannot retrieve a context source registration subscription with an invalid URI, an error of type BadRequestData shall be raised Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** 040_02_01 Retrieve Context Source Registration Subscription With An Invalid Id - [Documentation] Check that you cannot retrieve a context source registration subscription with an invalid URI, an error of type BadRequestData shall be raised + [Documentation] Check that one cannot retrieve a context source registration subscription with an invalid URI, an error of type BadRequestData shall be raised [Tags] csrsub-retrieve 5_11_4 ${response}= Retrieve Context Source Registration Subscription ... subscription_id=invalidUri diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_03.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_03.robot index c615e3fd..0444ca91 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_03.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/RetrieveContextSourceRegistrationSubscription/040_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot retrieve an unknown context source registration subscription, an error of type ResourceNotFound shall be raised +Documentation Check that one cannot retrieve an unknown context source registration subscription, an error of type ResourceNotFound shall be raised Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource *** Test Cases *** 040_03_01 Retrieve Unknown Context Source Registration Subscription - [Documentation] Check that you cannot retrieve an unknown context source registration subscription, an error of type ResourceNotFound shall be raised + [Documentation] Check that one cannot retrieve an unknown context source registration subscription, an error of type ResourceNotFound shall be raised [Tags] csrsub-retrieve 5_11_4 ${response}= Retrieve Context Source Registration Subscription ... subscription_id=urn:ngsi-ld:Subscription:unknowSubscription diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_01.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_01.robot index d7dfeb9c..abef36c7 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_01.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can update a context source registration subscription +Documentation Check that one can update a context source registration subscription Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -17,7 +17,7 @@ ${subscription_update_fragment_file_path}= csourceSubscriptions/fragments/s *** Test Cases *** 039_01_01 Update Context Source Registration Subscription - [Documentation] Check that you can update a context source registration subscription + [Documentation] Check that one can update a context source registration subscription [Tags] csrsub-update 5_11_3 ${subscription_update_fragment}= Load Test Sample ${subscription_update_fragment_file_path} ${response}= Update Context Source Registration Subscription diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_02.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_02.robot index bee88a1d..a0369b61 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_02.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update a context source registration subscription with an invalid URI +Documentation Check that one cannot update a context source registration subscription with an invalid URI Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -12,7 +12,7 @@ ${subscription_update_fragment_file_path}= csourceSubscriptions/fragments/s *** Test Cases *** 039_02_01 Update Context Source Registration Subscription With Invalid Uri - [Documentation] Check that you cannot update a context source registration subscription with an invalid URI + [Documentation] Check that one cannot update a context source registration subscription with an invalid URI [Tags] csrsub-update 5_11_3 ${subscription_update_fragment}= Load Test Sample ${subscription_update_fragment_file_path} ${response}= Update Context Source Registration Subscription invalidUri ${subscription_update_fragment} diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_03.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_03.robot index b76d710e..889fa4f5 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_03.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update an unknown context source registration subscription +Documentation Check that one cannot update an unknown context source registration subscription Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -12,7 +12,7 @@ ${subscription_update_fragment_file_path}= csourceSubscriptions/fragments/s *** Test Cases *** 039_03_01 Update Unknown Context Source Registration Subscription - [Documentation] Check that you cannot update an unknown context source registration subscription + [Documentation] Check that one cannot update an unknown context source registration subscription [Tags] csrsub-update 5_11_3 ${subscription_update_fragment}= Load Test Sample ${subscription_update_fragment_file_path} ${response}= Update Context Source Registration Subscription diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_04.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_04.robot index b9b6c640..a6b513e4 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_04.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update a context source registration subscription with a fragment that does not meet the data types and restrictions expressed by clause 5.2.12 +Documentation Check that one cannot update a context source registration subscription with a fragment that does not meet the data types and restrictions expressed by clause 5.2.12 Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -26,7 +26,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription-sample *** Keywords *** Update Context Source Registration Subscription With Invalid Fragment - [Documentation] Check that you cannot update a context source registration subscription with a fragment that does not meet the data types and restrictions expressed by clause 5.2.12 + [Documentation] Check that one cannot update a context source registration subscription with a fragment that does not meet the data types and restrictions expressed by clause 5.2.12 [Arguments] ${filepath} ${subscription_update_fragment}= Load Test Sample ${filepath} ${response}= Update Context Source Registration Subscription diff --git a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_05.robot b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_05.robot index a8437109..06baea39 100644 --- a/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_05.robot +++ b/TP/NGSI-LD/ContextSource/RegistrationSubscription/UpdateContextSourceRegistrationSubscription/039_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot update a context source registration subscription with an invalid request body (invalid JSON document) +Documentation Check that one cannot update a context source registration subscription with an invalid request body (invalid JSON document) Resource ${EXECDIR}/resources/ApiUtils/ContextSourceRegistrationSubscription.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -17,7 +17,7 @@ ${subscription_update_fragment_file_path}= csourceSubscriptions/fragments/s *** Test Cases *** 039_05_01 Update Context Source Registration Subscription With Invalid JSON Fragment - [Documentation] Check that you cannot update a context source registration subscription with an invalid request body (invalid JSON document) + [Documentation] Check that one cannot update a context source registration subscription with an invalid request body (invalid JSON document) [Tags] csrsub-update 5_11_3 ${response}= Update Context Source Registration Subscription From File ... ${subscription_id} diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_01.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_01.robot index 5543d6c8..a91caa28 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_01.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can list all the @context available in the broker with no previous add @context +Documentation Check that one can list all the @context available in the broker with no previous add @context Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -42,7 +42,7 @@ ${reason_204}= No Content *** Keywords *** List @contexts with no previous created @context - [Documentation] Check that you can list @contexts + [Documentation] Check that one can list @contexts [Arguments] ${details} ${kind} ${count} ${response}= List @contexts ${details} ${kind} diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_02.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_02.robot index a638aa56..2bf51dff 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_02.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can list all the @context available in the broker with one add @context +Documentation Check that one can list all the @context available in the broker with one add @context Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -53,7 +53,7 @@ Create Initial @context Set Suite Variable ${uri_list} List @contexts with one previous created @context - [Documentation] Check that you can list @contexts + [Documentation] Check that one can list @contexts [Arguments] ${details} ${kind} ${count} ${response}= List @contexts ${details} ${kind} diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_03.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_03.robot index fa5fecdf..0d85319a 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_03.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can list all the @context available in the broker with several add @contexts +Documentation Check that one can list all the @context available in the broker with several add @contexts Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -69,7 +69,7 @@ Create Initial set of @contexts Set Suite Variable ${uri_list} List @contexts with several previous created @context - [Documentation] Check that you can list @contexts + [Documentation] Check that one can list @contexts [Arguments] ${details} ${kind} ${count} ${response}= List @contexts ${details} ${kind} diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_04.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_04.robot index ece295e6..5593fa1a 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_04.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you get an error when try to list @context with wrong details or kind +Documentation Check that one gets an error when try to list @context with wrong details or kind Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -33,7 +33,7 @@ ${reason_204}= No Content *** Keywords *** List @contexts with no previous created @context - [Documentation] Check that you can list @contexts + [Documentation] Check that one can list @contexts [Arguments] ${details} ${kind} ${response}= List @contexts ${details} ${kind} diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_05.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_05.robot index 282a6377..0ef9931c 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_05.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can list all the @context available in the broker with several add @contexts with details equal to true +Documentation Check that one can list all the @context available in the broker with several add @contexts with details equal to true Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -57,7 +57,7 @@ Create Initial set of @contexts Set Suite Variable ${uris} List @contexts with several previous created @context - [Documentation] Check that you can list @contexts + [Documentation] Check that one can list @contexts [Arguments] ${details} ${kind} ${count} ${response}= List @contexts ${details} ${kind} @@ -65,7 +65,7 @@ List @contexts with several previous created @context Check Response Status Code 200 ${response.status_code} Check Response Reason set to ${response.reason} ${reason_200} - # We need to check the list of responses + # One needs to check the list of responses Check Context Response Body Containing a JSONObject with details of the @contexts ... response=${response.json()} ... expected_length=${count} diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_06.robot b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_06.robot index 126332e2..53a12b00 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_06.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ListContexts/052_06.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can list all the @context available in the broker with no previous add @context +Documentation Check that one can list all the @context available in the broker with no previous add @context Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -46,7 +46,7 @@ ${reason_204}= No Content *** Keywords *** List @contexts with no previous created @context - [Documentation] Check that you can list @contexts + [Documentation] Check that one can list @contexts [Arguments] ${details} ${kind} ${count} ${response}= List @contexts ${details} ${kind} diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_01.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_01.robot index eab71356..ac532962 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_01.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can serve a previous created @context +Documentation Check that one can serve a previous created @context Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -33,7 +33,7 @@ Create Initial @context Set Suite Variable ${uri} Serve a @context with details - [Documentation] Check that you can serve a @context with details equal to empty or false + [Documentation] Check that one can serve a @context with details equal to empty or false [Arguments] ${details} ${response}= Serve a @context ${uri} ${details} diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_02.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_02.robot index ba065950..62976c0e 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_02.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can serve a previous created @context with details equal to True +Documentation Check that one can serve a previous created @context with details equal to True Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -30,7 +30,7 @@ Create Initial @context Set Suite Variable ${uri} Serve a @context with details equal to true - [Documentation] Check that you can serve a @context with details + [Documentation] Check that one can serve a @context with details [Arguments] ${details} ${context_type} ${response}= Serve a @context ${uri} ${details} diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_03.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_03.robot index 74efea15..19b1f020 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_03.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you get an error when try to serve a @context +Documentation Check that one gets an error when try to serve a @context Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -32,7 +32,7 @@ ${reason_422}= Unprocessable Content *** Keywords *** Serve @context with no previous created @context - [Documentation] Check that an error is returned when we request for a @context that does not exist + [Documentation] Check that an error is returned when one requests for a @context that does not exist [Arguments] ${contextid} ${details} ${statuscode} ${reason} ${error} ${response}= Serve a @context ${contextid} ${details} diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_04.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_04.robot index 3265e565..aebc56bb 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_04.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can get an increase numberOfHits after creation of a Hosted @context and using it +Documentation Check that one can get an increase numberOfHits after creation of a Hosted @context and using it Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource diff --git a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_07.robot b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_07.robot index ab9a82da..4e9652d5 100644 --- a/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_07.robot +++ b/TP/NGSI-LD/jsonldContext/Consumption/ServeContext/053_07.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that we can serve a ImplicitlyCreated @context with details set to true +Documentation Check that one can serve a ImplicitlyCreated @context with details set to true Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource @@ -16,8 +16,8 @@ ${reason_200}= OK *** Test Cases *** -053_07_01 Check that we can serve a ImplicitlyCreated @context with details set to true - [Documentation] Check that we 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 ${response}= Serve a @context @@ -39,7 +39,7 @@ ${reason_200}= OK # Check that there is no other keys Check Context Detailed Information Keys ${response.json()} - # We need to check the list of responses + # One needs to check the list of responses # Check Context Response Body Containing a JSONObject with details of a ImplicitlyCreated @contexts # ... response=${response.json()} # ... expected_length=1 diff --git a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_01.robot b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_01.robot index c33d4475..b1deb126 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_01.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can add a hosted @context +Documentation Check that one can add a hosted @context Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -28,7 +28,7 @@ ${reason_204}= No Content *** Keywords *** Add a valid @context - [Documentation] Check that you can add a @context + [Documentation] Check that one can add a @context [Arguments] ${filename} ${context_type} ${response}= Add a new @context ${filename} @@ -51,7 +51,7 @@ Add a valid @context Delete Initial @context ${response}= List @contexts true ${EMPTY} - # We need to extract all the contexts except the core context and delete them + # One needs to extract all the contexts except the core context and delete them FOR ${item} IN @{response.json()} ${uri}= Get From Dictionary ${item} URL IF '${uri}'=='${core_context}' diff --git a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_02.robot b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_02.robot index 926bcdf8..42cdbcb7 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_02.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you receive a 400 Bad Request creating a @context if the content is incorrect +Documentation Check that one receives a 400 Bad Request creating a @context if the content is incorrect Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource diff --git a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_03.robot b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_03.robot index a1b44b9c..1f645129 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_03.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can create a implicitlycreated @context through creating a subscription +Documentation Check that one can create a implicitlycreated @context through creating a subscription Resource ${EXECDIR}/resources/ApiUtils/ContextInformationSubscription.resource Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource @@ -15,7 +15,7 @@ ${subscription_payload_file_path}= jsonldContext/subscription-with-implicit *** Test Cases *** 050_03_01 Check the creation of ImplicitelyCreted @context - [Documentation] Check that you can create a subscription + [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 8ef82135..da2356ee 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_04.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/AddContext/050_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can add a hosted @context with list of URIs and each of them are cached @coxtexts +Documentation Check that one can add a hosted @context with list of URIs and each of them are cached @coxtexts Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ ${reason_204}= No Content *** Test Cases *** 050_04_01 Add a valid hosted @context with URIs and check that the URIs are Cached @contexts - [Documentation] Check that you can add a @context + [Documentation] Check that one can add a @context [Tags] ctx-add 5_13_2 since_v1.5.1 ${response}= Add a new @context ${filename_list} @@ -42,7 +42,7 @@ ${reason_204}= No Content *** Keywords *** Delete Initial @context ${response}= List @contexts true ${EMPTY} - # We need to extract all the contexts except the core context and delete them + # One needs to extract all the contexts except the core context and delete them FOR ${item} IN @{response.json()} ${uri}= Get From Dictionary ${item} URL IF '${uri}'=='${core_context}' diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_01.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_01.robot index 4bf1b55d..76db2a75 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_01.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_01.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can delete a previous created hosted @context without reload param +Documentation Check that one can delete a previous created hosted @context without reload param Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -15,7 +15,7 @@ ${reason_204}= No Content *** Test Cases *** 051_01_01 Delete a @context whose kind is hosted without reload param - [Documentation] Check that you can delete a hosted @context + [Documentation] Check that one can delete a hosted @context [Tags] ctx-serve 5_13_5 since_v1.5.1 ${response}= Delete a @context ${uri} diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_02.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_02.robot index 14761acb..87b08bb1 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_02.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_02.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you get an error when trying to delete an unknown @context identifier +Documentation Check that one gets an error when trying to delete an unknown @context identifier Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -11,7 +11,7 @@ ${reason_404}= Not Found *** Test Cases *** 051_02_01 Delete a @context with unknown @context identifier - [Documentation] Check that an error message is obtained in the response when we try to delete a @context with unknonwn id + [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 ${random_url}= Generate Random String 16 [NUMBERS] diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_03.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_03.robot index 5ca2ef6f..7cb2a6a5 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_03.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_03.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you can delete a previous created cached @context without reload param +Documentation Check that one can delete a previous created cached @context without reload param Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ ${reason_204}= No Content *** Test Cases *** 051_03_01 Delete a @context whose kind is cached without reload param - [Documentation] Check that you can delete a cached @context + [Documentation] Check that one can delete a cached @context [Tags] ctx-serve 5_13_5 since_v1.5.1 ${response}= Delete a @context ${contextId} @@ -43,7 +43,7 @@ Create Initial cached @context Delete Initial @context ${response}= List @contexts true ${EMPTY} - # We need to extract all the contexts except the core context and delete them + # One needs to extract all the contexts except the core context and delete them FOR ${item} IN @{response.json()} ${uri}= Get From Dictionary ${item} URL IF '${uri}'=='${core_context}' diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_04.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_04.robot index e73fbb7f..27fa75a8 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_04.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_04.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you get an error when try to delete a @context +Documentation Check that one gets an error when try to delete a @context Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -38,7 +38,7 @@ ${reason_422}= Unprocessable *** Keywords *** Delete a @context with wrong data - [Documentation] Check that you can delete a hosted @context + [Documentation] Check that one can delete a hosted @context [Arguments] ${contextid} ${reload} ${statuscode} ${reason} ${error} ${response}= Delete a @context ${contextid} ${reload} diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_05.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_05.robot index a1add01e..791ac312 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_05.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_05.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you get an error if we created an entity with a context (Cached context) and we try to delete it with reload=true +Documentation Check that one gets an error if one created an entity with a context (Cached context) and one tries to delete it with reload=true Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/ApiUtils/ContextInformationProvision.resource @@ -26,7 +26,7 @@ ${uri} /api/v1/context.jsonld *** Test Cases *** 051_05_01 Delete and Reload a Cached @context with no communication with the Context Server - [Documentation] Check that you get an error if we try to 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 ${response}= Delete a @context ${uri} true diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_06.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_06.robot index 57802432..b144b2b0 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_06.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_06.robot @@ -17,7 +17,7 @@ ${reason_204}= No Content *** Test Cases *** 051_06_01 Delete a @context whose kind is ImplicitlyCreated without reload param - [Documentation] Check that we can delete a ImplicitlyCreated @context + [Documentation] Check that one can delete a ImplicitlyCreated @context [Tags] ctx-serve 5_13_5 since_v1.5.1 ${response}= Delete a @context ${implicit_id} diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_07.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_07.robot index cbbb816a..bef55e67 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_07.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_07.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you cannot delete a ImplicitlyCreated @context with reload set to true +Documentation Check that one cannot delete a ImplicitlyCreated @context with reload set to true Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -16,7 +16,7 @@ ${reason_400}= Bad Request *** Test Cases *** 051_07_01 Delete a ImplicitlyCreated @contexts with a valid id and reload set to true - [Documentation] Check that you cannot delete a ImplicitlyCreated @context with 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 ${response}= Delete a @context ${implicit_id} true diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_08.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_08.robot index ccf461e7..c6b440d6 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_08.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_08.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you get an error when try to delete the core @context +Documentation Check that one gets an error when try to delete the core @context Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource @@ -24,7 +24,7 @@ ${type}= https://uri.etsi.org/ngsi-ld/errors/BadRequestData *** Keywords *** Delete a core @context - [Documentation] Check that you get an error when try to delete the core @context + [Documentation] Check that one gets an error when try to delete the core @context [Arguments] ${reload} ${response}= Delete a @context ${core_context} ${reload} diff --git a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_09.robot b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_09.robot index c36c2156..30fd1e47 100644 --- a/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_09.robot +++ b/TP/NGSI-LD/jsonldContext/Provision/DeleteContext/051_09.robot @@ -1,5 +1,5 @@ *** Settings *** -Documentation Check that you get an error when try to delete the core @context +Documentation Check that one gets an error when try to delete the core @context Resource ${EXECDIR}/resources/ApiUtils/jsonldContext.resource Resource ${EXECDIR}/resources/AssertionUtils.resource diff --git a/TP/NGSI-LD/substitute.py b/TP/NGSI-LD/substitute.py index b0475044..ab70beea 100644 --- a/TP/NGSI-LD/substitute.py +++ b/TP/NGSI-LD/substitute.py @@ -1,7 +1,7 @@ import sys from os import SEEK_SET -if len(sys.argv) != 4: +if len(sys.argv) <= 4: print("Usage: python3 substitute.py []") # find . -type f -name "*.robot" -exec python3 substitute.py "you can" "one can" '{}' + -- GitLab From 8457d0f4d8766e9a1dbaebbb0383dc9cd5c8c150 Mon Sep 17 00:00:00 2001 From: Serafino Date: Wed, 5 Jun 2024 13:24:53 +0200 Subject: [PATCH 4/5] printig better info to locate wanted strings --- TP/NGSI-LD/find.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TP/NGSI-LD/find.py b/TP/NGSI-LD/find.py index e18f107f..4eeaa68d 100644 --- a/TP/NGSI-LD/find.py +++ b/TP/NGSI-LD/find.py @@ -11,7 +11,7 @@ for filename in sys.argv[2:]: for line in file: if sys.argv[1] in line: counter += line.count(sys.argv[1]) - print(line.replace(sys.argv[1], f"\033[91m{sys.argv[1]}\033[0m")) + print(f"\033[94m{filename}\033[0m", line.replace(sys.argv[1], f"\033[91m{sys.argv[1]}\033[0m"), sep='\t') print("Found {} occurrences".format(counter)) -- GitLab From fc0ba900c2bae84bda35b8ca2d620dae59ac9b1b Mon Sep 17 00:00:00 2001 From: Serafino Pirronitto Date: Fri, 7 Jun 2024 14:36:17 +0000 Subject: [PATCH 5/5] removed scripts --- TP/NGSI-LD/find.py | 18 ------------------ TP/NGSI-LD/substitute.py | 17 ----------------- 2 files changed, 35 deletions(-) delete mode 100644 TP/NGSI-LD/find.py delete mode 100644 TP/NGSI-LD/substitute.py diff --git a/TP/NGSI-LD/find.py b/TP/NGSI-LD/find.py deleted file mode 100644 index 4eeaa68d..00000000 --- a/TP/NGSI-LD/find.py +++ /dev/null @@ -1,18 +0,0 @@ -import sys - -if len(sys.argv) < 2: - print("Usage: python3 find.py [otherfile, ...]", file=sys.stderr) - # find . -type f -name "*.robot" -exec python3 find.py "you" '{}' + - exit(1) - -counter = 0 -for filename in sys.argv[2:]: - with open(filename, "r") as file: - for line in file: - if sys.argv[1] in line: - counter += line.count(sys.argv[1]) - print(f"\033[94m{filename}\033[0m", line.replace(sys.argv[1], f"\033[91m{sys.argv[1]}\033[0m"), sep='\t') - -print("Found {} occurrences".format(counter)) - - diff --git a/TP/NGSI-LD/substitute.py b/TP/NGSI-LD/substitute.py deleted file mode 100644 index ab70beea..00000000 --- a/TP/NGSI-LD/substitute.py +++ /dev/null @@ -1,17 +0,0 @@ -import sys -from os import SEEK_SET - -if len(sys.argv) <= 4: - print("Usage: python3 substitute.py []") - # find . -type f -name "*.robot" -exec python3 substitute.py "you can" "one can" '{}' + - - -counter = 0 -for filename in sys.argv[3:]: - with open(filename, "r+") as file: - lines = file.readlines() - file.seek(0, SEEK_SET) - for line in lines: - counter += line.count(sys.argv[1]) - file.write(line.replace(sys.argv[1], sys.argv[2])) -print ("Performed {} substitutions".format(counter)) -- GitLab