Commit Graph

118 Commits

Author SHA1 Message Date
Phil Nash
84b394ec45 debug stream fixes 2011-03-29 08:05:47 +01:00
Phil Nash
7a4b215dd3 string reporting is more consistent 2011-03-25 19:39:11 +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
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
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
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
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
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
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
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
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