libept
Public Member Functions | Public Attributes | List of all members
ept::tests::TestMethod Struct Reference

Test method information. More...

#include <tests.h>

Public Member Functions

 TestMethod (const std::string &name, std::function< void()> test_function)
 

Public Attributes

std::string name
 Name of the test method. More...
 
std::function< void()> test_function
 Main body of the test method. More...
 

Detailed Description

Test method information.

Constructor & Destructor Documentation

◆ TestMethod()

ept::tests::TestMethod::TestMethod ( const std::string &  name,
std::function< void()>  test_function 
)
inline

Member Data Documentation

◆ name

std::string ept::tests::TestMethod::name

◆ test_function

std::function<void()> ept::tests::TestMethod::test_function

Main body of the test method.

Referenced by ept::tests::TestCase::run_test().


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