Commit Graph

  • 5e0db60443 Use CATCH_AUTO_PTR in DebugOutStream Phil Nash 2015-11-23 10:28:13 +00:00
  • ce547c1799 Moved branch on to v2 Phil Nash 2015-11-23 10:09:09 +00:00
  • 28aece6a7a Added noexcept to CustomStdException destructor Phil Nash 2015-11-20 17:09:48 +00:00
  • d274fc571c Added noexcept to CustomStdException destructor Phil Nash 2015-11-20 17:09:48 +00:00
  • 7e15d9b20b dev build 4 v1.3.0-develop.4 Phil Nash 2015-11-20 16:59:14 +00:00
  • 0e64973f55 Added support for manually registering test functions. As discussed in #421 Phil Nash 2015-11-20 16:54:07 +00:00
  • bd8688cded Added support for manually registering test functions. As discussed in #421 Phil Nash 2015-11-20 16:54:07 +00:00
  • c70170e904 Reduce number of places getCurrentRunContext() is called Phil Nash 2015-11-20 08:31:17 +00:00
  • 6789dfa2ba catch_capture.hpp doesn't need to depend on catch_interfaces_capture.h Phil Nash 2015-11-19 18:37:39 +00:00
  • fdc8a2b2df Fully removed Context class - responsibilities subsumed by RunContext Phil Nash 2015-11-19 18:30:03 +00:00
  • eea9357284 Removed IRunner (rolled into IRunContext) Phil Nash 2015-11-19 17:53:21 +00:00
  • 73968f29a5 ResultCapture -> RunContext Phil Nash 2015-11-19 17:45:56 +00:00
  • b77b45a390 Some RunContext clean-up Phil Nash 2015-11-19 07:35:35 +00:00
  • 2ebe11660c Approvals for generator test removal Phil Nash 2015-11-18 19:28:29 +00:00
  • e55273db19 Removed old generators implementation (and tests) Phil Nash 2015-11-18 19:19:17 +00:00
  • e4fa62a14e dev build 3 v1.3.0-develop.3 Phil Nash 2015-11-18 08:39:54 +00:00
  • a49f088032 exception translators considered even for types deriving from std::exception, now - also added docs for exception translators - updated approvals Phil Nash 2015-11-18 08:39:21 +00:00
  • ed6e9128a4 Session's argv now taken by char const* const* - see #427 Phil Nash 2015-05-29 06:16:24 +01:00
  • 3523c39f44 Changed 'auto' into 'bool' for C++98 compatibility CNugteren 2015-11-12 15:31:42 +01:00
  • 2585d280d1 Added an optional absolute margin to the approximation checks cnugteren 2015-11-12 15:07:20 +01:00
  • 92356769f1 dev build 2 v1.3.0-develop.2 Phil Nash 2015-11-06 18:06:56 +00:00
  • d10b73f9f1 changed Not struct to a class. - it was forward declared as a class, which caused warnings on some compilers. It should really have been a class anyway. - this addresses the same issue as PR #534, albeit from the other angle. Phil Nash 2015-11-06 18:05:35 +00:00
  • 71fd2c2fdf Fixed test names mentioning the new Matcher combinator operators Phil Nash 2015-11-06 06:54:15 +00:00
  • 08844e7e57 build 1.3.0-develop.1 v1.3.0-develop.1 Phil Nash 2015-11-05 18:52:18 +00:00
  • 054e3c5b43 Added &&, || and ! operator overloads for matchers (syntactic sugar for AllOf, AnyOf and Not compositional matchers, respectively) Phil Nash 2015-11-05 18:46:00 +00:00
  • f3e7722cc6 Don't introduce Catch::Matchers namespace in macro - this could be a breaking change - fixed up self-test code to compensate Phil Nash 2015-11-05 18:10:33 +00:00
  • 315c83ad87 Removed unnecessary parentheses Phil Nash 2015-11-04 18:49:19 +00:00
  • 9576ad9108 Removed unused parameter - as per PR #530 Phil Nash 2015-11-04 18:11:54 +00:00
  • e91738103c Stripped trailing whitespace from all source code lines (replaces need for PRs #310 and #504) Phil Nash 2015-11-04 18:01:28 +00:00
  • 8c32b49d5f Added script to strip trailing whitespace from source files Phil Nash 2015-11-04 07:33:39 +00:00
  • ece529ae7c Fixed noexcept destructors issue Phil Nash 2015-11-03 17:37:43 +00:00
  • 9e42153fe5 dev build 16 v1.2.1-develop.16 Phil Nash 2015-11-03 17:06:54 +00:00
  • c81778ecd0 Fixed CMake file (changed SectionTrackerTests.cpp - now deleted - to the new PartTrackerTests.cpp) Phil Nash 2015-11-03 17:06:24 +00:00
  • f5642be7b4 Fixed reversed logic of NoAssertions warning check (that explains the previous regressions) Phil Nash 2015-11-03 17:05:08 +00:00
  • 7e34619f03 v1.2.1-develop.15 - includes all new section tracker v1.2.1-develop.15 Phil Nash 2015-11-03 08:00:43 +00:00
  • 4636be9744 Merge branch 'NewSectionTracking' into develop Phil Nash 2015-11-03 07:55:29 +00:00
  • 015e07100e Added SUCCEEDs to empty leaf sections to avoid failing due to no assertions Phil Nash 2015-11-03 07:46:37 +00:00
  • bc8840cbb8 Removed deprecated section tracking implementation and tests Phil Nash 2015-11-03 07:38:14 +00:00
  • 471bd2556a Approved changes due to "No assertions" warnings now firing correctly on inner sections Phil Nash 2015-11-03 07:33:43 +00:00
  • aa49823bc0 perform startRun() at the start of each test case Phil Nash 2015-11-03 07:29:23 +00:00
  • 52a417df7b Fitted new section tracking Phil Nash 2015-11-02 19:21:46 +00:00
  • 0b523db6b9 Converted all new part tracking tests/ sections to non variadic form Phil Nash 2015-11-02 06:16:09 +00:00
  • b8515929b8 Moved all new tracking impl into catch_test_case_tracker.pp Phil Nash 2015-11-02 06:14:52 +00:00
  • 3deb3e010f Removed the "part" component of the tracker names Phil Nash 2015-10-29 19:41:50 +00:00
  • 73a140fb9e More minor tweaks Phil Nash 2015-10-29 19:33:25 +00:00
  • ef62b578e2 Added tests for failing a section within a generator - small fixes to implementation to make it work Phil Nash 2015-10-29 19:25:27 +00:00
  • f4389b4fdb more minor clean-ups Phil Nash 2015-10-29 08:33:50 +00:00
  • 4b99be6a9a Cleaned tests up a bit Phil Nash 2015-10-29 08:17:55 +00:00
  • 293e54dcbe Added IndexTracker and got it working with a single generator - made some simplifications to state machine Phil Nash 2015-10-29 08:02:40 +00:00
  • d758428fe2 Merge pull request #523 from nabijaczleweli/patch-1 Phil Nash 2015-10-26 14:47:29 +00:00
  • 9a6a0865f2 More name changes Phil Nash 2015-10-23 18:44:48 +01:00
  • 2c6411e70a Tweaks Phil Nash 2015-10-23 18:34:16 +01:00
  • 1cb993970a First cut of new section/ part tracking Phil Nash 2015-10-23 18:20:33 +01:00
  • bc00d59a4e Fix typo in catch_stream.hpp Jędrzej 2015-10-22 21:49:32 +02:00
  • b3b2352045 Fixed some missing sentence structure Phil Nash 2015-10-19 09:16:16 +01:00
  • c9a188df45 Merge pull request #512 from daniel-j-h/better_travis Phil Nash 2015-10-07 15:12:17 +01:00
  • e904aa7f6e Improve the Travis CI integration. Daniel J. Hofmann 2015-10-06 12:28:18 +02:00
  • d43a47efca Refactored stream related stuff - simpler, polymorphic hierarchy-based, approach - less bitty conditionals spread across the code - all resolved up-front so now config class is immutable (it had evolved the way it was and in need of a clean-up sweep for a long time) Phil Nash 2015-09-29 19:21:08 +01:00
  • a0de07d45b Some small clean-ups and refactorings - removed previous instance saves in RunContext (they were a hang-over from embedded contexts) - started cleaning up config usage Phil Nash 2015-09-28 01:09:06 -07:00
  • 0c1c9fa922 dev build 14 - workaround for uncaught_exception issue - avoid mutating vector while iterating it (due to re-entrancy) v1.2.1-develop.14 Phil Nash 2015-09-27 03:28:14 -07:00
  • 166ca2e819 Do uncaught_exception checking before calling sectionEnded - split the uncaught handling (adding to unfinishedSections) into separate method Phil Nash 2015-09-26 18:12:21 -07:00
  • 15317632f3 Revert "Fix parentheses warning on expression evaluation when using ccache" Phil Nash 2015-09-26 18:06:53 -07:00
  • a28d40e941 Merge pull request #496 from segalaj/master Phil Nash 2015-09-18 08:12:56 +01:00
  • 7da777a4b7 Fix parentheses warning on expression evaluation when using ccache segalaj 2015-09-14 14:28:34 +02:00
  • d234ed1a67 dev build 13 Phil Nash 2015-08-24 06:28:25 +01:00
  • 7fd7c5b8c8 Merge branch 'matcher-not' into develop Phil Nash 2015-08-24 06:22:03 +01:00
  • 312b94e532 Add matcher: Not() Simon Warta 2015-08-12 11:05:16 +02:00
  • 40d0d2f656 Added unique_ptr detection to compiler_capabilities - as well as use by C++11 conformant compilers now enabled for VS2013 on too (see #479) - updated docs with this (and long long and override support) Phil Nash 2015-08-11 08:09:41 +01:00
  • 19520157fb regen single header Phil Nash 2015-08-10 07:32:48 +01:00
  • ad7edd0680 Replaced some stray overrides with CATCH_OVERRIDE Phil Nash 2015-08-10 07:32:21 +01:00
  • 8a05f46a37 Removed use of std::copy_if (as it's limited to c++11) Phil Nash 2015-08-07 17:53:29 +01:00
  • e73583d556 dev build 12 v1.2.1-develop.12 Phil Nash 2015-08-07 17:30:34 +01:00
  • afcc38efc5 Fixes for single include Phil Nash 2015-08-07 17:28:48 +01:00
  • 368714e7aa Added Listeners (programatically provided extra reporters) Phil Nash 2015-08-07 08:20:56 +01:00
  • 4cb74761d9 Support for multiple reporters - can't (yet) specify different targets for each reporter (e.g. different files) Phil Nash 2015-08-05 19:02:17 +01:00
  • c06e1909ae Refactored test filtering and sorting Phil Nash 2015-08-04 23:11:56 +01:00
  • 8b1b7cd66e dev build 11 v1.2.1-develop.11 Phil Nash 2015-08-03 07:40:52 +01:00
  • 34fa25ed2f Removed Runner class - it served no purpose - split into functions instead Phil Nash 2015-07-28 18:55:11 +01:00
  • 85c8074784 Set group name to -n parameter (or exe name) - As discussed in #469 Phil Nash 2015-07-28 18:26:09 +01:00
  • 0edebf41b0 approvals rebase - I *think* this fixes an earlier regression, but I'm not 100% sure where that came from! Phil Nash 2015-07-28 18:24:20 +01:00
  • f3308ed7c4 Let gcc use __cplusplus identifier to decide if nullptr supported - or, for 4.6, continue to check __GX_EXPERIMENTAL_CXX0X__ See GitHb issue #445 and PR #471 Phil Nash 2015-07-27 18:34:21 +01:00
  • 74eef52644 dev build 10 v1.2.1-develop.10 Phil Nash 2015-07-24 08:13:52 +01:00
  • e085d4811a Qualified path to xmlwriter to fix travis error Phil Nash 2015-07-24 08:13:07 +01:00
  • 2f6371f2ec dev build 9 v1.2.1-develop.9 Phil Nash 2015-07-23 23:06:26 +01:00
  • 70975517b3 rebased approvals for long long test Phil Nash 2015-07-23 23:05:52 +01:00
  • 733ebb6024 Added CATCH_CONFIG_CPP11_LONG_LONG support Phil Nash 2015-07-23 19:03:33 +01:00
  • d6e59cd56f Fixed Xml encoding - don't encode apostrophes - only encode quotes in attributes - encode control characters (as in PR #465) Phil Nash 2015-07-23 18:45:31 +01:00
  • 6de135c63a Given, When, Then prefixes are now std::strings (and so can be prepended to std::strings themselves) see #455 Phil Nash 2015-07-22 18:07:28 +01:00
  • 5bbdc8fd38 Dev build 8 v1.2.1-develop.8 Phil Nash 2015-07-15 23:03:11 +01:00
  • 72868920bb Exception message assertions now work with matchers Phil Nash 2015-07-15 23:02:25 +01:00
  • 8342ae8dfb dev build 7 v1.2.1-develop.7 Phil Nash 2015-07-13 15:03:26 +01:00
  • 2104ca2aa4 Exception message testing now supports wildcards - extracted WildcardPattern from TestSpec::NamePattern Phil Nash 2015-07-13 15:03:04 +01:00
  • 93a842e2f0 dev build 6 v1.2.1-develop.6 Phil Nash 2015-07-13 06:36:07 +01:00
  • 85de743d70 Added _THROWS_WITH macros - asserts on exception message Phil Nash 2015-07-13 06:34:41 +01:00
  • 5d5ed5a283 Updated approvalTests script to allow for modified version strings Phil Nash 2015-07-10 08:08:37 +01:00
  • 1dd0d4c61a Force cout/ cerr to be initialised before errors in test registry are printed - see #461 Phil Nash 2015-07-10 07:44:37 +01:00
  • 57df3ba998 Force cout/ cerr to be initialised before errors in test registry are printed - see #461 Phil Nash 2015-07-10 07:44:37 +01:00
  • e6b365dc8c dev build 5 v1.2.1-develop.5 Phil Nash 2015-07-07 08:25:15 +01:00
  • 02e1966db3 Changed --filenames-as-tags prefix to #, added -# as short form and updated docs Phil Nash 2015-07-06 18:46:50 +01:00
  • 584032dfa4 dev build 4 - undisturbed background colour (windows), from PR #456 v1.2.1-develop.4 Phil Nash 2015-07-06 06:22:28 +01:00