catch2/projects/SelfTest
Martin Hořeňovský f23b6b8b85 Don't sanitize exception type in REQUIRE_THROWS_AS
Effectively a revert of previous commit, fixing #542, where this was
added to stop linters complaining about `REQUIRE_THROWS_AS` used like
`REQUIRE_THROWS_AS(expr, std::exception);`, which would be slicing the
caught exception. Now it is user's responsibility to pass us proper
exception type.

Closes #833 which wanted to add `typename`, so that the construct works
in a template, but that would not work with MSVC and older GCC's, as
having `typename` outside of a template is allowed only from C++11
onward.
2017-03-23 21:11:21 +01:00
..
Baselines Don’t assume first CL arg (exe name) is present 2017-03-13 11:00:58 +00:00
SurrogateCpps Added surrogate cpp for catch_test_case_tracker 2017-01-23 15:18:23 +00:00
ApproxTests.cpp Added tests for using margin with Approx. 2017-02-27 14:15:03 +01:00
BDDTests.cpp Fixed inconsistent and trailing whitespace 2017-01-26 23:13:12 +01:00
ClassTests.cpp Stripped trailing whitespace from all source code lines 2015-11-04 18:04:15 +00:00
CmdLineTests.cpp Added some missing source files (including all SurrogateCpps) to CMake project. 2016-11-09 22:55:32 +00:00
CompilationTests.cpp Don't sanitize exception type in REQUIRE_THROWS_AS 2017-03-23 21:11:21 +01:00
ConditionTests.cpp Removed stray code 2017-02-23 08:11:15 +00:00
EnumToString.cpp Marked tests that use C++11 features with [c++11] tag and exclude them from approval tests 2017-01-09 14:37:28 +00:00
ExceptionTests.cpp Disable C4702 in Exception tests self tests 2017-03-06 10:52:21 +01:00
GeneratorTests.cpp Stripped trailing whitespace from all source code lines 2015-11-04 18:04:15 +00:00
MatchersTests.cpp Added first vector matchers (Contains and Equals) 2017-02-21 16:05:04 +00:00
MessageTests.cpp Added FAIL_CHECK 2017-03-08 15:42:11 +00:00
MiscTests.cpp "Fix" build by annotating the new test as !shouldfail 2017-03-07 10:17:59 +01:00
PartTrackerTests.cpp First cut of -c/—section option for running specific sections 2017-01-23 12:36:03 +00:00
TagAliasTests.cpp Don't introduce Catch::Matchers namespace in macro 2015-11-05 18:10:33 +00:00
TestMain.cpp Don’t assume first CL arg (exe name) is present 2017-03-13 11:00:58 +00:00
ToStringGeneralTests.cpp Change reporting of CAPTURE'd variables 2017-03-03 14:34:50 +01:00
ToStringPair.cpp Some minor tidy-up/ style alignment of recent toString merges 2014-09-04 07:27:09 +01:00
ToStringTuple.cpp Marked tests that use C++11 features with [c++11] tag and exclude them from approval tests 2017-01-09 14:37:28 +00:00
ToStringVector.cpp Excluded two more C++11 tests from Approval tests 2017-01-09 14:37:28 +00:00
ToStringWhich.cpp Don’t include tests that rely on varying two-phase-lookup behaviour in approval tests 2017-01-23 17:47:58 +00:00
TrickyTests.cpp Added missing #include in test file 2017-02-13 17:43:43 +00:00
VariadicMacrosTests.cpp handle TEST_CASE_METHOD macro consistently 2013-05-14 19:31:21 +01:00