Commit fc6fe27a authored by kzangeli's avatar kzangeli
Browse files

fix(019_02/09/26/28): MR !301 TCs to the spec - langProperties for...

fix(019_02/09/26/28): MR !301 TCs to the spec - langProperties for LanguageProperty paths, quoted values, != count, String jsonKeys/expandValues, bare date-time and regex; testsuite-doubts 106-110
parent 4687e078
Loading
Loading
Loading
Loading
+1 −2
Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_08.robot: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -35,10 +35,9 @@ Query entities via POST based on q on a JsonProperty
    [Documentation]    Check that one can query entities via POST based on q on a JsonProperty
    [Arguments]    ${q}    ${json_keys}    ${expected_count}

    @{json_keys_list}=    Create List    ${json_keys}
    ${response}=    Query Entities Via POST
    ...    q=${q}
    ...    jsonKeys=@{json_keys_list}
    ...    jsonKeys=${json_keys}
    ...    count=true
    ...    context=${ngsild_test_suite_context}

+6 −7
Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_02_09.robot: 6 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -23,13 +23,13 @@ ${SIGHTSEEING_URI} https://uri.etsi.org/ngsi-ld/default-context/sightseeing
# second entity: vocabProperty = ["monument", "sightseeing"] (array)
019_02_09_01 QueryWithExpandValuesEqualMonument
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty==monument    vocabProperty    2
    vocabProperty=="monument"    vocabProperty    2
019_02_09_02 QueryWithExpandValuesEqualSightseeing
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty==sightseeing    vocabProperty    1
    vocabProperty=="sightseeing"    vocabProperty    1
019_02_09_03 QueryWithExpandValuesUnequalSightseeing
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty!=monument    vocabProperty    1
    vocabProperty!="monument"    vocabProperty    0
019_02_09_04 QueryWithUriMonument
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty=="${MONUMENT_URI}"    ${EMPTY}    2
@@ -38,10 +38,10 @@ ${SIGHTSEEING_URI} https://uri.etsi.org/ngsi-ld/default-context/sightseeing
    vocabProperty=="${SIGHTSEEING_URI}"    ${EMPTY}    1
019_02_09_06 QueryWithExpandValuesValueListEqual
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty==monument,sightseeing    vocabProperty    2
    vocabProperty=="monument","sightseeing"    vocabProperty    2
019_02_09_07 QueryWithExpandValuesValueListUnequal
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty!=monument,sightseeing    vocabProperty    0
    vocabProperty!="monument","sightseeing"    vocabProperty    0
019_02_09_08 QueryWithUriValueList
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty=="${MONUMENT_URI}","${SIGHTSEEING_URI}"    ${EMPTY}    2
@@ -52,10 +52,9 @@ Query entities via POST based on q on a VocabProperty
    [Documentation]    Check that one can query entities based on q on a VocabProperty
    [Arguments]    ${q}    ${expand_values}    ${expected_count}

    @{expand_values_list}=    Create List    ${expand_values}
    ${response}=    Query Entities Via POST
    ...    q=${q}
    ...    expandValues=${expand_values_list}
    ...    expandValues=${expand_values}
    ...    count=true
    ...    context=${ngsild_test_suite_context}

+1 −1
Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_09.robot: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building
    locatedIn    1
019_09_14 QueryOnSubAttributeObservedAt
    [Tags]    e-query    5_7_2
    airQualityLevel.observedAt>="2021-01-01T00:00:00Z"    1
    airQualityLevel.observedAt>=2021-01-01T00:00:00Z    1
019_09_15 QueryOnAirQualityLevelValueListEqual
    [Tags]    e-query    5_7_2
    airQualityLevel==4,6    2
+2 −1
Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_26.robot: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ Test Template Query entities based on q on a LanguageProperty
    street[*]!="SomeOtherValue"    2
019_26_06 QueryOnWildcardLanguageMatchPatternFrValue
    [Tags]    e-query    5_7_2    4_5_18    since_v1.6.1
    street[*]~=".*Place"    2
    street[*]~=.*Place    2


*** Keywords ***
@@ -42,6 +42,7 @@ Query entities based on q on a LanguageProperty

    ${response}=    Query Entities
    ...    q=${q}
    ...    langProperties=street
    ...    count=true
    ...    context=${ngsild_test_suite_context}

+5 −5
Changes for TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_28.robot: 5 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -23,13 +23,13 @@ ${SIGHTSEEING_URI}= https://uri.etsi.org/ngsi-ld/default-context/sightseeing
# second entity: vocabProperty = ["monument", "sightseeing"] (array)
019_28_01 QueryWithExpandValuesEqualMonument
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty==monument    vocabProperty    2
    vocabProperty=="monument"    vocabProperty    2
019_28_02 QueryWithExpandValuesEqualSightseeing
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty==sightseeing    vocabProperty    1
    vocabProperty=="sightseeing"    vocabProperty    1
019_28_03 QueryWithExpandValuesUnequalSightseeing
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty!=monument    vocabProperty    1
    vocabProperty!="monument"    vocabProperty    0
019_28_04 QueryWithUriMonument
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty=="${MONUMENT_URI}"    ${EMPTY}    2
@@ -38,10 +38,10 @@ ${SIGHTSEEING_URI}= https://uri.etsi.org/ngsi-ld/default-context/sightseeing
    vocabProperty=="${SIGHTSEEING_URI}"    ${EMPTY}    1
019_28_06 QueryWithExpandValuesValueListEqual
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty==monument,sightseeing    vocabProperty    2
    vocabProperty=="monument","sightseeing"    vocabProperty    2
019_28_07 QueryWithExpandValuesValueListUnequal
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty!=monument,sightseeing    vocabProperty    0
    vocabProperty!="monument","sightseeing"    vocabProperty    0
019_28_08 QueryWithUriValueList
    [Tags]    e-query    5_7_2    4_5_20    since_v1.7.1
    vocabProperty=="${MONUMENT_URI}","${SIGHTSEEING_URI}"    ${EMPTY}    2
Loading