|
wex v24.04.0
|
Offers the doctest based test application, with lib specific init and exit. More...
#include <wex/test/test.h>

Public Member Functions | |
| bool | OnInit () override |
| Prepare environment. | |
| int | OnRun () override |
| Start event loop and start testing. | |
Public Member Functions inherited from wex::app | |
| bool | OnInit () override |
| Constructs the config, initializes the locale, loads the VCS file. | |
| int | OnExit () override |
| Deletes all global objects and cleans up things if necessary. | |
| const std::string | get_catalog_dir () const |
| Returns the catalog dir. | |
| auto | get_language () const |
| Returns locale language. | |
Public Member Functions inherited from wex::test::doctester | |
| bool | on_init (wex::app *app) |
| Performs doctest init. | |
| void | on_run (wex::app *app) |
| Performs doctest activation. | |
| bool | use_context (wex::app *app, int argc, char *argv[]) |
| Use context when running. | |
Additional Inherited Members | |
Static Public Member Functions inherited from wex::app | |
| static const wxUILocale & | get_locale () |
| Returns the locale. | |
Static Public Member Functions inherited from wex::test::doctester | |
| static path | get_path (const std::string &file=std::string(), path::log_t type=path::log_t()) |
| Returns the test path. | |
Offers the doctest based test application, with lib specific init and exit.
Your test application should be derived from this class.