xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.tunit
include
xtd
tunit
registered_test_class.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
test_class.hpp
"
6
#include "
../tunit_export.hpp
"
7
#include <xtd/string>
8
#include <memory>
9
11
namespace
xtd
{
13
namespace
tunit
{
20
class
tunit_export_
registered_test_class
final :
public
xtd::object
{
21
public
:
23
26
registered_test_class
() =
default
;
27
31
registered_test_class
(
const
xtd::string
& name,
xtd::sptr<xtd::tunit::test_class>
test_class
)
noexcept
;
33
34
private
:
35
friend
class
xtd::tunit::unit_test
;
36
37
[[nodiscard]]
auto
test() const noexcept -> const
xtd
::
sptr
<
xtd
::
tunit
::
test_class
>&;
38
39
xtd
::
sptr
<
xtd
::
tunit
::
test_class
> tc_;
40
};
41
}
42
}
xtd::object
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition
object.hpp:45
xtd::tunit::registered_test_class::registered_test_class
registered_test_class(const xtd::string &name, xtd::sptr< xtd::tunit::test_class > test_class) noexcept
Creates a new registered_test_class instance.
xtd::tunit::registered_test_class::registered_test_class
registered_test_class()=default
Creates a new registered_test_class instance.
xtd::tunit::test_class
Represents a test class.
Definition
test_class.hpp:39
xtd::tunit::unit_test
The unit_test class is unit test base interface.
Definition
unit_test.hpp:30
tunit_export_
#define tunit_export_
Define shared library export.
Definition
tunit_export.hpp:13
xtd::string
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition
__string_definitions.hpp:43
xtd::sptr
xtd::shared_ptr_object< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition
sptr.hpp:25
xtd::tunit
The tunit namespace contains a unit test library.
Definition
abort_error.hpp:10
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
test_class.hpp
Contains xtd::tunit::test_class class.
tunit_export.hpp
Contains tunit_export_ keyword.
Generated on
for xtd by
Gammasoft
. All rights reserved.