Skip to content
Snippets Groups Projects
  1. Aug 25, 2023
    • Vladimir Davydov's avatar
      test: allow to omit message in ok/is/isnt unit test helpers · 62ae8bf3
      Vladimir Davydov authored
      It's really annoying to add a message after each check in a unit test.
      Let's make this optional. If the message is omitted, "line %d" will be
      used instead. Also, let's print the expression on failure because it
      may be useful if exact sources are unavailable.
      
      NO_DOC=refactoring
      NO_CHANGELOG=refactoring
      62ae8bf3
    • Vladimir Davydov's avatar
      test: eliminate code duplication in unit test helpers · a235080c
      Vladimir Davydov authored
      There's no need to duplicate all unit test helpers for TAP compatible
      tests. The only difference between them is that plan() prints the TAP
      version so let's do just that.
      
      NO_DOC=code cleanup
      NO_CHANGELOG=code cleanup
      a235080c
  2. Jan 31, 2017
  3. Jan 14, 2015
    • Konstantin Osipov's avatar
      Implement coio_stat. · 084fbe61
      Konstantin Osipov authored
      Unit test coio_stat.
      
      Cleanup unit tests a bit: merge unit.h and test.h, which
      would duplicate each other.
      
      Fix a bug in trigger_atexit.test, which would not clean up after
      itself.
      084fbe61
  4. May 21, 2014
  5. Jan 14, 2014
  6. Nov 22, 2013
  7. Nov 13, 2013
  8. Nov 08, 2012
  9. Oct 16, 2012
Loading