xtd 0.2.0
xtd::tunit::registered_test_class Class Referencefinal
Inheritance diagram for xtd::tunit::registered_test_class:
xtd::object

Definition

Represents the registered test class.

Namespace
xtd::tunit
Library
xtd.tunit

Public Constructors

 registered_test_class ()=default
 Creates a new registered_test_class instance.
 
 registered_test_class (const xtd::string &name, xtd::sptr< xtd::tunit::test_class > test_class) noexcept
 Creates a new registered_test_class instance.
 

Additional Inherited Members

- Public Member Functions inherited from xtd::object
 object ()=default
 Create a new instance of the ultimate base class object.
 
virtual bool equals (const object &obj) const noexcept
 Determines whether the specified object is equal to the current object.
 
virtual xtd::size get_hash_code () const noexcept
 Serves as a hash function for a particular type.
 
virtual type_object get_type () const noexcept
 Gets the type of the current instance.
 
template<class object_t >
xtd::uptr< object_t > memberwise_clone () const
 Creates a shallow copy of the current object.
 
virtual xtd::string to_string () const noexcept
 Returns a xtd::string that represents the current object.
 
- Static Public Member Functions inherited from xtd::object
template<class object_a_t , class object_b_t >
static bool equals (const object_a_t &object_a, const object_b_t &object_b) noexcept
 Determines whether the specified object instances are considered equal.
 
template<class object_a_t , class object_b_t >
static bool reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept
 Determines whether the specified object instances are the same instance.
 

Constructor & Destructor Documentation

◆ registered_test_class() [1/2]

xtd::tunit::registered_test_class::registered_test_class ( )
default

Creates a new registered_test_class instance.

◆ registered_test_class() [2/2]

xtd::tunit::registered_test_class::registered_test_class ( const xtd::string name,
xtd::sptr< xtd::tunit::test_class test_class 
)
noexcept

Creates a new registered_test_class instance.

Parameters
nameThe name associate to the test_class.
Remarks
The name is the name of the test class displayed when running the tests.

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