Commit Graph

1022 Commits

Author SHA1 Message Date
Phil Nash
a691e69dae Merge branch 'master' of https://github.com/mattrubin/Catch 2011-02-24 09:45:57 +00:00
Phil Nash
8087f5738c Fixed null string reporting issue 2011-02-23 20:02:18 +00:00
Phil Nash
331188f6b3 Added generator copy ctor to fix bug when NRVO is not used. Some exception handling improvements, too 2011-02-23 09:06:05 +00:00
Phil Nash
6bfc1b6016 Fixed self test 2011-02-21 18:50:35 +00:00
Phil Nash
65e4111c31 Added more focussed meta test for sections and fixed bug in outstanding section detection 2011-02-21 18:48:00 +00:00
Phil Nash
a243a23363 More complete fix for nested sections 2011-02-21 08:50:05 +00:00
Matt Rubin
55c63af8ae Fixed a compiler error when on a Mac with DEBUG not defined, which resulted in an undefined BreakIntoDebugger() 2011-02-19 16:03:42 -08:00
Phil Nash
70e7d7f16b Further improved nested sections 2011-02-17 20:15:20 +00:00
Phil Nash
a8c31c725d Quick fix for nested sections - doesn't cover all cases yet 2011-02-17 19:40:46 +00:00
Phil Nash
ab30ab6b76 Added attribution for __debugbreak() 2011-02-16 19:22:29 +00:00
Phil Nash
73acd945cd Fixed more warnings and applied workaround for getting to std::numeric_limits without clashing with Windows' min() and max() macros. 2011-02-16 19:02:09 +00:00
Phil Nash
dea778138e Renamed DebugBreak to avoid collision and implemented in terms of __debugbreak() on Windows 2011-02-16 18:58:15 +00:00
Phil Nash
7d65a8c612 Improved reporting from self-test and basic reporter in general 2011-02-09 19:26:59 +00:00
Phil Nash
3bad3d6956 Refactored self-test - doesn't need so many supporting classes 2011-02-09 09:08:10 +00:00
Phil Nash
c8f12e1175 First cut of iOS test runner 2011-02-08 18:48:45 +00:00
Phil Nash
9e33fdd465 First draft of iOS test runner 2011-02-08 18:48:34 +00:00
Phil Nash
58e9a8bafd Some clean-up 2011-02-08 08:42:05 +00:00
Phil Nash
9d1259273f Added some headers to fix build on some gcc versions 2011-02-04 09:30:36 +00:00
Phil Nash
cf7b6881c9 Some layout reformatting. I think everything is in my preferred style now 2011-02-03 20:00:46 +00:00
Phil Nash
d16ce74dbb Fixed compiler error for gcc on Linux (reported by Tryneus - thanks) 2011-02-02 19:45:59 +00:00
Phil Nash
4663a9c0ef Added wiki link to readme 2011-02-01 16:14:07 +00:00
Phil Nash
0847a0fa89 Fixed OC bindings project following recent changes 2011-02-01 16:09:18 +00:00
Phil Nash
d1ee964f5d Fixed more gcc warnings 2011-01-31 20:15:40 +00:00
Phil Nash
db378d8939 Fixed most pedantic warnings 2011-01-31 10:10:20 +00:00
Phil Nash
44488f6331 Some formating clean-up 2011-01-28 18:56:26 +00:00
Phil Nash
d944e69b18 Moved generator tests into their own file 2011-01-28 18:48:32 +00:00
Phil Nash
ffcde2dd0e Fixed self test 2011-01-28 10:22:36 +00:00
Phil Nash
bf4a4312b4 Extracted generator impl code out of Hub 2011-01-28 10:18:23 +00:00
Phil Nash
fe67902de1 Removed some cruft 2011-01-28 10:10:05 +00:00
Phil Nash
5cad9d5a86 Multiple generators working and factored out a bit better 2011-01-27 22:29:36 +00:00
Phil Nash
c2b96d7ddb First cut of generators 2011-01-26 23:23:33 +00:00
Phil Nash
455c2998a0 Only report test case once for all sections within it 2011-01-19 19:30:01 +00:00
Phil Nash
6a6b346731 Removed OutputDebugString support until I can test it on a Windows machine 2011-01-19 19:20:56 +00:00
Phil Nash
5108821199 Removed OutputDebugString support until I can test it on a Windows machine 2011-01-19 19:19:06 +00:00
Phil Nash
ae307b000a Started adding support for isolated sections 2011-01-19 08:52:25 +00:00
Phil Nash
2b05dfaf05 Incremental naming for annonymous test cases 2011-01-18 20:09:21 +00:00
Phil Nash
dd7f13ccbb Added ANON_TEST_CASE() macro 2011-01-18 19:54:51 +00:00
Phil Nash
9ca0988e0f Renamed catch_default_main.hpp to catch_with_main.hpp 2011-01-18 19:52:19 +00:00
Phil Nash
bfc1ee6c62 Cleaned up config class a bit 2011-01-18 19:49:00 +00:00
Phil Nash
2885339287 Allow output stream to be specified on the command line 2011-01-18 09:20:06 +00:00
Phil Nash
925409d7e9 Added self test to project 2011-01-14 16:21:53 +00:00
Phil Nash
6c010e25d9 A single embedded runner instance can now be used for multiple nested runs, with results reset between each. Meta test runner looking very clean now. 2011-01-14 16:21:11 +00:00
Phil Nash
684baf1053 Don't run tests starting with ./ by default. Changed all low-level self tests to be in ./ 2011-01-14 08:47:43 +00:00
Phil Nash
f36d777343 Replaced dodgy self-test code with slightly less dodgy self test meta test cases 2011-01-14 08:38:46 +00:00
Phil Nash
f063c2ae2a Reformatted basic reporter signatures 2011-01-14 08:30:17 +00:00
Phil Nash
4b162c1341 Keep stack of runners and pass success/ fail count to EndTestCase 2011-01-14 08:26:58 +00:00
Phil Nash
b81e0b9e9c Some code clean-up 2011-01-11 19:48:48 +00:00
Phil Nash
1172d26705 Added some specialisations for toString 2011-01-11 09:21:23 +00:00
Phil Nash
263c046b84 Refactored more into Hub 2011-01-11 09:13:31 +00:00
Phil Nash
fd58d48665 Some more refactoring/ cleaning of test case files 2011-01-07 19:57:32 +00:00