xtd 0.2.0
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.
Definition test_state.hpp:19
@ ignored
Test is ignored.
Definition test_state.hpp:21
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
The tunit namespace contains a unit test library.
Definition abort_error.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38