xtd - Reference Guide
0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Toggle main menu visibility
Home
Categories
Documentation
Namespaces
Classes
Class List
Class Index
Class Hierarchy
Files
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Loading...
Searching...
No Matches
xtd.tunit
include
xtd
tunit
test_class_attribute.h
Go to the documentation of this file.
1
4
#pragma once
5
#include "
unit_test.h
"
6
#include <memory>
7
#include <string>
8
10
namespace
xtd
{
12
namespace
tunit {
13
template
<
typename
test_
class
_t>
14
class
test_class_attribute
final {
15
public
:
16
explicit
test_class_attribute
(
const
std::string& name)
noexcept
{xtd::tunit::unit_test::add({name, std::make_shared<test_class_t>()});}
17
};
18
}
19
}
xtd::tunit::test_class_attribute
Definition:
test_class_attribute.h:14
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition:
system_report.h:17
unit_test.h
Contains xtd::tunit::unit_test class.
Generated on Sat Jan 28 2023 18:12:26 for xtd - Reference Guide by
Gammasoft
. All rights reserved.