Commit Graph

4036 Commits

Author SHA1 Message Date
Phil Nash
b084562b3b Improved error handling for --abort as per #108 2012-07-28 20:22:40 +01:00
Phil Nash
6f220863cf Removed stray + 2012-07-23 08:24:52 +01:00
Phil Nash
df6ea25417 Merge branch 'master' of github.com:philsquared/Catch 2012-07-22 10:41:58 +01:00
Martin Moene
a0c496fefc Revert "Fixed issue #101, missing space in end of section message"
This reverts commit 1ad971ea2b.
2012-07-22 09:14:19 +02:00
Martin Moene
14f1c094f4 Revert "Removed stray '+'"
This reverts commit 79a6ae2977.
2012-07-22 09:13:19 +02:00
Martin Moene
79a6ae2977 Removed stray '+' 2012-07-22 09:03:37 +02:00
Martin Moene
1ad971ea2b Fixed issue #101, missing space in end of section message 2012-07-22 08:59:48 +02:00
Phil Nash
d2553cdc64 Made ReportConfig a value type 2012-07-20 19:07:42 +01:00
Phil Nash
f606517376 Fixed pluralization bug from GitHub issue #101 2012-07-20 18:47:45 +01:00
Phil Nash
46bcd4b2b7 Added ability to specify if macros should be prefixed with CATCH_ 2012-07-20 18:43:48 +01:00
Phil Nash
5d73c5a008 Resolve reporter outside of Config
config now only only holds reporter name
2012-07-17 08:04:19 +01:00
Phil Nash
8fbd8e0f9e Moved use of reporter into runner (our of Main, directly) 2012-07-16 08:58:28 +01:00
Phil Nash
02006d85d7 Disabled use of __FUNCTION__ for now 2012-07-05 23:12:22 +01:00
Phil Nash
abf271672f Added NotImplementedException 2012-07-05 18:37:58 +01:00
Phil Nash
4c73aa5a0e Factored ConfigData out of data 2012-06-08 08:22:56 +01:00
Phil Nash
78372d09d4 Added toString overload for chars
(and, by extension, Obj-C's BOOL)
2012-06-06 08:06:40 +01:00
Phil Nash
e463687725 Regen single include 2012-06-05 20:51:05 +01:00
Phil Nash
46a3476731 Added nothrow command line option
Causes _THROWS family of macros to no evaluate expression
2012-06-05 20:50:47 +01:00
Phil Nash
e20b252b5a Regen single include 2012-06-05 20:16:58 +01:00
Phil Nash
5824b56a5e Cleaned up some GCC/LLVM warnings 2012-06-05 10:38:18 +01:00
Phil Nash
f3dd0938ff Changed a remaining Hub to Context 2012-06-05 10:13:52 +01:00
Phil Nash
535edcb73b changed remaining cmd line checks to cmd.raiseError 2012-06-03 19:03:17 +01:00
Phil Nash
8d02b9306d Changed --cutoff to --abort 2012-06-02 23:26:32 +01:00
Phil Nash
0f9c551d4d Moved catch_interfaces_runner.hpp out of conditionally compiled section 2012-06-02 23:12:42 +01:00
Phil Nash
6d1c11381e Fixed some signed/ unsigned warnings 2012-06-02 23:08:07 +01:00
Phil Nash
e9e68591a2 qualified #includes 2012-06-02 12:31:55 +01:00
Phil Nash
19b2aa6187 Added cutoff option to command line
Aborts testing after a certain number of assertion failures
2012-06-01 19:40:27 +01:00
Phil Nash
163088a11f Refactored command line parser to be more cohesive
Also added a set of unit tests for them (incomplete)
2012-05-31 19:40:26 +01:00
Phil Nash
06e959be3e Fixed used of cleaned-up context by runner's destructor
This was causing a segfault for some
2012-05-25 08:52:05 +01:00
Phil Nash
eb22e212c0 Merge pull request #88 from klmr/master
Warning "unused parameter" silenced
2012-05-25 00:47:22 -07:00
Phil Nash
2ffb372290 Added evaluator overloads for case when comparing pointers against NULLs that decay to ints 2012-05-24 18:41:14 +01:00
Phil Nash
a8570dfdfe Regenerated single include 2012-05-24 08:29:41 +01:00
Phil Nash
7035b55832 Matchers macro uses Catch::Matchers namespace internally - so it doesn't have to be declared with "using" first 2012-05-24 08:29:03 +01:00
Phil Nash
1c98fc98ef Added Equals matcher for strings 2012-05-24 08:27:50 +01:00
Phil Nash
be838671ab Removed special handling for pointer comparisons
These all seem to be handled by the general case now
2012-05-24 08:27:09 +01:00
Phil Nash
73e1bc20bc Fixed some warnings 2012-05-24 08:23:55 +01:00
Phil Nash
4f19705e09 Fixed GitHub Issue #90 2012-05-23 23:59:42 +01:00
Phil Nash
c81bf7b7a2 Updated gitignore 2012-05-23 23:55:32 +01:00
Phil Nash
a86eac86d0 Added VS2010 2012-05-23 23:55:14 +01:00
Phil Nash
12c3e8619f Renamed VisualStudio to VS2008 2012-05-23 23:47:30 +01:00
Konrad Rudolph
84434be949 Silence "unused parameter" warning. 2012-05-23 11:22:49 +01:00
Phil Nash
4df051bcf4 single header now includes date-time of generation in comment header 2012-05-22 22:22:22 +01:00
Phil Nash
1787da54a7 Reinstated #include that broke single include 2012-05-22 22:21:17 +01:00
Phil Nash
7004f4a234 Regenerated single include 2012-05-22 08:56:59 +01:00
Phil Nash
ab4b36862d Added a delta method to Totals that tracks new passed/ failures
This fixes issue with test group results
2012-05-22 08:56:11 +01:00
Phil Nash
9fa9d4279c Removed "singleton" method from context
There is now a global "currentContext" - but Context itself is not aware of it
2012-05-22 08:55:19 +01:00
Phil Nash
61319a9bc1 Merge branch 'master' of github.com:philsquared/Catch 2012-05-21 21:52:00 +01:00
Phil Nash
35b31fa78a Added support for Objective-C exceptions 2012-05-21 21:51:16 +01:00
Phil Nash
371db8b42f Context methods are non-static - accessed via interface
This is a move towards allowing multiple contexts - with the concept of a (possibly thread local) "current" context
2012-05-21 18:52:09 +01:00
Phil Nash
2783842ca4 Merge pull request #84 from iamleeg/master
Comparison between signed and unsigned
2012-05-21 10:34:42 -07:00