1. 01 May, 2016 1 commit
    • hitstergtd's avatar
      Problem: multiple issues with sendiov/recviov · e4539778
      hitstergtd authored
      Solution:
      - Add check for the [count] parameter in zmq_sendiov() and zmq_recviov()
      - Use and add test for zmq_sendiov() in tests/test_iov.cpp
      - Add error state tests for zmq_sendiov() in tests/test_iov.cpp
      - Add error state tests for zmq_recviov() in tests/test_iov.cpp
      - Cleanup tests/test_iov.cpp for style, consistency and clarity
      - Generally improve test coverage for both API methods
      
      Hat-tip:
      @somdoron, @bluca
      e4539778
  2. 28 Jan, 2016 1 commit
  3. 02 Jun, 2015 1 commit
  4. 22 Jan, 2015 1 commit
  5. 02 Jan, 2014 1 commit
  6. 06 Nov, 2013 1 commit
    • Pieter Hintjens's avatar
      Removed over-long pauses in tests · 5b60540e
      Pieter Hintjens authored
      - used msleep (10) in most places instead of zmq_sleep (1)
      - may cause failures on slower machines
      - to change, modify SETTLE_TIME in testutil.h
      - tested down to 1 msec on fast boxes
      5b60540e
  7. 15 Sep, 2013 1 commit
    • Pieter Hintjens's avatar
      Added z85 codec to ZMQ API · 576e3ca5
      Pieter Hintjens authored
      * Removed redundant Z85 code and include files from project
      * Simplified use of headers in test cases (now they all just use testutil.hpp)
      * Export zmq_z85_encode() and zmq_z85_decode() in API
      * Added man pages for these two functions
      576e3ca5
  8. 17 Aug, 2013 1 commit
  9. 25 Apr, 2013 1 commit
    • Jon Dyte's avatar
      Experimental function zmq_recviov doesnt work correctly in a couple of cases · 56ead844
      Jon Dyte authored
      1) VSM - you cannot hand out the 'data' address as it was not allocated on the heap
      2) for other messages the 'data' address cannot be handed out either, as it not the address
      originally returned by malloc and hence cannot be passed to 'free'.
      see msg.cpp
      u.lmsg.content = (content_t*) malloc (sizeof (content_t) + size_);
      ....
      u.lmsg.content->data = u.lmsg.content + 1;
      
      So the function is changed to always malloc a data buffer and copy the data into it.
      There is a possible optimisation using memmove for the non-VSM case but that is not done yet.
      56ead844
  10. 12 Mar, 2013 1 commit
  11. 31 Jan, 2013 2 commits
  12. 06 Sep, 2012 1 commit
    • Arthur O'Dwyer's avatar
      Add "#undef NDEBUG" to all tests. · cf20932d
      Arthur O'Dwyer authored
      This change makes sure that even if the tests are built in a
      "release" configuration (with optimizations and NDEBUG turned on),
      the assertions won't get compiled out of the tests themselves.
      
      The C standard guarantees that the most recent inclusion of
      <assert.h> is the one that counts, so it's important that the
      "#undef NDEBUG/#include <assert.h>" come as the last thing in
      the block of header files.
      
      "testutil.hpp" includes <assert.h>, so I've left <assert.h> out
      of any test that #includes "testutil.hpp", just for the sake of
      brevity.
      cf20932d
  13. 27 Aug, 2012 1 commit
  14. 01 Nov, 2011 2 commits
  15. 31 Oct, 2011 1 commit
  16. 26 Mar, 2011 1 commit
  17. 24 Mar, 2011 4 commits
  18. 02 Mar, 2011 1 commit
  19. 30 Jan, 2011 1 commit