Commit Graph

1079 Commits

Author SHA1 Message Date
Martin Moene 6336bb1b6e Add Readme as documentation entry 2014-08-15 14:12:53 +02:00
Phil Nash ee83a6f006 Merge pull request #301 from bena/master
toString handles wchar_t raw strings
2014-08-15 08:14:08 +01:00
Ben Arnold c7cf0a9f8b Catch's Travis builds are using gcc that doesn't like the auto keyword 2014-08-14 12:53:21 +01:00
Ben Arnold 7b0a84a048 toString handles wchar_t raw strings 2014-08-14 12:28:23 +01:00
Phil Nash 08dc8458c0 Updated docs on slow compiles 2014-07-30 19:06:26 +01:00
Phil Nash 0aae635035 Re-enable warnings disabled for GCC 2014-07-28 07:27:05 +01:00
Fabien Caylus ae76945eaf Hide warnings with GCC 2014-07-27 15:16:10 +02:00
Phil Nash 6880a0c909 Added FAQ on slow compiles to docs 2014-07-21 19:00:02 +01:00
Phil Nash 785db43bb2 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.
2014-07-11 07:45:41 +01:00
Phil Nash ca42b2c585 Manual fix for generation error 2014-07-10 09:18:50 +01:00
Phil Nash 28c2e07879 build 52 2014-07-09 19:22:49 +01:00
Phil Nash 3ff3acf46c Approvals for last change 2014-07-09 19:21:44 +01:00
Phil Nash 76f80a670b More summary formatting tweaks 2014-07-09 19:20:24 +01:00
Phil Nash cab9141eec Green summary bar is darker if not all passed
- and the green part now comes at the end (to emphasise the failures)
2014-07-09 18:24:24 +01:00
Phil Nash d89e74faff Format floats like doubles when printing - but add ‘f’ suffix (a lá #291) 2014-07-09 18:16:40 +01:00
Phil Nash ce56209250 build 51 2014-07-09 07:40:37 +01:00
Phil Nash 23181eeef0 Section no longer relies on copy-elision for correctness
- should address #293
- *may* address #271
2014-07-09 07:39:57 +01:00
Phil Nash a469d9bc0f Made Colour copyable to remove warning 2014-07-09 07:36:12 +01:00
Phil Nash a31f05fe83 Removed C-style casts 2014-07-09 07:35:34 +01:00
Phil Nash 08e5296720 Regenerated single include and baselines 2014-07-03 19:08:44 +01:00
Phil Nash 94a1acf766 More tweaks to summary format 2014-07-03 19:06:59 +01:00
Phil Nash 52e1e7414a build 50 2014-07-03 08:11:38 +01:00
Phil Nash 9c1f9a8f9a Added [!mayfail] tag to indicate test case that can fail without failing the suite.
Overhauled the summary report (including the expected failure count)
2014-07-03 08:09:57 +01:00
Phil Nash 05e42cb65c Merge branch 'master' of github.com:philsquared/Catch
# By Alex Moreno
# Via Alex Moreno (1) and Phil Nash (1)
* 'master' of github.com:philsquared/Catch:
  Fixed typo
2014-06-30 07:53:37 +01:00
Phil Nash d657b1ba52 Removed use of variadic form of SUCCEED from tests
- as per #284
2014-06-30 07:53:11 +01:00
Phil Nash acbb7b73c0 Merge pull request #287 from amorenoc/master
Fixed typo
2014-06-30 07:50:16 +01:00
Phil Nash acdd3b5745 Build 49
- _THROWS fix
- tag aliases
2014-06-30 07:35:36 +01:00
Phil Nash 061861d940 Approved tag alias tests 2014-06-30 07:34:27 +01:00
Phil Nash 1d210ebd37 Tag aliases feature 2014-06-30 07:33:17 +01:00
Phil Nash 006aafd982 Some clean-ups for string handling in Objective-C 2014-06-20 18:05:31 +01:00
Alex Moreno c6022381f5 Fixed typo 2014-06-11 15:17:17 +08:00
Phil Nash f4f4fec5f0 Merge branch 'master' of github.com:philsquared/Catch
# By Zhihao Yuan
# Via Phil Nash (1) and Zhihao Yuan (1)
* 'master' of github.com:philsquared/Catch:
  fix macro syntax in doc
2014-06-05 18:11:54 +01:00
Phil Nash 11cf45bc41 Fixed regression with -e 2014-06-05 18:11:31 +01:00
Phil Nash 44aa45cc4f Merge pull request #283 from lichray/patch-1
fix macro syntax in doc
2014-06-02 08:02:03 +01:00
Phil Nash ab03668c55 build 48
- big assertion capture refactoring
2014-06-02 07:48:03 +01:00
Phil Nash b198856f79 Fixed single header generator for generating no-impl header 2014-06-02 07:47:24 +01:00
Phil Nash 7f1156d477 Fixed typo 2014-05-29 17:10:38 +01:00
Phil Nash 2226ec2829 Merge branch 'master' of github.com:philsquared/Catch
# By Joseph Schrag
# Via Joseph Schrag (1) and Phil Nash (1)
* 'master' of github.com:philsquared/Catch:
  Fixed Typo
2014-05-29 17:10:25 +01:00
Phil Nash be9fe76101 Renamed ShouldNegate to FalseTest 2014-05-29 08:00:20 +01:00
Phil Nash 10801c2876 Folded ExpressionResultBuilder into ResultBuilder
(even more SRP violations!)
2014-05-29 07:50:19 +01:00
Zhihao Yuan a9cd3a0ef8 fix macro syntax in doc 2014-05-28 18:27:34 -04:00
Phil Nash 9438a03d5b Big assertion capture refactoring.
- moved as much logic out of the macros as possible
- moved most logic into new ResultBuilder class, which wraps ExpressionResultBuilder (may take it over next), subsumes ResultAction and also takes place of ExpressionDecomposer.

This introduces many SRP violations - but all in the name of minimising macro logic!
2014-05-28 18:53:01 +01:00
Phil Nash 14796814b8 Approved new test case 2014-05-23 18:55:05 +01:00
Phil Nash 7cbf74061b Tweaked rawMemoryToString() along lines of suggestion in #281 2014-05-23 18:41:02 +01:00
Phil Nash 338534491a Merge pull request #282 from jlschrag/patch-1
Fixed Typo
2014-05-23 06:42:08 +01:00
Joseph Schrag d8bde3e847 Fixed Typo 2014-05-22 16:13:42 -06:00
Phil Nash 48fac9cf01 build 47 2014-05-20 19:02:37 +01:00
Phil Nash d12c00666a Make TagInfo non-local 2014-05-20 19:02:10 +01:00
Phil Nash 9241e436f9 Build 46
- Fixes some test spec parser issues and some warnings (compiler and analysers)
2014-05-20 18:50:59 +01:00
Phil Nash 5daa22dcc3 Fixed dereferenced null issue 2014-05-20 18:49:28 +01:00