4
0
mirror of https://github.com/QuasarApp/CMakeProject.git synced 2025-04-30 23:54:32 +00:00

25 lines
643 B
C
Raw Normal View History

#ifndef TESTUTILS_H
#define TESTUTILS_H
#include "functional"
#include <QMetaObject>
class TestUtils
{
public:
TestUtils();
virtual ~TestUtils();
bool wait(const std::function<bool()> &forWait, int msec) const;
bool funcPrivateConnect(const std::function<bool ()> &requestFunc,
const std::function<bool ()> &checkFunc,
const std::function<QMetaObject::Connection ()> &connectFunction) const;
bool funcPrivateConnect(const std::function<bool ()> &requestFunc,
const std::function<bool ()> &checkFunc) const;
};
#endif // TESTUTILS_H