Loading TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_02.robot +5 −5 Original line number Diff line number Diff line Loading @@ -17,15 +17,15 @@ ${entity_payload_filename}= building-simple-attributes-sample.jsonld *** Test Cases *** FILENAME UPDATE_FRAGMENT_FILENAME EXPECTED_STATUS 005_02_01 EntityWithSimpleProperties 005_02_01 EntityWithExistingAttributes [Tags] be-update 5_6_9 building-simple-attributes-sample.jsonld fragmentEntities/empty-fragment.json 207 005_02_02 EntityWithSimpleRelationships building-simple-attributes-sample.jsonld fragmentEntities/empty-fragment.json 204 005_02_02 EntityWithNewAttribute [Tags] be-update 5_6_9 building-relationship-sample.jsonld fragmentEntities/locatedAt-fragment.json 204 005_02_03 EntityWithRelationshipsProperties 005_02_03 EntityWithNewAndExistingAttribute [Tags] be-update 5_6_9 building-relationship-of-property-sample.jsonld fragmentEntities/empty-fragment.json 207 building-location-attribute-sample.jsonld fragmentEntities/location-fragment.json 204 *** Keywords *** Loading TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_04.robot +3 −3 Original line number Diff line number Diff line Loading @@ -17,9 +17,9 @@ ${filename}= vehicle-speed-two-datasetid-sample.jsonld *** Test Cases *** STATUS_CODE FRAGMENT_FILENAME EXPECTATION_RESPONSE_BODY EXPECTATION_FILENAME 010_04_01 Append entity attributes 207 vehicle-attribute-to-add-fragment.jsonld add-attribute-expectation.jsonld vehicle-speed-appended-expectation.jsonld 010_04_02 Append entity attributes 010_04_01 Append entity attributes and ignore existing multi-attribute instance 204 vehicle-attribute-to-add-fragment.jsonld ${EMPTY} vehicle-speed-appended-expectation.jsonld 010_04_02 Append entity attributes with a new multi-attribute instance 204 vehicle-speed-different-datasetid-fragment.jsonld ${EMPTY} vehicle-speed-different-datasetid-expectation.jsonld Loading TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_01.robot +2 −2 Original line number Diff line number Diff line Loading @@ -21,8 +21,8 @@ ${filename}= vehicle-two-datasetid-attributes-sample.jsonld 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 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 others failed 207 vehicle-speed-two-datasetid-03-fragment.jsonld vehicle-speed-datasetid-expectation.jsonld expectations/vehicle-multi-attributes-expectation.jsonld 011_01_03 Check that you 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 *** Loading data/entities/expectations/add-attribute-expectation.jsonlddeleted 100644 → 0 +0 −11 Original line number Diff line number Diff line { "updated":[ "https://uri.etsi.org/ngsi-ld/default-context/attribute_to_be_added" ], "notUpdated":[ { "attributeName": "https://ngsi-ld-test-suite/context#speed", "reason": "a reason ignored during the comparison" } ] } No newline at end of file data/entities/expectations/vehicle-speed-datasetid-expectation.jsonlddeleted 100644 → 0 +0 −6 Original line number Diff line number Diff line { "updated":[ "https://ngsi-ld-test-suite/context#speed" ], "notUpdated":[ ] } No newline at end of file Loading
TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_02.robot +5 −5 Original line number Diff line number Diff line Loading @@ -17,15 +17,15 @@ ${entity_payload_filename}= building-simple-attributes-sample.jsonld *** Test Cases *** FILENAME UPDATE_FRAGMENT_FILENAME EXPECTED_STATUS 005_02_01 EntityWithSimpleProperties 005_02_01 EntityWithExistingAttributes [Tags] be-update 5_6_9 building-simple-attributes-sample.jsonld fragmentEntities/empty-fragment.json 207 005_02_02 EntityWithSimpleRelationships building-simple-attributes-sample.jsonld fragmentEntities/empty-fragment.json 204 005_02_02 EntityWithNewAttribute [Tags] be-update 5_6_9 building-relationship-sample.jsonld fragmentEntities/locatedAt-fragment.json 204 005_02_03 EntityWithRelationshipsProperties 005_02_03 EntityWithNewAndExistingAttribute [Tags] be-update 5_6_9 building-relationship-of-property-sample.jsonld fragmentEntities/empty-fragment.json 207 building-location-attribute-sample.jsonld fragmentEntities/location-fragment.json 204 *** Keywords *** Loading
TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_04.robot +3 −3 Original line number Diff line number Diff line Loading @@ -17,9 +17,9 @@ ${filename}= vehicle-speed-two-datasetid-sample.jsonld *** Test Cases *** STATUS_CODE FRAGMENT_FILENAME EXPECTATION_RESPONSE_BODY EXPECTATION_FILENAME 010_04_01 Append entity attributes 207 vehicle-attribute-to-add-fragment.jsonld add-attribute-expectation.jsonld vehicle-speed-appended-expectation.jsonld 010_04_02 Append entity attributes 010_04_01 Append entity attributes and ignore existing multi-attribute instance 204 vehicle-attribute-to-add-fragment.jsonld ${EMPTY} vehicle-speed-appended-expectation.jsonld 010_04_02 Append entity attributes with a new multi-attribute instance 204 vehicle-speed-different-datasetid-fragment.jsonld ${EMPTY} vehicle-speed-different-datasetid-expectation.jsonld Loading
TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/UpdateEntityAttributes/011_01.robot +2 −2 Original line number Diff line number Diff line Loading @@ -21,8 +21,8 @@ ${filename}= vehicle-two-datasetid-attributes-sample.jsonld 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 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 others failed 207 vehicle-speed-two-datasetid-03-fragment.jsonld vehicle-speed-datasetid-expectation.jsonld expectations/vehicle-multi-attributes-expectation.jsonld 011_01_03 Check that you 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 *** Loading
data/entities/expectations/add-attribute-expectation.jsonlddeleted 100644 → 0 +0 −11 Original line number Diff line number Diff line { "updated":[ "https://uri.etsi.org/ngsi-ld/default-context/attribute_to_be_added" ], "notUpdated":[ { "attributeName": "https://ngsi-ld-test-suite/context#speed", "reason": "a reason ignored during the comparison" } ] } No newline at end of file
data/entities/expectations/vehicle-speed-datasetid-expectation.jsonlddeleted 100644 → 0 +0 −6 Original line number Diff line number Diff line { "updated":[ "https://ngsi-ld-test-suite/context#speed" ], "notUpdated":[ ] } No newline at end of file