Commit Graph

3111 Commits

Author SHA1 Message Date
ctt
4d43cae983 Added isDebuggerActive for non Windows and Mac platforms. 2011-03-28 19:29:23 -07:00
Phil Nash
7a4b215dd3 string reporting is more consistent 2011-03-25 19:39:11 +00:00
Phil Nash
f5f130c070 Refined multiline stdout 2011-03-25 19:09:41 +00:00
Phil Nash
8431fa1ec5 Send to debugger console by default if running within debugger (only support on Windows at the moment) 2011-03-24 19:23:28 +00:00
Phil Nash
62e23ac5a8 some investigation stuff 2011-03-22 19:16:01 +00:00
Phil Nash
f8f592fafa Updated test count 2011-03-21 18:00:49 +00:00
Phil Nash
43c11398e7 Fixed VC++ warning 2011-03-21 18:00:19 +00:00
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