Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
Catch Namespace Reference

Namespaces

 Detail
 
 Generators
 
 literals
 
 Matchers
 

Classes

struct  always_false
 
class  AssertionHandler
 
struct  AssertionInfo
 
struct  AssertionReaction
 
struct  AutoReg
 
class  BinaryExpr
 
class  Capturer
 
struct  CaseSensitive
 
struct  Counts
 
struct  Decomposer
 
class  ExceptionTranslatorRegistrar
 
class  ExprLhs
 
class  GeneratorException
 
struct  IConfig
 
struct  IContext
 
struct  IExceptionTranslator
 
struct  IExceptionTranslatorRegistry
 
struct  IGeneratorTracker
 
struct  IMutableContext
 
struct  IMutableEnumValuesRegistry
 
struct  IMutableRegistryHub
 
struct  IRegistryHub
 
struct  IResultCapture
 
struct  IRunner
 
struct  is_callable
 
struct  is_callable< Fun(Args...)>
 
struct  is_callable_tester
 
struct  is_range
 
struct  IStream
 
struct  ITestCaseRegistry
 
struct  ITestInvoker
 
struct  ITransientExpression
 
class  LazyExpression
 
class  MatchExpr
 
struct  MessageBuilder
 
struct  MessageInfo
 
struct  MessageStream
 
struct  NameAndTags
 
class  NonCopyable
 
struct  not_this_one
 
class  Option
 
struct  pluralise
 
struct  RegistrarForTagAliases
 
struct  ResultDisposition
 
struct  ResultWas
 
class  ReusableStringStream
 
struct  RunTests
 
class  ScopedMessage
 
class  Section
 
struct  SectionEndInfo
 
struct  SectionInfo
 
struct  ShowDurations
 
class  SimplePcg32
 
struct  SourceLineInfo
 
struct  StreamEndStop
 
struct  StringMaker
 
struct  StringMaker< bool >
 
struct  StringMaker< Catch::Detail::Approx >
 
struct  StringMaker< char * >
 
struct  StringMaker< char >
 
struct  StringMaker< char const * >
 
struct  StringMaker< char[SZ]>
 
struct  StringMaker< double >
 
struct  StringMaker< float >
 
struct  StringMaker< int >
 
struct  StringMaker< long >
 
struct  StringMaker< long long >
 
struct  StringMaker< R C::* >
 
struct  StringMaker< R, typename std::enable_if< is_range< R >::value &&!::Catch::Detail::IsStreamInsertable< R >::value >::type >
 
struct  StringMaker< signed char >
 
struct  StringMaker< signed char[SZ]>
 
struct  StringMaker< std::nullptr_t >
 
struct  StringMaker< std::string >
 
struct  StringMaker< std::wstring >
 
struct  StringMaker< T * >
 
struct  StringMaker< T[SZ]>
 
struct  StringMaker< unsigned char >
 
struct  StringMaker< unsigned char[SZ]>
 
struct  StringMaker< unsigned int >
 
struct  StringMaker< unsigned long >
 
struct  StringMaker< unsigned long long >
 
struct  StringMaker< wchar_t * >
 
struct  StringMaker< wchar_t const * >
 
class  StringRef
 
class  TestCase
 
struct  TestCaseInfo
 
struct  TestFailureException
 
class  TestInvokerAsMethod
 
class  Timer
 
struct  Totals
 
struct  true_given
 
class  UnaryExpr
 
struct  UseColour
 
struct  WaitForKeypress
 
struct  WarnAbout
 

Typedefs

