|
wex v25.10.0
|
Offers the unittest 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. | |
| auto | get_language () const |
| Returns locale language. | |
| Public Member Functions inherited from wex::test::unittest | |
| bool | on_init (wex::app *app) |
| Performs session init. | |
| void | on_run (wex::app *app) |
| Performs session activation. | |
| bool | start (wex::app *app, int argc, char *argv[]) |
| Start testing. | |
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::unittest | |
| static path | get_path (const std::string &file=std::string(), path::log_t type=path::log_t()) |
| Returns the test path. | |
Offers the unittest based test application, with lib specific init and exit.
Your test application should be derived from this class.