summaryrefslogtreecommitdiff
path: root/tests/data
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersDominik Holland2022-06-153-87/+12
| | | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: I09660e42dea769d720ff30e652485d9861cea965 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 91d3881b78a3507ac71cca3e460d06765ef76ac1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Workaround Windows oddities in the autotestsRobert Griebl2022-05-171-4/+2
| | | | | | Change-Id: I65bde7dcb44fcc36bd3dd990f1b1b69bcba4497b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Enable automatic test package generation on WindowsRobert Griebl2022-05-123-10/+37
| | | | | | | | | If we find a Git or Cygwin bash.exe, we are now creating the test packages just like on Linux and macOS. Change-Id: I013953db075de6bc93bd78f08944c3b13f09839a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Don't rely on the system environment to be UTF-8 when building packagesRobert Griebl2022-04-261-18/+4
| | | | | | | | Instead, set a well-known UTF-8 locale ourselves. Change-Id: I67e4eaa9dbadf690924b091f93cf1d61425ea451 Pick-to: 5.15 6.2 6.3 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Untangle the icon/name/description/categories messRobert Griebl2022-03-212-46/+0
| | | | | | | | | | | | | | | | | | | | | | | | The documentation and the implementation disagreed quite heavily in regards to the icon, name, description and categories fields in the manifest for the package, each application and each intent. The implementation now follows the existing documentation, but also relaxing the requirements of icon and name being required for packages. Also, it was confusing that applications could not override these properties from the package like intents can do, so they also got these properties. Finally, everything is now correctly exposed to QML, with legacy wrappers in place to not break old code. In addition, the completely outdated applicationinfo unit-test was rewritten to test all the current field combinations. Change-Id: Ie5ad84bc6b771d6702b1994d1c8ae9f0204643b9 Pick-to: 6.3 6.3.0 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Fix create-test-packages.sh to work without locale binaryDominik Holland2021-08-261-1/+5
| | | | | | | Inside a yocto ptest build the locale binary is not available. Change-Id: I7c6ab124d05ba768133405ba0d5e22399f55b4ec Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* cmake: add custom targets to simulate qmake's OTHER_FILESRobert Griebl2021-06-301-1/+5
| | | | | | | Still missing these targets for all Qml-only examples and tests. Change-Id: I1702d9c3c43175fef7b47d010366b6c05c098d91 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* cmake: remove qmake build system (except in examples/)Robert Griebl2021-06-301-0/+0
| | | | | Change-Id: I8d00047f8e03bb77863041eaa99f1bba13a15a32 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* cmake: Generate all test data as part of the build processDominik Holland2021-06-302-3/+44
| | | | | Change-Id: I73b7fbe2c48cc509016331aec5227590550895a5 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* cmake: Nearly full cmake buildRobert Griebl2021-06-182-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Had to rename a lot of things to conform with the standard Qt module layout that the cmake system expects: - all non-manual tests were moved to a sub-dir named auto/ - the benchmark was moved to tests/ - the 3rdparty folder was moved into src/ Other changes: - libyaml was updated to 2.2.5 while fixing a weird build issue that led to crashes on 64bit systems. - fixed build issues with the new 8.1 MingW compiler. - added support for QT_NO_OPENGL builds. The remaining issues are: - examples still don't build with qmake due to a potential bug in module.pri generation. - tests do run, but the test data is not generated yet dynamically. - qml-only tests are not built and run yet. - qml-only examples are not built yet. Fixes: AUTOSUITE-1632 Change-Id: Ic5fe0148e738b05835c73bed78e624b55861b75e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Update copyright headers to 2021 an finally switch to the GPLRobert Griebl2021-06-013-24/+27
| | | | | | | | | Also removed all the SPDX tags and -QTAS license extensions. Change-Id: Ibd10fe37afcbba832831d027cf2f1891ca0226c0 Fixes: AUTOSUITE-1648 Fixes: AUTOSUITE-1646 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Fix test package creationBernd Weimer2020-09-171-2/+2
| | | | | Change-Id: Ic04865321ff08a02474a671e5f76c608b00cac74 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix test package creation on macOSRobert Griebl2020-08-101-2/+2
| | | | | Change-Id: I4e03a177a13577f5065e892314e32b13d8402622 Reviewed-by: Thomas Senyk <thomas.senyk@qt.io>
* Merge remote-tracking branch 'gerrit/5.13' into 5.14Robert Griebl2020-01-213-0/+5
|\ | | | | | | Change-Id: I3e8a149be99266ad6438759fda9acb1c9dd12448
* | Rename from Luxoft AM to Qt AMRobert Griebl2019-08-053-3/+3
| | | | | | | | | | | | Change-Id: I84bbd9e7f735ed1864804a9887d3a02b7c925e53 Reviewed-by: Vladimir Minenko <vladimir.minenko@pelagicore.com> Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
* | Add new package abstraction, which allows multiple executables per packageRobert Griebl2019-08-011-3/+5
|/ | | | | | | | This is part 1 which is missing doc updates and missing the update-builtin- applications functionality. Both will be added in a follow-up commit. Change-Id: I2b493cfb7585143962067674690b02cc132ef78b Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* appman-packager: new approach to checking for a valid UTF-8 environmentRobert Griebl2019-01-161-1/+7
| | | | | Change-Id: I856174ae2ec60f878f7d6c57136fbc4b4e3b0b96 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix test package generation on macOSRobert Griebl2018-12-181-1/+9
| | | | | | | | | | | | We are running into nasty problem with macOS shells (*) not honoring the OS convention of creating UTF-8 filenames in decomposed form plus Qt internally ignoring everything that is NOT in decomposed form, effectively hiding these files from Qt applications completely. (*) tested with the built-in bash and brew's zsh Change-Id: I4d00a25fecffe05f8e5905a4f0f5dc2894617e08 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Update copyright statementsRobert Griebl2018-12-183-3/+6
| | | | | | | | - added 2019 - everything is (c) Luxoft instead of Pelagicore from now on Change-Id: I82f874f0b0601deae1bb39347821edaf3c4cc6d8 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Bump all QtApplicationManager QML imports to 2.0Robert Griebl2018-12-181-1/+1
| | | | | | | Change-Id: I98bab2070b7a35cefae46bca8a06bac4a1cf1487 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com> Reviewed-by: Ilya A, Galkin <igalkin@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* Fix macOS detection in create-test-packages scriptRobert Griebl2018-12-121-1/+1
| | | | | Change-Id: I72c946b8351f19dc518be281685db0c7304f616f Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Split the QtApplicationManager qml moduleDaniel d'Andrada2018-10-301-1/+1
| | | | | | | | | Into QtApplicationManager, QtApplicationManager.SystemUI and QtApplicationManager.Application Task-number: AUTOSUITE-671 Change-Id: I09eb914e026e230280c426dd00884f2883b5e7bd Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix store-signed packagesRobert Griebl2018-08-032-1/+7
| | | | | | | | | There were multiple bugs in the way store signatures were created and verified. This patch should fix all issues, plus it adds auto-tests to catch regressions going forward. Change-Id: I903bcc7d2dc485b5ed4ee7448d1f1e1ac8242c29 Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
* Support udpating builtin applicationsDaniel d'Andrada2018-07-264-0/+23
| | | | | | | | And when you try to remove an updated built-in application you actually rollback to its original, built-in, version. Change-Id: Ifc884b9ed92891e699ea35a059ca6708d6209b8f Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Deprecate info.yaml fields now, so we can remove them in 5.12Robert Griebl2018-05-032-6/+0
| | | | | Change-Id: If154e37f17e5a1099681cbf4ef72a8bef1974b38 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix Windows/Cygwin test package creationRobert Griebl2018-04-231-3/+3
| | | | | Change-Id: Iaafbc803b8c6a1f5a1e31ed22f9cb53300d59c82 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix test package creation on Windows/CygwinRobert Griebl2018-04-201-1/+7
| | | | | Change-Id: I6d18e24b66eb91c718a8ee514a37c88b64a218e8 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Add support for extra meta-data in packagesRobert Griebl2018-04-171-10/+43
| | | | | | | | | | | | The appman-packager got a few new options to add extra meta-data to a package's header, with optional signing for important fields. This meta-data can then be checked on installation in the System-UI by looking at the 2 new parameters added to the ApplicationInstaller::taskRequestingInstallationAcknowledge() signal. Change-Id: I61c8d0a40492e3943ac8f4354db96eaaa23cb405 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Update Pelagicore copyright headers to 2018Robert Griebl2018-02-073-3/+3
| | | | | Change-Id: I8d9278053ccdef5a57e51753aa6157941ebcee52 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Application ids are not restricted to reverse-DNS notation anymoreRobert Griebl2017-03-241-2/+8
| | | | | | | | We still encourage users to use this naming system in bigger projects though. Change-Id: I1227fba493a5fa38c3f5e4cfcc8241b4fbb02647 Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
* Updated Pelagicore AG copyright to 2017Robert Griebl2017-01-163-3/+3
| | | | | | | Also added a few pro file tweaks to make this search&replace easier next year. Change-Id: I2d1153d62bfe558075009abcd8cad491f149c93f Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fixed create-test-packages.sh scriptRobert Griebl2017-01-131-1/+1
| | | | | Change-Id: I745b2b1b53543630333508a248850ea51885a347 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fixed auto-tests on WindowsRobert Griebl2016-12-062-6/+14
| | | | | | | | | | | Some tests need Unix tools in the path and they are now able to make use of a Cygwin environment, if it is available. Also fixed the test certificate generation, since it produced invalid p12s that somehow did work with OpenSSL/SecurityFramework. Change-Id: Id5c942b8d4532dc70872b434b49e0fee9f4f0c65 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fixed auto-tests on macOSRobert Griebl2016-12-061-2/+5
| | | | | | | | | | | | "HFS+ requires filenames to be in decomposed form (LATIN SMALL LETTER A + COMBINING DIAERESIS) instead of composed form (LATIN SMALL LETTER A WITH DIAERESIS)." This means we have to normalize the file name encoding to be cross-platform compatible when creating/extracting packages. Change-Id: I01b3b1ed449be89745b3975426dcff98edb91dd2 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Removed the builtIn field in info.yamlDominik Holland2016-11-162-2/+0
| | | | | | | | Whether an application is builtIn or not is decided by appman depending on where the application was found on the harddrive. Change-Id: Id9eae749f2da157a1075bef2f9455eabfe3da6ad Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Reimplemented build-system as a real Qt moduleRobert Griebl2016-10-171-0/+4
| | | | | | | | | | This should help with doc generation and actually running the unit-tests in the CI system. Please note that the binaries are now installed into $$[QT_INSTALL_BINS] Change-Id: I6f27ba39f8e5d923e1aeff550ba11c1fbd8ac5cf Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fixed license header to align with the final QtAS contract.Robert Griebl2016-06-023-18/+9
| | | | | | | | | | | The AppMan is triple-licensed now, like the rest of Qt: commercial, LGPL3 and GPL2/3 To be more aligned with Qt, the docs are also FDL and the tests, as well as the tools are GPL-EXCEPT now. Change-Id: Ib0168a112c3bcd340576f92416a6fe36fa315240 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Use the same license wording for GPL3 as the standard Qt 5.7 license.Robert Griebl2016-04-113-39/+42
| | | | | Change-Id: I0f8cb01cd1239bf70434f3b39392a1464c32620e Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Updated copyright year to 2016Robert Griebl2016-03-173-3/+3
| | | | | Change-Id: I2630c098272ec75bed0333d7eab0610c0c621893 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Added support for application aliases (shortcuts).Robert Griebl2016-02-192-2/+2
| | | | | | | | | | | Built-in applications can now have additional manifest files (besides info.yaml), that act as aliases (or shortcuts) to get multiple entries in the launcher pointing to the same executable. While at it, the deprecated JsonApplicationScanner was removed. Change-Id: I73530bab28d977659cd039352e165141f8f4330d Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Tweaked the header layout a little bit, so that it passes the CI check.Robert Griebl2015-11-203-12/+12
| | | | | | | Also change-id I8ffe7bca in qtqa is needed for this to work. Change-Id: I15d1e641e5d3888b4a46c16267a6059f85b32487 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Initial commit of Pelagicore's ApplicationManager with squashed history.Robert Griebl2015-10-2619-0/+733
(minus all 3rd party stuff - we will re-add them later, potentially changing the way some of them are handled completely) Change-Id: I55f15b12f0dbe0c4f979206eaa163d4793ff7073 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>