Commit Graph

1566 Commits

Author SHA1 Message Date
Phil Nash
07f228a525 Merge https://github.com/ctt/Catch into SingleEvaluation 2011-03-29 19:16:45 +01:00
Phil Nash
5545627fb5 Merge branch 'SingleEvaluation' of https://github.com/ctt/Catch into SingleEvaluation 2011-03-29 19:15:49 +01:00
Phil Nash
5de646c728 iPhone test runner adds OC_TEST_CASEs 2011-03-29 08:29:01 +01:00
Phil Nash
84b394ec45 debug stream fixes 2011-03-29 08:05:47 +01:00
ctt
a1e5e9ffa2 Added isDebuggerActive for non Windows and Mac platforms. 2011-03-28 19:37:18 -07:00
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