xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.tunit
include
xtd
tunit
test_state.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
tunit
{
17
enum class
test_state
{
19
considered
,
21
ignored
22
};
23
}
24
}
25
27
template
<>
struct
xtd::enum_register
<
xtd
::
tunit::test_state
> {
28
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::tunit::test_state>
{{
xtd::tunit::test_state::considered
,
"considered"
}, {
xtd::tunit::test_state::ignored
,
"ignored"
}};}
29
};
xtd::tunit::test_state
test_state
Represent the test state enumeration used bu test.
Definition
test_state.hpp:17
xtd::tunit::test_state::considered
@ considered
Test is considered.
Definition
test_state.hpp:19
xtd::tunit::test_state::ignored
@ ignored
Test is ignored.
Definition
test_state.hpp:21
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
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
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.