ManaPlus
Public Member Functions | Private Member Functions
Catch::AutoReg Struct Reference

#include <catch.hpp>

Public Member Functions

 AutoReg (TestFunction function, SourceLineInfo const &lineInfo, NameAndDesc const &nameAndDesc)
 
template<typename C >
 AutoReg (void(C::*method)(), char const *className, NameAndDesc const &nameAndDesc, SourceLineInfo const &lineInfo)
 
 ~AutoReg ()
 

Private Member Functions

 AutoReg (AutoReg const &)
 
void operator= (AutoReg const &)
 

Detailed Description

Definition at line 674 of file catch.hpp.

Constructor & Destructor Documentation

◆ AutoReg() [1/3]

Catch::AutoReg::AutoReg ( TestFunction  function,
SourceLineInfo const &  lineInfo,
NameAndDesc const &  nameAndDesc 
)

◆ AutoReg() [2/3]

template<typename C >
Catch::AutoReg::AutoReg ( void(C::*)()  method,
char const *  className,
NameAndDesc const &  nameAndDesc,
SourceLineInfo const &  lineInfo 
)
inline

Definition at line 682 of file catch.hpp.

686  {
687 
689  ( new MethodTestCase<C>( method ),
690  className,
691  nameAndDesc,
692  lineInfo );
693  }
void registerTestCase(ITestCase *testCase, char const *className, NameAndDesc const &nameAndDesc, SourceLineInfo const &lineInfo)

References Catch::registerTestCase().

◆ ~AutoReg()

Catch::AutoReg::~AutoReg ( )

◆ AutoReg() [3/3]

Catch::AutoReg::AutoReg ( AutoReg const &  )
private

Member Function Documentation

◆ operator=()

void Catch::AutoReg::operator= ( AutoReg const &  )
private

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