Loading .idea/runConfigurations/jsonldContext_Consumption_Unit_Tests.xml 0 → 100644 +18 −0 Original line number Diff line number Diff line <component name="ProjectRunConfigurationManager"> <configuration default="false" name="jsonldContext Consumption Unit Tests" type="tests" factoryName="Autodetect"> <module name="ngsi-ld-test-suite" /> <option name="ENV_FILES" value="" /> <option name="INTERPRETER_OPTIONS" value="" /> <option name="PARENT_ENVS" value="true" /> <option name="SDK_HOME" value="" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/doc" /> <option name="IS_MODULE_SDK" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" /> <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> <option name="_new_additionalArguments" value="""" /> <option name="_new_target" value=""$PROJECT_DIR$/doc/tests/test_jsonldContext_Consumption.py"" /> <option name="_new_targetType" value=""PATH"" /> <method v="2" /> </configuration> </component> No newline at end of file .idea/runConfigurations/jsonldContext_Provision_Unit_Tests.xml 0 → 100644 +18 −0 Original line number Diff line number Diff line <component name="ProjectRunConfigurationManager"> <configuration default="false" name="jsonldContext Provision Unit Tests" type="tests" factoryName="Autodetect"> <module name="ngsi-ld-test-suite" /> <option name="ENV_FILES" value="" /> <option name="INTERPRETER_OPTIONS" value="" /> <option name="PARENT_ENVS" value="true" /> <option name="SDK_HOME" value="" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/doc" /> <option name="IS_MODULE_SDK" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" /> <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> <option name="_new_additionalArguments" value="""" /> <option name="_new_target" value=""$PROJECT_DIR$/doc/tests/test_jsonldContext_Provision.py"" /> <option name="_new_targetType" value=""PATH"" /> <method v="2" /> </configuration> </component> No newline at end of file README.md +1 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,7 @@ server to listen to notifications (the address must be accessible by the context Default value: `0.0.0.0` and `8085`. - `context_source_host` and `context_source_port` : The address and port used for the context source. Default value: `0.0.0.0` and `8086`. - `core_context`: The core context used by the Context Broker. When you execute locally the tests, you can leave the default values as they are. NGSI-LD Test Suite provides a mockup services to provide the notification functionality and therefore the notification_server_host can be Loading TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_01.robot +3 −3 Original line number Diff line number Diff line Loading @@ -49,9 +49,9 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building ... entity_types=${entity_types_to_be_retrieved} Check Response Status Code 200 ${response.status_code} Check Response Body Containing List Containing Entity Elements ... ${expectation_filename} ... ${entities_ids_to_be_compared} ... ${response.json()} ... expectation_filename=${expectation_filename} ... entities_ids=${entities_ids_to_be_compared} ... response_body=${response.json()} *** Keywords *** Loading TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_01.robot +3 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,9 @@ Append Attributes Without Params ... id=${entity_id} ... context=${ngsild_test_suite_context} ... accept=${CONTENT_TYPE_LD_JSON} Check Updated Resource Set To ${entity_expectation_payload} ${response1.json()} Check Updated Resource Set To ... updated_resource=${entity_expectation_payload} ... response_body=${response1.json()} Create Initial Entity ${entity_id}= Generate Random Entity Id ${vehicle_id_prefix} Loading Loading
.idea/runConfigurations/jsonldContext_Consumption_Unit_Tests.xml 0 → 100644 +18 −0 Original line number Diff line number Diff line <component name="ProjectRunConfigurationManager"> <configuration default="false" name="jsonldContext Consumption Unit Tests" type="tests" factoryName="Autodetect"> <module name="ngsi-ld-test-suite" /> <option name="ENV_FILES" value="" /> <option name="INTERPRETER_OPTIONS" value="" /> <option name="PARENT_ENVS" value="true" /> <option name="SDK_HOME" value="" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/doc" /> <option name="IS_MODULE_SDK" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" /> <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> <option name="_new_additionalArguments" value="""" /> <option name="_new_target" value=""$PROJECT_DIR$/doc/tests/test_jsonldContext_Consumption.py"" /> <option name="_new_targetType" value=""PATH"" /> <method v="2" /> </configuration> </component> No newline at end of file
.idea/runConfigurations/jsonldContext_Provision_Unit_Tests.xml 0 → 100644 +18 −0 Original line number Diff line number Diff line <component name="ProjectRunConfigurationManager"> <configuration default="false" name="jsonldContext Provision Unit Tests" type="tests" factoryName="Autodetect"> <module name="ngsi-ld-test-suite" /> <option name="ENV_FILES" value="" /> <option name="INTERPRETER_OPTIONS" value="" /> <option name="PARENT_ENVS" value="true" /> <option name="SDK_HOME" value="" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/doc" /> <option name="IS_MODULE_SDK" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" /> <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> <option name="_new_additionalArguments" value="""" /> <option name="_new_target" value=""$PROJECT_DIR$/doc/tests/test_jsonldContext_Provision.py"" /> <option name="_new_targetType" value=""PATH"" /> <method v="2" /> </configuration> </component> No newline at end of file
README.md +1 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,7 @@ server to listen to notifications (the address must be accessible by the context Default value: `0.0.0.0` and `8085`. - `context_source_host` and `context_source_port` : The address and port used for the context source. Default value: `0.0.0.0` and `8086`. - `core_context`: The core context used by the Context Broker. When you execute locally the tests, you can leave the default values as they are. NGSI-LD Test Suite provides a mockup services to provide the notification functionality and therefore the notification_server_host can be Loading
TP/NGSI-LD/ContextInformation/Consumption/Entity/QueryEntities/019_01_01.robot +3 −3 Original line number Diff line number Diff line Loading @@ -49,9 +49,9 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building ... entity_types=${entity_types_to_be_retrieved} Check Response Status Code 200 ${response.status_code} Check Response Body Containing List Containing Entity Elements ... ${expectation_filename} ... ${entities_ids_to_be_compared} ... ${response.json()} ... expectation_filename=${expectation_filename} ... entities_ids=${entities_ids_to_be_compared} ... response_body=${response.json()} *** Keywords *** Loading
TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_01.robot +3 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,9 @@ Append Attributes Without Params ... id=${entity_id} ... context=${ngsild_test_suite_context} ... accept=${CONTENT_TYPE_LD_JSON} Check Updated Resource Set To ${entity_expectation_payload} ${response1.json()} Check Updated Resource Set To ... updated_resource=${entity_expectation_payload} ... response_body=${response1.json()} Create Initial Entity ${entity_id}= Generate Random Entity Id ${vehicle_id_prefix} Loading