Commit Graph

96 Commits

Author SHA1 Message Date
Phil Nash
01234172a9 Small defensive tweak on checking expression 2011-03-01 09:55:17 +00:00
Phil Nash
7fe330f078 Made dummy BreakIntoDebugger() macro an inline function to avoid compiler warning 2011-02-24 09:55:11 +00:00
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
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
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
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
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
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
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
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
Phil Nash
95627c40cf split test registry code out 2011-01-07 10:22:24 +00:00
Phil Nash
430733c918 Moved test case registry into hub 2011-01-07 10:01:40 +00:00
Phil Nash
a65f210cb2 Changed some std::string args to char* to improve compile time 2011-01-07 09:38:32 +00:00
Phil Nash
896a04f5e8 More project refactoring 2011-01-05 21:16:54 +00:00
Phil Nash
e0d530c22c Project refactoring 2011-01-05 21:14:29 +00:00
Phil Nash
b87a16d11a Fixed TestMain after recent refactorings 2011-01-05 21:07:20 +00:00
Phil Nash
4220fb6267 Added missing #includes 2011-01-05 21:04:13 +00:00
Phil Nash
b47139d245 tweaked list enum 2011-01-01 00:37:49 +00:00
Phil Nash
e24ad7db6e Renamed runnerconfig file -> config 2011-01-01 00:29:58 +00:00