xtd 0.2.0
test_state.h
Go to the documentation of this file.
1 #pragma once
5 #include "test.h"
6 #include <xtd/enum>
7 
9 namespace xtd {
11  namespace tunit {
18  enum class test_state {
20  considered,
22  ignored
23  };
24  }
25 }
26 
28 template<> struct xtd::enum_register<xtd::tunit::test_state> {
29  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"}};}
30 };
Contains xtd::tunit::test class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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
test_state
Represent the test state enumeration used bu test.
Definition: test_state.h:18
Provides the registration struct for enumerations.
Definition: enum_register.h:36