Commit Graph

1254 Commits

Author SHA1 Message Date
Phil Nash
e9e6b90219 Support output to debug window in Windows 2011-03-21 12:36:58 +00:00
Phil Nash
7f52eda048 extracted showHelp() function 2011-03-21 12:36:21 +00:00
Phil Nash
4d613f1f9e Added XCode 4 related extension to be ignored 2011-03-21 12:21:50 +00:00
Phil Nash
0571f797c0 Split Main impl into layered functions to offer more customisation points 2011-03-21 12:21:25 +00:00
Phil Nash
18553e09fd Fixed warning in 32 bit builds 2011-03-21 08:09:47 +00:00
Phil Nash
7dfd830a3a Allow { NULL <op> T }to work 2011-03-18 19:08:33 +00:00
Phil Nash
ef611c65d9 Pointer comparisons and compare to NULL 2011-03-18 14:39:58 +00:00
Phil Nash
1e15669f2a Added missing #include for <limits> 2011-03-15 22:41:27 +00:00
Phil Nash
5cab62bc82 Updated test counts following addition of more test cases 2011-03-15 22:39:06 +00:00
Phil Nash
f6758c2967 Added special case logic for signed/ unsigned comparisons involving negative numbers and added test cases to cover them 2011-03-15 22:22:19 +00:00
Phil Nash
cc0ed3a988 reports test case if stdout/ stderr written to, even if it succeeded 2011-03-15 18:56:11 +00:00
Phil Nash
f9cc21a174 Suppress spurious "not all control paths return a value" warning in Visual Studio 2011-03-15 18:49:07 +00:00
Phil Nash
6d11d56fea Correctness fixes (for VS) 2011-03-15 18:43:13 +00:00
Phil Nash
f4548505e2 Always output final summary - even if no errors 2011-03-15 18:42:22 +00:00
Phil Nash
3eb41eed6d Refactored duplicated code between acceptExpression() and acceptResult() 2011-03-15 18:01:44 +00:00
Phil Nash
4890a1d80a StopOnFailure now works again 2011-03-14 19:21:35 +00:00
Phil Nash
b87bff21cd Added newlines to warn & info - and always output cout & cerr 2011-03-14 08:50:25 +00:00
Phil Nash
c27e6dc838 Tidied exception check macros 2011-03-14 08:49:42 +00:00
Phil Nash
0dc4508d72 Fixed exception check regression 2011-03-14 08:45:55 +00:00
Phil Nash
b826243956 Removed complex expression tests (they shouldn't compile now) 2011-03-11 19:46:18 +00:00
Phil Nash
f35e0cbc6a Removed complex expression state (as it shouldn't compile now anyway) 2011-03-11 19:45:36 +00:00
Phil Nash
13bfe477c7 Improvements to self test to give finer grained feedback 2011-03-11 19:44:59 +00:00
Phil Nash
2e444861c9 Fixed some issues caused by single evaluation work 2011-03-10 19:18:14 +00:00
Phil Nash
e0e74774e2 More Single Evaluation work 2011-03-10 14:09:32 +00:00
Phil Nash
b708789ee9 First cut of single-evaluation fix 2011-03-09 19:45:05 +00:00
Phil Nash
c57ff75cdb Renamed file 2011-03-09 09:38:33 +00:00
Phil Nash
e6ce1a39bb Second attempt at signed/ unsigned 2011-03-09 09:33:33 +00:00
Phil Nash
0130dfac41 First attempt at solving signed/ unsigned issue with int literals 2011-03-09 09:32:03 +00:00
Phil Nash
01234172a9 Small defensive tweak on checking expression 2011-03-01 09:55:17 +00:00
Phil Nash
e401601ac1 Added CAPTURE() macro 2011-02-28 19:01:04 +00:00
Phil Nash
088d700315 Fixed lazy reporting for nested sections 2011-02-28 08:18:52 +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
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