Commit Graph

  • f438e04b5d list options return number listed Phil Nash 2013-06-06 22:54:42 +01:00
  • e035e2835d tweaks Phil Nash 2013-06-06 18:56:43 +01:00
  • a7e657fd9b Refactored new Session class to make it more friendly for custom client code Phil Nash 2013-06-06 18:51:24 +01:00
  • c1196b6245 Moved all Catch::Main()s into new Session class - renamed them run() - moved cleanUp call into destructor Phil Nash 2013-06-05 18:48:18 +01:00
  • c57ebc84b2 Approved latest changes Phil Nash 2013-06-05 08:20:34 +01:00
  • cb60d130f8 Runner -> RunContext, Runner2 -> Runner and fixed issue with processName Phil Nash 2013-06-05 08:18:52 +01:00
  • 1b47e11387 Added processConfig() method Phil Nash 2013-06-04 22:49:14 +01:00
  • 2ed56c47a6 Removed legacy cli parser Phil Nash 2013-06-04 08:38:40 +01:00
  • aee9b75e37 Now fully switched over to Clara-based command line with modified args Phil Nash 2013-06-04 08:37:28 +01:00
  • 130ec986c7 Start of new docs Phil Nash 2013-06-03 20:03:39 +01:00
  • 4e88ccda56 Start of new docs Phil Nash 2013-06-03 20:03:07 +01:00
  • 0514fe4f38 Got parseCommandLine ready to use new Clara (but not doing so yet) Phil Nash 2013-05-31 18:48:31 +01:00
  • f330fe7ef9 Made generated function name more obvious (for quickly finding in debugger's stack viewer) Phil Nash 2013-05-31 08:11:01 +01:00
  • c9f0f55451 Last changes to ConfigData names (for now) Phil Nash 2013-05-31 08:01:56 +01:00
  • 40e529740c Removed stream name from config Phil Nash 2013-05-29 19:06:25 +01:00
  • 3f184e22e8 ConfigData now looks virtually identical to the Clara test Config Phil Nash 2013-05-29 19:01:06 +01:00
  • 20ddb0055f ConfigData just keeps strings for test names/ specs/ tags (processed in Config actor) Phil Nash 2013-05-29 18:56:29 +01:00
  • c2ca80d9fb Config refactoring: split List enum into three bools Phil Nash 2013-05-29 18:42:46 +01:00
  • 3c3beb57c3 More config refactoring Phil Nash 2013-05-29 18:34:11 +01:00
  • be8fd82f20 Started nudging ConfigData towards new layout Phil Nash 2013-05-29 08:12:57 +01:00
  • f6892bfdf0 Listing is now in terms of interface (and calls to bool functions) Phil Nash 2013-05-29 07:59:01 +01:00
  • 6b8837bd93 Final refactoring to remove direct access to encapsulated ConfigData once in Config Phil Nash 2013-05-28 19:07:29 +01:00
  • 43fe6c6e9e Main() functions deal with raw ConfigData Phil Nash 2013-05-28 18:59:29 +01:00
  • ca9b92f8fa Most of system now uses Ptr<IConfig const> Phil Nash 2013-05-28 18:51:53 +01:00
  • e1459955f1 Refactoring towards interface based config Phil Nash 2013-05-28 18:39:32 +01:00
  • 10fa0593db Moved Clara into its (her?) own file Phil Nash 2013-05-27 10:52:58 +01:00
  • 1e547afe79 Tweaked some option names and added verbosity Phil Nash 2013-05-24 19:23:44 +01:00
  • ab6dd55fcf Clara: formatting and code tweaks Phil Nash 2013-05-23 19:01:10 +01:00
  • b7632659f5 Clara: Usage strings for args Phil Nash 2013-05-21 19:21:24 +01:00
  • ed79d726be Clara: support for positional arguments Phil Nash 2013-05-21 08:15:50 +01:00
  • 30cb460d42 Clara: added test for positional arg Phil Nash 2013-05-20 18:45:33 +01:00
  • 3dde25be7d Clara: support for binary functions Phil Nash 2013-05-20 18:40:51 +01:00
  • d44f2cf40f Added binding to free functions (and renamed hierarchy) Phil Nash 2013-05-20 08:31:12 +01:00
  • d4305377b7 Fixed inconsistency in reporting of _FALSE (negated) expressions Phil Nash 2013-05-17 19:35:33 +01:00
  • 374335fc84 Approved current output Phil Nash 2013-05-17 08:18:42 +01:00
  • 6574f639a3 Refactored CLI tests and converted main one into a scenario Phil Nash 2013-05-17 08:00:57 +01:00
  • 8d1100daa6 Clara: added -r option Phil Nash 2013-05-17 07:43:58 +01:00
  • 8333e644f2 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 Phil Nash 2013-05-16 19:07:50 +01:00
  • 58846c395c Clara: Added support for compact short opts (e.g. -peb) Phil Nash 2013-05-16 08:21:13 +01:00
  • 372a8b018d New CLI parser impl Phil Nash 2013-05-15 19:25:34 +01:00
  • 597ed1f79d handle TEST_CASE_METHOD macro consistently - internally define INTERNAL_CATCH_TEST_CASE_METHOD Phil Nash 2013-05-14 19:31:21 +01:00
  • 31cd3a844e Updated readme to remove reference to the downloads section Phil Nash 2013-05-13 08:24:57 +01:00
  • 0c5626962a test case for infinite loop Phil Nash 2013-05-13 08:20:45 +01:00
  • 11e55161e1 Some refactoring of Clara impl and experimental string based interface Phil Nash 2013-05-07 18:53:14 +01:00
  • e2f93b6507 Clara: Allow space separator, as well as : and = Phil Nash 2013-05-03 08:08:46 +01:00
  • a13ab71cbf Clara: Some renames and changed the addOption interface Phil Nash 2013-05-02 18:41:08 +01:00
  • ed45ceb786 Added support for binding to methods and generating usage strings. Also renamed namespace to Clara Phil Nash 2013-05-01 19:01:48 +01:00
  • 46846a47f3 More CmdLine work - Support for non string values - Support for chaining parsers Phil Nash 2013-04-29 19:26:18 +01:00
  • 26ae11774b First draft of future opt parser lib Phil Nash 2013-04-27 12:26:13 +01:00
  • 7293c9785a header builder script writes to file rather than stdout Phil Nash 2013-04-24 20:19:05 +01:00
  • 8defc71e6d Build 38 Phil Nash 2013-04-24 19:10:02 +01:00
  • 2278451cd2 Refactored scripts to start using a common file Phil Nash 2013-04-24 18:58:57 +01:00
  • 1309da2b55 approved changes relating to no-return functions Phil Nash 2013-04-24 18:51:34 +01:00
  • bf37e6879a Removed use of compiler specific techniques for denoting non-returning functions - use if( Catch::isTrue( true) ) to guard throws instead Phil Nash 2013-04-23 20:52:49 +01:00
  • 2a9d8d9e36 Changed "const X ref"s to "X const ref"s - Brought older code up to current convention (with the help of a Python script) Phil Nash 2013-04-23 18:58:56 +01:00
  • d0d4d93a6b Build 37 - string matchers work with NULLs - removed stray CATCH_CONFIG_SFINAE for GCC 3 Phil Nash 2013-04-23 08:02:48 +01:00
  • 06548a5b61 Fix for #144 - string matchers now work with NULLs Phil Nash 2013-04-23 07:59:56 +01:00
  • c887d1a167 Removed rogue CATCH_CONFIG_SFINAE for GCC 3.x Phil Nash 2013-04-22 22:20:42 +01:00
  • 471eba2c32 Build 36 - incorporation of pull request #154 to allow comparison with nullptr_t - some compiler capability tweaks Phil Nash 2013-04-22 18:55:12 +01:00
  • 4dd3f68dd9 Compiler capabilities clean-up - renamed CATCH_SFINAE -> CATCH_CONFIG_SFINAE - moved variadic macros detection into catch_compiler_capabilities.h Phil Nash 2013-04-22 08:19:17 +01:00
  • dd52044374 Build 35 - non-SFINAE IsStreamInsertable Phil Nash 2013-04-20 23:20:05 +01:00
  • 9fff9e47d3 Complete disable CATCH_SFINAE for now Phil Nash 2013-04-20 23:18:44 +01:00
  • 003960dc90 Returned to older version of IsStreamable - this time based on code from Martin Moene https://gist.github.com/martinmoene/5418947#file-insertionopdetector-cpp Phil Nash 2013-04-20 23:12:17 +01:00
  • 19279250e8 Build 34 includes: - SFINAE version of IsStreamable (where available) - new Text class that replaces LineWrapper (internal) - fix for spurious double exception reporting (#164) Phil Nash 2013-04-20 21:07:32 +01:00
  • 2666c96d4e Fixes issue #164 - Removed spurious (re-)throw when catching unexpected exception Phil Nash 2013-04-20 21:04:32 +01:00
  • b3acf45d70 Fully committed to new Text class. - moved impl into .hpp - replaced last few uses of LineWrapper with Text - removed LineWrapper Phil Nash 2013-04-20 19:36:40 +01:00
  • 97d99852a8 Refactored line wrapping in Text constructor a bit Phil Nash 2013-04-20 18:41:00 +01:00
  • d37a8e8f98 Revert "Refactored line wrapping in Text constructor a bit" Phil Nash 2013-04-20 18:40:10 +01:00
  • e43d4a2028 Refactored line wrapping in Text constructor a bit Phil Nash 2013-04-20 18:37:42 +01:00
  • 54ca219aad Text class is now full replacement for LineWrap Phil Nash 2013-04-20 11:27:28 +01:00
  • 7059c6e1c3 Text class mostly working - tabs not yet working Phil Nash 2013-04-19 19:08:32 +01:00
  • 052dc18c76 Remove SFINAE support for all unknown compilers Phil Nash 2013-04-18 07:40:19 +01:00
  • bd5910ef9f Moved line info in header again Phil Nash 2013-04-17 00:05:25 +01:00
  • 5062d3e92b Added (conditional) SFINAE support. Better streamable detection for toString using SFINAE (falls back to non-SFINAE version without) Phil Nash 2013-04-16 22:55:31 +01:00
  • 243f2d2caf build 33 Phil Nash 2013-04-12 10:43:06 +01:00
  • cd9c72c66f Fixed BrightGreen in ANSI/ Posix case - was yellow :-s Phil Nash 2013-04-09 19:49:58 +01:00
  • 1c03b4a363 Exclude VS2005 from using variadic macros - due to issues raised in https://groups.google.com/forum/?fromgroups=#!topic/catch-forum/VGfNtNXjHXQ Phil Nash 2013-04-09 08:19:04 +01:00
  • 1ece38ed20 Moved legacy_reporter_adapter files back into internal Phil Nash 2013-04-08 21:36:08 +01:00
  • 3bd4241795 Fixed Junit issue with REQUIRE_THROWS - As mentioned by @SebDyn in GitHub issue #5 Phil Nash 2013-04-08 12:05:32 +01:00
  • 8764177c0e build 32 Phil Nash 2013-04-08 11:50:41 +01:00
  • 7af7451f78 LegacyReporterAdapter unbundles INFO messages from assertion to mimic legacy behaviour - Moved LegacyReporterAdapter out into its own file(s) Phil Nash 2013-04-08 11:44:03 +01:00
  • 12c16fff8d Build 31 - new Colour class - Headers are wrapped, with special indentation for given/ when/ then Phil Nash 2013-04-05 20:58:01 +01:00
  • 4746caacaf LineWrapper can indent first line differently to subsequent lines - use this to wrap Given/ When/ Then with indent after the : Phil Nash 2013-04-05 20:55:57 +01:00
  • f186a912d4 Switched TextColour out for Colour - Removed TextColour Phil Nash 2013-04-05 07:59:28 +01:00
  • a3703faa0a First cut of new Colour class (to replace TextColour) Phil Nash 2013-04-05 07:47:36 +01:00
  • 5c7d3d75cc build 30 Phil Nash 2013-04-01 11:27:10 +01:00
  • 2c90533a26 More formatting/ colour tweaks Phil Nash 2013-04-01 11:25:54 +01:00
  • 67e9f01d38 Added some more wrap chars Phil Nash 2013-04-01 10:30:36 +01:00
  • 2a17ef9081 Use SecondaryText code in lists Phil Nash 2013-03-29 21:55:19 +00:00
  • c7e602f3f2 Added SecondaryText colour enum - slightly refactored ConsoleColour as well Phil Nash 2013-03-29 21:39:43 +00:00
  • 9d15d36748 Changed Xcode search paths for easier sharing of projects with Windows Phil Nash 2013-03-29 21:39:02 +00:00
  • 38f7eef6fe build 29 Phil Nash 2013-03-29 13:44:33 +00:00
  • e324d2829d Added -l tags - which lists available tags. - also improved formatting of -l for tests Phil Nash 2013-03-29 11:42:10 +00:00
  • d0df295c25 Added vector resizing example to BDD tests Phil Nash 2013-03-28 22:13:57 +00:00
  • 15fd032608 Use new line wrapper to show test case list, with tags, in columns Phil Nash 2013-03-28 22:13:31 +00:00
  • 9e8abc33e7 Simplified StringWrapper - by changing intoStream to << overload - and removing redundant ctor Phil Nash 2013-03-27 23:36:58 +00:00
  • b052bd729a Refactored string wrapper - to be much more flexible (writes to vector) - fixed a couple of bugs Phil Nash 2013-03-27 19:08:16 +00:00
  • dd26e889b5 Build 28 Phil Nash 2013-03-25 09:25:31 +00:00
  • 016b063ae8 Line numbers changed and test added Phil Nash 2013-03-25 09:25:01 +00:00
  • c563f6b1be Wrap expr results if they contain newlines Phil Nash 2013-03-25 09:24:13 +00:00