9438a03d5b
Big assertion capture refactoring. - moved as much logic out of the macros as possible - moved most logic into new ResultBuilder class, which wraps ExpressionResultBuilder (may take it over next), subsumes ResultAction and also takes place of ExpressionDecomposer.
Phil Nash2014-05-28 18:53:01 +01:00
2c9e9ac004
Fixed space separated lists of test specs - they form an AND expression. They were forming an OR expression due to changes made to fix -f - so that had to be fixed differently
Phil Nash2014-05-20 18:28:19 +01:00
baf181f15d
Minor fixes to a couple of test names
Phil Nash2014-05-20 18:11:43 +01:00
b43d7703e5
Tests hidden with legacy ./ prefix tagged as hidden
Phil Nash2014-05-20 18:11:23 +01:00
fbf3f6f879
Fix case sensitivity when matching tags (now insensitive again) Also group case-different tags together when listing
Phil Nash2014-05-20 18:03:54 +01:00
e21d0b29cc
Killed a couple more warnings (one for VS2010 and one for Clang)
Phil Nash2014-05-19 19:04:38 +01:00
3bdc97d8ad
Suppressed a load of warnings
Phil Nash2014-05-19 18:57:14 +01:00
9bf43e7875
Refactored last usages of old tag parser and removed all the, now redundant, tag parsing code
Phil Nash2014-05-16 18:52:55 +01:00
766491a7c4
Approved all the changes following name/ tag parser rework
Phil Nash2014-05-16 18:31:15 +01:00
b1e7d161b5
Moved catch_test_spec.h to catch_test_spec.hpp
Phil Nash2014-05-16 18:28:58 +01:00
ae75b3774a
Switched over to new name/ tag parser
Phil Nash2014-05-16 18:24:07 +01:00
56b8d3a5f9
Moved new test spec code into appropriate header - about to remove old test spec code and rewire throughout the codebase!
Phil Nash2014-05-16 07:23:31 +01:00
72e67693d4
Small test spec parser refactoring
Phil Nash2014-05-16 07:07:28 +01:00
f8cff10ff6
First cut of new test spec parser code
Phil Nash2014-05-16 06:50:00 +01:00
ad4489043b
Unanonymised unions to avoid breaking on compilers that don’t support them - e.g. GCC 4.3 and 4.4 - fixes#281Phil Nash2014-05-13 17:48:47 +01:00
4e044ed4b1
build 43 - removed some pragmas
Phil Nash2014-05-04 09:23:30 +01:00
5ce900a532
Removed some #pragmas that have been causing problems for now
Phil Nash2014-05-04 09:16:32 +01:00
5a2df71b41
build 42: “compact” reporter - thanks to Martin Moene
Phil Nash2014-05-01 19:07:02 +01:00
4e9484ba30
Adjusted some elements of style in compact_reporter
Phil Nash2014-05-01 19:03:56 +01:00
c02c7003dc
Merged Martin Moene’s “compact reporter”
Phil Nash2014-05-01 07:27:57 +01:00
57374a1fab
Added ability for releaseNotes script to pull github issue titles
Phil Nash2014-04-26 08:34:24 +01:00
18845dab7f
Added script to extract stub for “release notes” - gets last two commit hashes for the version file, gets the commit logs between those versions and parses out the messages
Phil Nash2014-04-25 06:10:50 +01:00
1a6f2a0a80
Changed the way noexcept support is handled to (hopefully) fix#275 and #273Phil Nash2014-04-23 18:19:19 +01:00
f1928b7f24
Include missing <cstring> header - should fix issue #274Phil Nash2014-04-23 17:51:30 +01:00
aef6cd5332
build 40 - Fixed endianness when converting numbers to hex strings - Added option to show invisibles (/t, /n) in printed strings with -i - moved toString() impls to impl file - avoid allocations for static strings used in reporter
Phil Nash2014-04-23 07:10:10 +01:00
328a469c03
Moved tostring impl into catch_tostring.hpp
Phil Nash2014-04-23 07:03:15 +01:00
97150f27ac
Renamed catch_tostring.hpp catch_tostring.h - in preparation for splitting implementation into catch_tostring.hpp
Phil Nash2014-04-23 06:51:58 +01:00
7059b2cdac
Added ability to show “invisibles” in strings (just tabs and newline chars, for now).
Phil Nash2014-04-22 18:23:42 +01:00
f219194199
Replace some static strings with static char*s for leak detection friendliness (h/t #272)
Phil Nash2014-04-22 17:54:29 +01:00
48153e8e10
Considers endianness when printing raw memory into a string
Phil Nash2014-04-22 08:19:11 +01:00
878c257de7
Merge pull request #255 from johannesmoene/fix-python-print
Phil Nash2014-04-21 19:15:44 +01:00
6da62d21f5
Merge branch 'master' of github.com:philsquared/Catch
Phil Nash2014-04-21 19:03:19 +01:00
a020865990
Sections are, once again, eagerly entered. When the section tracking code was rewritten a while back to simplify and iron out some bugs the order of evaluation was changed so that each new section was skipped on the first run through. This had unwelcome consequences for some people. This commit restores the original semantics (while maintaining the simpler, less buggy, new code).
Phil Nash2014-04-21 19:02:38 +01:00
463f7bdf65
Merge pull request #260 from paleozogt/patch-1
Phil Nash2014-04-18 18:33:46 +01:00
94f47d5f8c
Updated docs with new [!throws] behaviour
Phil Nash2014-04-16 07:58:09 +01:00
20cad7cb1d
Tags beginning with a non alpha-numeric character are now disallowed. Added !throws special tag which denotes a test case to be skipped when run with -e (the idea being that the test case is expected to throw an exception which is not caught within a XXX_THROWS assertion).
Phil Nash2014-04-15 18:44:37 +01:00
472dc2a61f
New version of Clara - interface changed slightly - moved clara.h and tbc_text_format.h into “external” folder
Phil Nash2014-03-17 18:40:58 +00:00
f9df35b12b
Fixed instance of Clara::_ placeholder when using CATCH_CONFIG_RUNNER
Phil Nash2014-03-10 18:02:18 +00:00
77c9edfcdb
Fix python scripts for python 3 (print now a function rather than a keyword)
Martin Moene2014-03-08 11:31:38 +01:00
dd2810d60a
build 30 - with Clara fix for null deref crash
Phil Nash2014-03-07 06:58:33 +00:00
04f994a8fc
Updated VS2010 project (removed CmdLineTests.cpp)
Phil Nash2014-03-07 06:53:30 +00:00
9abb27676d
Fix problem (hopefully) with single source definitions from Clara - define CLARA_CONFIG_MAIN in the right place
Phil Nash2014-03-06 21:53:34 +00:00
9b4c7fa0f7
Updated cmake file with command line test removal
Phil Nash2014-03-06 08:21:47 +00:00
8cd1b31931
Merge branch 'master' of github.com:philsquared/Catch
Phil Nash2014-03-06 08:18:06 +00:00
fd879f7e77
Build 28 - new version of Clara - removed command line tests
Phil Nash2014-03-06 08:17:24 +00:00
b9fea75109
New version of Clara. - updated command line setup with new API - updated STITCH macros - force embedded Clara to use Catch’s console width (but restore it after) - remove command line tests (as these have now moved into the Clara project)
Phil Nash2014-03-06 08:16:06 +00:00