tunit - Reference Guide
1.0.0
Modern c++17 unit testing framework on Windows, macOS, Linux, iOS and android.
test_class_attribute.h
Go to the documentation of this file.
1
#pragma once
4
#include "
unit_test.h
"
5
#include <memory>
6
#include <string>
7
9
namespace
tunit
{
10
template
<
typename
TestClass>
11
class
test_class_attribute
final {
12
public
:
13
explicit
test_class_attribute
(
const
std::string& name) noexcept {tunit::unit_test::add({name, std::make_shared<TestClass>()});}
14
};
15
}
tunit::test_class_attribute
Definition:
test_class_attribute.h:11
unit_test.h
Contains tunit::unit_test class.
tunit
The tunit namespace contains a unit test library.
Definition:
abort_error.h:8
src
tunit
include
tunit
test_class_attribute.h
Generated on Fri Sep 24 2021 06:46:04 for tunit - Reference Guide by
Gammasoft
. All rights reserved.