|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
A base class that starts a QCoreApplication. More...
#include <tests/helpers/scoped_qcoreapplication.h>

Static Public Member Functions | |
| static void | process_events_until_true (const std::function< bool()> &cond, unsigned int max_calls=100) |
Processes QCoreApplication events until cond returns true. | |
| static void | process_events_until_timeout (std::chrono::milliseconds time=std::chrono::milliseconds(200)) |
A base class that starts a QCoreApplication.
This is needed in order to test signal functionality.
Definition at line 23 of file scoped_qcoreapplication.h.
|
inline |
Definition at line 26 of file scoped_qcoreapplication.h.
|
inlinestatic |
Definition at line 52 of file scoped_qcoreapplication.h.
|
inlinestatic |
Processes QCoreApplication events until cond returns true.
Causes an assertion failure on timeout.
Definition at line 38 of file scoped_qcoreapplication.h.