Commit Graph

894 Commits

Author SHA1 Message Date
Phil Nash d3c8c9839f Merge pull request #214 from AIM360/weibelt/fix-eol
Fixed crlf issue
2013-11-14 15:28:58 -08:00
Phil Nash f15b74c0d2 Added some more docs 2013-11-14 19:08:19 +00:00
Phil Nash 8d44f2dbb2 build 13 2013-11-13 08:10:45 +00:00
Phil Nash 4f57c8c589 Print warnings if no assertions and not running with -s 2013-11-13 08:07:38 +00:00
Phil Nash 2f086ae255 If no assertions print custom message 2013-11-12 19:06:08 +00:00
Phil Nash ecb9432763 Simplified and tidied test case and tag listing 2013-11-12 18:59:34 +00:00
Phil Nash 5320518dbc Build 12 2013-11-09 07:47:09 +00:00
Phil Nash 11ba377134 Change one more in-page link to work with GitHub generated anchors 2013-11-09 07:43:20 +00:00
Phil Nash d17bb40030 Converted all html anchors in command line docs to match github generated anchors 2013-11-07 13:38:48 +00:00
Phil Nash 6916298c22 Attempt to match html anchors (which github strips out) with the ones github generates. 2013-11-07 13:30:39 +00:00
Tobias Weibel 2e4be2125b Fixed crlf issue 2013-11-07 13:05:29 +01:00
Phil Nash 0712bbb251 Merge pull request #207 from Fraser999/list_tests_issue
List tests issue
2013-11-07 03:11:19 -08:00
Phil Nash c2b0c6fb08 Added missing #include for <vector> 2013-11-07 10:35:59 +00:00
Phil Nash 0d4894e4bf Updated command line docs with -w and -d 2013-11-07 10:35:40 +00:00
Fraser Hutchison 69a3f161f9 Added CTest targets to perform basic test of --list-tests and --list-tags options. 2013-10-24 02:57:46 +01:00
Fraser Hutchison 6253386458 Fixes overflow issue when listing tests. 2013-10-24 02:53:13 +01:00
Phil Nash 93a945cee9 Fixed uninitialised members in Context object 2013-10-23 15:35:07 +01:00
Phil Nash 2b644b5128 Updated travis URL 2013-10-21 20:55:01 +01:00
Phil Nash a2bff4877e Merge branch 'master' of git://github.com/AIM360/Catch 2013-10-21 08:43:40 +01:00
Phil Nash cb7b4ecbdc Updated VS2010 project 2013-10-21 08:31:17 +01:00
Phil Nash d0e7b628b7 Fixed typo 2013-10-18 17:50:22 +01:00
Phil Nash faafa249ad Git Attributes, with control for line-endings 2013-10-18 07:53:05 +01:00
Phil Nash f4959e7699 First commit of docs for contributors 2013-10-18 07:52:38 +01:00
Phil Nash bdb718471f Fixed typo 2013-10-17 22:45:37 +01:00
Phil Nash 380f98ed1f Regenerated single include 2013-10-17 22:45:21 +01:00
Phil Nash 39ef46a02e Truncate excessively long messages rather than asserting 2013-10-17 18:02:38 +01:00
Phil Nash aafed303bb Added an extra tag test 2013-10-17 18:02:09 +01:00
Phil Nash 34266b6e0f more doc formatting fixes 2013-10-02 08:17:46 +01:00
Phil Nash 0b097c26b6 Fix wrapping width when listing tests
- addresses #201
2013-10-02 08:07:52 +01:00
Phil Nash b9c6d30631 minor doc tweaks 2013-10-02 07:58:15 +01:00
Phil Nash 716a3a0285 escaped square brackets 2013-10-02 07:55:01 +01:00
Phil Nash 76ef79a990 Expanded test-cases-and-exceptions docs and added to reference-index 2013-10-01 19:07:09 +01:00
Phil Nash 4ab680a4fb Expanded docs on tests cases and sections (still work-in-progress)
- also touched up some outdated bits in the tutorial
2013-10-01 08:20:08 +01:00
Phil Nash a35ee200da Filter out version number from approval tests 2013-09-30 08:05:14 +01:00
Phil Nash 16c21ee265 No, really trim paths in approval tests down to just filenames 2013-09-30 08:01:10 +01:00
Phil Nash 1e74938538 Trim paths in approval tests down to filenames 2013-09-30 07:39:06 +01:00
Phil Nash 2f7a296897 Split approve file into multiple files 2013-09-27 19:01:14 +01:00
Phil Nash 345a4eab9b Removed outdated Xcode 3 project 2013-09-26 07:30:49 +01:00
Phil Nash b4af9b9620 Merge commit '22ded1f2bb3caf96d90c2f1981ede29d3aeb1c74' 2013-09-25 18:48:53 +01:00
Phil Nash 22ded1f2bb Merge pull request #198 from PureAbstract/vector_to_string
Add allocator support to StringMaker<vector>
2013-09-25 10:43:31 -07:00
Phil Nash 41b27af45b Fix for comma separated tags on the command line
- also added more test for tags
2013-09-25 18:40:07 +01:00
Phil Nash 649cd13c4d Upgraded project for latest Xcode 2013-09-24 07:42:08 +01:00
Phil Nash 358b7b29e1 Eliminate a warning in the latest clang with Xcode 2013-09-24 07:41:18 +01:00
Andy Sawyer 7974e1cb55 updated single-include version 2013-09-21 19:08:23 +01:00
Andy Sawyer d6f23a9a36 catch_tostring : moved defintion of rangeToString
Detail::rangeToString is now defined after the various toString
overloads. This results in them being accessible with rangeToString is
instantiated (in this case, by StringMaker<vector>). This (sort-of)
fixes the problem where contained types are toString'd incorrectly.

Consider:
  std::vector<std::string> v { "abc" };

Before:
  Catch::toString( v ) == "{ abc }"
After:
  Catch::toString( v ) == "{ "abc" }"

(note the extra pair of quotes around the "abc" - these are added by
Catch::toString( std::string ) which is now called by rangeToString)
2013-09-21 18:45:42 +01:00
Andy Sawyer 0dbcf218c3 Add allocator support to StringMaker<vector>
- also extracted out 'rangeToString', in an attempt to make it easier
   to add support for other containers
2013-09-17 22:22:47 +01:00
Phil Nash 1e2f1d1603 Fixes toString forward reference issue:
- as raised in https://github.com/philsquared/Catch/pull/195
2013-09-14 19:58:45 +01:00
Phil Nash f7378eebb6 Fixed string indexing bug 2013-09-07 12:07:38 +01:00
Phil Nash 04a3364b5a Regen single header 2013-08-16 19:09:09 +01:00
Phil Nash 638cf9feb4 Separated out catch_platform.h 2013-08-16 19:08:39 +01:00