Commit Graph

386 Commits

Author SHA1 Message Date
Malcolm Noyes 434f8c9b9f Refactor to fix single include 2014-02-21 13:04:11 +00:00
Malcolm Noyes 04acaebe74 Update to build 26 2014-02-20 15:49:51 +00:00
Phil Nash f899552d52 updated single include test project 2014-02-11 18:12:31 +00:00
Phil Nash 0dc49d1b57 Extracted stand-alone micro-library, tbc_text_format.h, from catch_text.h.
- use this version in clara.h so clara can stand alone.
2014-02-11 06:32:56 +00:00
Phil Nash c98a97cf90 Tweaked Cliche macros/ names 2014-02-10 17:30:12 +00:00
Phil Nash 4554155e3d Made Clara a “Cliche” header, which will be usable independently of Catch.
- This is just a first step. It still has a dependency on catch_text.h, which also needs to be made a Cliche header.
- These then need their own homes on GitHub.
2014-02-10 17:20:30 +00:00
Malcolm Noyes ba3408b2dc merge from upstream 2014-01-09 07:15:11 +00:00
Phil Nash e091018514 Fixes toString() for function pointers and added support for member function pointers.
- thanks to Malcolm Noyes for supplying sample code on which the solution here was based
2014-01-07 17:25:27 +00:00
Malcolm Noyes 17099a0e68 Fix makefile 2014-01-07 06:51:30 +00:00
Malcolm Noyes af18bcdab7 merge from upstream 2013-12-27 13:55:25 +00:00
Phil Nash 886d9d397c Reporter command line parser errors more eagerly
- show all “unrecognised option” errors
2013-12-20 19:06:02 +00:00
Phil Nash 1aa60fada9 Changed Approx::toString() to be implemented in terms of toString( double ) (as proposed in #233) 2013-12-19 18:41:55 +00:00
Phil Nash fb90d38310 Changed stdout/ stderr messages to be less misleading 2013-12-19 08:07:33 +00:00
Malcolm Noyes a9e0efdcad merge from upstream 2013-12-18 10:57:16 +00:00
Phil Nash f6d2fef26b Updated project for OCUnit 2013-12-18 08:37:35 +00:00
Malcolm Noyes 132f23cfff Fix order of config override when no override of first test 2013-12-16 22:17:34 +00:00
Malcolm Noyes b019773537 merge from upstream 2013-12-16 11:31:14 +00:00
Phil Nash 557b3bdbe3 Made SUCCESS variadic too (optional stream) 2013-12-14 23:16:03 +00:00
Phil Nash 9d7b77956c build 19
- fixes nullptr regression (I had accidentally left in some dev changes)
2013-12-14 22:53:28 +00:00
Phil Nash 859760abb4 Build 18 2013-12-14 14:34:05 +00:00
Phil Nash b4625208d0 Test for FAIL that doesn’t take an argument 2013-12-14 14:30:58 +00:00
Malcolm Noyes a3a56158f0 merge from upstream 2013-12-11 20:57:42 +00:00
Malcolm Noyes f52050c336 Fix output for different versions of VS 2013-12-10 15:28:49 +00:00
Malcolm Noyes 8774268140 Fix cout/cerr outut to reporter 2013-12-10 13:25:31 +00:00
Phil Nash a1e87a4b7d trim test/ section names in xml reporter
- BDD-style test names have leading spaces for alignment in the console reporter
2013-12-10 08:20:46 +00:00
Malcolm Noyes e8c32e819c Add abiiity to stop after n tests. Add ordered list of tests to check sw4 2013-12-09 23:12:05 +00:00
Malcolm Noyes 15cc1fc185 Add command line comment 2013-12-09 16:57:32 +00:00
Malcolm Noyes 760eed1ad6 merge from tags 2013-12-09 16:40:52 +00:00
Malcolm Noyes 008ada6ead Pre-merge 2013-12-09 16:20:45 +00:00
Malcolm Noyes cc2f4ba981 Merge from mainline 2013-12-09 16:01:23 +00:00
Malcolm Noyes 37b057187d Make merge easier 2013-12-09 15:14:47 +00:00
Malcolm Noyes a0af453cda scripts for validation on windows 2013-12-09 14:32:35 +00:00
Malcolm Noyes 36cb967220 Update to allow all self tests to be run and to allow running with tags 2013-12-09 14:18:35 +00:00
Phil Nash de49ec4d7c Fixed broken single header following script change
- fixed the script (was missing #ifdefs)
- also fixed single include (Xcode) test project
- build 16
2013-12-04 20:25:14 +00:00
Phil Nash 87b20e8dab SourceLineInfo takes char*s instead of std::strings 2013-12-04 08:12:30 +00:00
Phil Nash 3524321295 Removed some cruft 2013-12-04 07:58:21 +00:00
Phil Nash c4a089c12b Refactored a lot of code from headers into impl headers only compiled into one TU
- also added noimpl option to single header script - which only generates the non impl code
2013-12-03 18:52:41 +00:00
Phil Nash ba13f3f098 Restored second arg to a TEST_CASE for non variadic compilers 2013-11-21 08:08:05 +00:00
Phil Nash 063593828c Removed deleted file from CMake 2013-11-21 08:07:37 +00:00
Phil Nash ca7292e3a7 Removed redundant MetaTestRunner 2013-11-19 19:03:11 +00:00
Phil Nash 337dc25ed7 Converted all test case names to "modern" style (freeform text + tags) 2013-11-19 07:21:03 +00:00
Malcolm Noyes 907f514de7 Add support for Managed tests in VS2010 & VS2012. Add support for Native tests in VS2012 2013-11-17 14:18:02 +00:00
Phil Nash a9fd5b3f14 Removed cruft from VS projects 2013-11-14 23:35:56 +00:00
Phil Nash d3c8c9839f Merge pull request #214 from AIM360/weibelt/fix-eol
Fixed crlf issue
2013-11-14 15:28:58 -08:00
Malcolm Noyes 3a6ab65c82 Merge from origin 2013-11-14 20:12:14 +00:00
Malcolm Noyes 73f7f0ad1b Catch VS integration Part 2 - modify version, allow multiple includes 2013-11-14 19:49:49 +00:00
Phil Nash 4f57c8c589 Print warnings if no assertions and not running with -s 2013-11-13 08:07:38 +00:00
Malcolm Noyes e9a2230ad8 VS integration part 1 - allow catch_message.hpp to be included by more than 1 source file 2013-11-10 15:11:21 +00:00
Malcolm Noyes 8e411d27f6 Fix line endings 2013-11-10 11:20:08 +00:00
Tobias Weibel 2e4be2125b Fixed crlf issue 2013-11-07 13:05:29 +01:00