Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
14
libs/qt_tstfrm/test_main_loop.hpp
Normal file
14
libs/qt_tstfrm/test_main_loop.hpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
|
||||
class QPaintDevice;
|
||||
namespace testing
|
||||
{
|
||||
using RenderFunction = std::function<void(QPaintDevice *)>;
|
||||
using TestFunction = std::function<void()>;
|
||||
} // namespace testing
|
||||
|
||||
extern void RunTestLoop(char const * testName, testing::RenderFunction && fn, bool autoExit = true);
|
||||
|
||||
extern void RunTestInOpenGLOffscreenEnvironment(char const * testName, testing::TestFunction const & fn);
|
||||
Loading…
Add table
Add a link
Reference in a new issue