catch2/tests/SelfTest/UsageTests
Martin Hořeňovský 1d1ccf8f3c
Replace all uses of std::unique_ptr with Catch::Detail::unique_ptr
Doing some benchmarking with ClangBuildAnalyzer suggests that
compiling Catch2's `SelfTest` spends 10% of the time instantiating
`std::unique_ptr` for some interface types required for registering
and running tests.

The lesser compilation overhead of `Catch::Detail::unique_ptr` should
significantly reduce that time.

The compiled implementation was also changed to use the custom impl,
to avoid having to convert between using `std::unique_ptr` and
`Catch::Detail::unique_ptr`. This will likely also improve the compile
times of the implementation, but that is less important than improving
compilation times of the user's TUs with tests.
2020-05-31 15:20:24 +02:00
..
Approx.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
BDD.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
Benchmark.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
Class.tests.cpp Split TEMPLATE_TEST* macros into their own set of files 2020-04-26 16:25:43 +02:00
Compilation.tests.cpp Remove duplicated test for #1027 2020-05-03 09:58:46 +02:00
Condition.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
Decomposition.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
EnumToString.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
Exception.tests.cpp Translate exceptions by const reference instead of plain ref 2020-05-20 08:15:27 +02:00
Generators.tests.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
Matchers.tests.cpp Explicitly default smfs when relevant to avoid Wdeprecated-copy-dtor 2020-05-12 23:56:34 +02:00
MatchersRanges.tests.cpp Add IsEmpty and SizeIs matchers for ranges/containers 2020-03-27 10:24:08 +01:00
Message.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
Misc.tests.cpp Replace all uses of std::unique_ptr with Catch::Detail::unique_ptr 2020-05-31 15:20:24 +02:00
ToStringByte.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringChrono.tests.cpp Unconditionally provide <chrono> StringMakers 2020-02-03 20:53:36 +01:00
ToStringGeneral.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringOptional.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringPair.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringTuple.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringVariant.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00
ToStringVector.tests.cpp Remove catch.hpp 2020-03-29 21:32:13 +02:00
ToStringWhich.tests.cpp Remove testing of CATCH_CONFIG_FALLBACK_STRINGIFIER from SelfTest 2020-01-21 15:14:24 +01:00
Tricky.tests.cpp stdio.h replaced with cstdio. 2020-02-16 16:05:30 +01:00
VariadicMacros.tests.cpp Start using piecemeal includes in test files 2020-01-21 10:03:54 +01:00