xtd 0.2.0
Loading...
Searching...
No Matches
test_state.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace tunit {
17 enum class test_state {
22 };
23 }
24}
25
27template<> struct xtd::enum_register<xtd::tunit::test_state> {
28 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::tunit::test_state> {{xtd::tunit::test_state::considered, "considered"}, {xtd::tunit::test_state::ignored, "ignored"}};}
29};
test_state
Represent the test state enumeration used bu test.
Definition test_state.hpp:17
@ considered
Test is considered.
@ ignored
Test is ignored.
std::vector< xtd::collections::generic::key_value_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:22
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38