summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix rendering updatev5.12.0-beta1Jesus Fernandez2018-10-011-2/+0
| | | | | | | | | | | | | | | This patch fixes the rendering updates after the commit 4d15f393a76cfcc4d54f311884fedac5bf0f72ee. Ensures the render update after hiding the window. It sets the value of updateRequestPending to false to allow continuing rendering after a client disconnects. Task-number: QTBUG-70191 Change-Id: I1e72f5af8ee3f7deebb2e35081961764e30db0d2 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
* Remove QVERIFY and QCOMPAREJesus Fernandez2018-09-251-7/+14
| | | | | | | | | Avoids calling QCOMPARE and QVERIFY inside an asynchronous function called from a QTRY_* that is subject to a QEXPECT_FAIL. Change-Id: Ibca2fd3d2cc83b6330f9436f0a0e1b602144880c Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Reload the browser when the socket disconnectsJesus Fernandez2018-09-241-1/+1
| | | | | | | | | | | | | | It tries to reload the browser to try to reconnect. If the remote application closes, the browser will show the default disconnected page. Doing this the user will know the session ended and it will free the resources required to have a WebGL context alive in the browser. [ChangeLog][QtWebGL][General] Reload the browser when the WebSocket disconnects. Change-Id: I724d74ef6e44ff6b89e557f77f65fa827198a47d Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Blacklist Linux QEMUJesus Fernandez2018-09-241-0/+1
| | | | | | | | | | | | The test is failing because unknown reasons. It seenms the process spawning takes longer time each new test case until it reaches a QTRY_* timeout. Right now the test suite is failing in the launcher.qml test case but it seems it's related to a degradation after running some tests before this one. Task-number: QTBUG-70670 Change-Id: I4a17abafc7ff8af52ab80ca0bef909d35f09397c Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Add reload and update testsJesus Fernandez2018-09-139-23/+764
| | | | | | | | | | This patch also copies part of the code of an example form qtdeclarative that reproduces an update bug. Change-Id: I4b9c2be89d4110d36a04c46bb0865c82b3a2cd16 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Tests: Reduce verbosityv5.12.0-alpha1Jesus Fernandez2018-09-111-2/+3
| | | | | | Change-Id: I03b0c376cffa3c69f88c7200a78f7b3432646f78 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Add findSwapBuffers functionJesus Fernandez2018-09-111-4/+11
| | | | | | | To avoid repeating the same code in similar test cases coming in later commits. Change-Id: Ife2065629ee7c1cb9ea0ab509364af5c3e66e46f Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Add a basic testJesus Fernandez2018-05-299-0/+438
| | | | | | | | | Adds the test suite with a very basic test: It will try to receive the swapBuffers command from the qmlscene. Change-Id: If74819fffd5f876c7bf2bf68a25ca6998fe870ef Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Add Qt WebGL platform pluginJesus Fernandez2017-06-271-0/+2
Done-with: Michael Winkelmann <michael.winkelmann@qt.io> Change-Id: I6632475956393116af8885f42ba557e35d2b0985 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>