Malcolm Noyes
04acaebe74
Update to build 26
2014-02-20 15:49:51 +00:00
Phil Nash
1c2fbe146b
build 26
2014-02-11 18:12:41 +00:00
Phil Nash
b15726beba
Added #include for <memory> to Clara
...
- thanks again, Martin
2014-02-11 17:45:15 +00:00
Phil Nash
160b74d6c7
… and <stdexcept>
2014-02-11 17:41:11 +00:00
Phil Nash
633feaa4a6
Added #include <algorithm> to clara.h
...
- thanks Martin
2014-02-11 17:40:11 +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
b756243935
Fixed some comments
2014-02-10 17:31:31 +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
b6e8d87c75
Generate single include at build 25
2014-01-23 10:59:52 +00:00
Malcolm Noyes
5cddabdc9c
Add overload to 'print' void* correctly
2014-01-23 10:36:40 +00:00
Malcolm Noyes
ba3408b2dc
merge from upstream
2014-01-09 07:15:11 +00:00
Phil Nash
7eb5acc183
build 25
...
- fix for #231
2014-01-08 17:17:31 +00:00
Phil Nash
46a1fc7615
Removed unnecessary union name
2014-01-07 17:43:18 +00:00
Phil Nash
be890d0c15
build 24
2014-01-07 17:26:59 +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
Phil Nash
440a47011f
Convert pointers to integrates when printing.
...
- handles function pointers that way too (otherwise printed as 1 by gcc and clang)
2014-01-04 19:12:05 +00:00
Malcolm Noyes
af18bcdab7
merge from upstream
2013-12-27 13:55:25 +00:00
Phil Nash
e45e3a139a
Clara ignores anything after a lone — (double dash)
...
- this allows use within an environment that appends additional arguments that Clara will otherwise reject
- generated build 23
2013-12-23 10:24:06 +00:00
Phil Nash
91ef5f7d40
build 22
2013-12-20 19:06:26 +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
f385a0b13d
build 21
2013-12-19 18:42:25 +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
Malcolm Noyes
9641ec7bb1
Fix build for non VS builds
2013-12-19 16:57:06 +00:00
Malcolm Noyes
cbd3113e6b
Refactor some common code, use __LINE__ instead of __COUNTER__ where possible
2013-12-19 16:25:50 +00:00
Malcolm Noyes
a9e0efdcad
merge from upstream
2013-12-18 10:57:16 +00:00
Phil Nash
eb760f689b
Build 20
2013-12-18 08:38:33 +00:00
Malcolm Noyes
185129ed60
Suppress warning (unreferenced type) at W4 for VS native headers
2013-12-17 12:36:11 +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
2851b4a55a
Try again with nullptr compatibility check in GCC
2013-12-14 23:04:06 +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
563429d9a3
Compile in CATCH_CONFIG_CPP11_NULLPTR for some compilers
2013-12-14 14:32:26 +00:00
Phil Nash
b4625208d0
Test for FAIL that doesn’t take an argument
2013-12-14 14:30:58 +00:00
Phil Nash
274ed3ea76
Allow FAIL() to be empty
2013-12-12 23:02:31 +00:00
Malcolm Noyes
a3a56158f0
merge from upstream
2013-12-11 20:57:42 +00:00
Phil Nash
a6d74bd55a
Build 17
2013-12-11 08:28:15 +00:00
Phil Nash
0b63e0d868
Fixed warnings for platforms that don’t implement CATCH_BREAK_INTO_DEBUGGER
...
- as discussed in #229
2013-12-11 08:26:56 +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
760eed1ad6
merge from tags
2013-12-09 16:40:52 +00:00
Malcolm Noyes
cc2f4ba981
Merge from mainline
2013-12-09 16:01:23 +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
47a5ad3038
Normalised “hidden” tags
2013-12-04 07:58:39 +00:00
Phil Nash
3649fdf285
Build 15
2013-12-03 18:53:55 +00:00