Commit Graph

598 Commits

Author SHA1 Message Date
Phil Nash
e848a91704 Shifted some of MockReporter into the impl file file 2012-05-07 18:59:33 +01:00
Phil Nash
49e6d536e1 Clean-up and regenerated single include 2012-05-05 19:35:35 +01:00
Phil Nash
a976c07b8d Fixed section ordering issue
If a branch section completes without running any inner sections it will no run subsequent sections (until the next isolated run).
2012-05-05 19:32:52 +01:00
Phil Nash
b213202ad7 Added self-test for section ordering
Added MockReporter for tracking test runs.
Added intrusive smart pointer. Config holds reporter by smart pointer, so we can route the mock reporter through multiple test runs
2012-05-04 07:55:11 +01:00
Phil Nash
83a66a6255 Removed redundant const
(also fixed test counts)
2012-04-28 12:39:15 +01:00
Phil Nash
861a1e79cf Conditionally compile __unsafe_unretained
Addresses, and hopefully fixes, issue #77.
2012-04-28 12:29:52 +01:00
Phil Nash
8fdf7f3a09 Added tests for signed/ unsigned fix
Integrated test from @ jweyrich highlighting issue fixed by pull request #79
2012-04-28 12:20:29 +01:00
Phil Nash
5e82dcd62f Merge pull request #79 from jweyrich/master
Fix missing parameter for comparisons between long and unsigned X.
2012-04-28 04:11:32 -07:00
Jardel Weyrich
11dca66336 Fix missing parameter for comparisons between long and unsigned X. 2012-04-27 14:42:40 -03:00
Phil Nash
7ec6d27000 Ignored some more files 2012-03-19 08:25:06 +00:00
Phil Nash
2969a0df41 iOSTest works with ARC 2012-03-17 18:36:00 +00:00
Phil Nash
53c990a7e1 ARC support for Object-C projects 2012-03-17 18:20:06 +00:00
Phil Nash
8d18d1648a Regenerated single include 2012-03-14 20:06:14 +00:00
Phil Nash
db837a157f Added Equals matcher for NSString 2012-03-14 20:04:50 +00:00
Phil Nash
78d95a0854 Regen single include 2012-03-04 21:22:36 +00:00
Phil Nash
966f5dbff2 Added initial built-in matchers for NSString (ObjC) 2012-03-04 21:18:46 +00:00
Phil Nash
a6a40b3ba9 Added a handful of "built-in" matchers 2012-03-04 20:10:36 +00:00
Phil Nash
eca5637c58 First cut of Matcher support 2012-03-04 11:14:21 +00:00
Phil Nash
5ff4ab0a76 Suppress warning about constant conditional 2012-02-29 08:47:18 +00:00
Phil Nash
777b8af589 regen single include 2012-02-29 08:39:46 +00:00
Phil Nash
56a02eede5 Added test for previous change
(Test Dragged Development?)
2012-02-29 08:39:22 +00:00
Phil Nash
f52bd35e2f made CHECK/ REQUIRE into block statements
Placed the contents of the macros into do{…}while(0) so they can be used as statements (e.g. after an if() with no braces).
Also means they now require the closing ;
2012-02-29 08:35:41 +00:00
Phil Nash
918046aaf1 Regen single include for last few checkins 2012-02-28 20:04:42 +00:00
Phil Nash
af8d0b3955 Fixed trim() for single char strings (github #75) 2012-02-28 20:04:25 +00:00
Phil Nash
97668c76f1 Merge branch 'master' of github.com:philsquared/Catch 2012-02-28 08:38:17 +00:00
Phil Nash
17cd7f1cca Merge pull request #68 from crown-hill/master
Fix CATCH Issue #61, Assembler Error on iOS/ARM
2012-02-28 00:36:30 -08:00
Phil Nash
25db95816e Added tests to iOStest
Currently fails to build for ARM due to Github issue #61
2012-02-28 08:36:00 +00:00
Phil Nash
e1f1c6ca7e Fixed iOS test runner after reporter changes 2012-02-27 19:03:54 +00:00
Phil Nash
20df8c5da1 Added colorised console output for Windows
Also tweaks the output again
2012-02-25 20:36:22 +00:00
Phil Nash
f7299fc87b Regen include 2012-02-25 09:39:45 +00:00
Phil Nash
5e5698b792 Test Case counts reported separately from assertions
Test case passed/ failures are counted as well as individual assertions. The basic reporter now reports them seperately
2012-02-25 09:39:13 +00:00
Phil Nash
edd8f02bec Pass totals around instead of individual success/ fail counts 2012-02-24 08:59:35 +00:00
Phil Nash
9bbaeba3ae Refactored internal interfaces to use Totals instead of success/ fail 2012-02-23 18:51:21 +00:00
Phil Nash
8d93949b19 Used Counts class in IResultCapture interface 2012-02-23 08:57:51 +00:00
Phil Nash
5ddf794fbc Added Totals class and started using it 2012-02-23 08:49:52 +00:00
Phil Nash
2cc9b0dba1 Regen header 2012-02-22 09:44:06 +00:00
Phil Nash
e1a2480f49 Cleaned up summary reporting
Improved newlines and pluralisation
2012-02-22 09:42:34 +00:00
Phil Nash
3619cb2f09 Regenerated single include 2012-02-18 19:16:30 +00:00
Phil Nash
0dd3c57221 Fix for GitHub issue #71
Fixed memory leak in exception translator registry
2012-02-18 19:14:09 +00:00
Phil Nash
dd5b9c2ae5 Added clean-up
Clean-up statics at the end of main to avoid added noise when looking for leaks
2012-02-18 09:58:30 +00:00
Phil Nash
333e6e6254 Improved exception reporting
Refactored exception handling (handle more in the translator)
and report exceptions in CHECKs
2012-02-17 19:50:59 +00:00
Phil Nash
a57b025c9c Don't redirect stout for basic reporter 2012-02-17 09:28:21 +00:00
Phil Nash
93b8a39c38 Added new cpp to VS project
Moved catch_self_test.cpp and added it to VS2010 project
2012-02-17 09:05:20 +00:00
Phil Nash
6e0f58d474 Generated single include 2012-02-15 18:37:21 +00:00
Phil Nash
1686bca274 Added missing newline 2012-02-15 18:36:36 +00:00
Phil Nash
501aa8b633 Added Xcode 4 iOStest project
Updated iOS runner for Xcode for and added project
2012-02-15 08:21:02 +00:00
Phil Nash
7b449f7abe Ability to register line# for testing
Factored file/ line storage and formatting into common class.
Used in a static registry so failure messages can be asserted to have the file/ line in.
2012-02-15 08:20:06 +00:00
Phil Nash
8d24143827 Remove user file 2012-02-10 18:59:10 +00:00
Phil Nash
0b09d1c089 Fixed GitHub Issue #70
Interleave XML entities are now encoded correctly
2012-02-10 18:58:06 +00:00
Phil Nash
a162e22fa3 Added CHECKED_IF and CHECKED_ELSE 2012-02-10 08:30:13 +00:00