xtd 0.2.0
Loading...
Searching...
No Matches
test_state.h
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.h:17
@ considered
Test is considered.
@ ignored
Test is ignored.
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:19
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:36