qt5base-lts/tests/manual/wasm
Morten Johan Sørvig 122aa530d6 wasm: add qtwasmtestlib
qtwasmtestlib supports writing asynchronous tests for
the web platform.

Asynchronous test functions differ from normal test
functions in that they allow returning from the test
function before the test has completed:

void TestObject::testTimer()
{
    QTimer::singleShot(100, [](){
        completeTestFunction(); // Test pass if we get here
    });
}

Currently one logging backend is supported which
writes the results to an html element. See the README
file for further documentation.

Change-Id: Ia633ad3f41a653e40d6bf35dd09d62a97c608f84
Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-06-29 15:09:02 +02:00
..
clipboard Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
cursors Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
eventloop Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
localfiles Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtwasmtestlib wasm: add qtwasmtestlib 2022-06-29 15:09:02 +02:00
rasterwindow wasm: Improve wheel event handling 2022-05-24 03:10:10 +02:00
CMakeLists.txt wasm: add rasterwindow manual test 2021-12-15 18:06:11 +02:00
README.md wasm: add qtwasmtestlib 2022-06-29 15:09:02 +02:00

Manual tests and examples for Qt on WebAssembly

These examples demonstrates various technical aspects of the Qt for WebAssambly platform port, and can be used as a reference when writing application code.

Content

cursors         Cursor handling
eventloop       Event loops, application startup, dialog exec()
localfiles      Local file download and upload
rasterwindow    Basic GUI app, event handling
qtwasmtestlib   native auto test framework