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.
Loading...
Searching...
No Matches
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
10namespace xtd {
12 namespace tunit {
13 template <typename test_class_t>
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}
Definition: test_class_attribute.h:14
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::tunit::unit_test class.