Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::AutoReg Struct Reference

#include <catch_test_registry.h>

Inheritance diagram for Catch::AutoReg:
Collaboration diagram for Catch::AutoReg:

Public Member Functions

 AutoReg (ITestInvoker *invoker, SourceLineInfo const &lineInfo, StringRef const &classOrMethod, NameAndTags const &nameAndTags) noexcept
 
 ~AutoReg ()
 
 AutoReg (ITestInvoker *invoker, SourceLineInfo const &lineInfo, StringRef const &classOrMethod, NameAndTags const &nameAndTags) noexcept
 
 ~AutoReg ()
 

Additional Inherited Members

- Protected Member Functions inherited from Catch::NonCopyable
 NonCopyable ()
 
virtual ~NonCopyable ()
 
 NonCopyable ()
 
virtual ~NonCopyable ()
 

Detailed Description

Definition at line 840 of file catch.hpp.

Constructor & Destructor Documentation

◆ AutoReg() [1/2]

Catch::AutoReg::AutoReg ( ITestInvoker * invoker,
SourceLineInfo const & lineInfo,
StringRef const & classOrMethod,
NameAndTags const & nameAndTags )
noexcept

Definition at line 21 of file catch_test_registry.cpp.

21 {
22 CATCH_TRY {
26 invoker,
27 extractClassName( classOrMethod ),
28 nameAndTags,
29 lineInfo));
31 // Do not throw when constructing global objects, instead register the exception to be processed later
33 }
34 }
#define CATCH_TRY
#define CATCH_CATCH_ALL
TestCase makeTestCase(ITestInvoker *_testCase, std::string const &_className, NameAndTags const &nameAndTags, SourceLineInfo const &_lineInfo)
IMutableRegistryHub & getMutableRegistryHub()
std::string extractClassName(StringRef const &classOrQualifiedMethodName)
virtual void registerTest(TestCase const &testInfo)=0
virtual void registerStartupException() noexcept=0
Here is the call graph for this function:

◆ ~AutoReg() [1/2]

Catch::AutoReg::~AutoReg ( )
default

◆ AutoReg() [2/2]

Catch::AutoReg::AutoReg ( ITestInvoker * invoker,
SourceLineInfo const & lineInfo,
StringRef const & classOrMethod,
NameAndTags const & nameAndTags )
noexcept

◆ ~AutoReg() [2/2]

Catch::AutoReg::~AutoReg ( )

The documentation for this struct was generated from the following files: