dvirtz
|
ca8470fbad
|
https://github.com/catchorg/Catch2/issues/1175 - don't list hidden tests by default
|
2018-02-09 19:55:40 +01:00 |
dvirtz
|
355b3f9952
|
Add option to warn when no tests ran
Closes #1158
|
2018-02-09 18:49:36 +01:00 |
Martin Hořeňovský
|
7cbd0b587a
|
v2.1.2
|
2018-02-09 17:10:27 +01:00 |
Martin Hořeňovský
|
8f3fc15b73
|
Update version of Clara
Fixes #1165
|
2018-02-09 16:50:19 +01:00 |
Martin Hořeňovský
|
1b2fa601c6
|
Remove superfluous comment
|
2018-02-08 13:09:02 +01:00 |
Martin Hořeňovský
|
ba6d33fb8c
|
Enable -Wpedantic, fix unconditional use of C++14 extension
|
2018-02-05 10:04:59 +01:00 |
Zachary Michaels
|
4be81d3588
|
Remove unnecessary semicolons
|
2018-02-05 10:03:51 +01:00 |
Josh Lospinoso
|
5201e92564
|
Redirect std::uncaught_exception to Catch::uncaught_exception
This means that only one place needs to work with warnings from
the deprecation of `std::uncaught_exception()` in C++17.
Closes #1162.
|
2018-02-02 15:36:15 +01:00 |
philsquared
|
5713381d06
|
Fixes for cygwin
|
2018-02-01 16:14:20 +00:00 |
Martin Hořeňovský
|
1ab6be30a2
|
Add a BrightYellow colour, also use it for reconstructed exprs
Closes #979
|
2018-02-01 14:58:33 +00:00 |
Martin Hořeňovský
|
126850e76b
|
Prefer operator<< to range-based stringification
Fixes #1172
|
2018-02-01 14:07:23 +01:00 |
Martin Hořeňovský
|
44dbda9f01
|
Add CATCH_VERSION_* defines for external use
I wonder how much use they will actually see, but their cost is
fairly minor.
Closes #1131
|
2018-01-26 20:56:14 +01:00 |
Phil Nash
|
ca2455e6e6
|
Fixed NoAssertions warning
|
2018-01-26 16:52:28 +00:00 |
Martin Hořeňovský
|
62dae592c3
|
v2.1.1
|
2018-01-26 16:06:07 +01:00 |
Martin Hořeňovský
|
a1aefce6e4
|
Guard against CLR exceptions when translating exceptions
Partially fixes #1138, need to decide what to do about structured
exceptions.
|
2018-01-24 12:11:29 +01:00 |
Phil Nash
|
31e6499e64
|
Embed Clara v1.1.1
|
2018-01-22 15:08:28 +00:00 |
Martin Hořeňovský
|
8d854c689b
|
Provide useful and unambigous stringification for static arrays
|
2018-01-14 18:06:43 +01:00 |
Martin Hořeňovský
|
de36b2ada6
|
Fix compilation for types where relops don't return bool
Closes #1147
|
2018-01-12 15:49:56 +01:00 |
Martin Hořeňovský
|
4575594bbf
|
Comment why the return code is clamped
|
2018-01-12 11:49:48 +01:00 |
Martin Hořeňovský
|
cd76f5730c
|
v2.1.0
|
2018-01-10 13:53:04 +01:00 |
Phil Nash
|
421ab16062
|
Exclude string-literal arrays from automatic range serialisation
These have specialised serialisers already anyway, and were causing ambiguities in VS 2015 & 2017
|
2018-01-08 15:15:44 +00:00 |
Phil Nash
|
32eb90b9bd
|
Fix stringifying of unknown enums
|
2018-01-04 10:21:52 +00:00 |
Phil Nash
|
702cfdaf6e
|
Added special handling for vector<bool> when stringifying
|
2018-01-04 10:05:02 +00:00 |
Phil Nash
|
af3f2499bc
|
Added generic container detection in StringMaker.
Removed vector specialisation as this is now covered generically - as are any containers that can be called via (freestanding) begin/ end
|
2018-01-04 09:30:06 +00:00 |
Martin Hořeňovský
|
f466d9a1ed
|
Fix a7a9ee5
|
2017-12-09 20:49:06 +01:00 |
Martin Hořeňovský
|
a7a9ee5552
|
Manual cherry-pick from #1111
This hsould merge still-valid piece of #1111 into master.
|
2017-12-09 20:17:47 +01:00 |
Phil Nash
|
347be87126
|
Removed debug code accidentally left in previous commit
|
2017-12-08 16:30:16 +00:00 |
Phil Nash
|
4da655c1b0
|
Increased int size for timers to avoid truncations
|
2017-12-08 15:59:00 +00:00 |
Martin Hořeňovský
|
c4d1aa9033
|
Fix std::uncaught_exception deprecation warning in ~ScopedMessage
Closes #1124
|
2017-12-07 19:10:28 +01:00 |
Martin Hořeňovský
|
495d2458e0
|
Add UnorderedEqualsMatcher for vectors
Closes #1093
|
2017-12-07 19:05:00 +01:00 |
Phil Nash
|
3035120dc7
|
Some bits of tidy up
|
2017-12-07 00:02:32 +00:00 |
Martin Hořeňovský
|
0c122c135d
|
Add constructor arg checking to WithinAbsMatcher
Also tests :-)
|
2017-12-06 15:42:03 +01:00 |
Phil Nash
|
d19b7292b3
|
xml reporter reports WARN message when not used with -s
|
2017-12-06 14:30:17 +00:00 |
Phil Nash
|
5e063616df
|
Moved runner helpers into Catch namespace
not sure they weren't there to start with
|
2017-12-05 23:26:21 +00:00 |
Phil Nash
|
aa9d635014
|
Refactored StreamRedirect classes
|
2017-12-05 23:19:28 +00:00 |
Phil Nash
|
533cdc6bc1
|
Revirtualised IResultCapture methods
Didn't really impact runtime anyway, but will need to use interface for threading support.
|
2017-12-05 16:23:10 +00:00 |
Phil Nash
|
dfa817ae73
|
Just track whether last assertion passed directly, rather than deduce it from counts
|
2017-12-02 18:44:23 +00:00 |
Phil Nash
|
57c346a46d
|
Removed assertionRun() and rolled its logic into assertionPassed() and assertionEnded()
|
2017-12-02 18:44:23 +00:00 |
Phil Nash
|
b76e80ed3d
|
Small clean-ups
|
2017-11-30 17:54:44 +03:00 |
Martin Hořeňovský
|
a3632facf3
|
Fix teamcity reporter compilation with single header
|
2017-11-30 13:48:24 +01:00 |
Phil Nash
|
7d0db6b8e9
|
Moved -Wparentheses suppression before the push for GCC
Because of bugs in GCC 4 & 5 that prevent _Pragma from working :-(
|
2017-11-29 20:19:50 +03:00 |
Phil Nash
|
8a7493cd88
|
Globally suppress Wunused-variable again, for now
|
2017-11-29 20:01:00 +03:00 |
Phil Nash
|
b5a5d9a6f8
|
Stop leaking some warning suppressions to user code
|
2017-11-29 19:14:33 +03:00 |
Phil Nash
|
e3941a9ad2
|
De-virtualised isBinaryExpression() and getResult() on ITransientExpression
|
2017-11-27 22:49:26 +03:00 |
Phil Nash
|
da86ddc620
|
Fixed accidental const & formating
|
2017-11-27 22:28:45 +03:00 |
Phil Nash
|
4b614ee1d1
|
Moved all AssertionHandler logic into RunContext and de-virtualised interface
This makes the assertion handling much less "chatty". AssertionHandler is now just a thin shim over RunContext
|
2017-11-27 22:23:15 +03:00 |
Phil Nash
|
5461242ffe
|
Renamed last usge specific handle method (and made the low level ones private)
|
2017-11-27 22:23:15 +03:00 |
Phil Nash
|
db44964e27
|
Refactored most handle() calls to more specific/ descriptive calls
|
2017-11-26 21:28:43 +00:00 |
Phil Nash
|
2800adba25
|
Qualified handleExceptionMatchExpr in Catch::
(was picking it up by ADL before - no need to rely on that!)
|
2017-11-26 21:28:43 +00:00 |
Phil Nash
|
c411c131cb
|
Move crtdbg.h include outside namespace
|
2017-11-24 10:36:54 +00:00 |