using exceptionTranslateFunction) = std::string(*)(
 
using ExceptionTranslators = std::vector< std::unique_ptr< IExceptionTranslator const >>
 
template<typename Func , typename U >
using FunctionReturnType = typename std::remove_reference< typename std::remove_cv< typename std::result_of< Func(U)>::type >::type >::type
 
using IConfigPtr = std::shared_ptr< IConfig const >
 
using IReporterFactoryPtr = std::shared_ptr< IReporterFactory >
 
using StringMatcher = Matchers::Impl::MatcherBase< std::string >
 

Enumerations

enum  Verbosity { Verbosity::Quiet = 0, Verbosity::Normal, Verbosity::High }
 

Functions

std::ostream & cerr ()
 
void cleanUp ()
 
void cleanUpContext ()
 
std::ostream & clog ()
 
template<typename LhsT , typename RhsT >
auto compareEqual (LhsT const &lhs, RhsT const &rhs) -> bool
 
template<typename T >
auto compareEqual (T *const &lhs, int rhs) -> bool
 
template<typename T >
auto compareEqual (T *const &lhs, long rhs) -> bool
 
template<typename T >
auto compareEqual (int lhs, T *const &rhs) -> bool
 
template<typename T >
auto compareEqual (long lhs, T *const &rhs) -> bool
 
template<typename LhsT , typename RhsT >
auto compareNotEqual (LhsT const &lhs, RhsT &&rhs) -> bool
 
template<typename T >
auto compareNotEqual (T *const &lhs, int rhs) -> bool
 
template<typename T >
auto compareNotEqual (T *const &lhs, long rhs) -> bool
 
template<typename T >
auto compareNotEqual (int lhs, T *const &rhs) -> bool
 
template<typename T >
auto compareNotEqual (long lhs, T *const &rhs) -> bool
 
bool contains (std::string const &s, std::string const &infix)
 
std::ostream & cout ()
 
bool endsWith (std::string const &s, std::string const &suffix)
 
bool endsWith (std::string const &s, char suffix)
 
std::vector< TestCasefilterTests (std::vector< TestCase > const &testCases, TestSpec const &testSpec, IConfig const &config)
 
void formatReconstructedExpression (std::ostream &os, std::string const &lhs, StringRef op, std::string const &rhs)
 
std::vector< TestCase > const & getAllTestCasesSorted (IConfig const &config)
 
IContextgetCurrentContext ()
 
IMutableContextgetCurrentMutableContext ()
 
auto getCurrentNanosecondsSinceEpoch () -> uint64_t
 
auto getEstimatedClockResolution () -> uint64_t
 
IMutableRegistryHubgetMutableRegistryHub ()
 
IRegistryHub const & getRegistryHub ()
 
IResultCapturegetResultCapture ()
 
void handleExceptionMatchExpr (AssertionHandler &handler, std::string const &str, StringRef const &matcherString)
 
void handleExceptionMatchExpr (AssertionHandler &handler, StringMatcher const &matcher, StringRef const &matcherString)
 
void handleExpression (ITransientExpression const &expr)
 
template<typename T >
void handleExpression (ExprLhs< T > const &expr)
 
bool isFalseTest (int flags)
 
bool isJustInfo (int flags)
 
bool isOk (ResultWas::OfType resultType)
 
bool isThrowSafe (TestCase const &testCase, IConfig const &config)
 
template<typename ArgT , typename MatcherT >
auto makeMatchExpr (ArgT const &arg, MatcherT const &matcher, StringRef const &matcherString) -> MatchExpr< ArgT, MatcherT >
 
auto makeStream (StringRef const &filename) -> IStream const *
 
TestCase makeTestCase (ITestInvoker *testCase, std::string const &className, NameAndTags const &nameAndTags, SourceLineInfo const &lineInfo)
 
auto makeTestInvoker (void(*testAsFunction)()) noexcept-> ITestInvoker *
 
template<typename C >
auto makeTestInvoker (void(C::*testAsMethod)()) noexcept-> ITestInvoker *
 
bool matchTest (TestCase const &testCase, TestSpec const &testSpec, IConfig const &config)
 
constexpr auto operator""_sr (char const *rawChars, std::size_t size) noexcept-> StringRef
 
template<typename T >
T const & operator+ (T const &value, StreamEndStop)
 
auto operator+= (std::string &lhs, StringRef const &sr) -> std::string &
 
std::ostream & operator<< (std::ostream &os, SourceLineInfo const &info)
 
auto operator<< (std::ostream &os, StringRef const &sr) -> std::ostream &
 
ResultDisposition::Flags operator| (ResultDisposition::Flags lhs, ResultDisposition::Flags rhs)
 
template<typename Range >
std::string rangeToString (Range const &range)
 
template<typename Allocator >
std::string rangeToString (std::vector< bool, Allocator > const &v)
 
bool replaceInPlace (std::string &str, std::string const &replaceThis, std::string const &withThis)
 
SimplePcg32rng ()
 
unsigned int rngSeed ()
 
bool shouldContinueOnFailure (int flags)
 
bool shouldSuppressFailure (int flags)
 
std::vector< StringRefsplitStringRef (StringRef str, char delimiter)
 
bool startsWith (std::string const &s, std::string const &prefix)
 
bool startsWith (std::string const &s, char prefix)
 
void throw_domain_error (std::string const &msg)
 
void throw_exception (std::exception const &e)
 
void throw_logic_error (std::string const &msg)
 
void throw_runtime_error (std::string const &msg)
 
std::string toLower (std::string const &s)
 
void toLowerInPlace (std::string &s)
 
std::string translateActiveException ()
 
std::string trim (std::string const &str)
 Returns a new string without whitespace at the start/end. More...
 
StringRef trim (StringRef ref)
 Returns a substring of the original ref without whitespace. Beware lifetimes! More...
 

Variables

not_this_one begin (...)
 
not_this_one end (...)
 

Typedef Documentation

using Catch::exceptionTranslateFunction = typedef std::string(*)(

Definition at line 3002 of file catch.hpp.

using Catch::ExceptionTranslators = typedef std::vector<std::unique_ptr<IExceptionTranslator const>>

Definition at line 3005 of file catch.hpp.

template<typename Func , typename U >
using Catch::FunctionReturnType = typedef typename std::remove_reference<typename std::remove_cv<typename std::result_of<Func(U)>::type>::type>::type

Definition at line 953 of file catch.hpp.

typedef std::shared_ptr< IConfig const > Catch::IConfigPtr

Definition at line 4344 of file catch.hpp.

using Catch::IReporterFactoryPtr = typedef std::shared_ptr<IReporterFactory>

Definition at line 2960 of file catch.hpp.

Definition at line 3791 of file catch.hpp.

Enumeration Type Documentation

enum Catch::Verbosity
strong
Enumerator
Quiet 
Normal 
High 

Definition at line 4464 of file catch.hpp.

Function Documentation

std::ostream& Catch::cerr ( )
void Catch::cleanUp ( )
void Catch::cleanUpContext ( )
std::ostream& Catch::clog ( )
template<typename LhsT , typename RhsT >
auto Catch::compareEqual ( LhsT const &  lhs,
RhsT const &  rhs 
) -> bool

Definition at line 2313 of file catch.hpp.

template<typename T >
auto Catch::compareEqual ( T *const &  lhs,
int  rhs 
) -> bool

Definition at line 2315 of file catch.hpp.

template<typename T >
auto Catch::compareEqual ( T *const &  lhs,
long  rhs 
) -> bool

Definition at line 2317 of file catch.hpp.

template<typename T >
auto Catch::compareEqual ( int  lhs,
T *const &  rhs 
) -> bool

Definition at line 2319 of file catch.hpp.

template<typename T >
auto Catch::compareEqual ( long  lhs,
T *const &  rhs 
) -> bool

Definition at line 2321 of file catch.hpp.

template<typename LhsT , typename RhsT >
auto Catch::compareNotEqual ( LhsT const &  lhs,
RhsT &&  rhs 
) -> bool

Definition at line 2324 of file catch.hpp.

template<typename T >
auto Catch::compareNotEqual ( T *const &  lhs,
int  rhs 
) -> bool

Definition at line 2326 of file catch.hpp.

template<typename T >
auto Catch::compareNotEqual ( T *const &  lhs,
long  rhs 
) -> bool

Definition at line 2328 of file catch.hpp.

template<typename T >
auto Catch::compareNotEqual ( int  lhs,
T *const &  rhs 
) -> bool

Definition at line 2330 of file catch.hpp.

template<typename T >
auto Catch::compareNotEqual ( long  lhs,
T *const &  rhs 
) -> bool

Definition at line 2332 of file catch.hpp.

bool Catch::contains ( std::string const &  s,
std::string const &  infix 
)
std::ostream& Catch::cout ( )
bool Catch::endsWith ( std::string const &  s,
std::string const &  suffix 
)
bool Catch::endsWith ( std::string const &  s,
char  suffix 
)
std::vector<TestCase> Catch::filterTests ( std::vector< TestCase > const &  testCases,
TestSpec const &  testSpec,
IConfig const &  config 
)
void Catch::formatReconstructedExpression ( std::ostream &  os,
std::string const &  lhs,
StringRef  op,
std::string const &  rhs 
)
std::vector<TestCase> const& Catch::getAllTestCasesSorted ( IConfig const &  config)
IContext& Catch::getCurrentContext ( )
inline

Definition at line 4377 of file catch.hpp.

IMutableContext& Catch::getCurrentMutableContext ( )
inline

Definition at line 4369 of file catch.hpp.

auto Catch::getCurrentNanosecondsSinceEpoch ( ) -> uint64_t
auto Catch::getEstimatedClockResolution ( ) -> uint64_t
IMutableRegistryHub& Catch::getMutableRegistryHub ( )
IRegistryHub const& Catch::getRegistryHub ( )
IResultCapture& Catch::getResultCapture ( )
void Catch::handleExceptionMatchExpr ( AssertionHandler handler,
std::string const &  str,
StringRef const &  matcherString 
)
void Catch::handleExceptionMatchExpr ( AssertionHandler handler,
StringMatcher const &  matcher,
StringRef const &  matcherString 
)
void Catch::handleExpression ( ITransientExpression const &  expr)
template<typename T >
void Catch::handleExpression ( ExprLhs< T > const &  expr)

Definition at line 2407 of file catch.hpp.

bool Catch::isFalseTest ( int  flags)
inline

Definition at line 1392 of file catch.hpp.

bool Catch::isJustInfo ( int  flags)
bool Catch::isOk ( ResultWas::OfType  resultType)
bool Catch::isThrowSafe ( TestCase const &  testCase,
IConfig const &  config 
)
template<typename ArgT , typename MatcherT >
auto Catch::makeMatchExpr ( ArgT const &  arg,
MatcherT const &  matcher,
StringRef const &  matcherString 
) -> MatchExpr<ArgT, MatcherT>

Definition at line 3796 of file catch.hpp.

auto Catch::makeStream ( StringRef const &  filename) -> IStream const *
TestCase Catch::makeTestCase ( ITestInvoker testCase,
std::string const &  className,
NameAndTags const &  nameAndTags,
SourceLineInfo const &  lineInfo 
)
auto Catch::makeTestInvoker ( void(*)()  testAsFunction) -> ITestInvoker *
noexcept
template<typename C >
auto Catch::makeTestInvoker ( void(C::*)()  testAsMethod) -> ITestInvoker*
noexcept

Definition at line 980 of file catch.hpp.

bool Catch::matchTest ( TestCase const &  testCase,
TestSpec const &  testSpec,
IConfig const &  config 
)
constexpr auto Catch::operator""_sr ( char const *  rawChars,
std::size_t  size 
) -> StringRef
noexcept

Definition at line 684 of file catch.hpp.

template<typename T >
T const& Catch::operator+ ( T const &  value,
StreamEndStop   
)

Definition at line 542 of file catch.hpp.

auto Catch::operator+= ( std::string lhs,
StringRef const &  sr 
) -> std::string &
std::ostream& Catch::operator<< ( std::ostream &  os,
SourceLineInfo const &  info 
)
auto Catch::operator<< ( std::ostream &  os,
StringRef const &  sr 
) -> std::ostream &
template<typename Range >
std::string Catch::rangeToString ( Range const &  range)

Definition at line 2015 of file catch.hpp.

template<typename Allocator >
std::string Catch::rangeToString ( std::vector< bool, Allocator > const &  v)

Definition at line 2021 of file catch.hpp.

bool Catch::replaceInPlace ( std::string str,
std::string const &  replaceThis,
std::string const &  withThis 
)
SimplePcg32& Catch::rng ( )
unsigned int Catch::rngSeed ( )
bool Catch::shouldContinueOnFailure ( int  flags)
bool Catch::shouldSuppressFailure ( int  flags)
std::vector<StringRef> Catch::splitStringRef ( StringRef  str,
char  delimiter 
)
bool Catch::startsWith ( std::string const &  s,
std::string const &  prefix 
)
bool Catch::startsWith ( std::string const &  s,
char  prefix 
)
void Catch::throw_domain_error ( std::string const &  msg)
void Catch::throw_exception ( std::exception const &  e)
void Catch::throw_logic_error ( std::string const &  msg)
void Catch::throw_runtime_error ( std::string const &  msg)
std::string Catch::toLower ( std::string const &  s)
void Catch::toLowerInPlace ( std::string s)
std::string Catch::translateActiveException ( )
std::string Catch::trim ( std::string const &  str)

Returns a new string without whitespace at the start/end.

StringRef Catch::trim ( StringRef  ref)

Returns a substring of the original ref without whitespace. Beware lifetimes!

Variable Documentation

not_this_one Catch::begin(...)
not_this_one Catch::end(...)


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:35