summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Add project files for the top-level test folders.Christian Strømme2015-08-283-0/+15
| | | | | | | | | | | | The top-level project files were missing; it was therefore not possible to build the tests from the tests or auto folder. Note: The tests are adapted for the platforms were we have a native WebView implementation, so on desktop (backed by QtWebEngine), no tests will be run. Change-Id: Ied3c5e562c0e58dbe75661f3d9b959a56af73b8c Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Fix wrong header inclusions in the auto tests.Christian Strømme2015-08-283-4/+4
| | | | | | | The headers were renamed and marked as private. Change-Id: I4c9904542acdfe0770c034e6baa863ee0801acd6 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
* Fixed bugs in license headerJani Heikkinen2015-08-251-15/+10
| | | | | | | | | Two files were using old LGPL license headers and that's why license header tests were failed. Changed those files to use LGPLv3 header template Change-Id: I95bd010087b83c6aa174d53e7c2378bdd9e57c70 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Import qml tests from WebEngineChristian Strømme2015-06-2215-0/+744
| | | | | | | Tests are taken from QtWebEngine and adjusted to test QtWebView. Change-Id: I0a8ed5b844beeec44043ff54145d45267321a7cf Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* Added a macro to conveniently check and skip tests on Android.Christian Strømme2015-06-221-0/+10
| | | | | | | | This makes it easier to skip test that won't run on older versions of Android. Change-Id: I994b56a5301d5125c1c7df6dd70db947b00d57b6 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* Remove inclusion of internal only module in the WebView auto test.Christian Strømme2015-06-221-1/+1
| | | | | Change-Id: I65f92cd220d4ed61a8a9512c9a81fd134a9aa23e Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.4' into devChristian Strømme2015-02-181-8/+8
|\ | | | | | | Change-Id: Ic6b7965ae297c462b2b89e5ba373ac204d3da6ad
| * Update FDL headersChristian Strømme2015-02-171-8/+8
| | | | | | | | | | | | | | The documentation (FDL) headers were not updated. Change-Id: I8809a2e9c908c5b195e45499d204a6a831cb99e4 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
* | Add loadRequest item and necessary classes to enable status reporting.Christian Strømme2015-02-101-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to listen and check the load status through the loadingChanges signal. The new loadRequest type contains information about the load status (started, succeeded or failed) for a specific url and an error string if available. [ChangeLog][WebView] Improved status reporting through a new loadRequest item. Task-number: QTBUG-43767 Change-Id: I65ffb91524b2e0d57875d6728b0558087d91cc0f Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* | Add loadHtml() function on Android and iOS.Christian Strømme2015-02-091-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | This adds a loadHtml() function to the WebView, making it possible for the user to set the HTML content of the WebView. [ChangeLog][WebView] Added loadHtml() function. Task-number: QTBUG-42335 Change-Id: I8a044e4fb2c0fc4bacff049f02a8cb525d593e15 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* | Add runJavaScript() on Android and iOS.Christian Strømme2015-02-092-0/+35
| | | | | | | | | | | | | | | | | | This is a rough implementation on both Android and iOS and both comes with certain limitations. On Android we require API level 19 or higher and on iOS the runJavaScript function is not asynchronous. Change-Id: Ia19782505e5e30d5517a4d627565e5432cc27bfa Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* | Fix auto tests on desktopChristian Strømme2015-02-091-0/+7
|/ | | | | | | | On desktop we use WebEngineView and before we can use it we need to call QtWebEngine::initialize(). Change-Id: I4c77e5e64c394bff1732fee154d3a02e969f18f7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* Fix test for Windows.Friedemann Kleint2014-08-281-9/+27
| | | | | | | | | Create the cache location in case it does not exist. Use a temporary file to prevent leaks and clashes. Use QUrl::fromLocalFile(). Change-Id: I0dec5eadd1eac54818d8971b9f4236955651b8af Reviewed-by: Christian Stromme <christian.stromme@digia.com>
* Add the missing pieces to make the module build-able with qmakeSamuel Gaist2014-08-252-0/+21
| | | | | Change-Id: I77d83c3865cbb29bacf20781a5cbe6255216ab10 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Long live Qt Web View!Eskil Abrahamsen Blomfeldt2014-08-202-0/+84