xtd 0.2.0
Loading...
Searching...
No Matches
registered_test_class.h
Go to the documentation of this file.
1
4#pragma once
5#include "test_class.h"
6#include "../tunit_export.h"
7#include <xtd/string>
8#include <memory>
9
11namespace xtd {
13 namespace tunit {
21 public:
23
30
31 private:
32 friend class xtd::tunit::unit_test;
33
34 const xtd::sptr<xtd::tunit::test_class>& test() const noexcept;
35
36 xtd::sptr<xtd::tunit::test_class> tc_;
37 };
38 }
39}
Represents text as a sequence of character units.
Definition basic_string.h:79
Represents the registered test class.
Definition registered_test_class.h:20
registered_test_class(const xtd::string &name, xtd::sptr< xtd::tunit::test_class > test_class) noexcept
Creates a new registered_test_class instance.
Represents a test class.
Definition test_class.h:39
Represents a test method.
Definition test.h:29
The unit_test class is unit test base interface.
Definition unit_test.h:28
#define tunit_export_
Define shared library export.
Definition tunit_export.h:13
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.h:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::tunit::test_class class.