summaryrefslogtreecommitdiffstats
path: root/tests/manual/wasm/qtwasmtestlib/qtwasmtestlib.h
diff options
context:
space:
mode:
authorMorten Sørvig <morten.sorvig@qt.io>2022-07-06 23:01:59 +0200
committerMorten Sørvig <morten.sorvig@qt.io>2022-08-08 18:14:28 +0200
commit964765f686bca3ba62833e76e5ed689fce9a62bb (patch)
treefc0b7cfae17f7a930c07003562115c78548255bc /tests/manual/wasm/qtwasmtestlib/qtwasmtestlib.h
parent2a17034ddc513870bda49e5d76cb0b1bf358c754 (diff)
wasm: add event loop auto test
Add basic tests for timers and event processing, for different use cases such as on the main thread, on a secondary thread, and with asyncify. Pick-to: 6.4 Change-Id: Ie0f82b5de97f639867b1e65dbb0ab8b11db86f85 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'tests/manual/wasm/qtwasmtestlib/qtwasmtestlib.h')
-rw-r--r--tests/manual/wasm/qtwasmtestlib/qtwasmtestlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/manual/wasm/qtwasmtestlib/qtwasmtestlib.h b/tests/manual/wasm/qtwasmtestlib/qtwasmtestlib.h
index f4b0f752417..c691f44600e 100644
--- a/tests/manual/wasm/qtwasmtestlib/qtwasmtestlib.h
+++ b/tests/manual/wasm/qtwasmtestlib/qtwasmtestlib.h
@@ -20,6 +20,7 @@ std::string formatMessage(std::string_view file,
std::string_view message);
void completeTestFunction(TestResult result, std::string message);
+void completeTestFunction();
void initTestCase(QObject *testObject, std::function<void ()> cleanup);
template <typename App>
void initTestCase(int argc,