New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define toString template before using toString calls #195
Conversation
To understand this PR: this error happens when using the non-single-file version of Catch. |
Thanks for raising this - and thanks for the bump - I lost track of this after getting back from holiday. I'm not sure that moving the whole base template is the right thing to do - since that refers to StringMaker<>, which is not yet defined. So I've just placed a forward declaration before StringMaker<>. Since it wasn't failing for me to begin with could you please give the latest commit a quick try and see if it resolves the issue for you without your patch? |
Yes, i can confirm @1e2f1d160336be07411775c476bfed3c7673263f resolves the issue. |
Cool. Thanks for letting me know |
I think this falls under 'necessary, but not sufficient' - the solution is a little more complex (isn't it always?) sigh I've been tweaking the If you provide an overload for I'm not making this very clear here - take a look at https://gist.github.com/PureAbstract/6601192 and it may be more apparent what's going on. I think I've got a pretty good handle on what needs to happen, but probably won't get the time for a few days. My current thinking is we need (in this order):
...and to reliably provide stringification, users need to specialise If I may quote the C++ Standard (14.7.3/p7):
|
In commit PureAbstract@d6f23a9 of #198, I've hoiked the definition of |
Thanks for all the input, Andy (@PureAbstract). What makes this stuff so fiddly is the rules are so vague and the compilers seem intent on creating a false sense of security. I think you are right that StringMaker<> should be the primary entity to override - but that's a recent addition. I need to think about this more, too. |
No problem - thanks for Catch :-)
I've been able to recite the limerick from memory for at least a decade now - what's worrying is that I can now also do the same thing with the paragraph number...
I wouldn't describe the rules as vague - quite the opposite. They're just impenetrable (probably why CWG spend so much time in silent contemplation...). That compiler and library vendors all seem to have read them slightly differently is , well, 'interesting'... In a perfect world, it'd be nice to have users be able to overload I also considered fully qualifying the calls to I'm probably going to add allocator support for I, too, shall ponder some more! Cheers |
ed8f457 merge 3dcde89 feat: add LoraMessage convenience class 9a79e67 remove clutter from lib only branch 11b06f1 docs: add license header 66eeb59 refactor: make class 7692709 docs: add hint about running tests fe34654 docs: add byte information 04e6315 docs: add TTN example 808d0ea docs: add documentation for uint8 and humidity 7c7982b Revert "fix: add intToBytes" d559432 fix: work in non-require env 7be455c test: adapt decoder test 680ed3d feat: humidity encoder/decoder 52e0cd2 feat: add uint8 encoder/decoder 34b43c5 fix: add intToBytes 89cc980 refactor: add h 805155d test: fix section name 00421eb refactor: rename uint to uint16 0f4e889 docs: fix uint name cc37eed fix: rename int to uint 5066b65 feat: temperature serialization 8ffc80d feat: add int16_t encoder/decoder 95ce5c2 chore: disable email notifications 96da3b3 docs: add intro d7b2ddf chore: add badge ad8d107 chore: add travis.yml 7899ce9 chore: add license a3af6ab initial commit 920647a Merge commit 'beecdaf4d0b7fc2304f739ceec5104cad9042f4b' as 'test/lib/Catch' beecdaf Squashed 'test/lib/Catch/' content from commit 35f5105 b16efa3 initial commit REVERT: 35f5105 v1.5.6 REVERT: 742457c Use Clara v0.0.2.4 (updated) - fix for string lengths REVERT: 1aa6c91 Fixed RNG issue with pre C++14 compilers REVERT: ac22028 v1.5.5: Deal with auto_ptr and random_shuffle hard deprecations in C++14 REVERT: be3570e Use std::shuffle instead of (deprecated) std::random_shuffle if C++14 detected REVERT: a74d760 Switched remaining std::auto_ptrs to use CATCH_AUTO_PTR REVERT: f666f5f v1.5.4 REVERT: 7940d58 "test" expression using !! instead of static_cast to bool. This addresses #657 while (hopefully) maintaining fix for #574 REVERT: ebf9f3b v1.5.3 REVERT: 1ebebd4 Merge branch 'rcdailey-throw-on-duplicate-tests' REVERT: b57e734 Merge branch 'throw-on-duplicate-tests' of git://github.com/rcdailey/Catch into rcdailey-throw-on-duplicate-tests REVERT: 5aa2b82 Merge pull request #656 from daniel-j-h/better_travis REVERT: 5c198d8 v1.5.2 REVERT: 5a6b291 Using Clara 0.0.2.4 - fixes issue with spaces in quoted arguments REVERT: 1706dd4 Pins LLVM 3.8 (stable) instead of tracking the nightly repository REVERT: 92b141e v1.5.1 REVERT: 4f1263d Removed use of dynamic_cast from test_case_tracker. (Thanks to #631 and #648) REVERT: 3b19458 Removed use of dynamic_cast for MultipleReporters (Thanks to #630, #636 and #648) REVERT: e553784 Regenerated single include (forgot for previously tagged release) REVERT: 0fe303b v1.5.0 (due to new embedded Clara) REVERT: 1c47fe0 Updated embedded Clara to 0.0.2.3 - has all new, more robust, token parsing. - eliminates issue with unreachable code - allows use of forward slashes to introduce short args on Windows REVERT: 6f3bc62 Merge branch 'AzCopey-hotfix/override-warning' REVERT: 6de7142 Merge pull request #634 from rafaeleyng/patch-1 REVERT: 7544644 Update tutorial.md REVERT: 86c0ea2 [#608] Don't use exit() on duplicate test descriptions REVERT: 7075b7d Added missing CATCH_OVERRIDE to CumulativeReporterBase::assertionEnded(). This fixes a warning when building in Xcode 7.2+ with default warning settings. REVERT: c984fc3 v1.4.0 - use __COUNTER__ for unique IDS instead of __LINE__ (where possible) + bug fixes REVERT: 447f53e Fixed !shouldfail REVERT: 13a887a Use __COUNTER__ when generating unique names instead of __LINE__, if available. Based on PR #351 REVERT: 02af70e build v1.3.6 (include's David Grayson's fix for the gcc pragma) REVERT: c362894 Merge branch 'DavidEGrayson-pr_gcc_pragma_typo' REVERT: 97e3354 Fix CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS: GCC needs to be capitalized. REVERT: ae5ee2c v1.3.5 REVERT: f895e0d Rebased approvals following colour changes REVERT: 458f37e Merge branch 'explicit-bool-conversion' of git://github.com/seanmiddleditch/Catch into seanmiddleditch-explicit-bool-conversion REVERT: 91bfe68 Suppress parentheses warnings on clang and gcc - should address #593, #528, #521, #496 (and possibly others) REVERT: 8ccb18d Added --use-colour option to give finer control over colourisation. --force-colour is still present but deprecated (will remove in v2) REVERT: dce2154 Merge pull request #598 from luxe/patch-1 REVERT: e52ad48 removes link to missing readme file REVERT: 776247a Support explicit operator bool REVERT: 3b4edd7 Build for v1.3.4 REVERT: 880a204 Use Clara v0.0.1.1 REVERT: ffad3a0 Fix as suggested in #574 Cast expression to bool to prevent custom && from defeating short-circuiting REVERT: 3bd20bf Removed reference to pre 1.0 release from README REVERT: c724356 v1.3.3 REVERT: b84e08a Fix EndsWith Matcher (and refactored EndsWith and StartsWith in terms of endsWith and startsWith) (see Issue #573) REVERT: aca16a0 Fixed CATCH_REGISTER_TEST_CASE too REVERT: f294c98 Fixed REGISTER_TEST_CASE for VS2013 (hopefully) - see #549 REVERT: 7424b23 v1.3.1 REVERT: dbd3a84 Fixed catch_with_main.hpp (no longer references deleted catch_runner.hpp) REVERT: 5262e61 Approvals for Matcher change (added comma) REVERT: a5fba67 Add missing comma when in captured expression for matchers REVERT: 2106d82 Fixed non-variadic version of REGISTER_TEST_CASE REVERT: 981347b patch build to include last two fixes REVERT: 9e34123 main takes args by non-const char* - see #548 REVERT: 2b688e1 Initialise m_currentSortOrder - as reported in #545 REVERT: 84d1c08 Keep Xcode 7.1 happy REVERT: 722315a Removed some trailing whitespace REVERT: fdc42d0 Merged from develop branch - now v1.3.0 REVERT: d274fc5 Added noexcept to CustomStdException destructor REVERT: 7e15d9b dev build 4 REVERT: 0e64973 Added support for manually registering test functions. As discussed in #421 REVERT: e4fa62a dev build 3 REVERT: a49f088 exception translators considered even for types deriving from std::exception, now - also added docs for exception translators - updated approvals REVERT: ed6e912 Session's argv now taken by char const* const* - see #427 REVERT: 9235676 dev build 2 REVERT: d10b73f changed Not struct to a class. - it was forward declared as a class, which caused warnings on some compilers. It should really have been a class anyway. - this addresses the same issue as PR #534, albeit from the other angle. REVERT: 71fd2c2 Fixed test names mentioning the new Matcher combinator operators REVERT: 08844e7 build 1.3.0-develop.1 REVERT: 054e3c5 Added &&, || and ! operator overloads for matchers (syntactic sugar for AllOf, AnyOf and Not compositional matchers, respectively) REVERT: f3e7722 Don't introduce Catch::Matchers namespace in macro - this could be a breaking change - fixed up self-test code to compensate REVERT: 315c83a Removed unnecessary parentheses REVERT: 9576ad9 Removed unused parameter - as per PR #530 REVERT: e917381 Stripped trailing whitespace from all source code lines (replaces need for PRs #310 and #504) REVERT: 8c32b49 Added script to strip trailing whitespace from source files REVERT: ece529a Fixed noexcept destructors issue REVERT: 9e42153 dev build 16 REVERT: c81778e Fixed CMake file (changed SectionTrackerTests.cpp - now deleted - to the new PartTrackerTests.cpp) REVERT: f5642be Fixed reversed logic of NoAssertions warning check (that explains the previous regressions) REVERT: 7e34619 v1.2.1-develop.15 - includes all new section tracker REVERT: 4636be9 Merge branch 'NewSectionTracking' into develop REVERT: 015e071 Added SUCCEEDs to empty leaf sections to avoid failing due to no assertions REVERT: bc8840c Removed deprecated section tracking implementation and tests REVERT: 471bd25 Approved changes due to "No assertions" warnings now firing correctly on inner sections REVERT: aa49823 perform startRun() at the start of each test case REVERT: 52a417d Fitted new section tracking REVERT: 0b523db Converted all new part tracking tests/ sections to non variadic form REVERT: b851592 Moved all new tracking impl into catch_test_case_tracker.pp REVERT: 3deb3e0 Removed the "part" component of the tracker names REVERT: 73a140f More minor tweaks REVERT: ef62b57 Added tests for failing a section within a generator - small fixes to implementation to make it work REVERT: f4389b4 more minor clean-ups REVERT: 4b99be6 Cleaned tests up a bit REVERT: 293e54d Added IndexTracker and got it working with a single generator - made some simplifications to state machine REVERT: d758428 Merge pull request #523 from nabijaczleweli/patch-1 REVERT: 9a6a086 More name changes REVERT: 2c6411e Tweaks REVERT: 1cb9939 First cut of new section/ part tracking REVERT: bc00d59 Fix typo in catch_stream.hpp REVERT: b3b2352 Fixed some missing sentence structure REVERT: c9a188d Merge pull request #512 from daniel-j-h/better_travis REVERT: e904aa7 Improve the Travis CI integration. REVERT: d43a47e Refactored stream related stuff - simpler, polymorphic hierarchy-based, approach - less bitty conditionals spread across the code - all resolved up-front so now config class is immutable (it had evolved the way it was and in need of a clean-up sweep for a long time) REVERT: a0de07d Some small clean-ups and refactorings - removed previous instance saves in RunContext (they were a hang-over from embedded contexts) - started cleaning up config usage REVERT: 0c1c9fa dev build 14 - workaround for uncaught_exception issue - avoid mutating vector while iterating it (due to re-entrancy) REVERT: 166ca2e Do uncaught_exception checking before calling sectionEnded - split the uncaught handling (adding to unfinishedSections) into separate method REVERT: 1531763 Revert "Fix parentheses warning on expression evaluation when using ccache" REVERT: a28d40e Merge pull request #496 from segalaj/master REVERT: 7da777a Fix parentheses warning on expression evaluation when using ccache REVERT: d234ed1 dev build 13 REVERT: 7fd7c5b Merge branch 'matcher-not' into develop REVERT: 312b94e Add matcher: Not() REVERT: 40d0d2f Added unique_ptr detection to compiler_capabilities - as well as use by C++11 conformant compilers now enabled for VS2013 on too (see #479) - updated docs with this (and long long and override support) REVERT: 1952015 regen single header REVERT: ad7edd0 Replaced some stray overrides with CATCH_OVERRIDE REVERT: 8a05f46 Removed use of std::copy_if (as it's limited to c++11) REVERT: e73583d dev build 12 REVERT: afcc38e Fixes for single include REVERT: 368714e Added Listeners (programatically provided extra reporters) REVERT: 4cb7476 Support for multiple reporters - can't (yet) specify different targets for each reporter (e.g. different files) REVERT: c06e190 Refactored test filtering and sorting REVERT: 8b1b7cd dev build 11 REVERT: 34fa25e Removed Runner class - it served no purpose - split into functions instead REVERT: 85c8074 Set group name to -n parameter (or exe name) - As discussed in #469 REVERT: 0edebf4 approvals rebase - I *think* this fixes an earlier regression, but I'm not 100% sure where that came from! REVERT: f3308ed Let gcc use __cplusplus identifier to decide if nullptr supported - or, for 4.6, continue to check __GX_EXPERIMENTAL_CXX0X__ See GitHb issue #445 and PR #471 REVERT: 74eef52 dev build 10 REVERT: e085d48 Qualified path to xmlwriter to fix travis error REVERT: 2f6371f dev build 9 REVERT: 7097551 rebased approvals for long long test REVERT: 733ebb6 Added CATCH_CONFIG_CPP11_LONG_LONG support REVERT: d6e59cd Fixed Xml encoding - don't encode apostrophes - only encode quotes in attributes - encode control characters (as in PR #465) REVERT: 6de135c Given, When, Then prefixes are now std::strings (and so can be prepended to std::strings themselves) see #455 REVERT: 5bbdc8f Dev build 8 REVERT: 7286892 Exception message assertions now work with matchers REVERT: 8342ae8 dev build 7 REVERT: 2104ca2 Exception message testing now supports wildcards - extracted WildcardPattern from TestSpec::NamePattern REVERT: 93a842e dev build 6 REVERT: 85de743 Added _THROWS_WITH macros - asserts on exception message REVERT: 5d5ed5a Updated approvalTests script to allow for modified version strings REVERT: 1dd0d4c Force cout/ cerr to be initialised before errors in test registry are printed - see #461 REVERT: 57df3ba Force cout/ cerr to be initialised before errors in test registry are printed - see #461 REVERT: e6b365d dev build 5 REVERT: 02e1966 Changed --filenames-as-tags prefix to #, added -# as short form and updated docs REVERT: 584032d dev build 4 - undisturbed background colour (windows), from PR #456 REVERT: 18acff6 Merge branch 'develop' of git://github.com/RandomInEqualities/Catch into RandomInEqualities-develop REVERT: c1ca0fd dev build 3 REVERT: d6f1446 Fixed an issue on some compilers with implicit conversion from nullptr to Ptr - also cleaned up some warnings to do with CATCH_NULL REVERT: 62e517f Fixed backslash detection in filenames-as-tags REVERT: 6160a2b Fix for white background in windows powershell when using colour output. REVERT: 8f66e34 dev build 2 REVERT: d87e551 reseeds rng before each test case and provides access to seed through Catch::rngSeed() function REVERT: b971fe7 develop build 1 REVERT: 088c5bc --filenames-as-tags REVERT: 680b1a8 Squashed some warnings about local variables shadowing members - see #444 REVERT: 805de43 Use CATCH_NULL instead of NULL - expands to nullptr if CATCH_CONFIG_CPP11_NULLPTR is defined (see #444) REVERT: 3b18d9e build for v1.2.1 REVERT: 6d57972 Split imply from TrackedSection class to avoid use of incomplete type - see #450 REVERT: 804896c Fixed approval tests script for new version number formatting REVERT: 7ab3b5a Added compiler feature suppression macros REVERT: 21f7ef6 Committed to semantic versioning REVERT: f5fef1e Fixed readme to not refer to develop branch REVERT: 8cc1108 Use <= operator instead of ->* for decomposer REVERT: c51e868 build 3 REVERT: fc63b02 suppressed some more warnings REVERT: 6ed74b5 changed hex threshold on ints to 255 REVERT: bdbfe69 Merge branch 'master' of github.com:philsquared/Catch REVERT: 605d870 Updated toString docs with StringMaker REVERT: a55c1cf Merge pull request #380 from socantre/master REVERT: 43470b2 Removed CATCH_CONFIG_CPP11_NULLPTR for VS2015 REVERT: 318c936 build 2 REVERT: e86daf8 Reorganised C+11 feature detection a bit and added CATCH_CONFIG_CPP11_NULLPTR for VS2015 REVERT: bfa3f86 Removed some more warnings REVERT: 2946c19 Added comments on multi-file tests to tutorial REVERT: 7975920 Merge pull request #404 from adzenith/patch-1 REVERT: 702cbc1 Merge branch 'BMBurstein-develop' REVERT: 2fc9de9 Updated approvals following merge of develop back to master REVERT: c708570 Merge branch 'develop' of git://github.com/BMBurstein/Catch into BMBurstein-develop REVERT: 465454f Fix REQUIRE_FALSE so that it aborts test case REVERT: 6595387 Fix typo in tutorial.md REVERT: 35f4266 Merge branch 'develop' REVERT: 4af4405 Fixed a missing ), as per PR #363 and PR #390 REVERT: 37e5561 v1.1 build 1 (master) Updated version for master and regenerated single include REVERT: a21fb80 Ignore *.xccheckout REVERT: d9fbc62 Merged from develop REVERT: dd460f0 s/ran/run REVERT: 0ae7578 Restored tag parsing when checking for reserved tags - had been accidentally deleted in an earlier refactoring. A bit worrying that this didn't get spotted sooner! REVERT: 090c74c Use reinterpret_cast to eliminate some warnings #369 REVERT: 572911d Changed comment to work around header stitching bug REVERT: a806c3e Build 14 REVERT: 856468c Rebased to include new --force-colour tests REVERT: 0362659 Merge branch 'peterhuene-develop' into develop REVERT: 6d1da8e Merge branch 'develop' of git://github.com/peterhuene/Catch into peterhuene-develop REVERT: ce0b170 Suppress warnings correctly for Intel compiler #376 REVERT: e04ba5c Removed over-eager assertion. Doesn't hold if reporting due to a segfault #377 REVERT: 5eb7748 Changed relative #includes and made SourceLineInfo sortable (added < op) REVERT: e5280b2 Add --force-colour option to force colour output. REVERT: 7f56152 build 13 REVERT: 5018320 Added tests for toString<std::tuple<>> and rebased REVERT: e8a9923 Merge branch 'PureAbstract-tuple_to_string' into develop REVERT: 75a08bb Merge branch 'tuple_to_string' of https://github.com/PureAbstract/Catch into PureAbstract-tuple_to_string REVERT: b9ec8a1 Merge pull request #344 from therocode/patch-1 REVERT: 060b65b Merge pull request #329 from AnthonySuper/betterdocs REVERT: d76e081 build 12 REVERT: c6635a7 Added type attribute to xml reporter output REVERT: 6817bb0 Fixed up xml reporter and rebased REVERT: 3e0c501 Fixed escaping of ' in TeamCity reporter REVERT: 1cbc4f2 Merge branch 'develop' of https://github.com/SeanCline/Catch into develop REVERT: 92f0836 build 11 REVERT: 3c8c9b2 rebased REVERT: fa751e6 FIxed a couple of test names REVERT: 7619920 Support for reporting skipped tests REVERT: 58dcb5e Removed #includes for Catch headers REVERT: b771394 regenerated single include REVERT: a9f16b1 Fix memset build error REVERT: 576aff6 build 10 REVERT: 3dc3763 Rebased REVERT: 3f9e3e2 Some clean-up ready for first push to GitHub REVERT: 2771220 Cleaned up section headers REVERT: 8ec959e TeamCity reporter work REVERT: 5933d75 Fixed HasExpression check REVERT: 3724463 Fixed escape order and expression reporting REVERT: 7306eb3 TeamCity reporter REVERT: 458b3ae Fixed replace(inPlace) function REVERT: db0421e First commit of (in progress) TeamCity reporter REVERT: acf638f Added docs for floating point comparisons REVERT: b454c43 Extends configuration docs REVERT: 7abc9fa Added docs for --invisibles REVERT: f5c9859 Try again to fix --order docs REVERT: c0c6e7a Fixed single_include link REVERT: 0b1fa6a fixed (hopefully) formatting of '--order' docs REVERT: 840b99a Added docs for --input-file (somehow missing from previous commit) REVERT: 5259b78 Updated command line docs REVERT: 91c17f3 build 9 REVERT: 7e1f21b tweaks to tutorial REVERT: 0dd214f tags with . prefix are all hidden REVERT: 6725e09 any tag prefixed with . hides the test REVERT: 30888f5 removed spurious } REVERT: 82754c1 tweaked formatting REVERT: 694c4d7 Merge pull request #350 from jamiebullock/master REVERT: 13f9843 build 8 REVERT: ff9e51d toString( int ) uses hex for large values REVERT: bd9fbe2 Fixed toString for Approx REVERT: a99e75b Made approvals more platform agnostic REVERT: c6d9bde fixed case of tostring.md link REVERT: 15a8bdf Added string conversions link REVERT: d8e3c1f Last tweak to download text - honest REVERT: 93da743 tweaked download link text REVERT: e8f704c Absolute path to single direct download REVERT: 94ab8f6 Updated README with direct download link REVERT: 27ce70c Added documentation for toString REVERT: b0545d1 Some toString cleanups REVERT: aaa1970 More generic and maintainable makefile. Fixes #348 REVERT: 81fc6d7 Remove missing catch_self_test.cpp, fixes #348 REVERT: 32186db Added first cut of docs for configuring Catch - initially just covers new colour config - also updated all [Home] links in footers to go to local readme REVERT: e54ac70 build 7 REVERT: bde3567 Cleaned up terminal colouring impl and added more config options REVERT: e26e156 Update test-fixtures.md REVERT: 6e99695 XmlReporter enhancement: Add an attribute for the macro name of an expression. REVERT: ea81e98 XmlReporter enhancement: Add attributes for duration when requested by the command line. REVERT: b0e53a8 Move the xml reporter away from the deprecated IReporter interface. REVERT: a5dca3d removed some warnings REVERT: 12fe67c Updated NonCopyable (to include C++11 version) and use for Session and Section REVERT: e606ceb Fixed #include REVERT: 383d7c0 Only use std::cout/ cert via Catch::cout/ cert - and make those conditional on CATCH_CONFIG_NOSTDOUT REVERT: 85b4e94 build 6 REVERT: 4b3fa47 Use reset instead of assignment when updating auto_ptr/unique_ptr REVERT: b1936d3 Calls method of FatalConditionHandler (to avoid warnings) REVERT: 8ec9a5a Updated project for Xcode 6 REVERT: ee3b265 build 5 REVERT: b62a1b5 Moved RandomNumberGenerator out of function and pass in a named instance instead of a temporary - both for C++03 compatibility reasons REVERT: 16a7db0 enable nullptr for VS2010 REVERT: 73a0744 Backed out PR #307 (use nullptr from VS2005) as it seems clr specific REVERT: 6492560 Made sorting functors const REVERT: 9630454 Added missing #include REVERT: 6a8e8ad build 4 REVERT: fa0122b Allow testing ordering to be specified as declaration, lexicographical, or random. Allow random seed to be specified REVERT: c974663 Documentation Changes REVERT: d4e5f18 Merged group name commit from develop REVERT: ea33961 Factored out mention of "unprintable string" ("{?}") REVERT: 3e1d3c7 Give (currently not used, so global only) group a name REVERT: 886ef16 Some minor tidy-up/ style alignment of recent toString merges REVERT: f559a51 ToStringTuple - gcc doesn't like tuple init_list ctor REVERT: 13cbdf7 Add tests for toString(std::tuple<...>) REVERT: 022a0b4 catch_tostring: toString for std::tuple REVERT: 3196937 catch_tostring: Add includes for tuple, type_traits REVERT: 9595644 catch_tostring: Move toString overload declarations REVERT: 4caabfa build 3 REVERT: 5ea3266 Added baselines for new test cases REVERT: fcf5ef0 Changed time function name to reflect that it actually returns Microseconds as reported in #323 REVERT: ee5e7ed Merge branch 'develop' of github.com:philsquared/Catch into develop REVERT: a9d14c8 Merge pull request #319 from PureAbstract/to_string_tests REVERT: dd22431 Merge branch 'develop' of github.com:philsquared/Catch into develop REVERT: 9721296 Merge pull request #318 from PureAbstract/enum_to_string REVERT: 3eefa7f use nullptr in MSVC from 2005+ (based on PR #307 - thanks alex85k) REVERT: fdbbb2c Updated CMakeLists.txt for toString work REVERT: abf9ffc A bunch of Catch::toString tests REVERT: cd2a5aa catch_tostring: tostring for enum class types REVERT: 142f8f4 SelfTest: Build as C++11, add EnumToString tests REVERT: 000e746 SelfTest: refresh makefile REVERT: 341a9c4 Merge branch 'master' of github.com:philsquared/Catch into develop REVERT: 93b61e1 v1.1 build 2 (develop branch) - Signal hander support REVERT: 05743ee FatalErrorConditions now full close reporter states - so the console reporter(s) show final summary and the xml reporters close their tags REVERT: 85d33e2 Merge pull request #306 from andybalaam/master REVERT: 389f3f5 Fix a typo (missing "n") REVERT: cb8fe47 Approvals for develop branch REVERT: 8edf4bf Removed signal handler test, for now (to avoid screwing up the approval tests) REVERT: c1a8e1c Added signal handlers (and placeholder for SEH handlers) - based on PR 232 (https://github.com/philsquared/Catch/pull/232 - thanks Lukasz Forynski) - Writes to reporter, so gets all the usual context, but then exits directly (since the stack cannot be resumed) so no summary - On Windows does nothing, as yet. REVERT: 4f4b44e Merge branch 'develop' of github.com:philsquared/Catch REVERT: aa31d1c Merge branch 'master' of github.com:philsquared/Catch into develop REVERT: b3ece7e Tweaked wording around ability to do BDD REVERT: b7e432e Updated version for develop branch REVERT: 76edbc1 Updated “contributing” docs to reflect new develop branch REVERT: 6e00e5e Merge branch 'master' of github.com:philsquared/Catch REVERT: 544bf33 build 53 includes wchar_t toString overloads and SCENARIO_METHOD macros REVERT: 8b5a4e9 Added approvals for new tests REVERT: 3e025cc Added bundled compact reporter REVERT: 487dfad Fixed link to reference section REVERT: 4aaf67f const_casts to get rid of warnings in new wchar_t tests REVERT: 7bc0b44 Merge branch 'master' of https://github.com/jbrwilkinson/Catch REVERT: bcbd0cb Merge pull request #302 from johannesmoene/doc-index REVERT: e35f862 Fixed link to blog post REVERT: d59fd53 Update link in tutorial REVERT: 6336bb1 Add Readme as documentation entry REVERT: ee83a6f Merge pull request #301 from bena/master REVERT: c7cf0a9 Catch's Travis builds are using gcc that doesn't like the auto keyword REVERT: 7b0a84a toString handles wchar_t raw strings REVERT: 08dc845 Updated docs on slow compiles REVERT: 0aae635 Re-enable warnings disabled for GCC REVERT: ae76945 Hide warnings with GCC REVERT: 6880a0c Added FAQ on slow compiles to docs REVERT: 785db43 Fixed issue with single include generator - well, partially. The problem is it is matching /* … */ comments by assuming the intervening lines begin with whitespace followed by a *. This avoids it having to maintain extra state, but makes it brittle. It was matching *it = " " + *it; as a comment! It now matches on a single space followed by a * and this seems to work for now - but it probably needs to move to proper stateful comment handling. REVERT: 63005a1 Added SCENARIO_METHOD for BDD testing with fixtures. REVERT: ca42b2c Manual fix for generation error REVERT: 28c2e07 build 52 REVERT: 3ff3acf Approvals for last change REVERT: 76f80a6 More summary formatting tweaks REVERT: cab9141 Green summary bar is darker if not all passed - and the green part now comes at the end (to emphasise the failures) REVERT: d89e74f Format floats like doubles when printing - but add ‘f’ suffix (a lá #291) REVERT: ce56209 build 51 REVERT: 23181ee Section no longer relies on copy-elision for correctness - should address #293 - *may* address #271 REVERT: a469d9b Made Colour copyable to remove warning REVERT: a31f05f Removed C-style casts REVERT: 08e5296 Regenerated single include and baselines REVERT: 94a1acf More tweaks to summary format REVERT: 52e1e74 build 50 REVERT: 9c1f9a8 Added [!mayfail] tag to indicate test case that can fail without failing the suite. Overhauled the summary report (including the expected failure count) REVERT: 05e42cb Merge branch 'master' of github.com:philsquared/Catch REVERT: d657b1b Removed use of variadic form of SUCCEED from tests - as per #284 REVERT: acbb7b7 Merge pull request #287 from amorenoc/master REVERT: acdd3b5 Build 49 - _THROWS fix - tag aliases REVERT: 061861d Approved tag alias tests REVERT: 1d210eb Tag aliases feature REVERT: 006aafd Some clean-ups for string handling in Objective-C REVERT: c602238 Fixed typo REVERT: f4f4fec Merge branch 'master' of github.com:philsquared/Catch REVERT: 11cf45b Fixed regression with -e REVERT: 44aa45c Merge pull request #283 from lichray/patch-1 REVERT: ab03668 build 48 - big assertion capture refactoring REVERT: b198856 Fixed single header generator for generating no-impl header REVERT: 7f1156d Fixed typo REVERT: 2226ec2 Merge branch 'master' of github.com:philsquared/Catch REVERT: be9fe76 Renamed ShouldNegate to FalseTest REVERT: 10801c2 Folded ExpressionResultBuilder into ResultBuilder (even more SRP violations!) REVERT: a9cd3a0 fix macro syntax in doc REVERT: 9438a03 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. REVERT: 1479681 Approved new test case REVERT: 7cbf740 Tweaked rawMemoryToString() along lines of suggestion in #281 REVERT: 3385344 Merge pull request #282 from jlschrag/patch-1 REVERT: d8bde3e Fixed Typo REVERT: 48fac9c build 47 REVERT: d12c006 Make TagInfo non-local REVERT: 9241e43 Build 46 - Fixes some test spec parser issues and some warnings (compiler and analysers) REVERT: 5daa22d Fixed dereferenced null issue REVERT: 59d5569 Attempt to prevent analyser warnings about dereferencing null. REVERT: a2d8f77 Approved new test output REVERT: 2c9e9ac 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 REVERT: baf181f Minor fixes to a couple of test names REVERT: b43d770 Tests hidden with legacy ./ prefix tagged as hidden REVERT: fbf3f6f Fix case sensitivity when matching tags (now insensitive again) Also group case-different tags together when listing REVERT: e21d0b2 Killed a couple more warnings (one for VS2010 and one for Clang) REVERT: 3bdc97d Suppressed a load of warnings REVERT: ebd4888 build 45 - fixes REVERT: 7139035 Updated approvals after adding extra tests REVERT: e8aa0bb Fixed issue with reading test names from file REVERT: fcf0deb Fixed issue with wildcards at the start of a string REVERT: b5d1cfe Suppress switch statement warning REVERT: ee956bc Fixed isHidden regression REVERT: 65cc14c build 44 - new name/ tag parser (fixes #279) REVERT: 9bf43e7 Refactored last usages of old tag parser and removed all the, now redundant, tag parsing code REVERT: 766491a Approved all the changes following name/ tag parser rework REVERT: b1e7d16 Moved catch_test_spec.h to catch_test_spec.hpp REVERT: ae75b37 Switched over to new name/ tag parser REVERT: 56b8d3a Moved new test spec code into appropriate header - about to remove old test spec code and rewire throughout the codebase! REVERT: 72e6769 Small test spec parser refactoring REVERT: f8cff10 First cut of new test spec parser code REVERT: ad44890 Unanonymised unions to avoid breaking on compilers that don’t support them - e.g. GCC 4.3 and 4.4 - fixes #281 REVERT: 4e044ed build 43 - removed some pragmas REVERT: 5ce900a Removed some #pragmas that have been causing problems for now REVERT: 5a2df71 build 42: “compact” reporter - thanks to Martin Moene REVERT: 4e9484b Adjusted some elements of style in compact_reporter REVERT: c02c700 Merged Martin Moene’s “compact reporter” REVERT: 9f1e054 Suppress some more warnings REVERT: 57374a1 Added ability for releaseNotes script to pull github issue titles REVERT: 18845da 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 REVERT: 1740495 Build 41 - fixes REVERT: 1a6f2a0 Changed the way noexcept support is handled to (hopefully) fix #275 and #273 REVERT: f1928b7 Include missing <cstring> header - should fix issue #274 REVERT: aef6cd5 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 REVERT: 31caba4 Added test for invisibles REVERT: 328a469 Moved tostring impl into catch_tostring.hpp REVERT: 97150f2 Renamed catch_tostring.hpp catch_tostring.h - in preparation for splitting implementation into catch_tostring.hpp REVERT: 7059b2c Added ability to show “invisibles” in strings (just tabs and newline chars, for now). REVERT: f219194 Replace some static strings with static char*s for leak detection friendliness (h/t #272) REVERT: 48153e8 Considers endianness when printing raw memory into a string REVERT: 878c257 Merge pull request #255 from johannesmoene/fix-python-print REVERT: 6da62d2 Merge branch 'master' of github.com:philsquared/Catch REVERT: a020865 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). REVERT: 463f7bd Merge pull request #260 from paleozogt/patch-1 REVERT: d7e1790 Merge branch 'master' of https://github.com/gnzlbg/Catch REVERT: 9d469b6 build 37 REVERT: 7303b2b Changed branchName to char*, as per #266 REVERT: cfc37b5 Merge branch 'master' of github.com:philsquared/Catch REVERT: 41d3f2b Merge pull request #269 from alexander-manenko/master REVERT: 6c4a7cd Renamed XCode4 folder to just XCode (It’s been Xcode 5 for a long time, now, anyway) REVERT: 970127e Removed some unnecessary core macros REVERT: 87891cf Updated approval tests baselines REVERT: 3c34d65 Doc tweaks REVERT: 94f47d5 Updated docs with new [!throws] behaviour REVERT: 20cad7c 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). REVERT: c5406a2 build 35 REVERT: 1bccc03 Secondary fix for #270 (addresses same issue with CHECK) REVERT: a176b93 Fix for #270 (REQUIRE continues if test throws an exception). REVERT: e9d3537 re-approved following recent command line description tweak REVERT: 3627ee6 Fix build issue with TchRunnerMainView in XCode 5 REVERT: af8cd98 New version of Clara that fixes operator= issue with ref member (#265) REVERT: ce65985 Conditionally removes usage of deprecated features REVERT: 72e96d9 GIT_EXECUTABLE undefined REVERT: 472dc2a New version of Clara - interface changed slightly - moved clara.h and tbc_text_format.h into “external” folder REVERT: f9df35b Fixed instance of Clara::_ placeholder when using CATCH_CONFIG_RUNNER REVERT: 77c9edf Fix python scripts for python 3 (print now a function rather than a keyword) REVERT: 91ea20c Change <> to != REVERT: dd2810d build 30 - with Clara fix for null deref crash REVERT: 04f994a Updated VS2010 project (removed CmdLineTests.cpp) REVERT: 9abb276 Fix problem (hopefully) with single source definitions from Clara - define CLARA_CONFIG_MAIN in the right place REVERT: 9b4c7fa Updated cmake file with command line test removal REVERT: 8cd1b31 Merge branch 'master' of github.com:philsquared/Catch REVERT: fd879f7 Build 28 - new version of Clara - removed command line tests REVERT: b9fea75 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) REVERT: 174ada4 Merge pull request #251 from ThatOtherPerson/patch-1 REVERT: e6ee29a Highlight block as C++ REVERT: 1f1ee3c New version of Clara - Clara now built with new stitch script (based on generateSingleInclude) - also fixed python scripts for python 3 (print now a function rather than a keyword) REVERT: 1c2fbe1 build 26 REVERT: f899552 updated single include test project REVERT: d29cbec Updated single include generator to allow for embedded micro-libraries REVERT: 5845ae9 Added private assignment operator to fix VS2010 issue - thanks to Kosta (#239) REVERT: b15726b Added #include for <memory> to Clara - thanks again, Martin REVERT: 160b74d … and <stdexcept> REVERT: 633feaa Added #include <algorithm> to clara.h - thanks Martin REVERT: 0dc49d1 Extracted stand-alone micro-library, tbc_text_format.h, from catch_text.h. - use this version in clara.h so clara can stand alone. REVERT: b756243 Fixed some comments REVERT: c98a97c Tweaked Cliche macros/ names REVERT: 4554155 Made Clara a “Cliche” header, which will be usable independently of Catch. - This is just a first step. It still has a dependency on catch_text.h, which also needs to be made a Cliche header. - These then need their own homes on GitHub. REVERT: 7eb5acc build 25 - fix for #231 REVERT: 46a1fc7 Removed unnecessary union name REVERT: be890d0 build 24 REVERT: e091018 Fixes toString() for function pointers and added support for member function pointers. - thanks to Malcolm Noyes for supplying sample code on which the solution here was based REVERT: 440a470 Convert pointers to integrates when printing. - handles function pointers that way too (otherwise printed as 1 by gcc and clang) REVERT: e45e3a1 Clara ignores anything after a lone — (double dash) - this allows use within an environment that appends additional arguments that Clara will otherwise reject - generated build 23 REVERT: 91ef5f7 build 22 REVERT: 886d9d3 Reporter command line parser errors more eagerly - show all “unrecognised option” errors REVERT: f385a0b build 21 REVERT: 1aa60fa Changed Approx::toString() to be implemented in terms of toString( double ) (as proposed in #233) REVERT: fb90d38 Changed stdout/ stderr messages to be less misleading REVERT: eb760f6 Build 20 REVERT: f6d2fef Updated project for OCUnit REVERT: 9e52985 Fixes compiler error for some versions of GCC - Manual application of PR #196 (couldn’t merge) - See also #226 REVERT: 66d641a Sneaking last change in without version bump REVERT: 557b3bd Made SUCCESS variadic too (optional stream) REVERT: 2851b4a Try again with nullptr compatibility check in GCC REVERT: 9d7b779 build 19 - fixes nullptr regression (I had accidentally left in some dev changes) REVERT: 859760a Build 18 REVERT: 563429d Compile in CATCH_CONFIG_CPP11_NULLPTR for some compilers REVERT: b462520 Test for FAIL that doesn’t take an argument REVERT: 274ed3e Allow FAIL() to be empty REVERT: a6d74bd Build 17 REVERT: 0b63e0d Fixed warnings for platforms that don’t implement CATCH_BREAK_INTO_DEBUGGER - as discussed in #229 REVERT: a1e87a4 trim test/ section names in xml reporter - BDD-style test names have leading spaces for alignment in the console reporter REVERT: ef95020 Stop overloading virtualise defined at multiple levels REVERT: de49ec4 Fixed broken single header following script change - fixed the script (was missing #ifdefs) - also fixed single include (Xcode) test project - build 16 REVERT: 87b20e8 SourceLineInfo takes char*s instead of std::strings REVERT: 47a5ad3 Normalised “hidden” tags REVERT: 3524321 Removed some cruft REVERT: 3649fdf Build 15 REVERT: c4a089c Refactored a lot of code from headers into impl headers only compiled into one TU - also added noimpl option to single header script - which only generates the non impl code REVERT: 8ba6555 Merge pull request #224 from PetterS/cygwinfix REVERT: c032dfa Fix fileno not always present. fileno(stdout) = STDOUT_FILENO. REVERT: 5ecb72b Build 14 REVERT: 782c2b5 Added ability to load names of tests to run from a file REVERT: 993430a Merge pull request #222 from gnzlbg/cmake-docs REVERT: 69a921f Add documentation for the CMake build system REVERT: ba13f3f Restored second arg to a TEST_CASE for non variadic compilers REVERT: 0635938 Removed deleted file from CMake REVERT: ca7292e Removed redundant MetaTestRunner REVERT: 200197f Merge branch 'master' of github.com:philsquared/Catch REVERT: 337dc25 Converted all test case names to "modern" style (freeform text + tags) REVERT: da0f464 Merge pull request #217 from nanoant/patch/std-auto_ptr-deprecated REVERT: d1e5480 std::auto_ptr is deprecated in c++11/c++0x REVERT: a9fd5b3 Removed cruft from VS projects REVERT: d3c8c98 Merge pull request #214 from AIM360/weibelt/fix-eol REVERT: f15b74c Added some more docs REVERT: 8d44f2d build 13 REVERT: 4f57c8c Print warnings if no assertions and not running with -s REVERT: 2f086ae If no assertions print custom message REVERT: ecb9432 Simplified and tidied test case and tag listing REVERT: 5320518 Build 12 REVERT: 11ba377 Change one more in-page link to work with GitHub generated anchors REVERT: d17bb40 Converted all html anchors in command line docs to match github generated anchors REVERT: 6916298 Attempt to match html anchors (which github strips out) with the ones github generates. REVERT: 2e4be21 Fixed crlf issue REVERT: 0712bbb Merge pull request #207 from Fraser999/list_tests_issue REVERT: c2b0c6f Added missing #include for <vector> REVERT: 0d4894e Updated command line docs with -w and -d REVERT: 69a3f16 Added CTest targets to perform basic test of --list-tests and --list-tags options. REVERT: 6253386 Fixes overflow issue when listing tests. REVERT: 93a945c Fixed uninitialised members in Context object REVERT: 2b644b5 Updated travis URL REVERT: a2bff48 Merge branch 'master' of git://github.com/AIM360/Catch REVERT: cb7b4ec Updated VS2010 project REVERT: d0e7b62 Fixed typo REVERT: faafa24 Git Attributes, with control for line-endings REVERT: f4959e7 First commit of docs for contributors REVERT: bdb7184 Fixed typo REVERT: 380f98e Regenerated single include REVERT: 39ef46a Truncate excessively long messages rather than asserting REVERT: aafed30 Added an extra tag test REVERT: 34266b6 more doc formatting fixes REVERT: 0b097c2 Fix wrapping width when listing tests - addresses #201 REVERT: b9c6d30 minor doc tweaks REVERT: 716a3a0 escaped square brackets REVERT: 76ef79a Expanded test-cases-and-exceptions docs and added to reference-index REVERT: 4ab680a Expanded docs on tests cases and sections (still work-in-progress) - also touched up some outdated bits in the tutorial REVERT: a35ee20 Filter out version number from approval tests REVERT: 16c21ee No, really trim paths in approval tests down to just filenames REVERT: 1e74938 Trim paths in approval tests down to filenames REVERT: 2f7a296 Split approve file into multiple files REVERT: 345a4ea Removed outdated Xcode 3 project REVERT: b4af9b9 Merge commit '22ded1f2bb3caf96d90c2f1981ede29d3aeb1c74' REVERT: 22ded1f Merge pull request #198 from PureAbstract/vector_to_string REVERT: 41b27af Fix for comma separated tags on the command line - also added more test for tags REVERT: 649cd13 Upgraded project for latest Xcode REVERT: 358b7b2 Eliminate a warning in the latest clang with Xcode REVERT: 7974e1c updated single-include version REVERT: d6f23a9 catch_tostring : moved defintion of rangeToString REVERT: 0dbcf21 Add allocator support to StringMaker<vector> REVERT: 1e2f1d1 Fixes toString forward reference issue: - as raised in https://github.com/philsquared/Catch/pull/195 REVERT: f7378ee Fixed string indexing bug REVERT: 04a3364 Regen single header REVERT: 638cf9f Separated out catch_platform.h REVERT: 4611871 Build 8 - includes command line tweaks and fixes for durations REVERT: 1870ca8 Some Clara/ command line clean-up and tweaks REVERT: f41fad7 Don't report durations if not reporter anything else REVERT: 357d654 Added missing assert include REVERT: 3faa412 Removed basic reporter REVERT: aa7123b Build 7 - New Junit reporter - New Timer class REVERT: 11b5179 Redacted test durations from JUnit reporter output in approval test script REVERT: d68510d Removed legacy JUnit reporter REVERT: 2ddb9d3 Completed CumulativeReporterBase and reimplemented JUnitReporter in terms of it REVERT: 1f519dd Added LazyStat wrapper REVERT: 29ccaa6 Replaced currentSectionInfo and m_rootSection with m_sectionStack REVERT: 6339254 First cut of Timer class. - started integrating with reporters (now (optionally) supported in console reporter). - introduced Node<> template to help with cumulative reporting and used it instead of ThreadedSectionInfo. REVERT: d8f93f7 Update README.md REVERT: af36d93 Update README.md REVERT: cd9a593 fixed formatting of travis status icons REVERT: 7fcde92 added travis status to the readme REVERT: ba24e51 cmake: call SelfTest exe instead of approvalTests script REVERT: c486384 more approval tests script debugging REVERT: 0c8ad55 more debugging REVERT: f3119b0 more debugging REVERT: a5c4231 debugging arguments passed to the approvalTests script REVERT: 3f2e2bd printing the executable into the console window REVERT: 5553a53 tweak CMakeLists.txt REVERT: f8d24b1 Calling SelfTest exe directly REVERT: a74e68a Merge branch 'Kosta/travis_ci_integration' of https://github.com/AIM360/Catch into Kosta/travis_ci_integration REVERT: ce441a9 initial checkin of cmake and travis config files REVERT: 5cb93fd initial checkin of cmake and travis config files REVERT: 649f8c2 Removed now redundant handling for missing assertions in test cases - handled as part of sections REVERT: e8cf726 Refactored missing assertions handling REVERT: b80280f Tidied up reporting of missing assertions in test cases - also removed basic reporter from approval test REVERT: 801672b Fix MSVC warning REVERT: 8a52a39 Build 6 - fixes infinite loop bug (#185 and #166) REVERT: 28d3881 Merged TestCaseTracker and SectionTracker and introduced TestCaseTracker::Guard REVERT: ee647f5 Removed displaced RunningTest class REVERT: 9aff9aa Integrated new section tracker. - also pass extra section to reporter - one for each test case - ignore it in headers (this is so we know a test case has restarted) - significant effect on regression test due to change of ordering of sections - fixes infinite loop issue REVERT: 6a484fd Reworked SectionTracker and moved into own header REVERT: 372a6c6 Small fixes and started new section tracking code REVERT: f3d1f08 Removed all trailing whitespace - addresses #105 REVERT: 503d5d0 Converted stray tabs to spaces REVERT: dea43e0 Merge pull request #180 from benjamg/patch-1 REVERT: 54e6f9d Slightly tweaked docs on supplying your own main REVERT: ad7445d build 5 - added throw() to streambuf destructor overrides (#182) REVERT: 3907559 build 4 REVERT: 109f46a Fixed broken test REVERT: 066a638 Fix for #179 REVERT: ba9b2b5 Use MFCs windows include if present REVERT: 27a4d7a Fix external site links REVERT: 4b5e008 guard NOMINMAX definition (windows) REVERT: cd68830 Build 2 REVERT: eb81850 Merge branch 'master' of github.com:philsquared/Catch REVERT: 5d26ca1 Static assertion for && and || expressions REVERT: a9b346b Removed line numbers from approval tests of xml too REVERT: 40b8c77 Removed line numbers from approval tests REVERT: f987da4 Update whats-changed.md REVERT: 54c8817 Update whats-changed.md REVERT: 7bd033c Update whats-changed.md REVERT: c22cfc4 Addd test-fixtures docs from wiki REVERT: d60b248 Updated docs with INFO/ CAPTURE changes REVERT: b5fd5a6 INFO and CAPTURE are now scoped - SCOPED_INFO and SCOPED_CAPTURE are now just aliases REVERT: 881c61b Updated docs to reflect INFO change REVERT: 0d35730 INFOs only reset at assertion if consumed REVERT: 239fa28 Added run without -s to approvals REVERT: 47751e4 Approved [.] change REVERT: 9c39a5e Support [.] as alias for [hide] REVERT: 2352043 Big merge from Integration - now v1.0 build 1 REVERT: 53f128f Ignore DerivedData REVERT: a76d93a Removed filename from --reporter option (it's not implemented yet) REVERT: ae1c1ac Added "what's changed" REVERT: 5ddd6e3 Added #define NOMINMAX - thanks to @robson3 in #171 REVERT: 1d3dd71 Fixed returns in docs ref REVERT: a26ddc9 New docs for command line and logging REVERT: 5b15c21 Fixed iTChRunner REVERT: fd1cd78 Completed assertions docs REVERT: 46953c8 Filled out reference index and added placeholders for assertions and logging docs REVERT: d07cd33 Added new docs for supplying your own main. REVERT: 0ec7ea2 Doc updates REVERT: 7d5f271 Fixed script for new readme - updated README with new version - fixed casing error for -e opt description REVERT: f3592f2 Docs progress REVERT: 786959d build 39 REVERT: 11381c1 Tweaked indentation of errors and test lists REVERT: 27cae85 Use Text formatter to list reporters REVERT: 8055764 re-encapsulated session vars. - construct Config object lazily REVERT: 8fde143 Session vars are public REVERT: f438e04 list options return number listed REVERT: e035e28 tweaks REVERT: a7e657f Refactored new Session class to make it more friendly for custom client code REVERT: c1196b6 Moved all Catch::Main()s into new Session class - renamed them run() - moved cleanUp call into destructor REVERT: c57ebc8 Approved latest changes REVERT: cb60d13 Runner -> RunContext, Runner2 -> Runner and fixed issue with processName REVERT: 1b47e11 Added processConfig() method REVERT: 2ed56c4 Removed legacy cli parser REVERT: aee9b75 Now fully switched over to Clara-based command line with modified args REVERT: 130ec98 Start of new docs REVERT: 4e88ccd Start of new docs REVERT: 0514fe4 Got parseCommandLine ready to use new Clara (but not doing so yet) REVERT: f330fe7 Made generated function name more obvious (for quickly finding in debugger's stack viewer) REVERT: c9f0f55 Last changes to ConfigData names (for now) REVERT: 40e5297 Removed stream name from config REVERT: 3f184e2 ConfigData now looks virtually identical to the Clara test Config REVERT: 20ddb00 ConfigData just keeps strings for test names/ specs/ tags (processed in Config actor) REVERT: c2ca80d Config refactoring: split List enum into three bools REVERT: 3c3beb5 More config refactoring REVERT: be8fd82 Started nudging ConfigData towards new layout REVERT: f6892bf Listing is now in terms of interface (and calls to bool functions) REVERT: 6b8837b Final refactoring to remove direct access to encapsulated ConfigData once in Config REVERT: 43fe6c6 Main() functions deal with raw ConfigData REVERT: ca9b92f Most of system now uses Ptr<IConfig const> REVERT: e145995 Refactoring towards interface based config REVERT: 10fa059 Moved Clara into its (her?) own file REVERT: 1e547af Tweaked some option names and added verbosity REVERT: ab6dd55 Clara: formatting and code tweaks REVERT: b763265 Clara: Usage strings for args REVERT: ed79d72 Clara: support for positional arguments REVERT: 30cb460 Clara: added test for positional arg REVERT: 3dde25b Clara: support for binary functions REVERT: d44f2cf Added binding to free functions (and renamed hierarchy) REVERT: d430537 Fixed inconsistency in reporting of _FALSE (negated) expressions REVERT: 374335f Approved current output REVERT: 6574f63 Refactored CLI tests and converted main one into a scenario REVERT: 8d1100d Clara: added -r option REVERT: 8333e64 Clara: some refactoring - moved all internal stuff into Detail - moved Parser out of CommandLine, encapsulates tokens. - allow unused tokens to be feed into different CommandLine processors REVERT: 58846c3 Clara: Added support for compact short opts (e.g. -peb) REVERT: 372a8b0 New CLI parser impl REVERT: 597ed1f handle TEST_CASE_METHOD macro consistently - internally define INTERNAL_CATCH_TEST_CASE_METHOD REVERT: 31cd3a8 Updated readme to remove reference to the downloads section REVERT: 0c56269 test case for infinite loop REVERT: 11e5516 Some refactoring of Clara impl and experimental string based interface REVERT: e2f93b6 Clara: Allow space separator, as well as : and = REVERT: a13ab71 Clara: Some renames and changed the addOption interface REVERT: ed45ceb Added support for binding to methods and generating usage strings. Also renamed namespace to Clara REVERT: 46846a4 More CmdLine work - Support for non string values - Support for chaining parsers REVERT: 26ae117 First draft of future opt parser lib REVERT: 7293c97 header builder script writes to file rather than stdout REVERT: 8defc71 Build 38 REVERT: 2278451 Refactored scripts to start using a common file REVERT: 1309da2 approved changes relating to no-return functions REVERT: bf37e68 Removed use of compiler specific techniques for denoting non-returning functions - use if( Catch::isTrue( true) ) to guard throws instead REVERT: 2a9d8d9 Changed "const X ref"s to "X const ref"s - Brought older code up to current convention (with the help of a Python script) REVERT: d0d4d93 Build 37 - string matchers work with NULLs - removed stray CATCH_CONFIG_SFINAE for GCC 3 REVERT: 06548a5 Fix for #144 - string matchers now work with NULLs REVERT: c887d1a Removed rogue CATCH_CONFIG_SFINAE for GCC 3.x REVERT: 471eba2 Build 36 - incorporation of pull request #154 to allow comparison with nullptr_t - some compiler capability tweaks REVERT: 4dd3f68 Compiler capabilities clean-up - renamed CATCH_SFINAE -> CATCH_CONFIG_SFINAE - moved variadic macros detection into catch_compiler_capabilities.h REVERT: dd52044 Build 35 - non-SFINAE IsStreamInsertable REVERT: 9fff9e4 Complete disable CATCH_SFINAE for now REVERT: 003960d Returned to older version of IsStreamable - this time based on code from Martin Moene https://gist.github.com/martinmoene/5418947#file-insertionopdetector-cpp REVERT: 1927925 Build 34 includes: - SFINAE version of IsStreamable (where available) - new Text class that replaces LineWrapper (internal) - fix for spurious double exception reporting (#164) REVERT: 2666c96 Fixes issue #164 - Removed spurious (re-)throw when catching unexpected exception REVERT: b3acf45 Fully committed to new Text class. - moved impl into .hpp - replaced last few uses of LineWrapper with Text - removed LineWrapper REVERT: 97d9985 Refactored line wrapping in Text constructor a bit REVERT: d37a8e8 Revert "Refactored line wrapping in Text constructor a bit" REVERT: e43d4a2 Refactored line wrapping in Text constructor a bit REVERT: 54ca219 Text class is now full replacement for LineWrap REVERT: 7059c6e Text class mostly working - tabs not yet working REVERT: 052dc18 Remove SFINAE support for all unknown compilers REVERT: bd5910e Moved line info in header again REVERT: 5062d3e Added (conditional) SFINAE support. Better streamable detection for toString using SFINAE (falls back to non-SFINAE version without) REVERT: 243f2d2 build 33 REVERT: cd9c72c Fixed BrightGreen in ANSI/ Posix case - was yellow :-s REVERT: 1c03b4a Exclude VS2005 from using variadic macros - due to issues raised in https://groups.google.com/forum/?fromgroups=#!topic/catch-forum/VGfNtNXjHXQ REVERT: 1ece38e Moved legacy_reporter_adapter files back into internal REVERT: 3bd4241 Fixed Junit issue with REQUIRE_THROWS - As mentioned by @SebDyn in GitHub issue #5 REVERT: 8764177 build 32 REVERT: 7af7451 LegacyReporterAdapter unbundles INFO messages from assertion to mimic legacy behaviour - Moved LegacyReporterAdapter out into its own file(s) REVERT: 12c16ff Build 31 - new Colour class - Headers are wrapped, with special indentation for given/ when/ then REVERT: 4746caa LineWrapper can indent first line differently to subsequent lines - use this to wrap Given/ When/ Then with indent after the : REVERT: f186a91 Switched TextColour out for Colour - Removed TextColour REVERT: a3703fa First cut of new Colour class (to replace TextColour) REVERT: 5c7d3d7 build 30 REVERT: 2c90533 More formatting/ colour tweaks REVERT: 67e9f01 Added some more wrap chars REVERT: 2a17ef9 Use SecondaryText code in lists REVERT: c7e602f Added SecondaryText colour enum - slightly refactored ConsoleColour as well REVERT: 9d15d36 Changed Xcode search paths for easier sharing of projects with Windows REVERT: 38f7eef build 29 REVERT: e324d28 Added -l tags - which lists available tags. - also improved formatting of -l for tests REVERT: d0df295 Added vector resizing example to BDD tests REVERT: 15fd032 Use new line wrapper to show test case list, with tags, in columns REVERT: 9e8abc3 Simplified StringWrapper - by changing intoStream to << overload - and removing redundant ctor REVERT: b052bd7 Refactored string wrapper - to be much more flexible (writes to vector) - fixed a couple of bugs REVERT: dd26e88 Build 28 REVERT: 016b063 Line numbers changed and test added REVERT: c563f6b Wrap expr results if they contain newlines REVERT: 2927c24 Fixed line wrap bug Added line wrap tests and modified wrap algo to wrap within words using a - REVERT: 29426b6 Added vector resize test REVERT: 2e3c5fa Addressed some warnings (mostly MSVC) REVERT: 6ba2057 refactored toLower REVERT: f4254b8 Moved scripts into their own folder REVERT: f155366 Updated release script for README changes REVERT: f0a2a21 Moved title back below logo REVERT: bd10282 More markdown formatting REVERT: 336de86 Reformatted README for markdown REVERT: 3757e15 Added .md extension REVERT: f433940 Try with title REVERT: 5a26941 Try lowercase chars REVERT: 22b7921 Try as not first line REVERT: f82e436 Try raw domain REVERT: b1948ec Try full path to logo REVERT: 7ce438c Fixed logo path REVERT: 3f79766 Added logo to readme REVERT: bd7f797 build 27 REVERT: 3453639 tags can be specified using -t (or as default command) Previously -g had to be used REVERT: 49d7ce4 Minor tidy up REVERT: 444f4dd Variadics support for BDD macros (scenarios) REVERT: 9390675 Build 26 REVERT: a46ee02 Print ~~~ at start of console output. Some cleanup in the reporter code REVERT: c0b6980 Initial support for variadic macros REVERT: 9c5bbab build 25 REVERT: 37186a1 Added BDD macros (Also includes regenerated files from previous commits) REVERT: 0db35c0 Cleaned up -Wpadded warning handling a bit more REVERT: dc2735c Removed some cruft and warnings REVERT: 7542685 Moved "no test cases matched" message to reporter REVERT: 6d56d71 build 24 REVERT: 32e70b2 Fixes nil NSString issue reported in #159 REVERT: 17479c6 Tag and test case name querying are now case insensitive REVERT: d78cfe1 Tweaked colours again REVERT: 3df6c0d Refactored ConsoleColour impl. Tweaked the (Windows) colours a bit. Also fixed issue that would cause warnings on some compilers when doing REQUIRE( p ); where p is a pointer. Moved to build 23 REVERT: a04981b Build 22 REVERT: e57a56b Converted tabs to spaces in some files where they have crept back in REVERT: 85dff2b Added duplicate method warnings REVERT: 5de07c3 Removed unnecessary test REVERT: b7ff995 Tidied up some loose ends with reporting test cases and sections (now handles them as a single block). This should fixes an issue where sections not being printed when they should be (and reverses a workaround where they were being printed too much) REVERT: 90b2bfe Patched issue where an assert before the first section can cause a set-fault (needs a better fix, though) REVERT: 767f158 Added StringMaker (for partially specialising string conversions), extended BDD macros and moved file/line info to top of message. Re-enable ANSI colour by default - hopefully properly excluding Windows this time REVERT: ead139e Reverted ANSI colour change (it was failing for Windows) Produced build 20 REVERT: 5bdae84 build 19 REVERT: 10ed1e0 Handle section ends in the event of unexpected exceptions REVERT: 3f50385 Updated approval file REVERT: 35cb97f Cleaned up some stray tests REVERT: ca79d19 Suppress "no test cases matched" message if there was no test spec string REVERT: a8c6543 Merged Matcher changes to Objective-C bindings REVERT: 429699e Added className to TestCase in Obj-C REVERT: 7455c44 Added class name to Obj-C test case REVERT: f45e09a Default to using colour in unix based terminals REVERT: dbcd833 Don't use ANSI colour codes when debugging REVERT: 707c97e Ignore OCTest DerivedData REVERT: d768b1b Fixed sticky INFO (which persisted across TEST_CASEs) from #152 and generated build 18 REVERT: fb944f2 Updated message tests to reflect slightly changed semantics REVERT: a277381 Build 17 - includes reworking of message/ info handling REVERT: ad65486 Removed deprecated message code REVERT: 207b27b Changed the way info messages are handled. This fixes issue with SCOPED_INFO and makes output more readable. Needs some refactoring. REVERT: d658dea Added google group to README REVERT: e475645 Build 16 REVERT: 603002c Removed circular dependency between SectionInfo and its parent REVERT: 67ccd8d Allows console line width to be configured (and defaults to 80). Line wrap is at console width-1 REVERT: 3682433 console_reporter refactoring REVERT: 3ce320d More console reporter tweaks REVERT: b588755 Tweaked console reporter some more REVERT: 10e8917 Dropped "Test case" and "Section" prefixes in test report headers REVERT: 2e7d966 Generated build 13 REVERT: 0a87795 Some test case header refactoring REVERT: 5a60ce2 console reporter: got rid of spurious blank lines REVERT: f8ba227 console reporter: Always print test case + sections in header for every new section. Group sections into single block Tweaked BDD mappings to print out nicely with above REVERT: 097282e Merged test case/ sections headers REVERT: 9beb6f2 More console reporter refactoring REVERT: 3134810 Refactored printResultType and printMessage to work off a single switch REVERT: 3b970e2 Refactored printResultType into switch REVERT: 60ed3c1 Some tidy up REVERT: 21c479f More console reporter tweaks and approved new output REVERT: bb76e47 More console reporter tweaks - mostly newlines REVERT: 42aef1d Fairly major reworking of console reporter (still in progress). Changed reporter interface a bit. REVERT: e9305ec Fixed bug in generators REVERT: 619d534 Added "basic" reports to the Approval results (in addition to the console reports) REVERT: bcf722e Reporter interface uses value types instead of shared ptrs again REVERT: 7409075 Approval filter condenses hop filenames as well as cpp REVERT: 0d4609f Clear state in AccumulatingReporter REVERT: 8b71158 Fixed reference to basic reporter (to console reporter) REVERT: 51c69db Update README with info about downloads REVERT: cf5ced5 Build 12 REVERT: 86ad634 Split original/ expanded expressions over multiple lines REVERT: eac51f3 Fix for long headers REVERT: a7079a2 Changed header and summary logs to multiline forms REVERT: f117812 build 11: Console reporter changes REVERT: 6488fc1 Console reporter: Don't print full path for every line REVERT: 6fb8260 Tweaks to summary counts in console reporter REVERT: bcad093 Console reporter is now the default REVERT: f4c0a18 console reporter is now a full replacement for the basic reporter, using the new streaming interface directly REVERT: 51f0572 Added approval test for aborted test results (-a) REVERT: 8a2bfc3 Updated .gitignore REVERT: e6d1c98 Fleshed out console reporter REVERT: daedf8f Minimal changes to get iTchRunner to work again REVERT: ff03cdf Work in progress on Console reporter. Includes regenerated single include for Obj-C fixes REVERT: 4424634 Updated obj-c bindings for new Matchers and TestCaseInfo changes REVERT: fe98123 Started new reporter, "console", which will replace "basic" when done. Introduced Option template as part of this. REVERT: f276a05 Added missing #include for assert to fix build failure REVERT: a1fbfea Generated build 7 REVERT: e3e9e07 Capture RunInfo REVERT: 2632dca Completed IStreamingInterface abstraction with TestRunInfo and GroupInfo REVERT: b56aaf4 Version uses constructor instead of initialiser to avoid warnings REVERT: 602880f Approval filenames are now approvedResults.txt and unapprovedResults.txt (only the former is checked in) REVERT: 209e89b Removed some more test cruft REVERT: 37ce023 Removed mocked output logging tests in favour of approval tests REVERT: 8255acf IStreamingReporter is now the default. Use REGISTER_LEGACY_REPORTER to register… you guessed it: legacy reporters The built-in reporters are still legacy at the moment. REVERT: 4e12e12 Streaming reporter interface is now used natively. Legacy reporters are adapted by their factories. REVERT: 7f04b56 Reporter "stats" objects passed in by Ptr REVERT: f4774d9 Reference to legacy reporter adapter localised to one place REVERT: ad6701d SectionInfo now goes via new streaming reporter interface REVERT: 95df676 Renamed SectionInfo -> RunningSection. Added SectionInfo (that now corresponds to TestCaseInfo) and SectionStats Switched some const T&'s to T const&'s REVERT: 3d6be03 Small logic tweaks REVERT: 6f2343b Sections use vector instead of a map Uses brute-force search, but only ever for small vectors REVERT: c4ba675 Added ReporterPreferences and started some SectionInfo refactoring REVERT: 994e64c Added xml and junit output - also fixed a typo in a test name REVERT: 2269433 Scripts for running approval tests using diff. Runs CATCH, filters results (truncates paths, removes hex digits which are probably pointers) then diffs the results) REVERT: 4b36001 Tightened up ReporterConfig and added it to LegacyReporterAdapter REVERT: f9d9263 First cut of using new streaming reporter interface - using an adapter to map back to the legacy interface Doesn't do sections or the query functions (e.g. shouldRedirectStdOut) REVERT: 8baa06c Split TestCaseInfo into a data only component and the test case function and behaviour. Reporters only get to see the former REVERT: 06a671a Renamed TestCaseInfo -> TestCase REVERT: 37f3820 Don't indent stdout/ stderr in JUnit reporter REVERT: 2846367 build 6 REVERT: fe6d1a5 Write stdOut/stdErr for each test car in JUnit reporter (for GitHub #5) REVERT: deb3e9d Fixed SUCCEED so it logs message in basic reporter Reverted previous change so that tests with no assertions but INFO macros now warn again (but an explicit SUCCEED does not) REVERT: 5d248c9 Moved code that detects absence of assertions closer to where end of test case is reported (ready for merging). Also now considers info macros when warning (i.e. an empty test case with an INFO() will not warn). REVERT: db48a6d Updated baselines to include NoAssertions warning REVERT: 5497cd8 Expanded baseline to include all tests REVERT: a90a88a Junit reporter uses filename for suite name if no explicit groups REVERT: d0cc33f Unchecked exceptions don't report previous assertions message (only its line number) REVERT: 3e2e318 Build 4 REVERT: 75b89a9 New baselines As well as some new tests these baselines were generated using > instead of -o, so includes messages sent to stdout and not visible in the directed output REVERT: f825d67 Tweaked bitfield tests to avoid warnings REVERT: 08142bf Fixes const int error seen on some compilers (see #136) Added a new test to try to highlight issue. REVERT: 0c90ab3 Added version number to README (and update it from script) REVERT: 88a3f23 Merge pull request #136 from wichert/expression-compile-error REVERT: fec1053 Fix expression compile errors. REVERT: ef60d54 Fix (hopefully) for #5 (reopened) Adds name to JUnit reporter's testsuite element, even when running all tests. Also removes redundant comment from the output. REVERT: be1cddb Removed commented out cruft from script REVERT: 7673a30 Added versioning REVERT: 90a3594 Regenerated single include following merge REVERT: ceeebfd Fixed merge hiccup REVERT: 42d1b45 Squashed commit of the following: REVERT: 70c5ef9 Regen single include REVERT: 4ea535e Tidied up result enums REVERT: 7717c29 Implemented CHECK_NOFAIL REVERT: d539da9 Implemented CHECK_NO_FAIL REVERT: af1a321 Regen single include REVERT: f54ac56 New (combined) baselines REVERT: defca58 negate() -> endExpression(), takes ResultDisposition REVERT: b2ef998 Changed shouldNegate boolean to use part of ResultDisposition enum REVERT: 1af13db Changed StopOnFailure boolean to an enum REVERT: a1dc7e3 Regen single include REVERT: 20e59ce Added…
b4c9bf5 Removed version # from readme - and script that updates it (as it’s now automatically in a badge) e952fa8 Added release badge 84a178f Add AppVeyor status f9db24a Refactored console reporter include logic to match Xml Reporter’s 9bee606 Tweaked Xml Reporter to follow same success/ info behaviour as Console reporter be4f6ab Change reporting of CAPTURE'd variables fd6c7ae Fixed compile benchmark script cd6de9c Don't reconstruct expression on encountering fatal error 40f6a5b Added duration reporting to compact reporter 95b0eb2 TAP reporter now behaves as if -s was always set 0b28d3d Merge branch 'tap-count-success' of https://github.com/gahr/Catch 8435dcb Resized main logo again 99347df Updated artwork 658b5f6 Updated release notes c6535a0 v1.8.1 release 673ec55 Moved definition of _BSD_SOURCE earlier ff78e7c Fixed typo in test name da023b2 TAP Reporter: count success tests even if not printed 470561c Update release-notes.md 417202b Update release-notes.md 0952b76 v1.8.0 release bbeb192 Updated baselines e4f4335 Improved Approx documentation 8c07899 Added tests for using margin with Approx. d5c623b Merge branch 'develop' of https://github.com/CNugteren/Catch 061a183 Console reporter now uses fixed decimal formatting 70ac6db Minor output improvements in approvalTests.py 593161d Documented the new vector matchers 71e500f Updated reporter documentation ad94288 Removed unused exception object from release notes script e058a37 Removed stray code 72b72ca Fix C++11 dependency in TAP reporter a8a6b31 Disabled C4312 in the evaluate layer 9e2616a Add missing assert.h include to reporter bases. c5ffd2e Fixed up Automake reporter 0f24a8c Added Automake and TAP reporters to SelfTest's main b0260c6 Fixed-up TAP reporter a bit. a63ce95 Add TAP reporter b753f05 Add reporter for Automake (#826) 9bab7c8 Changed console reporter test duration reporting format d8c4512 Removed tabs 2e08bfe Single include generator now handles spaces between # and include d2a59ad Fixed test spec parser issue - multiple specs in a single string, with escapes in each were erroring out 10dfca3 Added first vector matchers (Contains and Equals) 45d4096 Generalised Matchers so objects and comparators can be different types 4e6938d Moved matchers tests into their own file 1ca8cef Added #define needed for gettimeofday() to be declared on some versions of Cygwin ca66dd2 Added a couple more unimplemented assignment operators to silence VS2013 warnings 44632c3 Merge branch 'warning-c4512' of https://github.com/gchudnov/Catch into gchudnov-warning-c4512 aa28196 Ignore .vs folder 5d80553 Updated docs to reflect the change to leak checking b1835e1 Moved WIndows leak detector code out of main() 8cd4135 Merge branch 'dev-windows-leakdetection' 30e4dbe Report leaks to debugger in addition to stderr 90b3946 Add file/line to TestCase, Section and Failure elements in Xml Reporter 9202a77 Documentation improvement d8230a8 Add opt-in leak detection under MSVC + Windows. c617860 Cygwin compatibility fixes 2e0ae01 Improve -Wparentheses supression for gcc 1f71d1f Some minor clean-up to Python script fe690a6 push/pop warnings when disabling parentheses warnings within assertion (gcc/ clang) c9a37c5 Added `CATCH_CONFIG_FAST_COMPILE` to documentation. 3cfef73 Merge branch 'dev-performance-round3' 5cb9e47 Added SOCI to open-source users 044b616 Added link to matchers docs from readme f880491 Fix wrong short option for section 7b13a8f Move debug break out of tests, speeds up compilation time 6da5e08 Benchmark script: allow passing flags to compiler 2049113 Benchmark script: use median AND mean of compile time d4ae1b1 Matcher documentation 2081caa Import MatcherBase to Catch namespace a5a0138 Renamed toStringUncached -> describe 1400127 Extracted string matchers impl into cpp that is only compiled into main TU 7fed25a New Matchers implementation - simpler - less templates and machinery - no cloning, copying or unnecessary heap allocations - better factored 5530303 Removed test for invoking String Matcher with NULL (this will no longer be supported) 29fa1ed Added appveyor.yml for CI with VS {2013, 2015} for {Win32, x64} 1cb8baf Added missing #include in test file d08cee2 v1.7.2 build 873ef27 XML Reporter closes tag and flushes stream at end of TestCase and Section tags. This fixes an issue where XML reports on stdout are broken by printf statements bc68b9f More include simplifications 67d513a Removed single char contains() - had incorrect prototype anyway 9a3486a Replaced use of dynamic_cast with static_cast. It wasn't necessary anyway. This addresses #821 d890791 Fixed editing mishap in documentation. 26f6012 Expanded the practical example in slow-compiles documentation 50dee9a Fixed typo in CLI error reporting b2a6fe9 Couple more includes cleaned out 0837132 Make the benchmarking script Python 2 compatible 9012f95 Moved some std includes out from catch_common.h 324260f Removed reference to DEBUG in command line docs d0620c3 Added std:: qualification to some functions from C stdlib fd7dde1 Added example of how to separately compile Catch's main 9a3788d Added links to open source users page from general pages 005787f Marked IConfig implementations in Config CATCH_OVERRIDE (silences warnings) d2e814f Tagged a C++11 specific test with [c++11] to exclude from approval tests (for now) f75a511 Fix MSVC /analyze warning about inconsistent annotations ab44fb6 The file/ line in sections is now of the section. not the test case d6b8ac5 Added compilation tests to approvals c72ba93 Added file for listing commercial users 73159ac REQUIRE_THROWS_AS now catches exception by const& 9952dda REQUIRE_THROWS_AS is now reported with expected type as well e543cc0 Removed an obsolete file that somehow got into the previous master. c1a5391 Added some more open source projects a38ccec Added 3rd party bug to documentation 1ff5630 Corrected formatting aee3675 Added ChakraCore, Couchbase-lite and MAME rot OS projects 0579f07 Added RxCpp to OS page e9ad954 Seeded new doc page for tracking open source projects that use Catch 1e87cae Documented the _THROWS_WITH macros, as well as slightly expanding the matchers docs. 26df078 Added a script for running synthetic compile time benchmark 4d0cd60 Rebased approvals with tags and description attributes in XML report ab199d9 XmlReporter: Trim test case name; added description and tags attributes to the test case element in the xml report. 97d8003 XmlWriter can specify a stylesheet Provide an extension point on XmlReporter to be able to supply a stylesheet url in a derived implementation 1f271c9 XmlWriter reverts to XML 1.0. Character encodings that are not valid in XML 1.0 are instead written using C-style escapes 7db4d8d Added tests (single char pretty printing + op overload) a5ce57b Improved .travis.yml 7b8a27e v1.7.1 build 2b74613 Revert "First cut of Evaluate refactoring to remove int specialisations, among other things" 2360060 Deregister SEH handler before reporting SE. 4feb2db Removed const qualification to disambiguate between operator overloads 84af6bc XmllWriter flushes the stream after every endElement now 197bf07 Rebased again - against the right executable this time :-s 1f5ec98 Rebased approvals following previous reversal (d’oh!) 88b7602 Revert "XmlWriter reverts to XML 1.0." 23eb4cc Added stdout and stderr to XML Reporter a189387 XmlWriter reverts to XML 1.0. Character encodings that are not valid in XML 1.0 are instead written using C-style escapes f657768 Merge branch 'master' of https://github.com/philsquared/Catch 3975355 First cut of Evaluate refactoring to remove int specialisations, among other things f126d79 Add explanation of THROW assertion limits + using lambda cd489d9 More documentation of known issues. e991c00 Fixes for MinGW compatibility 7e7c813 New documentation section: "known limitations" 712323a Include windows.h proxy header, instead of windows.h itself ce37f48 v1.7.0 build 090fc74 Scripts intended to be run should now have x bit set. f58ff0c Remove \l, add \f in character pretty printing a600bfe Fix travis build + build warnings 8cad76a typo 1a3f6d8 Updated command line docs with info on -c for running sections, as well as -# for filenames as tags b524fa7 Fixed bugs in escape char handling in test names 1. If escape char is first char, sets start of range 2. Multiple escape chars are handled (offsets chars to remove) 5121b5b Put quote marks around printed characters; also nicely print some escapes 1e5176b Cap main exit code to 255 (#797) 7dd4f29 Added INSTALL commands (#788) 50c95a0 Bumped min cmake version to 3.0 0dabd95 expr is now cast to void in THROWS family of assertions. 7ae96c7 Returned basic warnings to CMake generated builds 70d3c93 Enable breaking into debugger on Mac 38af8d7 Fixed SEH deregistration on Windows c97ada1 Improved assertion documentation 615aa07 Merge branch 'dev-performance-round2' af0b03a Merge branch 'templates' 15816c5 Revert "use sizeof(expr) for unevaluated syntax check" f11a45a Added benchmark for the char literals change bcaa2f9 Use char literal instead of string literal with 1 char efab3ca Added benchmark result for the SourceLineInfo change 60f8ebe Use const char* for filename in SourceLineInfo e1dbb7c First draft of issue and PR templates. 02a69b4 Compilation warnings fix (#791) c390c4c Fixed inconsistent and trailing whitespace 60a9ac7 Enabled previous commit under MSVC, introduced new feature toggle c06afe4 Add support for comparison of Approx with strong typedefs 7387220 Direct download link now links to latest release version 51860f1 Change include -> single_include in CMake example dab1d9d Added CheckFileList in CMake over the benchmark sources 4ce11d6 Merge branch 'dev-performance' 99c2ea5 Renamed measurement script for benchmarking 51107d7 Added copyright headers to benchmark files. 83f4b39 Added benchmark for previous commit, added iterations to failure bench. b1171bd Merge branch 'dev-signals' 6c23a65 Mark CHECKed-throw test as [failing] 7bcb424 Changed exception tests to allow for now throw-from-CHECK behaviour 1848653 CHECK no longer stops running SECTION on exception. 225e90d Don’t include tests that rely on varying two-phase-lookup behaviour in approval tests 31c23b9 Added [!nonportable] tag f347611 Restated text format loop to avoid out-of-bounds condition 1efd8d3 Added missing <iterator> #include 876af87 Added surrogate cpp for catch_test_case_tracker e7bcbb3 First cut of -c/—section option for running specific sections 4a04682 Text formatting rework Rewrote main wrapping loop. Now uses iterators instead of indices and intermediate strings. Differentiates between chars to wrap before, after or instead of. Doesn’t preserve trailing newlines. Wraps or more characters. Dropped support for using tab character as an indent setting control char. Hopefully avoids all the undefined behaviour and other bugs of the previous implementation. 9a56609 v1.6.1 build 8115983 Python scripts can now be run directly from bash 78a2866 Approval tests are now mostly Windows compatible 9acc6b9 Approval tests now use Python std lib instead of call to diff c4b5057 Approval tests now uses path relative to cwd, not the catch folder. d38b926 simplify output filtering in approvalTests.py 227598a use sizeof(expr) for unevaluated syntax check cfaf906 Changed documentation to use standard main function signature ee0ca51 Force short-circuited evaluation for types that have overloaded &&. b71a06c JUnit reporter outputs timestamps now 531d267 Added the new proxy header to CMakeLists.txt 2e87f8e Merge branch 'windows-header-defines' of https://github.com/horenmar/Catch afe46ff Extracted NOMINMAX and WIN32_LEAN_AND_MEAN guards into a proxy header c65aeaf Clean up generator state 750b52b suppress use of __COUNTER__ when being parsed by CLion (or AppCode). e12fc4a Fix missing CATCH_ for CHECK_THAT in prefixed macro version 99cdc62 Enabled CMake dev warnings in travis. e6ef60a CMake will now warn if a file is in folder, but not in variable e1c4a4b Use inline assembly with gcc under Linux for CATCH_TRAP 25d0177 Refactor CATCH_BREAK_INTO_DEBUGGER() to avoid repetition b634e59 Add support for breaking into debugger for Linux 3b98a01 Various small string usage performance improvements. 877fd52 Added benchmark with Mickey Rose's improvements. a1e9b84 lazily stringify expressions 3b7511e First commit of benchmarks for Catch runtime perf. ffc4a9d If we receive a signal, we re-register ALL previous signal handlers. 7c8b93e Removed superfluous comments (bad merge after cherry pick). e3659cd Added single char version of logo 40dbdf6 Reset signals immediately after use and re-raise orginal signal instead of just exiting 70f43d7 Added signal handling under Windows. a281173 Fix for sigsegv stack overflow behavior b3907a7 Added NOMINMAX and WIN32_LEAN_AND_MEAN defines before including windows.h d5360e8 Sorted file lists in CMakeLists.txt for easier maintainence 9062ebe Removed make file (now generated from CMake) e6aa1f4 Added note on escaping names on command line to docs 1ff0acf Tweaked release notes page with better formatting 713ec40 Fixed type in “Release Notes” link 3b2f206 v1.6.0 build - including release notes 4e4d733 Added \ as escape character in test names on the command line - so you can run tests by name when they contain , or [ b68e8f9 Added missing #include so CATCH_CONFIG_COUNTER properly takes into account the current compiler. May address #677 and #435 and others. a7cda91 Merge pull request #775 from philsquared/standardizing-feature-toggles a1bed57 Standardize C++11 feature toggles to follow documentation 737f4ea Added missing C++11 feature toggle to docs b0de6c9 Updated docs for contributing 6991549 Fixed compile error under VS2015 /c++:latest, caused by using random_shuffle b50572b Renamed missing project explainer filename 5b00fd4 Merge pull request #767 from hmich/xml-encoder-extended-ascii 7bb3e85 Removed all manually maintained project files in favour of instructions on how to use CMake to generate them 0bcae64 Set project name in CMakeLists.txt to CatchSelfTest 8abe17a CMake project groups test files separately from surrogate impl files for nicer rendering as XCode/ VS projects 10c4484 Make backticks symmetric in markdown 0cde0e9 Added approvals for “Greater-than inequalities with different epsilons” test 0f0dcd3 Excluded two more C++11 tests from Approval tests 62cbde3 Exclude test name from approval tests 1ae8489 Marked tests that use C++11 features with [c++11] tag and exclude them from approval tests 976a655 Approval tests can use Catch path fixed in env. var, and convert nullptr and __null to 0 for comparison 37e1e24 add support for inequalities 5a4dde4 Changed build status to be always taken from master 8d32642 Minor typo fix ccc34b6 URL fixed 7255be2 remove concatenation of m_exprComponents.op in if-branch where op has tested empty in previous line 7d2668f add missing argument to CATCH_CHECK_THROWS (closes #602) 2a4dba1 Merge branch 'philipp-classen-master' 8d1e240 Fixed shell color code of "Blue" e273a3d Fix grammar error in tutorial.md 7bff9cb own-main.md: fix typo fd1da4a Fixing a couple of typos e1fbbe1 Added headers to CMake project (for CLion) c8fefc4 Fixed Travis and CMake after moving CMakeLists.txt 6419307 Moved CMake into root folder (where it’s much happier - especially for CLion) 8d16d95 Do not encode extended ASCII characters in XML reporter 2be3727 Build 1.5.9 0c093be Removed now redundant xml stream initialisation dedc7c5 Merge branch 'horenmar-xml-reporter-fix' a9561ec Merge branch 'xml-reporter-fix' of https://github.com/horenmar/Catch into horenmar-xml-reporter-fix e4df006 Merge branch 'horenmar-missing-include-fix' fb99cc5 Merge branch 'missing-include-fix' of https://github.com/horenmar/Catch into horenmar-missing-include-fix 862d131 Explicitly convert int to char during transform on string (equivalent of PR #756) 79acc05 Sort test ordering during Approval testing f9afa2a Ignore CMake and CLion generated files 0c8c6b3 Fixes build error caused by missing include. 40b6ad7 Fix XmlReporter always writing first line to stdout 30cebd6 Added some missing source files (including all SurrogateCpps) to CMake project. Fixed up relative include paths to make this work. e27c4ee Build 1.5.8 0721142 Merge branch 'BillyONeal-master' f90ee9f Merge branch 'master' of https://github.com/BillyONeal/Catch into BillyONeal-master c17ba08 Fix transform without a lambda 79f0110 Fix transform narrowing warnings ccf7f28 Fix random_shuffle narrowing warnings e0302db Rename element for Fatal Error Condition so it doesn't have spaces Fixes: #685 88732e8 Merge pull request #716 from jbcoe/master 1c9a6ca Removed XCode6 builds (which were erroring anyway) and added XCode8 builds 40f6068 Build 1.5.7 21cbfc1 --list-test-names quotes test names that start with # - completes #717 31861bb rebased following recent changes b1eeec7 -f supports quoted test names (test name surrounded with " characters). This is the first part to resolving #717 c23b374 Added braces to emphasise the return logic 916317b Merge pull request #680 from nabijaczleweli/master 8c459dd Fix misindent fd7d354 quick fix for failing travis builds on os x c47c179 Merge pull request #701 from razeh/master f5d2b2d Merge pull request #705 from hmich/xml-reporter-trim 02c7e41 Do not trim test case names in the XML reporter. 5095619 Fixes for XML encoding. 35f5105 v1.5.6 742457c Use Clara v0.0.2.4 (updated) - fix for string lengths 1aa6c91 Fixed RNG issue with pre C++14 compilers ac22028 v1.5.5: Deal with auto_ptr and random_shuffle hard deprecations in C++14 be3570e Use std::shuffle instead of (deprecated) std::random_shuffle if C++14 detected a74d760 Switched remaining std::auto_ptrs to use CATCH_AUTO_PTR f666f5f v1.5.4 7940d58 "test" expression using !! instead of static_cast to bool. This addresses #657 while (hopefully) maintaining fix for #574 ebf9f3b v1.5.3 1ebebd4 Merge branch 'rcdailey-throw-on-duplicate-tests' b57e734 Merge branch 'throw-on-duplicate-tests' of git://github.com/rcdailey/Catch into rcdailey-throw-on-duplicate-tests 5aa2b82 Merge pull request #656 from daniel-j-h/better_travis 5c198d8 v1.5.2 5a6b291 Using Clara 0.0.2.4 - fixes issue with spaces in quoted arguments 1706dd4 Pins LLVM 3.8 (stable) instead of tracking the nightly repository 92b141e v1.5.1 4f1263d Removed use of dynamic_cast from test_case_tracker. (Thanks to #631 and #648) 3b19458 Removed use of dynamic_cast for MultipleReporters (Thanks to #630, #636 and #648) e553784 Regenerated single include (forgot for previously tagged release) 0fe303b v1.5.0 (due to new embedded Clara) 1c47fe0 Updated embedded Clara to 0.0.2.3 - has all new, more robust, token parsing. - eliminates issue with unreachable code - allows use of forward slashes to introduce short args on Windows 6f3bc62 Merge branch 'AzCopey-hotfix/override-warning' 6de7142 Merge pull request #634 from rafaeleyng/patch-1 7544644 Update tutorial.md 86c0ea2 [#608] Don't use exit() on duplicate test descriptions 7075b7d Added missing CATCH_OVERRIDE to CumulativeReporterBase::assertionEnded(). This fixes a warning when building in Xcode 7.2+ with default warning settings. c984fc3 v1.4.0 - use __COUNTER__ for unique IDS instead of __LINE__ (where possible) + bug fixes 447f53e Fixed !shouldfail 13a887a Use __COUNTER__ when generating unique names instead of __LINE__, if available. Based on PR #351 02af70e build v1.3.6 (include's David Grayson's fix for the gcc pragma) c362894 Merge branch 'DavidEGrayson-pr_gcc_pragma_typo' 97e3354 Fix CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS: GCC needs to be capitalized. ae5ee2c v1.3.5 f895e0d Rebased approvals following colour changes 458f37e Merge branch 'explicit-bool-conversion' of git://github.com/seanmiddleditch/Catch into seanmiddleditch-explicit-bool-conversion 91bfe68 Suppress parentheses warnings on clang and gcc - should address #593, #528, #521, #496 (and possibly others) 8ccb18d Added --use-colour option to give finer control over colourisation. --force-colour is still present but deprecated (will remove in v2) dce2154 Merge pull request #598 from luxe/patch-1 e52ad48 removes link to missing readme file 776247a Support explicit operator bool 3b4edd7 Build for v1.3.4 880a204 Use Clara v0.0.1.1 ffad3a0 Fix as suggested in #574 Cast expression to bool to prevent custom && from defeating short-circuiting 3bd20bf Removed reference to pre 1.0 release from README c724356 v1.3.3 b84e08a Fix EndsWith Matcher (and refactored EndsWith and StartsWith in terms of endsWith and startsWith) (see Issue #573) aca16a0 Fixed CATCH_REGISTER_TEST_CASE too f294c98 Fixed REGISTER_TEST_CASE for VS2013 (hopefully) - see #549 7424b23 v1.3.1 dbd3a84 Fixed catch_with_main.hpp (no longer references deleted catch_runner.hpp) 5262e61 Approvals for Matcher change (added comma) a5fba67 Add missing comma when in captured expression for matchers 2106d82 Fixed non-variadic version of REGISTER_TEST_CASE 981347b patch build to include last two fixes 9e34123 main takes args by non-const char* - see #548 2b688e1 Initialise m_currentSortOrder - as reported in #545 84d1c08 Keep Xcode 7.1 happy 722315a Removed some trailing whitespace fdc42d0 Merged from develop branch - now v1.3.0 d274fc5 Added noexcept to CustomStdException destructor 7e15d9b dev build 4 0e64973 Added support for manually registering test functions. As discussed in #421 e4fa62a dev build 3 a49f088 exception translators considered even for types deriving from std::exception, now - also added docs for exception translators - updated approvals ed6e912 Session's argv now taken by char const* const* - see #427 3523c39 Changed 'auto' into 'bool' for C++98 compatibility 2585d28 Added an optional absolute margin to the approximation checks 9235676 dev build 2 d10b73f changed Not struct to a class. - it was forward declared as a class, which caused warnings on some compilers. It should really have been a class anyway. - this addresses the same issue as PR #534, albeit from the other angle. 71fd2c2 Fixed test names mentioning the new Matcher combinator operators 08844e7 build 1.3.0-develop.1 054e3c5 Added &&, || and ! operator overloads for matchers (syntactic sugar for AllOf, AnyOf and Not compositional matchers, respectively) f3e7722 Don't introduce Catch::Matchers namespace in macro - this could be a breaking change - fixed up self-test code to compensate 315c83a Removed unnecessary parentheses 9576ad9 Removed unused parameter - as per PR #530 e917381 Stripped trailing whitespace from all source code lines (replaces need for PRs #310 and #504) 8c32b49 Added script to strip trailing whitespace from source files ece529a Fixed noexcept destructors issue 9e42153 dev build 16 c81778e Fixed CMake file (changed SectionTrackerTests.cpp - now deleted - to the new PartTrackerTests.cpp) f5642be Fixed reversed logic of NoAssertions warning check (that explains the previous regressions) 7e34619 v1.2.1-develop.15 - includes all new section tracker 4636be9 Merge branch 'NewSectionTracking' into develop 015e071 Added SUCCEEDs to empty leaf sections to avoid failing due to no assertions bc8840c Removed deprecated section tracking implementation and tests 471bd25 Approved changes due to "No assertions" warnings now firing correctly on inner sections aa49823 perform startRun() at the start of each test case 52a417d Fitted new section tracking 0b523db Converted all new part tracking tests/ sections to non variadic form b851592 Moved all new tracking impl into catch_test_case_tracker.pp 3deb3e0 Removed the "part" component of the tracker names 73a140f More minor tweaks ef62b57 Added tests for failing a section within a generator - small fixes to implementation to make it work f4389b4 more minor clean-ups 4b99be6 Cleaned tests up a bit 293e54d Added IndexTracker and got it working with a single generator - made some simplifications to state machine d758428 Merge pull request #523 from nabijaczleweli/patch-1 9a6a086 More name changes 2c6411e Tweaks 1cb9939 First cut of new section/ part tracking bc00d59 Fix typo in catch_stream.hpp b3b2352 Fixed some missing sentence structure c9a188d Merge pull request #512 from daniel-j-h/better_travis e904aa7 Improve the Travis CI integration. d43a47e Refactored stream related stuff - simpler, polymorphic hierarchy-based, approach - less bitty conditionals spread across the code - all resolved up-front so now config class is immutable (it had evolved the way it was and in need of a clean-up sweep for a long time) a0de07d Some small clean-ups and refactorings - removed previous instance saves in RunContext (they were a hang-over from embedded contexts) - started cleaning up config usage 0c1c9fa dev build 14 - workaround for uncaught_exception issue - avoid mutating vector while iterating it (due to re-entrancy) 166ca2e Do uncaught_exception checking before calling sectionEnded - split the uncaught handling (adding to unfinishedSections) into separate method 1531763 Revert "Fix parentheses warning on expression evaluation when using ccache" a28d40e Merge pull request #496 from segalaj/master 7da777a Fix parentheses warning on expression evaluation when using ccache d234ed1 dev build 13 7fd7c5b Merge branch 'matcher-not' into develop 312b94e Add matcher: Not() 40d0d2f Added unique_ptr detection to compiler_capabilities - as well as use by C++11 conformant compilers now enabled for VS2013 on too (see #479) - updated docs with this (and long long and override support) 1952015 regen single header ad7edd0 Replaced some stray overrides with CATCH_OVERRIDE 8a05f46 Removed use of std::copy_if (as it's limited to c++11) e73583d dev build 12 afcc38e Fixes for single include 368714e Added Listeners (programatically provided extra reporters) 4cb7476 Support for multiple reporters - can't (yet) specify different targets for each reporter (e.g. different files) c06e190 Refactored test filtering and sorting 8b1b7cd dev build 11 34fa25e Removed Runner class - it served no purpose - split into functions instead 85c8074 Set group name to -n parameter (or exe name) - As discussed in #469 0edebf4 approvals rebase - I *think* this fixes an earlier regression, but I'm not 100% sure where that came from! f3308ed Let gcc use __cplusplus identifier to decide if nullptr supported - or, for 4.6, continue to check __GX_EXPERIMENTAL_CXX0X__ See GitHb issue #445 and PR #471 74eef52 dev build 10 e085d48 Qualified path to xmlwriter to fix travis error 2f6371f dev build 9 7097551 rebased approvals for long long test 733ebb6 Added CATCH_CONFIG_CPP11_LONG_LONG support d6e59cd Fixed Xml encoding - don't encode apostrophes - only encode quotes in attributes - encode control characters (as in PR #465) 6de135c Given, When, Then prefixes are now std::strings (and so can be prepended to std::strings themselves) see #455 5bbdc8f Dev build 8 7286892 Exception message assertions now work with matchers 8342ae8 dev build 7 2104ca2 Exception message testing now supports wildcards - extracted WildcardPattern from TestSpec::NamePattern 93a842e dev build 6 85de743 Added _THROWS_WITH macros - asserts on exception message 5d5ed5a Updated approvalTests script to allow for modified version strings 1dd0d4c Force cout/ cerr to be initialised before errors in test registry are printed - see #461 57df3ba Force cout/ cerr to be initialised before errors in test registry are printed - see #461 e6b365d dev build 5 02e1966 Changed --filenames-as-tags prefix to #, added -# as short form and updated docs 584032d dev build 4 - undisturbed background colour (windows), from PR #456 18acff6 Merge branch 'develop' of git://github.com/RandomInEqualities/Catch into RandomInEqualities-develop c1ca0fd dev build 3 d6f1446 Fixed an issue on some compilers with implicit conversion from nullptr to Ptr - also cleaned up some warnings to do with CATCH_NULL 62e517f Fixed backslash detection in filenames-as-tags 6160a2b Fix for white background in windows powershell when using colour output. 8f66e34 dev build 2 d87e551 reseeds rng before each test case and provides access to seed through Catch::rngSeed() function b971fe7 develop build 1 088c5bc --filenames-as-tags 680b1a8 Squashed some warnings about local variables shadowing members - see #444 805de43 Use CATCH_NULL instead of NULL - expands to nullptr if CATCH_CONFIG_CPP11_NULLPTR is defined (see #444) 3b18d9e build for v1.2.1 6d57972 Split imply from TrackedSection class to avoid use of incomplete type - see #450 804896c Fixed approval tests script for new version number formatting 7ab3b5a Added compiler feature suppression macros 21f7ef6 Committed to semantic versioning f5fef1e Fixed readme to not refer to develop branch 8cc1108 Use <= operator instead of ->* for decomposer c51e868 build 3 fc63b02 suppressed some more warnings 6ed74b5 changed hex threshold on ints to 255 bdbfe69 Merge branch 'master' of github.com:philsquared/Catch 605d870 Updated toString docs with StringMaker a55c1cf Merge pull request #380 from socantre/master 43470b2 Removed CATCH_CONFIG_CPP11_NULLPTR for VS2015 318c936 build 2 e86daf8 Reorganised C+11 feature detection a bit and added CATCH_CONFIG_CPP11_NULLPTR for VS2015 bfa3f86 Removed some more warnings 2946c19 Added comments on multi-file tests to tutorial 7975920 Merge pull request #404 from adzenith/patch-1 702cbc1 Merge branch 'BMBurstein-develop' 2fc9de9 Updated approvals following merge of develop back to master c708570 Merge branch 'develop' of git://github.com/BMBurstein/Catch into BMBurstein-develop 465454f Fix REQUIRE_FALSE so that it aborts test case 6595387 Fix typo in tutorial.md 35f4266 Merge branch 'develop' 4af4405 Fixed a missing ), as per PR #363 and PR #390 37e5561 v1.1 build 1 (master) Updated version for master and regenerated single include a21fb80 Ignore *.xccheckout d9fbc62 Merged from develop dd460f0 s/ran/run 0ae7578 Restored tag parsing when checking for reserved tags - had been accidentally deleted in an earlier refactoring. A bit worrying that this didn't get spotted sooner! 090c74c Use reinterpret_cast to eliminate some warnings #369 572911d Changed comment to work around header stitching bug a806c3e Build 14 856468c Rebased to include new --force-colour tests 0362659 Merge branch 'peterhuene-develop' into develop 6d1da8e Merge branch 'develop' of git://github.com/peterhuene/Catch into peterhuene-develop ce0b170 Suppress warnings correctly for Intel compiler #376 e04ba5c Removed over-eager assertion. Doesn't hold if reporting due to a segfault #377 5eb7748 Changed relative #includes and made SourceLineInfo sortable (added < op) e5280b2 Add --force-colour option to force colour output. 7f56152 build 13 5018320 Added tests for toString<std::tuple<>> and rebased e8a9923 Merge branch 'PureAbstract-tuple_to_string' into develop 75a08bb Merge branch 'tuple_to_string' of https://github.com/PureAbstract/Catch into PureAbstract-tuple_to_string b9ec8a1 Merge pull request #344 from therocode/patch-1 060b65b Merge pull request #329 from AnthonySuper/betterdocs d76e081 build 12 c6635a7 Added type attribute to xml reporter output 6817bb0 Fixed up xml reporter and rebased 3e0c501 Fixed escaping of ' in TeamCity reporter 1cbc4f2 Merge branch 'develop' of https://github.com/SeanCline/Catch into develop 92f0836 build 11 3c8c9b2 rebased fa751e6 FIxed a couple of test names 7619920 Support for reporting skipped tests 58dcb5e Removed #includes for Catch headers b771394 regenerated single include a9f16b1 Fix memset build error 576aff6 build 10 3dc3763 Rebased 3f9e3e2 Some clean-up ready for first push to GitHub 2771220 Cleaned up section headers 8ec959e TeamCity reporter work 5933d75 Fixed HasExpression check 3724463 Fixed escape order and expression reporting 7306eb3 TeamCity reporter 458b3ae Fixed replace(inPlace) function db0421e First commit of (in progress) TeamCity reporter acf638f Added docs for floating point comparisons b454c43 Extends configuration docs 7abc9fa Added docs for --invisibles f5c9859 Try again to fix --order docs c0c6e7a Fixed single_include link 0b1fa6a fixed (hopefully) formatting of '--order' docs 840b99a Added docs for --input-file (somehow missing from previous commit) 5259b78 Updated command line docs 91c17f3 build 9 7e1f21b tweaks to tutorial 0dd214f tags with . prefix are all hidden 6725e09 any tag prefixed with . hides the test 30888f5 removed spurious } 82754c1 tweaked formatting 694c4d7 Merge pull request #350 from jamiebullock/master 13f9843 build 8 ff9e51d toString( int ) uses hex for large values bd9fbe2 Fixed toString for Approx a99e75b Made approvals more platform agnostic c6d9bde fixed case of tostring.md link 15a8bdf Added string conversions link d8e3c1f Last tweak to download text - honest 93da743 tweaked download link text e8f704c Absolute path to single direct download 94ab8f6 Updated README with direct download link 27ce70c Added documentation for toString b0545d1 Some toString cleanups aaa1970 More generic and maintainable makefile. Fixes #348 81fc6d7 Remove missing catch_self_test.cpp, fixes #348 32186db Added first cut of docs for configuring Catch - initially just covers new colour config - also updated all [Home] links in footers to go to local readme e54ac70 build 7 bde3567 Cleaned up terminal colouring impl and added more config options e26e156 Update test-fixtures.md 6e99695 XmlReporter enhancement: Add an attribute for the macro name of an expression. ea81e98 XmlReporter enhancement: Add attributes for duration when requested by the command line. b0e53a8 Move the xml reporter away from the deprecated IReporter interface. a5dca3d removed some warnings 12fe67c Updated NonCopyable (to include C++11 version) and use for Session and Section e606ceb Fixed #include 383d7c0 Only use std::cout/ cert via Catch::cout/ cert - and make those conditional on CATCH_CONFIG_NOSTDOUT 85b4e94 build 6 4b3fa47 Use reset instead of assignment when updating auto_ptr/unique_ptr b1936d3 Calls method of FatalConditionHandler (to avoid warnings) 8ec9a5a Updated project for Xcode 6 ee3b265 build 5 b62a1b5 Moved RandomNumberGenerator out of function and pass in a named instance instead of a temporary - both for C++03 compatibility reasons 16a7db0 enable nullptr for VS2010 73a0744 Backed out PR #307 (use nullptr from VS2005) as it seems clr specific 6492560 Made sorting functors const 9630454 Added missing #include 6a8e8ad build 4 fa0122b Allow testing ordering to be specified as declaration, lexicographical, or random. Allow random seed to be specified c974663 Documentation Changes d4e5f18 Merged group name commit from develop ea33961 Factored out mention of "unprintable string" ("{?}") 3e1d3c7 Give (currently not used, so global only) group a name 886ef16 Some minor tidy-up/ style alignment of recent toString merges f559a51 ToStringTuple - gcc doesn't like tuple init_list ctor 13cbdf7 Add tests for toString(std::tuple<...>) 022a0b4 catch_tostring: toString for std::tuple 3196937 catch_tostring: Add includes for tuple, type_traits 9595644 catch_tostring: Move toString overload declarations 4caabfa build 3 5ea3266 Added baselines for new test cases fcf5ef0 Changed time function name to reflect that it actually returns Microseconds as reported in #323 ee5e7ed Merge branch 'develop' of github.com:philsquared/Catch into develop a9d14c8 Merge pull request #319 from PureAbstract/to_string_tests dd22431 Merge branch 'develop' of github.com:philsquared/Catch into develop 9721296 Merge pull request #318 from PureAbstract/enum_to_string 3eefa7f use nullptr in MSVC from 2005+ (based on PR #307 - thanks alex85k) fdbbb2c Updated CMakeLists.txt for toString work abf9ffc A bunch of Catch::toString tests cd2a5aa catch_tostring: tostring for enum class types 142f8f4 SelfTest: Build as C++11, add EnumToString tests 000e746 SelfTest: refresh makefile 341a9c4 Merge branch 'master' of github.com:philsquared/Catch into develop 93b61e1 v1.1 build 2 (develop branch) - Signal hander support 05743ee FatalErrorConditions now full close reporter states - so the console reporter(s) show final summary and the xml reporters close their tags 85d33e2 Merge pull request #306 from andybalaam/master 389f3f5 Fix a typo (missing "n") cb8fe47 Approvals for develop branch 8edf4bf Removed signal handler test, for now (to avoid screwing up the approval tests) c1a8e1c Added signal handlers (and placeholder for SEH handlers) - based on PR 232 (https://github.com/philsquared/Catch/pull/232 - thanks Lukasz Forynski) - Writes to reporter, so gets all the usual context, but then exits directly (since the stack cannot be resumed) so no summary - On Windows does nothing, as yet. 4f4b44e Merge branch 'develop' of github.com:philsquared/Catch aa31d1c Merge branch 'master' of github.com:philsquared/Catch into develop b3ece7e Tweaked wording around ability to do BDD b7e432e Updated version for develop branch 76edbc1 Updated “contributing” docs to reflect new develop branch 6e00e5e Merge branch 'master' of github.com:philsquared/Catch 544bf33 build 53 includes wchar_t toString overloads and SCENARIO_METHOD macros 8b5a4e9 Added approvals for new tests 3e025cc Added bundled compact reporter 487dfad Fixed link to reference section 4aaf67f const_casts to get rid of warnings in new wchar_t tests 7bc0b44 Merge branch 'master' of https://github.com/jbrwilkinson/Catch bcbd0cb Merge pull request #302 from johannesmoene/doc-index e35f862 Fixed link to blog post d59fd53 Update link in tutorial 6336bb1 Add Readme as documentation entry ee83a6f Merge pull request #301 from bena/master c7cf0a9 Catch's Travis builds are using gcc that doesn't like the auto keyword 7b0a84a toString handles wchar_t raw strings 08dc845 Updated docs on slow compiles 0aae635 Re-enable warnings disabled for GCC ae76945 Hide warnings with GCC 6880a0c Added FAQ on slow compiles to docs 785db43 Fixed issue with single include generator - well, partially. The problem is it is matching /* … */ comments by assuming the intervening lines begin with whitespace followed by a *. This avoids it having to maintain extra state, but makes it brittle. It was matching *it = " " + *it; as a comment! It now matches on a single space followed by a * and this seems to work for now - but it probably needs to move to proper stateful comment handling. 63005a1 Added SCENARIO_METHOD for BDD testing with fixtures. ca42b2c Manual fix for generation error 28c2e07 build 52 3ff3acf Approvals for last change 76f80a6 More summary formatting tweaks cab9141 Green summary bar is darker if not all passed - and the green part now comes at the end (to emphasise the failures) d89e74f Format floats like doubles when printing - but add ‘f’ suffix (a lá #291) ce56209 build 51 23181ee Section no longer relies on copy-elision for correctness - should address #293 - *may* address #271 a469d9b Made Colour copyable to remove warning a31f05f Removed C-style casts 08e5296 Regenerated single include and baselines 94a1acf More tweaks to summary format 52e1e74 build 50 9c1f9a8 Added [!mayfail] tag to indicate test case that can fail without failing the suite. Overhauled the summary report (including the expected failure count) 05e42cb Merge branch 'master' of github.com:philsquared/Catch d657b1b Removed use of variadic form of SUCCEED from tests - as per #284 acbb7b7 Merge pull request #287 from amorenoc/master acdd3b5 Build 49 - _THROWS fix - tag aliases 061861d Approved tag alias tests 1d210eb Tag aliases feature 006aafd Some clean-ups for string handling in Objective-C c602238 Fixed typo f4f4fec Merge branch 'master' of github.com:philsquared/Catch 11cf45b Fixed regression with -e 44aa45c Merge pull request #283 from lichray/patch-1 ab03668 build 48 - big assertion capture refactoring b198856 Fixed single header generator for generating no-impl header 7f1156d Fixed typo 2226ec2 Merge branch 'master' of github.com:philsquared/Catch be9fe76 Renamed ShouldNegate to FalseTest 10801c2 Folded ExpressionResultBuilder into ResultBuilder (even more SRP violations!) a9cd3a0 fix macro syntax in doc 9438a03 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. 1479681 Approved new test case 7cbf740 Tweaked rawMemoryToString() along lines of suggestion in #281 3385344 Merge pull request #282 from jlschrag/patch-1 d8bde3e Fixed Typo 48fac9c build 47 d12c006 Make TagInfo non-local 9241e43 Build 46 - Fixes some test spec parser issues and some warnings (compiler and analysers) 5daa22d Fixed dereferenced null issue 59d5569 Attempt to prevent analyser warnings about dereferencing null. a2d8f77 Approved new test output 2c9e9ac 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 baf181f Minor fixes to a couple of test names b43d770 Tests hidden with legacy ./ prefix tagged as hidden fbf3f6f Fix case sensitivity when matching tags (now insensitive again) Also group case-different tags together when listing e21d0b2 Killed a couple more warnings (one for VS2010 and one for Clang) 3bdc97d Suppressed a load of warnings ebd4888 build 45 - fixes 7139035 Updated approvals after adding extra tests e8aa0bb Fixed issue with reading test names from file fcf0deb Fixed issue with wildcards at the start of a string b5d1cfe Suppress switch statement warning ee956bc Fixed isHidden regression 65cc14c build 44 - new name/ tag parser (fixes #279) 9bf43e7 Refactored last usages of old tag parser and removed all the, now redundant, tag parsing code 766491a Approved all the changes following name/ tag parser rework b1e7d16 Moved catch_test_spec.h to catch_test_spec.hpp ae75b37 Switched over to new name/ tag parser 56b8d3a Moved new test spec code into appropriate header - about to remove old test spec code and rewire throughout the codebase! 72e6769 Small test spec parser refactoring f8cff10 First cut of new test spec parser code ad44890 Unanonymised unions to avoid breaking on compilers that don’t support them - e.g. GCC 4.3 and 4.4 - fixes #281 4e044ed build 43 - removed some pragmas 5ce900a Removed some #pragmas that have been causing problems for now 5a2df71 build 42: “compact” reporter - thanks to Martin Moene 4e9484b Adjusted some elements of style in compact_reporter c02c700 Merged Martin Moene’s “compact reporter” 9f1e054 Suppress some more warnings 57374a1 Added ability for releaseNotes script to pull github issue titles 18845da 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 1740495 Build 41 - fixes 1a6f2a0 Changed the way noexcept support is handled to (hopefully) fix #275 and #273 f1928b7 Include missing <cstring> header - should fix issue #274 aef6cd5 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 31caba4 Added test for invisibles 328a469 Moved tostring impl into catch_tostring.hpp 97150f2 Renamed catch_tostring.hpp catch_tostring.h - in preparation for splitting implementation into catch_tostring.hpp 7059b2c Added ability to show “invisibles” in strings (just tabs and newline chars, for now). f219194 Replace some static strings with static char*s for leak detection friendliness (h/t #272) 48153e8 Considers endianness when printing raw memory into a string 878c257 Merge pull request #255 from johannesmoene/fix-python-print 6da62d2 Merge branch 'master' of github.com:philsquared/Catch a020865 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). 463f7bd Merge pull request #260 from paleozogt/patch-1 d7e1790 Merge branch 'master' of https://github.com/gnzlbg/Catch 9d469b6 build 37 7303b2b Changed branchName to char*, as per #266 cfc37b5 Merge branch 'master' of github.com:philsquared/Catch 41d3f2b Merge pull request #269 from alexander-manenko/master 6c4a7cd Renamed XCode4 folder to just XCode (It’s been Xcode 5 for a long time, now, anyway) 970127e Removed some unnecessary core macros 87891cf Updated approval tests baselines 3c34d65 Doc tweaks 94f47d5 Updated docs with new [!throws] behaviour 20cad7c 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). c5406a2 build 35 1bccc03 Secondary fix for #270 (addresses same issue with CHECK) a176b93 Fix for #270 (REQUIRE continues if test throws an exception). e9d3537 re-approved following recent command line description tweak 3627ee6 Fix build issue with TchRunnerMainView in XCode 5 af8cd98 New version of Clara that fixes operator= issue with ref member (#265) ce65985 Conditionally removes usage of deprecated features 72e96d9 GIT_EXECUTABLE undefined 472dc2a New version of Clara - interface changed slightly - moved clara.h and tbc_text_format.h into “external” folder f9df35b Fixed instance of Clara::_ placeholder when using CATCH_CONFIG_RUNNER 77c9edf Fix python scripts for python 3 (print now a function rather than a keyword) 91ea20c Change <> to != dd2810d build 30 - with Clara fix for null deref crash 04f994a Updated VS2010 project (removed CmdLineTests.cpp) 9abb276 Fix problem (hopefully) with single source definitions from Clara - define CLARA_CONFIG_MAIN in the right place 9b4c7fa Updated cmake file with command line test removal 8cd1b31 Merge branch 'master' of github.com:philsquared/Catch fd879f7 Build 28 - new version of Clara - removed command line tests b9fea75 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) 174ada4 Merge pull request #251 from ThatOtherPerson/patch-1 e6ee29a Highlight block as C++ 1f1ee3c New version of Clara - Clara now built with new stitch script (based on generateSingleInclude) - also fixed python scripts for python 3 (print now a function rather than a keyword) 1c2fbe1 build 26 f899552 updated single include test project d29cbec Updated single include generator to allow for embedded micro-libraries 5845ae9 Added private assignment operator to fix VS2010 issue - thanks to Kosta (#239) b15726b Added #include for <memory> to Clara - thanks again, Martin 160b74d … and <stdexcept> 633feaa Added #include <algorithm> to clara.h - thanks Martin 0dc49d1 Extracted stand-alone micro-library, tbc_text_format.h, from catch_text.h. - use this version in clara.h so clara can stand alone. b756243 Fixed some comments c98a97c Tweaked Cliche macros/ names 4554155 Made Clara a “Cliche” header, which will be usable independently of Catch. - This is just a first step. It still has a dependency on catch_text.h, which also needs to be made a Cliche header. - These then need their own homes on GitHub. 7eb5acc build 25 - fix for #231 46a1fc7 Removed unnecessary union name be890d0 build 24 e091018 Fixes toString() for function pointers and added support for member function pointers. - thanks to Malcolm Noyes for supplying sample code on which the solution here was based 440a470 Convert pointers to integrates when printing. - handles function pointers that way too (otherwise printed as 1 by gcc and clang) e45e3a1 Clara ignores anything after a lone — (double dash) - this allows use within an environment that appends additional arguments that Clara will otherwise reject - generated build 23 91ef5f7 build 22 886d9d3 Reporter command line parser errors more eagerly - show all “unrecognised option” errors f385a0b build 21 1aa60fa Changed Approx::toString() to be implemented in terms of toString( double ) (as proposed in #233) fb90d38 Changed stdout/ stderr messages to be less misleading eb760f6 Build 20 f6d2fef Updated project for OCUnit 9e52985 Fixes compiler error for some versions of GCC - Manual application of PR #196 (couldn’t merge) - See also #226 66d641a Sneaking last change in without version bump 557b3bd Made SUCCESS variadic too (optional stream) 2851b4a Try again with nullptr compatibility check in GCC 9d7b779 build 19 - fixes nullptr regression (I had accidentally left in some dev changes) 859760a Build 18 563429d Compile in CATCH_CONFIG_CPP11_NULLPTR for some compilers b462520 Test for FAIL that doesn’t take an argument 274ed3e Allow FAIL() to be empty a6d74bd Build 17 0b63e0d Fixed warnings for platforms that don’t implement CATCH_BREAK_INTO_DEBUGGER - as discussed in #229 a1e87a4 trim test/ section names in xml reporter - BDD-style test names have leading spaces for alignment in the console reporter ef95020 Stop overloading virtualise defined at multiple levels de49ec4 Fixed broken single header following script change - fixed the script (was missing #ifdefs) - also fixed single include (Xcode) test project - build 16 87b20e8 SourceLineInfo takes char*s instead of std::strings 47a5ad3 Normalised “hidden” tags 3524321 Removed some cruft 3649fdf Build 15 c4a089c Refactored a lot of code from headers into impl headers only compiled into one TU - also added noimpl option to single header script - which only generates the non impl code 8ba6555 Merge pull request #224 from PetterS/cygwinfix c032dfa Fix fileno not always present. fileno(stdout) = STDOUT_FILENO. 5ecb72b Build 14 782c2b5 Added ability to load names of tests to run from a file 993430a Merge pull request #222 from gnzlbg/cmake-docs 69a921f Add documentation for the CMake build system ba13f3f Restored second arg to a TEST_CASE for non variadic compilers 0635938 Removed deleted file from CMake ca7292e Removed redundant MetaTestRunner 200197f Merge branch 'master' of github.com:philsquared/Catch 337dc25 Converted all test case names to "modern" style (freeform text + tags) da0f464 Merge pull request #217 from nanoant/patch/std-auto_ptr-deprecated d1e5480 std::auto_ptr is deprecated in c++11/c++0x a9fd5b3 Removed cruft from VS projects d3c8c98 Merge pull request #214 from AIM360/weibelt/fix-eol f15b74c Added some more docs 8d44f2d build 13 4f57c8c Print warnings if no assertions and not running with -s 2f086ae If no assertions print custom message ecb9432 Simplified and tidied test case and tag listing 5320518 Build 12 11ba377 Change one more in-page link to work with GitHub generated anchors d17bb40 Converted all html anchors in command line docs to match github generated anchors 6916298 Attempt to match html anchors (which github strips out) with the ones github generates. 2e4be21 Fixed crlf issue 0712bbb Merge pull request #207 from Fraser999/list_tests_issue c2b0c6f Added missing #include for <vector> 0d4894e Updated command line docs with -w and -d 69a3f16 Added CTest targets to perform basic test of --list-tests and --list-tags options. 6253386 Fixes overflow issue when listing tests. 93a945c Fixed uninitialised members in Context object 2b644b5 Updated travis URL a2bff48 Merge branch 'master' of git://github.com/AIM360/Catch cb7b4ec Updated VS2010 project d0e7b62 Fixed typo faafa24 Git Attributes, with control for line-endings f4959e7 First commit of docs for contributors bdb7184 Fixed typo 380f98e Regenerated single include 39ef46a Truncate excessively long messages rather than asserting aafed30 Added an extra tag test 34266b6 more doc formatting fixes 0b097c2 Fix wrapping width when listing tests - addresses #201 b9c6d30 minor doc tweaks 716a3a0 escaped square brackets 76ef79a Expanded test-cases-and-exceptions docs and added to reference-index 4ab680a Expanded docs on tests cases and sections (still work-in-progress) - also touched up some outdated bits in the tutorial a35ee20 Filter out version number from approval tests 16c21ee No, really trim paths in approval tests down to just filenames 1e74938 Trim paths in approval tests down to filenames 2f7a296 Split approve file into multiple files 345a4ea Removed outdated Xcode 3 project b4af9b9 Merge commit '22ded1f2bb3caf96d90c2f1981ede29d3aeb1c74' 22ded1f Merge pull request #198 from PureAbstract/vector_to_string 41b27af Fix for comma separated tags on the command line - also added more test for tags 649cd13 Upgraded project for latest Xcode 358b7b2 Eliminate a warning in the latest clang with Xcode 7974e1c updated single-include version d6f23a9 catch_tostring : moved defintion of rangeToString 0dbcf21 Add allocator support to StringMaker<vector> 1e2f1d1 Fixes toString forward reference issue: - as raised in https://github.com/philsquared/Catch/pull/195 f7378ee Fixed string indexing bug 04a3364 Regen single header 638cf9f Separated out catch_platform.h 4611871 Build 8 - includes command line tweaks and fixes for durations 1870ca8 Some Clara/ command line clean-up and tweaks f41fad7 Don't report durations if not reporter anything else 357d654 Added missing assert include 3faa412 Removed basic reporter aa7123b Build 7 - New Junit reporter - New Timer class 11b5179 Redacted test durations from JUnit reporter output in approval test script d68510d Removed legacy JUnit reporter 2ddb9d3 Completed CumulativeReporterBase and reimplemented JUnitReporter in terms of it 1f519dd Added LazyStat wrapper 29ccaa6 Replaced currentSectionInfo and m_rootSection with m_sectionStack 6339254 First cut of Timer class. - started integrating with reporters (now (optionally) supported in console reporter). - introduced Node<> template to help with cumulative reporting and used it instead of ThreadedSectionInfo. d8f93f7 Update README.md af36d93 Update README.md cd9a593 fixed formatting of travis status icons 7fcde92 added travis status to the readme ba24e51 cmake: call SelfTest exe instead of approvalTests script c486384 more approval tests script debugging 0c8ad55 more debugging f3119b0 more debugging a5c4231 debugging arguments passed to the approvalTests script 3f2e2bd printing the executable into the console window 5553a53 tweak CMakeLists.txt f8d24b1 Calling SelfTest exe directly a74e68a Merge branch 'Kosta/travis_ci_integration' of https://github.com/AIM360/Catch into Kosta/travis_ci_integration ce441a9 initial checkin of cmake and travis config files 5cb93fd initial checkin of cmake and travis config files 649f8c2 Removed now redundant handling for missing assertions in test cases - handled as part of sections e8cf726 Refactored missing assertions handling b80280f Tidied up reporting of missing assertions in test cases - also removed basic reporter from approval test 801672b Fix MSVC warning 8a52a39 Build 6 - fixes infinite loop bug (#185 and #166) 28d3881 Merged TestCaseTracker and SectionTracker and introduced TestCaseTracker::Guard ee647f5 Removed displaced RunningTest class 9aff9aa Integrated new section tracker. - also pass extra section to reporter - one for each test case - ignore it in headers (this is so we know a test case has restarted) - significant effect on regression test due to change of ordering of sections - fixes infinite loop issue 6a484fd Reworked SectionTracker and moved into own header 372a6c6 Small fixes and started new section tracking code f3d1f08 Removed all trailing whitespace - addresses #105 503d5d0 Converted stray tabs to spaces dea43e0 Merge pull request #180 from benjamg/patch-1 54e6f9d Slightly tweaked docs on supplying your own main ad7445d build 5 - added throw() to streambuf destructor overrides (#182) 3907559 build 4 109f46a Fixed broken test 066a638 Fix for #179 ba9b2b5 Use MFCs windows include if present 27a4d7a Fix external site links 4b5e008 guard NOMINMAX definition (windows) cd68830 Build 2 eb81850 Merge branch 'master' of github.com:philsquared/Catch 5d26ca1 Static assertion for && and || expressions a9b346b Removed line numbers from approval tests of xml too 40b8c77 Removed line numbers from approval tests f987da4 Update whats-changed.md 54c8817 Update whats-changed.md 7bd033c Update whats-changed.md c22cfc4 Addd test-fixtures docs from wiki d60b248 Updated docs with INFO/ CAPTURE changes b5fd5a6 INFO and CAPTURE are now scoped - SCOPED_INFO and SCOPED_CAPTURE are now just aliases 881c61b Updated docs to reflect INFO change 0d35730 INFOs only reset at assertion if consumed 239fa28 Added run without -s to approvals 47751e4 Approved [.] change 9c39a5e Support [.] as alias for [hide] 2352043 Big merge from Integration - now v1.0 build 1 53f128f Ignore DerivedData a76d93a Removed filename from --reporter option (it's not implemented yet) ae1c1ac Added "what's changed" 5ddd6e3 Added #define NOMINMAX - thanks to @robson3 in #171 1d3dd71 Fixed returns in docs ref a26ddc9 New docs for command line and logging 5b15c21 Fixed iTChRunner fd1cd78 Completed assertions docs 46953c8 Filled out reference index and added placeholders for assertions and logging docs d07cd33 Added new docs for supplying your own main. 0ec7ea2 Doc updates 7d5f271 Fixed script for new readme - updated README with new version - fixed casing error for -e opt description f3592f2 Docs progress 786959d build 39 11381c1 Tweaked indentation of errors and test lists 27cae85 Use Text formatter to list reporters 8055764 re-encapsulated session vars. - construct Config object lazily 8fde143 Session vars are public f438e04 list options return number listed e035e28 tweaks a7e657f Refactored new Session class to make it more friendly for custom client code c1196b6 Moved all Catch::Main()s into new Session class - renamed them run() - moved cleanUp call into destructor c57ebc8 Approved latest changes cb60d13 Runner -> RunContext, Runner2 -> Runner and fixed issue with processName 1b47e11 Added processConfig() method 2ed56c4 Removed legacy cli parser aee9b75 Now fully switched over to Clara-based command line with modified args 130ec98 Start of new docs 4e88ccd Start of new docs 0514fe4 Got parseCommandLine ready to use new Clara (but not doing so yet) f330fe7 Made generated function name more obvious (for quickly finding in debugger's stack viewer) c9f0f55 Last changes to ConfigData names (for now) 40e5297 Removed stream name from config 3f184e2 ConfigData now looks virtually identical to the Clara test Config 20ddb00 ConfigData just keeps strings for test names/ specs/ tags (processed in Config actor) c2ca80d Config refactoring: split List enum into three bools 3c3beb5 More config refactoring be8fd82 Started nudging ConfigData towards new layout f6892bf Listing is now in terms of interface (and calls to bool functions) 6b8837b Final refactoring to remove direct access to encapsulated ConfigData once in Config 43fe6c6 Main() functions deal with raw ConfigData ca9b92f Most of system now uses Ptr<IConfig const> e145995 Refactoring towards interface based config 10fa059 Moved Clara into its (her?) own file 1e547af Tweaked some option names and added verbosity ab6dd55 Clara: formatting and code tweaks b763265 Clara: Usage strings for args ed79d72 Clara: support for positional arguments 30cb460 Clara: added test for positional arg 3dde25b Clara: support for binary functions d44f2cf Added binding to free functions (and renamed hierarchy) d430537 Fixed inconsistency in reporting of _FALSE (negated) expressions 374335f Approved current output 6574f63 Refactored CLI tests and converted main one into a scenario 8d1100d Clara: added -r option 8333e64 Clara: some refactoring - moved all internal stuff into Detail - moved Parser out of CommandLine, encapsulates tokens. - allow unused tokens to be feed into different CommandLine processors 58846c3 Clara: Added support for compact short opts (e.g. -peb) 372a8b0 New CLI parser impl 597ed1f handle TEST_CASE_METHOD macro consistently - internally define INTERNAL_CATCH_TEST_CASE_METHOD 31cd3a8 Updated readme to remove reference to the downloads section 0c56269 test case for infinite loop 11e5516 Some refactoring of Clara impl and experimental string based interface e2f93b6 Clara: Allow space separator, as well as : and = a13ab71 Clara: Some renames and changed the addOption interface ed45ceb Added support for binding to methods and generating usage strings. Also renamed namespace to Clara 46846a4 More CmdLine work - Support for non string values - Support for chaining parsers 26ae117 First draft of future opt parser lib 7293c97 header builder script writes to file rather than stdout 8defc71 Build 38 2278451 Refactored scripts to start using a common file 1309da2 approved changes relating to no-return functions bf37e68 Removed use of compiler specific techniques for denoting non-returning functions - use if( Catch::isTrue( true) ) to guard throws instead 2a9d8d9 Changed "const X ref"s to "X const ref"s - Brought older code up to current convention (with the help of a Python script) d0d4d93 Build 37 - string matchers work with NULLs - removed stray CATCH_CONFIG_SFINAE for GCC 3 06548a5 Fix for #144 - string matchers now work with NULLs c887d1a Removed rogue CATCH_CONFIG_SFINAE for GCC 3.x 471eba2 Build 36 - incorporation of pull request #154 to allow comparison with nullptr_t - some compiler capability tweaks 4dd3f68 Compiler capabilities clean-up - renamed CATCH_SFINAE -> CATCH_CONFIG_SFINAE - moved variadic macros detection into catch_compiler_capabilities.h dd52044 Build 35 - non-SFINAE IsStreamInsertable 9fff9e4 Complete disable CATCH_SFINAE for now 003960d Returned to older version of IsStreamable - this time based on code from Martin Moene https://gist.github.com/martinmoene/5418947#file-insertionopdetector-cpp 1927925 Build 34 includes: - SFINAE version of IsStreamable (where available) - new Text class that replaces LineWrapper (internal) - fix for spurious double exception reporting (#164) 2666c96 Fixes issue #164 - Removed spurious (re-)throw when catching unexpected exception b3acf45 Fully committed to new Text class. - moved impl into .hpp - replaced last few uses of LineWrapper with Text - removed LineWrapper 97d9985 Refactored line wrapping in Text constructor a bit d37a8e8 Revert "Refactored line wrapping in Text constructor a bit" e43d4a2 Refactored line wrapping in Text constructor a bit 54ca219 Text class is now full replacement for LineWrap 7059c6e Text class mostly working - tabs not yet working 052dc18 Remove SFINAE support for all unknown compilers bd5910e Moved line info in header again 5062d3e Added (conditional) SFINAE support. Better streamable detection for toString using SFINAE (falls back to non-SFINAE version without) 243f2d2 build 33 cd9c72c Fixed BrightGreen in ANSI/ Posix case - was yellow :-s 1c03b4a Exclude VS2005 from using variadic macros - due to issues raised in https://groups.google.com/forum/?fromgroups=#!topic/catch-forum/VGfNtNXjHXQ 1ece38e Moved legacy_reporter_adapter files back into internal 3bd4241 Fixed Junit issue with REQUIRE_THROWS - As mentioned by @SebDyn in GitHub issue #5 8764177 build 32 7af7451 LegacyReporterAdapter unbundles INFO messages from assertion to mimic legacy behaviour - Moved LegacyReporterAdapter out into its own file(s) 12c16ff Build 31 - new Colour class - Headers are wrapped, with special indentation for given/ when/ then 4746caa LineWrapper can indent first line differently to subsequent lines - use this to wrap Given/ When/ Then with indent after the : f186a91 Switched TextColour out for Colour - Removed TextColour a3703fa First cut of new Colour class (to replace TextColour) 5c7d3d7 build 30 2c90533 More formatting/ colour tweaks 67e9f01 Added some more wrap chars 2a17ef9 Use SecondaryText code in lists c7e602f Added SecondaryText colour enum - slightly refactored ConsoleColour as well 9d15d36 Changed Xcode search paths for easier sharing of projects with Windows 38f7eef build 29 e324d28 Added -l tags - which lists available tags. - also improved formatting of -l for tests d0df295 Added vector resizing example to BDD tests 15fd032 Use new line wrapper to show test case list, with tags, in columns 9e8abc3 Simplified StringWrapper - by changing intoStream to << overload - and removing redundant ctor b052bd7 Refactored string wrapper - to be much more flexible (writes to vector) - fixed a couple of bugs dd26e88 Build 28 016b063 Line numbers changed and test added c563f6b Wrap expr results if they contain newlines 2927c24 Fixed line wrap bug Added line wrap tests and modified wrap algo to wrap within words using a - 29426b6 Added vector resize test 2e3c5fa Addressed some warnings (mostly MSVC) 6ba2057 refactored toLower f4254b8 Moved scripts into their own folder f155366 Updated release script for README changes f0a2a21 Moved title back below logo bd10282 More markdown formatting 336de86 Reformatted README for markdown 3757e15 Added .md extension f433940 Try with title 5a26941 Try lowercase chars 22b7921 Try as not first line f82e436 Try raw domain b1948ec Try full path to logo 7ce438c Fixed logo path 3f79766 Added logo to readme bd7f797 build 27 3453639 tags can be specified using -t (or as default command) Previously -g had to be used 49d7ce4 Minor tidy up 444f4dd Variadics support for BDD macros (scenarios) 9390675 Build 26 a46ee02 Print ~~~ at start of console…
A way to avoid (gcc 4.8.1)