6#include <xtd/diagnostics/stack_frame> 
   33      template<
typename test_
class_t>
 
   41      template<
typename test_
class_t>
 
   57#define ignore_test_method_(method_name) \ 
   58  __##method_name##_unused() = delete; \ 
   59  class __##method_name##_attribute##_class : public xtd::tunit::test_method_attribute { \ 
   61    template<typename test_class> __##method_name##_attribute##_class(test_class& test) : test_method_attribute(#method_name, test, &test_class::method_name, xtd::tunit::test_state::ignored) {} \ 
   62  } __##method_name##_attribute {*this}; \ 
   73#define test_method_(method_name) \ 
   74  __##method_name##_unused() = delete; \ 
   75  class __##method_name##_attribute##_class : public xtd::tunit::test_method_attribute { \ 
   77    template<typename test_class> __##method_name##_attribute##_class(test_class& test) : test_method_attribute(#method_name, test, &test_class::method_name) {} \ 
   78  } __##method_name##_attribute {*this}; \ 
Represents text as a sequence of character units.
Definition basic_string.hpp:79
 
Represents a test class.
Definition test_class.hpp:39
 
Represents a test method attribute.
Definition test_method_attribute.hpp:23
 
test_method_attribute(const xtd::string &name, test_class_t &test_class, void(test_class_t::*method)(), xtd::tunit::test_state test_state, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) noexcept
Creates a new instance of test_method_attribute with specified name, test_class, method,...
Definition test_method_attribute.hpp:42
 
test_method_attribute(const xtd::string &name, test_class_t &test_class, void(test_class_t::*method)(), const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current()) noexcept
Creates a new instance of test_method_attribute with specified name, test_class, method,...
Definition test_method_attribute.hpp:34
 
test_state
Represent the test state enumeration used bu test.
Definition test_state.hpp:17
 
@ considered
Test is considered.
 
@ ignored
Test is ignored.
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
 
Contains xtd::tunit::test_state enum class.