Commit Graph

277 Commits

Author SHA1 Message Date
Phil Nash
deb3ced619 Ptr op= takes const ref (fixes: #115) 2012-08-31 18:50:46 +01:00
Phil Nash
62b7039a7b Fixed #114 (no exit code on failure) 2012-08-31 18:46:13 +01:00
Phil Nash
74d1d31997 Added CATCH_ version of SUCCEED macro 2012-08-31 18:37:47 +01:00
Phil Nash
a70fbe3c1a Completed NoAssertions warning implementation 2012-08-31 08:10:36 +01:00
Phil Nash
78c92e68aa Got rid of some warnings 2012-08-27 21:48:15 +01:00
Phil Nash
ecf934b045 Option objects now enforce min/ max args generically 2012-08-27 21:42:55 +01:00
Phil Nash
95ae50ad3d Test for ~ and removed debug print 2012-08-24 19:01:35 +01:00
Phil Nash
f82861fb0a Changed shorthand for exclude: to ~ 2012-08-24 18:57:49 +01:00
Phil Nash
e571e6f4a0 Can specify tests without -t. ex: is shorthand for exclude: 2012-08-24 18:54:56 +01:00
Phil Nash
4c97fc5619 WIldcards at both ends 2012-08-24 08:23:50 +01:00
Phil Nash
56d5c42912 First cut of new filtering mechanism 2012-08-23 20:08:50 +01:00
Phil Nash
d2ec849984 Regenerated single include 2012-08-23 19:48:57 +01:00
Phil Nash
5bc030ddd7 Regenerated single include 2012-08-16 18:48:50 +01:00
Phil Nash
a695eb9006 Builds almost completely cleanly with -WEverything in LLVM 2012-08-13 07:46:10 +01:00
Phil Nash
3b80af7a06 Recreated the single include test project and got it working after impl refactorings 2012-08-09 07:47:30 +01:00
Phil Nash
0dc9e43c02 Fixed toString for NSString* in Xcode 4.4 2012-08-01 08:17:07 +01:00
Phil Nash
61756974d0 Catches incorrect reporter name as per #107 2012-07-28 20:37:07 +01:00
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
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
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
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
e20b252b5a Regen single include 2012-06-05 20:16:58 +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
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
a8570dfdfe Regenerated single include 2012-05-24 08:29:41 +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
7004f4a234 Regenerated single include 2012-05-22 08:56:59 +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
89d2a3f911 Regenerated single include 2012-05-16 15:09:17 +01:00
Phil Nash
6217966743 Regenerated single include 2012-05-11 19:06:43 +01:00
Phil Nash
176eb81563 Regenerate single include 2012-05-11 08:17:16 +01:00
Phil Nash
aec1e5ed86 Tweaked single include merging to remove comment blocks
Also removed multiple blank lines
2012-05-09 19:37:51 +01:00
Phil Nash
d31737f18b Regenerated single_include 2012-05-09 19:04:00 +01:00
Phil Nash
6f1543b1b1 Regenerated single include 2012-05-07 19:46:19 +01:00
Phil Nash
49e6d536e1 Clean-up and regenerated single include 2012-05-05 19:35:35 +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
Jardel Weyrich
11dca66336 Fix missing parameter for comparisons between long and unsigned X. 2012-04-27 14:42:40 -03: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
78d95a0854 Regen single include 2012-03-04 21:22:36 +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
918046aaf1 Regen single include for last few checkins 2012-02-28 20:04:42 +00:00
Phil Nash
f7299fc87b Regen include 2012-02-25 09:39:45 +00:00
Phil Nash
2cc9b0dba1 Regen header 2012-02-22 09:44:06 +00:00
Phil Nash
3619cb2f09 Regenerated single include 2012-02-18 19:16:30 +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
6e0f58d474 Generated single include 2012-02-15 18:37:21 +00:00
Phil Nash
a162e22fa3 Added CHECKED_IF and CHECKED_ELSE 2012-02-10 08:30:13 +00:00
Phil Nash
4a0a70a82e Regenerated single header 2012-02-09 08:37:02 +00:00
Phil Nash
fd78e0f6df Regenerated single include after last commit 2011-12-28 19:56:39 +00:00
Phil Nash
f51d316dba Regenerated single include for last few commits 2011-12-28 10:37:31 +00:00
Phil Nash
98a21bce5d regenerated single_include 2011-09-19 18:23:07 +01:00
Phil Nash
8152825e9f Fixed Obj-C related #include ordering 2011-08-15 09:06:31 +01:00
Phil Nash
83224e637f Regenerated single include 2011-08-12 18:53:28 +01:00
Phil Nash
2254540959 Regenerated single include 2011-08-09 18:41:01 +01:00
Phil Nash
4021d65f64 Regenerated single_include 2011-07-15 08:12:10 +01:00
Phil Nash
d6566f9d2f regen single header with __debugbreak fix 2011-07-04 09:14:15 +01:00
Phil Nash
62a5ddce2b regen single header with lhs string literal fix 2011-06-29 19:25:14 +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
3c20a75189 regenerated single header 2011-06-23 08:23:33 +01:00
Phil Nash
f721a96d24 regenerated to include Approx changes 2011-06-07 14:13:57 +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