The ostream_unit_test class is a specialisation of event_listener class for writing events in std::ostream.
Public Constructors | |
ostream_event_listener (std::ostream &os) noexcept | |
Creates new instance ostream event lister with ostream specified. | |
Public Methods | |
void | on_class_end (const xtd::tunit::class_event_args &e) const override |
Occurs when class is ended. | |
void | on_class_start (const xtd::tunit::class_event_args &e) const override |
Occurs when class cleanup is started. | |
void | on_test_aborted (const xtd::tunit::test_event_args &e) const override |
Occurs when test is aborted. | |
void | on_unit_test_cleanup_start (const xtd::tunit::tunit_event_args &e) const override |
Occurs when test initialize is started. | |
void | on_unit_test_initialize_start (const xtd::tunit::tunit_event_args &e) const override |
Occurs when unit test initialize is started. | |
void | on_test_failed (const xtd::tunit::test_event_args &e) const override |
Occurs when test is failed. | |
void | on_test_ignored (const xtd::tunit::test_event_args &e) const override |
Occurs when test is ignored. | |
void | on_test_start (const xtd::tunit::test_event_args &e) const override |
Occurs when test initialize is started. | |
void | on_test_succeed (const xtd::tunit::test_event_args &e) const override |
Occurs when test is succeed. | |
void | on_unit_test_end (const xtd::tunit::tunit_event_args &e) const override |
Occurs when unit test is ended. | |
void | on_unit_test_start (const xtd::tunit::tunit_event_args &e) const override |
Occurs when unit test cleanup is started. | |
Additional Inherited Members | |
Public Member Functions inherited from xtd::tunit::event_listener | |
virtual void | on_class_cleanup_end (const xtd::tunit::class_event_args &e) const |
Occurs when class cleanup is ended. | |
virtual void | on_class_cleanup_start (const xtd::tunit::class_event_args &e) const |
Occurs when class cleanup is started. | |
virtual void | on_class_initialize_end (const xtd::tunit::class_event_args &e) const |
Occurs when class initialize is ended. | |
virtual void | on_class_initialize_start (const xtd::tunit::class_event_args &e) const |
Occurs when class initialize is started. | |
virtual void | on_test_cleanup_end (const xtd::tunit::test_event_args &e) const |
Occurs when test cleanup is ended. | |
virtual void | on_test_cleanup_start (const xtd::tunit::test_event_args &e) const |
Occurs when test cleanup is started. | |
virtual void | on_test_initialize_end (const xtd::tunit::test_event_args &e) const |
Occurs when test initialize is ended. | |
virtual void | on_test_initialize_start (const xtd::tunit::test_event_args &e) const |
Occurs when test initialize is ended. | |
virtual void | on_test_end (const xtd::tunit::test_event_args &e) const |
Occurs when test is ended. | |
virtual void | on_unit_test_cleanup_end (const xtd::tunit::tunit_event_args &e) const |
Occurs when unit test cleanup is ended. | |
virtual void | on_unit_test_initialize_end (const xtd::tunit::tunit_event_args &e) const |
Occurs when unit test initialize is ended. | |
|
noexcept |
Creates new instance ostream event lister with ostream specified.
os | std::ostream where events are written. |
|
overridevirtual |
Occurs when class is ended.
class_event_args | Contains class event parameters. |
Reimplemented from xtd::tunit::event_listener.
|
overridevirtual |
Occurs when class cleanup is started.
class_event_args | Contains class event parameters. |
Reimplemented from xtd::tunit::event_listener.
|
overridevirtual |
Occurs when test is aborted.
test_event_args | Contains test event parameters. |
Reimplemented from xtd::tunit::event_listener.
|
overridevirtual |
Occurs when test initialize is started.
test_event_args | Contains test event parameters. |
Reimplemented from xtd::tunit::event_listener.
|
overridevirtual |
Occurs when unit test initialize is started.
tunit_event_args | Contains unit test event parameters. |
Reimplemented from xtd::tunit::event_listener.
|
overridevirtual |
Occurs when test is failed.
test_event_args | Contains test event parameters. |
Reimplemented from xtd::tunit::event_listener.
|
overridevirtual |
Occurs when test is ignored.
test_event_args | Contains test event parameters. |
Reimplemented from xtd::tunit::event_listener.
|
overridevirtual |
Occurs when test initialize is started.
test_event_args | Contains test event parameters. |
Reimplemented from xtd::tunit::event_listener.
|
overridevirtual |
Occurs when test is succeed.
test_event_args | Contains test event parameters. |
Reimplemented from xtd::tunit::event_listener.
|
overridevirtual |
Occurs when unit test is ended.
tunit_event_args | Contains unit test event parameters. |
Reimplemented from xtd::tunit::event_listener.
|
overridevirtual |
Occurs when unit test cleanup is started.
tunit_event_args | Contains unit test event parameters. |
Reimplemented from xtd::tunit::event_listener.