1. 14 Sep, 2017 1 commit
    • Vadim Zeitlin's avatar
      Add workaround for empty strings being null in Oracle · 63bcc894
      Vadim Zeitlin authored
      Oracle historically treats empty VARCHAR[2] column values as nulls, so
      we need to adjust the string length unit test to provide indicators when
      retrieving the value of a possibly null string and use nvl() to compute
      its length to make this test pass when using this backend.
      63bcc894
  2. 21 Jul, 2017 1 commit
  3. 15 Jul, 2015 1 commit
  4. 22 May, 2015 1 commit
  5. 19 May, 2015 2 commits
  6. 18 May, 2015 1 commit
  7. 01 Apr, 2015 2 commits
    • Vadim Zeitlin's avatar
      Move all tests from tests/assert to tests directory itself. · c9dbe190
      Vadim Zeitlin authored
      "assert" in the name of the directory doesn't make any sense any more as we
      don't use asserts in the test code now that we use CATCH.
      
      Also extend the tests description in the README.md.
      c9dbe190
    • Vadim Zeitlin's avatar
      Convert the tests to use CATCH testing framework. · 246f6579
      Vadim Zeitlin authored
      The tests have been converted with minimal changes (but this could be a bit
      difficult to see without the "-w" diff option as there have been many changes
      in indentation), basically we just use CATCH CHECK() (and REQUIRE(), in a few
      places where it is appropriate) macro instead of assert() and the test driver
      now just uses Catch::Session::run() instead of enumerating the tests to run
      explicitly.
      
      This has a lot of advantages such as:
      
      - Provides information about the failed test and the values of variables in it.
      - Allows to continue running the tests even if one of them fails.
      - Allows to run just some of the tests with flexible selection mechanism.
      246f6579
  8. 17 Mar, 2015 1 commit
  9. 16 Mar, 2015 3 commits
  10. 25 Mar, 2014 1 commit
  11. 20 Jan, 2014 2 commits
    • Mateusz Loskot's avatar
      Fix includes to point to backend headers in subdirectories · 1f4d6ef6
      Mateusz Loskot authored
      wip: updates related to #125 and #199 for further cleanup in CMake
      configuration is advised to fully use buried headers and change includes to:
      <soci/soci.h>
      <soci/mysql/soci-mysql.h>
      etc.
      1f4d6ef6
    • Mateusz Loskot's avatar
      Move tests/assert into separate subdirectories · 7a018a36
      Mateusz Loskot authored
      Update CMake configuration to properly set building dependencies for
      test targets (ATM, enabled for empty and sqlite3 only).
      Closes #199.
      Make a few additional CMake configuration updates and improvements in
      handling external dependnecies/libraries.
      7a018a36
  12. 29 May, 2013 1 commit
    • Mateusz Loskot's avatar
      Implement new source tree layout #125 · b6d97ffa
      Mateusz Loskot authored
      First set of changes incorporating new structure of source tree.
      It also applies some of changes planned as part of buried headers feature #25
      
      Work in progress, requires testing before merging into develop branch
      b6d97ffa
  13. 18 Feb, 2013 1 commit
  14. 12 Feb, 2013 1 commit
  15. 09 Feb, 2013 1 commit
    • Mateusz Loskot's avatar
      Update to Sergei Nikulov's fix for issue #15 · 961bdfaa
      Mateusz Loskot authored
      Clarify supported sequence of statement::execute(false|true) and
      statement::get_affected_rows() calls across all backends:
      1. execute(false) and empty destination does not execute statement, but
      prepares for subsequent statement::fetch() requests.
      2. execute(true)  and empty destination calls requests backend to
      execute statement.
      3. execute(false|true) causes bulk fetch to destination, with
      withDataExchange=false|true ignored.
      Moved relevant test to common tests, confirmed it passes for all but
      Oracle (get_affected_rows not implemented) and Firebird (I have no means
      to test).
      Related discussion at
      http://sourceforge.net/mailarchive/message.php?msg_id=30312517
      Thanks to Sergei who first proposed this behaviour as reliable and
      consistent option, yet not intrusive.
      961bdfaa
  16. 06 Feb, 2013 1 commit
  17. 19 Dec, 2010 1 commit
  18. 04 Oct, 2009 1 commit
  19. 30 Apr, 2009 1 commit
  20. 18 Feb, 2009 1 commit
  21. 15 May, 2008 1 commit
  22. 18 Oct, 2007 1 commit
  23. 03 Jul, 2007 1 commit
  24. 12 Apr, 2007 1 commit
  25. 09 Nov, 2006 1 commit
  26. 10 Sep, 2006 2 commits
  27. 09 Sep, 2006 1 commit
  28. 13 Aug, 2006 2 commits
  29. 11 Aug, 2006 1 commit
  30. 27 May, 2006 1 commit
  31. 03 May, 2006 1 commit
  32. 01 May, 2006 1 commit
  33. 25 Mar, 2006 1 commit