Commit Graph

3488 Commits

Author SHA1 Message Date
Phil Nash
db2eda9009 XML Reporter reports file/ line in Exception element 2011-04-22 19:22:14 +01:00
Phil Nash
02e597c2cc report file/ line of section of unexpected exception is thrown 2011-04-21 19:43:55 +01:00
Phil Nash
81e42ce139 capture file/ line of test case - for reporting on uncaught exceptions 2011-04-21 08:59:42 +01:00
Phil Nash
77d72fb852 Qualified Catch::toSting 2011-04-20 22:33:23 +01:00
Phil Nash
5d7b054f14 Improved custom exception handling 2011-04-20 19:09:41 +01:00
Phil Nash
9430a2c4c8 First cut of custom exception support 2011-04-20 15:40:40 +01:00
Phil Nash
d4117b9208 Added name option to cmd line help 2011-04-19 18:53:48 +01:00
Phil Nash
b1d9fa82b6 Fixed bug in xml reporter that didn't accumulate success status correctly 2011-04-19 18:53:24 +01:00
Phil Nash
06134ba167 Make FixtureWrapper class name unique using the preprocessor instead of a specialisations 2011-04-12 18:44:58 +01:00
Phil Nash
b3db552cfa Allow name to be provided for overall test run 2011-04-12 08:07:39 +01:00
Phil Nash
0bc42c5659 change root element of xml reporter to Catch 2011-04-12 07:39:45 +01:00
Phil Nash
c8b279e76c change root element of xml reporter to Catch 2011-04-12 07:38:23 +01:00
Phil Nash
0f2e5d65b7 Cleaned up some of the contributed tests 2011-04-11 08:32:55 +01:00
Phil Nash
0f478a5b10 Some reporter refinements 2011-04-11 08:30:47 +01:00
Phil Nash
381fffe07d Extract what() message from std::exceptions in _NO_THROW() 2011-04-08 19:44:22 +01:00
Phil Nash
3e512bd316 Added boolean test for ptr expressions 2011-04-08 19:38:50 +01:00
Phil Nash
46b4909c08 Added Malcolm Noyes' test cases 2011-04-06 22:26:16 +01:00
Phil Nash
01db6c4471 Moved Approx into its own namespace to avoid ADL issues with operator == 2011-04-04 07:56:44 +01:00
Phil Nash
3c08431c92 Updated test counts 2011-04-01 08:15:58 +01:00
Phil Nash
4e58d7c6be Removed tests for unsigned ints against signed negative ints 2011-04-01 08:15:45 +01:00
Phil Nash
751c8bd7f7 Removed special case logic around comparisons between unsigned ints and negative signed ints (as it was non-standard) 2011-04-01 08:15:08 +01:00
Phil Nash
24b352f6b8 Allow warnings about comparisons between signed and unsigned ints to get through 2011-04-01 08:14:32 +01:00
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