#include "unit_test.hpp"
◆ test_case() [1/2]
constexpr quickcpplib::_xxx::unit_test::test_case::test_case |
( |
const char * |
_name, |
|
|
const char * |
_desc, |
|
|
void(*)() |
_func |
|
) |
| |
|
inlineconstexpr |
134 {
135 }
std::chrono::steady_clock::duration duration
Definition unit_test.hpp:122
const char * desc
Definition unit_test.hpp:120
bool requirement_failed
Definition unit_test.hpp:124
const char * name
Definition unit_test.hpp:120
std::atomic< size_t > fails
Definition unit_test.hpp:123
std::atomic< size_t > passes
Definition unit_test.hpp:123
void(* func)()
Definition unit_test.hpp:121
bool skipped
Definition unit_test.hpp:124
◆ test_case() [2/2]
quickcpplib::_xxx::unit_test::test_case::test_case |
( |
test_case && |
o | ) |
|
|
inlinenoexcept |
140 ,
duration(
static_cast<std::chrono::steady_clock::duration &&
>(o.duration))
141 ,
passes(
static_cast<size_t>(o.passes))
142 ,
fails(
static_cast<size_t>(o.fails))
145 {
146 }
◆ operator=()
148 {
149 this->~test_case();
151 return *this;
152 }
constexpr test_case(const char *_name, const char *_desc, void(*_func)())
Definition unit_test.hpp:125
◆ name
const char* quickcpplib::_xxx::unit_test::test_case::name |
◆ desc
const char * quickcpplib::_xxx::unit_test::test_case::desc |
◆ func
void(* quickcpplib::_xxx::unit_test::test_case::func) () |
◆ duration
std::chrono::steady_clock::duration quickcpplib::_xxx::unit_test::test_case::duration |
◆ passes
std::atomic<size_t> quickcpplib::_xxx::unit_test::test_case::passes |
◆ fails
std::atomic<size_t> quickcpplib::_xxx::unit_test::test_case::fails |
◆ skipped
bool quickcpplib::_xxx::unit_test::test_case::skipped |
◆ requirement_failed
bool quickcpplib::_xxx::unit_test::test_case::requirement_failed |
The documentation for this struct was generated from the following file: