1
0
mirror of https://github.com/qt/qtmqtt.git synced 2026-10-25 16:16:26 +00:00
qtmqtt/tests
Lucie Gérard d431a18c5c Add license headers to cmake files
CMakeLists.txt and .cmake files of significant size
(more than 2 lines according to our check in tst_license.pl)
now have the copyright and license header.

Existing copyright statements remain intact

Task-number: QTBUG-88621
Change-Id: I40135f08b4e89e8e034ec764ffed3273fc60646a
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
2022-07-07 10:10:51 +02:00
..
auto Add license headers to cmake files 2022-07-07 10:10:51 +02:00
benchmarks Use SPDX license identifiers 2022-06-16 10:22:20 +02:00
common Use SPDX license identifiers 2022-06-16 10:22:20 +02:00
libfuzzer/mqtt/data_receive Use SPDX license identifiers 2022-06-16 10:22:20 +02:00
manual/sslconfiguration Add license headers to cmake files 2022-07-07 10:10:51 +02:00
CMakeLists.txt Add license headers to cmake files 2022-07-07 10:10:51 +02:00
README.txt Add README for using auto tests 2018-02-02 07:59:27 +00:00

The tests included in the subdirectories check for functionality and
conformance of the Qt MQTT module.

To be able to run the tests successfully, a broker needs to be available and
reachable.

The continuous integration utilized the paho conformance test broker. It can
be obtained at this location:
https://github.com/eclipse/paho.mqtt.testing

For the unit tests being able to locate this script, use the
MQTT_TEST_BROKER_LOCATION environment variable and set it
to “<install-path>/interoperability/startbroker.py”.

Alternatively, any broker can be instantiated and passed to the auto tests
by using the environment variable MQTT_TEST_BROKER. This must point to a
valid url. The broker must run on the standardized port 1883.

Note, that the unit tests verify functionality against the MQTT 3.1.1 version
of the standard, hence the broker needs to be compliant to the adherent
specifications.