Commit Graph

2749 Commits

Author SHA1 Message Date
Phil Nash
6b6143ccd4 Removed templates from Approx (just uses double) 2011-05-31 07:51:04 +01:00
Phil Nash
89d1e6c4f1 Tweaks to allow headers to be glued together.
Added Python script to generate single header.
Added new XCode project that runs self test against single header
2011-05-24 08:23:02 +01:00
Phil Nash
4b24490e1a Fixed Github Issue #32: "ResultBuilder& operator << should use toString" 2011-05-11 10:06:28 +01:00
Phil Nash
0ea29b7d28 Started adding tests for Approx 2011-04-28 08:28:03 +01:00
Phil Nash
dfea75fc05 Allow epsilon and scale to be specified 2011-04-28 08:20:47 +01:00
Phil Nash
d7b8b01f3e Updated to use Richard Harris' approximation formula 2011-04-28 08:11:00 +01:00
Phil Nash
d7c203c3e9 Factored Approx out into own file 2011-04-28 08:03:28 +01:00
Phil Nash
95419e935c Merges objc top level headers into main headers (using #ifdef __OBJC__) 2011-04-26 19:00:25 +01:00
Phil Nash
38edb9fa95 Removed bool warning 2011-04-26 08:35:52 +01:00
Phil Nash
823ea3efd4 Re-org 2011-04-26 08:32:40 +01:00
Phil Nash
02c877f916 Updated self test with current test counts 2011-04-22 19:30:55 +01:00
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