- 02 Feb, 2019 1 commit
-
-
Simon Giesecke authored
Solution: move general monitoring test utilities to new testutil_monitoring
-
- 13 Sep, 2018 1 commit
-
-
Francesco Montorsi authored
Add new HWM tests and more detailed documentation
-
- 09 Sep, 2018 1 commit
-
-
Christoph Schulz authored
- Lowercase all commands - Unify indent to 2 spaces - Remove spaces around brackets - Remove repitition of condition in else(...) and endif(...) Note: (re-)running CMake did not change the content of the generated files
-
- 23 Aug, 2018 1 commit
-
-
Simon Giesecke authored
Solution: merge into a single test_use_fd and reduce code duplication by extracting common functions
-
- 16 Aug, 2018 2 commits
-
-
Simon Giesecke authored
Problem: test program test_unbind_inproc is redundant, the same is already tested in test_inproc_connect Solution: remove test_unbind_inproc
-
Wenbin Hou authored
Use ZeroMQ_SOURCE_DIR, ZeroMQ_BINARY_DIR instead of CMAKE_SOURCE_DIR, CMAKE_BINARY_DIR in tests/CMakeLists.txt Similar reason to change unittests/CMakeLists.txt
-
- 15 Aug, 2018 1 commit
-
-
Szekely Gyorgy authored
* Add ZMQ_ROUTER_NOTIFY draft socket option
-
- 23 Jun, 2018 1 commit
-
-
Luca Boccassi authored
Solution: add some msg helpers to parse commands, and check for subscribe or cancel commands and process them accordingly in the xpub and xsub classes.
-
- 01 Jun, 2018 1 commit
-
-
Simon Giesecke authored
Solution: guard CMake statement properly
-
- 24 May, 2018 2 commits
-
-
Simon Giesecke authored
Solution: specify not to use stdint.h for VS<=2008, fixes #3025
-
Simon Giesecke authored
Solution: fix indentation
-
- 23 May, 2018 2 commits
-
-
Simon Giesecke authored
Solution: increase timeout
-
Simon Giesecke authored
Solution: increase timeout, remove timeout settings for unsupported poll poller
-
- 28 Apr, 2018 1 commit
-
-
Luca Boccassi authored
Solution: check more socket type to cover other session managers. Increase timeout as the test now takes ~12 seconds.
-
- 16 Mar, 2018 2 commits
-
-
Simon Giesecke authored
Solution: migrate to unity, merge into test_radio_dish, and split up test cases
-
Kachanovskiy authored
-
- 15 Mar, 2018 1 commit
-
-
Simon Giesecke authored
Solution: add appropriate definitions to build
-
- 14 Mar, 2018 2 commits
-
-
Pontus Sköldström authored
Lets the application set per-connection metadata. Metadata is specified as "X-key:value" and set using zmq_setsockopt, eg: zmq_setsockopt (s, ZMQ_METADATA, "X-key:value", 11); The peer can then obtain the metadata from a received message: char *data = zmq_msg_gets(msg, "X-key");
-
Simon Giesecke authored
Solution: migrate to unity
-
- 09 Mar, 2018 1 commit
-
-
Luca Boccassi authored
* Problem: TIPC availability check is too strict Solution: at build time only check if the API is available. In the tests do a first check and a skip if the functionality is not available. TIPC needs an in-tree but not loaded by default kernel module, tipc.ko to be loaded, which requires root, so it is unlikely to be available on any build system by default. This will allow most distributions to ship with TIPC support built in, and to avoid tests failure if the module is not there. * Problem: no Travis tests for TIPC Solution: mark one job with sudo: required and load the kernel module * Problem: CMake fails when test returns 77 (skip) Solution: set property to let it mark the test as skipped as intended
-
- 07 Mar, 2018 1 commit
-
-
Pontus.Skoeldstroem authored
* Tests for different TIPC address types and code cleanup * Adds tests for binding/connecting with different TIPC address types using Unity * Adds error checking for address type misuse
-
- 02 Mar, 2018 1 commit
-
-
Luca Boccassi authored
Solution: add test_xpub_verbose to cover those APIs
-
- 13 Feb, 2018 1 commit
-
-
Simon Giesecke authored
Solution: Increase test timeouts for poll poller under Windows
-
- 11 Feb, 2018 1 commit
-
-
sigiesec authored
Solution: add unity test framework, and integrate into cmake build
-
- 20 Nov, 2017 1 commit
-
-
Luca Boccassi authored
Solution: build all the objects separately before the link step, to avoid rebuilding when doing both static and shared builds
-
- 19 Nov, 2017 1 commit
-
-
Luca Boccassi authored
Solution: don't redefine preprocessor macro if it's already defined in platform.hpp
-
- 05 Oct, 2017 1 commit
-
-
Ilya Kulakov authored
Solution: Don't unlink file on close File may not belong to the socket at that point.
-
- 19 Sep, 2017 1 commit
-
-
Luca Boccassi authored
Solution: when a connection breaks and ZMQ_RECONNECT_IVL is set to -1, which means a reconnection will not be attempted, send a message from the I/O thread to the application thread to make the socket call term_endpoint, which is the equivalent of manually calling zmq_disconnect. This way subsequent zmq_connect call to the same endpoint will attempt again to do a connection. Otherwise, for some socket types like SUBs, those new connects will fail as the endpoint is recorded, despite the connection having been permanently closed. Add test cases to exercise this corner case with TCP and IPC.
-
- 01 Sep, 2017 1 commit
-
-
Luca Boccassi authored
Solution: remove redundant target_sources directive
-
- 22 Aug, 2017 1 commit
-
-
sigiesec authored
Soluton: added tests
-
- 21 Aug, 2017 1 commit
-
-
Simon Giesecke authored
Solution: enable test
-
- 17 Aug, 2017 1 commit
-
-
sigiesec authored
Solution: Move ZAP tests to own file test_security_zap.cpp, move common code to testutil_security.hpp
-
- 15 Aug, 2017 1 commit
-
-
Simon Giesecke authored
* Extracted connect_vanilla_socket function * Problem: no tests for ZMTP-CURVE protocol errors Solution: added two test cases with erroneous HELLO commands * Problem: insufficient tests for ZMTP-CURVE protocol errors Solution: added two test cases with erroneous HELLO command version * Problem: test HELLO message is invalid apart from deliberate errors Solution: create cryptographically correct HELLO message add tweetnacl.c to test_security_curve * Problem: nonce is incorrect, build fails with GCC Solution: use correct non prefix * Problem: make builds are failing Solution: transfer CMake changes to (auto)make files * Problem: nonce is incorrect, build fails with GCC Solution: use correct non prefix * Problem: make builds are failing Solution: transfer CMake changes to (auto)make files * Problem: no test with INITIATE command with invalid length Solution: added test case * Problem: code duplication between test_security_curve.cpp and curve_client.cpp Solution: extracted parts of zmq::curve_client_t::produce_hello into reusable function * Problem: code duplication between test_security_curve.cpp and curve_client.cpp Solution: extracted further parts of zmq::curve_client_t into reusable functions added missing file * Problem: mechanism_t::add_property can be declared static Solution: declare mechanism_t::add_property static * Problem: intermediate crypto data needs to be passed between static function calls to curve_client_tools_t Solution: add non-static member functions * Problem: msg_t instance may be closed twice Solution: remove offending close * Problem: prepare_hello uses static curve_client_tools_t::produce_hello Solution: Use non-static curve_client_tools_t::produce_hello * Problem: no test with invalid command name where INITIATE command is expected Solution: added test case * Problem: make builds are failing due to curve_client_tools.hpp not being found Solution: add curve_client_tools.hpp to list of source files * Problem: wrong initializer order in zmq::curve_client_t Solution: reorder * Problem: under non-Windows systems, test fails because random_open was not called Solution: call random_open/random_close within test * Problem: conflict between custom function htonll and macro definition on Darwin Solution: define htonll function only if not defined as a macro * Problem: nullptr not defined on all platforms Solution: replace nullptr by NULL * Problem: libsodium builds not working Solution: adapt compile and link file sets for libsodium builds * Problem: Makefile.am broken Solution: Fix syntax * Problem: no tests for garbage encrypted cookie or content in INITIATE Solution: added test cases * Problem: test cases accidentally excluded from build Solution: remove #if/#endif * Solution: some error cases are unreachable Problem: for the time being, added some comments without changing the code * Added comments on hard-to-test cases
-
- 04 Aug, 2017 2 commits
-
-
Luca Boccassi authored
Solution: bump timeout from 20 to 60 seconds
-
Simon Giesecke authored
* Problem: no tests for ZAP protocol errors Solution: added first test for a bogus version number in ZAP reply * Problem: no tests for ZAP protocol errors Solution: added more test cases * Problem: cannot compile without ZMQ_BUILD_DRAFT_API Solution: conditionally compile parts that depend on draft API * Problem: test_security_curve times out in CI Solution: Increase timeout for this test to 20 seconds
-
- 14 Jun, 2017 1 commit
-
-
Iban Cereijo authored
Solution: use lower case ws2_32.lib to enable cross compilation from platforms with case-sensitive filesystems. When cross compiling the tests with Mingw-w64, CMake cannot locate Ws2_32.lib
-
- 24 Apr, 2017 1 commit
-
-
Yann Diorcet authored
-
- 12 Apr, 2017 1 commit
-
-
Yann Diorcet authored
-
- 05 Apr, 2017 1 commit
-
-
Stefan Herbrechtsmeier authored
Remove the `build/msvc` include path from the test project to fix a problem with the order of the include paths. Additionally remove the unnecessary `include_directories` from the master project. Signed-off-by:
Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
-
- 26 Dec, 2016 1 commit
-
-
Luca Boccassi authored
Solution: add it to the list
-