xtd 1.0.0
Loading...
Searching...
No Matches
xtd::tunit::register_test_class_types< test_class_t, args_t > Class Template Reference

Definition

template<template< typename > class test_class_t, typename... args_t>
class xtd::tunit::register_test_class_types< test_class_t, args_t >

Represents the register test class types.

Namespace
xtd::tunit
Library
xtd.tunit
Examples
The following example shows how to regeister types for a specified test class.
#include <xtd/tunit/tunit>
template<typename type_t>
class vector_tests;
template<typename type_t>
class vector_tests : public test_class {
auto test_method_(default_constructor) {
auto v = std::vector<type_t> {};
}
};
static void is_empty(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Asserts that collection contains an item.
Definition collection_assert.hpp:561
Represents the register test class types.
Definition register_test_class_types.hpp:37
Represents a test class.
Definition test_class.hpp:39
#define test_method_(method_name)
Add test method to class test.
Definition test_method_attribute.hpp:72
@ v
The V key.
Definition console_key.hpp:130

The documentation for this class was generated from the following file: