Commit Graph

3113 Commits

Author SHA1 Message Date
Phil Nash
7cfe6eb078 Only use __debugbreak from MSVC (rather than any compiler on Windows) 2011-07-04 09:09:03 +01:00
Phil Nash
62a5ddce2b regen single header with lhs string literal fix 2011-06-29 19:25:14 +01:00
Phil Nash
1adebefb50 Fixed tests with string literal on lhs 2011-06-29 19:22:56 +01:00
Phil Nash
b5fabcb26b Updated glue script to work relative to script dir, then regenerated single header 2011-06-28 08:38:55 +01:00
Phil Nash
f5c057ead2 Merge branch 'master' of github.com:philsquared/Catch 2011-06-23 08:25:07 +01:00
Phil Nash
3c20a75189 regenerated single header 2011-06-23 08:23:33 +01:00
Phil Nash
b6d4991add Updated self test counts 2011-06-23 08:19:48 +01:00
Phil Nash
eb2964e4ae Disambiguated some locally scoped names 2011-06-23 08:13:25 +01:00
Phil Nash
d258e49f7c (Hopefully) fixed infinite loop in sections (GitHub #39). 2011-06-21 08:43:48 +01:00
Phil Nash
f721a96d24 regenerated to include Approx changes 2011-06-07 14:13:57 +01:00
Phil Nash
2fa72a47cd Added ability to build custom Approx instance 2011-06-06 08:21:21 +01:00
Phil Nash
cae44d8ace Made Approx a little more forgiving (to 100& epsilon of float) and added some more tests for it 2011-06-03 18:56:47 +01:00
Phil Nash
f5668fafd9 Made #include paths from reporters relative (again) 2011-06-02 08:49:47 +01:00
Phil Nash
48112c2700 Fixed a potential ordering issue with output streambufs 2011-05-31 18:47:30 +01:00
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