Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::TestInvokerAsFunction Class Reference

#include <catch_test_case_registry_impl.h>

Inheritance diagram for Catch::TestInvokerAsFunction:
Collaboration diagram for Catch::TestInvokerAsFunction:

Public Member Functions

 TestInvokerAsFunction (void(*testAsFunction)()) noexcept
 
void invoke () const override
 
- Public Member Functions inherited from Catch::ITestInvoker
virtual ~ITestInvoker ()
 
virtual ~ITestInvoker ()
 

Detailed Description

Definition at line 52 of file catch_test_case_registry_impl.h.

Constructor & Destructor Documentation

◆ TestInvokerAsFunction()

Catch::TestInvokerAsFunction::TestInvokerAsFunction ( void(* testAsFunction )())
noexcept

Definition at line 96 of file catch_test_case_registry_impl.cpp.

96: m_testAsFunction( testAsFunction ) {}

Member Function Documentation

◆ invoke()

void Catch::TestInvokerAsFunction::invoke ( ) const
overridevirtual

Implements Catch::ITestInvoker.

Definition at line 98 of file catch_test_case_registry_impl.cpp.

98 {
99 m_testAsFunction();
100 }

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