Commit Graph

3719 Commits

Author SHA1 Message Date
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
Phil Nash
6abf702895 OC project for Xcode 4 2012-02-10 08:28:37 +00:00
Phil Nash
4a0a70a82e Regenerated single header 2012-02-09 08:37:02 +00:00
Phil Nash
3fd7dc0218 Prevent duplicate test names from being registered
If a test case with the same name as an already registered test case is registered an error is logged to cerr and the program exits (with error level 1)
2012-02-09 08:34:01 +00:00
herringbanger@gmail.com
aa648bd690 Fix linker error in catch_debugger.hpp on iOS on ARM that occurs trying to use assembly for Intel because CATCH_PLATFORM_MAC is defined.
Define CATCH_PLATFORM_MAC using #if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) instead of #if defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__).

Add new CATCH_PLATFORM_IPHONE defined using #elif  defined(__IPHONE_OS_VERSION_MIN_REQUIRED) for future use. The BreakIntoDebugger and isDebuggerActive functions remain without implementations for iOS.
2012-01-14 11:12:58 -08:00
Phil Nash
fd78e0f6df Regenerated single include after last commit 2011-12-28 19:56:39 +00:00
Phil Nash
d207cecade Fix for GitHub issue #56
TEST_CASE_METHOD's put the generated class into the anonymous namespace
2011-12-28 19:55:11 +00:00
Phil Nash
f51d316dba Regenerated single include for last few commits 2011-12-28 10:37:31 +00:00
Phil Nash
7c94aef660 Fix for GitHub Issue #66
SECTIONs distinguished by name as well as file/ line
2011-12-28 10:33:54 +00:00
Phil Nash
07ff5f39fd GitHub issue #62
Initialise m_firstSectionInTestCase in Basic Reporter
2011-12-28 10:28:56 +00:00
Phil Nash
b13ad46532 stdout retained for all sections
Fixed issue where stdout was dropped between sections
2011-12-28 10:23:32 +00:00
Phil Nash
458e5eec16 Xcode 4, warnings and MinGW
Added separate Xcode 4 project.
Fixed some warnings.
Fixed OutputDebugString decl for MinGW
2011-12-27 10:59:41 +00:00
Phil Nash
f7e2777665 Github issue #51
Fixed " entity referece
2011-09-30 08:04:54 +01:00
Phil Nash
6e74b5c7ed Removed a couple of noisy warnings 2011-09-30 07:30:03 +01:00
Phil Nash
4094e7fe3d Merge branch 'master' of github.com:philsquared/Catch 2011-09-29 18:42:32 +01:00
Phil Nash
a713ce0264 Simplified streamable detection 2011-09-29 09:01:59 +01:00
Phil Nash
0afab69c7d Supress more warnings 2011-09-29 08:58:40 +01:00
Phil Nash
7df1ba0926 Merge branch 'master' of github.com:philsquared/Catch 2011-09-29 08:49:05 +01:00
Phil Nash
7c329e1d05 Added more warnings 2011-09-29 08:48:26 +01:00
Phil Nash
820c2fb6ae Merge pull request #53 from wichert/warnings
Suppress compiler warnings
2011-09-29 00:43:46 -07:00
Wichert Akkerman
6d18d4b189 Fix compiler warnings
Fix base classes without virtual destructors and missing initialisors.
2011-09-23 10:03:52 +02:00
Phil Nash
98a21bce5d regenerated single_include 2011-09-19 18:23:07 +01:00
Phil Nash
5680fe4237 Merge ../../Catch 2011-09-19 18:20:11 +01:00
Phil Nash
08a1b51987 Hold values by value and references by reference 2011-09-19 18:19:13 +01:00
Phil Nash
0653f4880b Added tests for true == true etc 2011-09-19 18:17:51 +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
e88434067c Merge ../../Catch 2011-08-12 18:52:55 +01:00
Phil Nash
8350ef6366 Re-ordered Obj-C headers to fix dependency issue 2011-08-12 18:52:10 +01:00
Phil Nash
2254540959 Regenerated single include 2011-08-09 18:41:01 +01:00