File catch_amalgamated.hpp
↰ Parent directory (include
)
Definition (include/catch_amalgamated.hpp
)
Detailed Description
This is a convenience header for Catch2. It includes all of Catch2 headers.
Generally the Catch2 users should use specific includes they need, but this header can be used instead for ease-of-experimentation, or just plain convenience, at the cost of (significantly) increased compilation times.
When a new header is added to either the top level folder, or to the corresponding internal subfolder, it should be added here. Headers added to the various subparts (e.g. matchers, generators, etc…), should go their respective catch-all headers.
This is a convenience header for Catch2’s benchmarking. It includes all of Catch2 headers related to benchmarking.
Generally the Catch2 users should use specific includes they need, but this header can be used instead for ease-of-experimentation, or just plain convenience, at the cost of (significantly) increased compilation times.
When a new header is added to either the benchmark
folder, or to the corresponding internal (detail) subfolder, it should be added here.
Wrapper for the CONFIG configuration option
When generating internal unique names, there are two options. Either we mix in the current line number, or mix in an incrementing number. We prefer the latter, using __COUNTER__
, but users might want to use the former.
Wrapper for the WCHAR configuration option
We want to support platforms that do not provide wchar_t
, so we sometimes have to disable providing wchar_t overloads through Catch2, e.g. the StringMaker specialization for std::wstring
.
Wrapper for the STATIC_ANALYSIS_SUPPORT configuration option
Some of Catch2’s macros can be defined differently to work better with static analysis tools, like clang-tidy or coverity. Currently the main use case is to show that SECTION``s are executed exclusively, and not all in one run of a ``TEST_CASE
.
This is a convenience header for Catch2’s Generator support. It includes all of Catch2 headers related to generators.
Generally the Catch2 users should use specific includes they need, but this header can be used instead for ease-of-experimentation, or just plain convenience, at the cost of (significantly) increased compilation times.
When a new header is added to either the generators
folder, or to the corresponding internal subfolder, it should be added here.
This is a convenience header for Catch2’s interfaces. It includes all of Catch2 headers related to interfaces.
Generally the Catch2 users should use specific includes they need, but this header can be used instead for ease-of-experimentation, or just plain convenience, at the cost of somewhat increased compilation times.
When a new header is added to either the interfaces
folder, or to the corresponding internal subfolder, it should be added here.
Wrapper for ANDROID_LOGWRITE configuration option
We want to default to enabling it when compiled for android, but users of the library should also be able to disable it if they want to.
Wrapper for UNCAUGHT_EXCEPTIONS configuration option
For some functionality, Catch2 requires to know whether there is an active exception. Because std::uncaught_exception
is deprecated in C++17, we want to use std::uncaught_exceptions
if possible.
This is a convenience header for Catch2’s Matcher support. It includes all of Catch2 headers related to matchers.
Generally the Catch2 users should use specific includes they need, but this header can be used instead for ease-of-experimentation, or just plain convenience, at the cost of increased compilation times.
When a new header is added to either the matchers
folder, or to the corresponding internal subfolder, it should be added here.
This is a convenience header for Catch2’s Reporter support. It includes all of Catch2 headers related to reporters, including all reporters.
Generally the Catch2 users should use specific includes they need, but this header can be used instead for ease-of-experimentation, or just plain convenience, at the cost of (significantly) increased compilation times.
When a new header (reporter) is added to either the reporter
folder, or to the corresponding internal subfolder, it should be added here.
Includes
algorithm
array
cassert
chrono
cmath
cstddef
cstdint
cstdio
cstring
ctime
exception
functional
initializer_list
iosfwd
iterator
limits
map
memory
ostream
random
ratio
set
sstream
string
tuple
type_traits
utility
vector
Included By
Namespaces
Classes
Template Struct UnaryLambdaTraits< ReturnT(ClassT::*)(Args…) const >
Template Struct UnaryLambdaTraits< ReturnT(ClassT::*)(ArgT) const >
Template Struct has_description< T, void_t< decltype(T::getDescription()) > >
Template Struct is_range_impl< T, void_t< decltype(begin(std::declval< T >, ())) > >
Template Struct StringMaker< std::chrono::duration< Value, Ratio > >
Template Struct StringMaker< std::chrono::duration< Value, std::ratio< 1 > > >
Template Struct StringMaker< std::chrono::duration< Value, std::ratio< 3600 > > >
Template Struct StringMaker< std::chrono::duration< Value, std::ratio< 60 > > >
Template Struct StringMaker< std::chrono::time_point< Clock, Duration > >
Template Struct StringMaker< std::chrono::time_point< std::chrono::system_clock, Duration > >
Template Class ExceptionTranslatorRegistrar::ExceptionTranslator
Enums
Functions
Template Function Catch::Benchmark::Detail::estimate_clock_cost
Template Function Catch::Benchmark::Detail::estimate_clock_resolution
Template Function Catch::Benchmark::Detail::measure_environment
Template Function Catch::Benchmark::Detail::measure_one(Fun&&, int, std::false_type)
Template Function Catch::Benchmark::Detail::measure_one(Fun&&, int, std::true_type)
Template Function Catch::Benchmark::Detail::run_for_at_least
Function Catch::Benchmark::Detail::throw_optimized_away_error
Function Catch::Benchmark::Detail::weighted_average_quantile
Template Function Catch::Clara::Detail::convertInto(std::string const&, T&)
Function Catch::Clara::Detail::convertInto(std::string const&, std::string&)
Function Catch::Clara::Detail::convertInto(std::string const&, bool&)
Template Function Catch::Detail::convertUnstreamable(T const&)
Template Function Catch::Detail::convertUnstreamable(T const&)
Template Function Catch::Detail::convertUnstreamable(T const&)
Template Function Catch::Detail::empty(std::initializer_list<T>)
Function Catch::Detail::rawMemoryToString(const void *, std::size_t)
Template Function Catch::Detail::rawMemoryToString(const T&)
Template Function Catch::Detail::sentinel_distance(ForwardIter, const Sentinel)
Template Function Catch::Detail::sentinel_distance(ForwardIter, ForwardIter)
Function Catch::endsWith(std::string const&, std::string const&)
Function Catch::Generators::Detail::throw_generator_exception
Template Function Catch::Generators::from_range(InputIterator, InputSentinel)
Template Function Catch::Generators::from_range(Container const&)
Template Function Catch::Generators::makeGenerators(GeneratorWrapper<T>&&, Gs&&…)
Template Function Catch::Generators::makeGenerators(GeneratorWrapper<T>&&)
Template Function Catch::Generators::makeGenerators(T&&, Gs&&…)
Template Function Catch::Generators::makeGenerators(as<T>, U&&, Gs&&…)
Template Function Catch::Generators::range(T const&, T const&, T const&)
Template Function Catch::Generators::range(T const&, T const&)
Function Catch::handleExceptionMatchExpr(AssertionHandler&, std::string const&)
Function Catch::handleExceptionMatchExpr(AssertionHandler&, StringMatcher const&)
Template Function Catch::Matchers::Contains(T&&, Equality&&)
Template Function Catch::Matchers::Contains(std::vector<T, AllocComp> const&)
Template Function Catch::Matchers::Detail::array_cat(std::array<void const *, N>&&, void const *)
Template Function Catch::Matchers::Detail::array_cat(void const *, std::array<void const *, N>&&)
Function Catch::Matchers::Equals(std::string const&, CaseSensitive)
Template Function Catch::Matchers::Equals(std::vector<T, AllocComp> const&)
Template Function Catch::Matchers::operator!(MatcherBase<T> const&)
Template Function Catch::Matchers::operator!(MatcherT const&)
Template Function Catch::Matchers::operator&&(MatcherBase<T> const&, MatcherBase<T> const&)
Template Function Catch::Matchers::operator&&(MatcherLHS const&, MatcherRHS const&)
Template Function Catch::Matchers::operator&&(MatcherLHS const&, MatcherBase<ArgRHS> const&)
Template Function Catch::Matchers::operator&&(MatcherBase<ArgLHS> const&, MatcherRHS const&)
Template Function Catch::Matchers::operator||(MatcherBase<T> const&, MatcherBase<T> const&)
Template Function Catch::Matchers::operator||(MatcherLHS const&, MatcherRHS const&)
Template Function Catch::Matchers::operator||(MatcherLHS const&, MatcherBase<ArgRHS> const&)
Template Function Catch::Matchers::operator||(MatcherBase<ArgLHS> const&, MatcherRHS const&)
Template Function Catch::Matchers::RangeEquals(RangeLike&&, Equality&&)
Template Function Catch::Matchers::UnorderedRangeEquals(RangeLike&&)
Template Function Catch::Matchers::UnorderedRangeEquals(RangeLike&&, Equality&&)
Function Catch::operator|(ResultDisposition::Flags, ResultDisposition::Flags)
Template Function Catch::rangeToString(std::vector<bool, Allocator> const&)
Function Catch::startsWith(std::string const&, std::string const&)
Defines
Typedefs
Variables
Variable Catch::Benchmark::Detail::clock_cost_estimation_iterations
Variable Catch::Benchmark::Detail::clock_cost_estimation_tick_limit
Variable Catch::Benchmark::Detail::clock_cost_estimation_time
Variable Catch::Benchmark::Detail::clock_cost_estimation_time_limit
Variable Catch::Benchmark::Detail::clock_resolution_estimation_time