Commit 456872aa authored by lopesg's avatar lopesg
Browse files

tests renumbering and some fixes

parent 6dea8598
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ ${filename}= building-simple-attributes-sample.jsonld
${expectation_filename}=  building-simple-attributes-sample-expectation.jsonld

*** Test Cases ***                               
001_01_Get an entity by id
018_01_01_Get an entity by id
    [Documentation]  Check that you can get an entity by id
    [Tags]  mandatory

+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ ${attribute_airqualitylevel}= https://uri.fiware.org/ns/data-models#airQualityL
${attribute_subcategory}=  https://uri.fiware.org/ns/data-models#subCategory

*** Test Cases ***                               
001_02_Query some attributes from an entity
018_01_02_Query some attributes from an entity
    [Documentation]  Check that you can query some attributes from an entity
    [Tags]  mandatory

+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ ${expectation_filename}= building-location-attribute-sample-expectation-query-g
${geometry_property}=  location

*** Test Cases ***                               
001_03_Query the geometry property from an entity
018_01_03_Query the geometry property from an entity
    [Documentation]  Check that you can query the geometry property from an entity
    [Tags]  mandatory

+2 −2
Original line number Diff line number Diff line
@@ -6,8 +6,8 @@ Resource ${EXECDIR}/resources/AssertionUtils.resource
Test Template  Get Entity With Invalid/Missing Id

*** Test Cases ***                                                  ENTITY_ID                     EXPECTED_STATUS_CODE       PROBLEM_TYPE                      
002_01_Get an entity if the Entity Id is not present                ${EMPTY}                      400                        ${ERROR_TYPE_BAD_REQUEST_DATA}
002_02_Get an entity if the Entity Id is not a valid URI            thisisaninvaliduri            400                        ${ERROR_TYPE_BAD_REQUEST_DATA}
018_02_01_Get an entity if the Entity Id is not present                ${EMPTY}                      400                        ${ERROR_TYPE_BAD_REQUEST_DATA}
018_02_02_Get an entity if the Entity Id is not a valid URI            thisisaninvaliduri            400                        ${ERROR_TYPE_BAD_REQUEST_DATA}

*** Keywords ***                               
Get Entity With Invalid/Missing Id
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Resource ${EXECDIR}/resources/JsonUtils.resource
${building_id_prefix}=  urn:ngsi-ld:Building:

*** Test Cases ***                                                 
003_01_Get an entity if the Entity Id is not known to the system           
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
    [Tags]  mandatory    failing

Loading