summaryrefslogtreecommitdiff
path: root/tests/auto/android
Commit message (Collapse)AuthorAgeFilesLines
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Android: FilePath-ify AVD handling codeAlessandro Portale2023-01-041-6/+6
| | | | | | | Change-Id: Id08414f8fb9ce7f4fac5221cd24392e25f02f00d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Tests: Fix android autotestChristian Stenger2022-08-083-6/+41
| | | | | | | | While at it add qbs build files. Change-Id: I2a57f7addda9e980a9e429a3d69e0994dac6d120 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Use QTEST_GUILESS_MAIN where applicableEike Ziller2022-06-131-1/+1
| | | | | | | | | | instead of QTEST_MAIN. Reduces the initialization that is done by the Qt test applications, and can also reduce interference with normal OS operations like the current window loosing focus. Change-Id: If88f289281aa1c8703ac7d4dbe0799d067c16588 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Android: Get rid of the avd info fields in AndroidDeviceInfoAssam Boudjelthia2022-03-141-15/+7
| | | | | | | | | | | | | | | | The AVD specific fields don't need to be carried out by QtC settings, these can be read from the AVD's config file when they are needed. This also is good because those values can change at any time, either manually or by some other IDE like Android Studio, and thus we don't really need to manage them ourselves. The fields in question are: skin name, target name, sdcard size, openGL status. Change-Id: I86163500ec2fed035e32ec02ed17e182778db4a7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Fix avdmanageroutputparser testEike Ziller2022-02-031-3/+0
| | | | | | | | | | | | | | | - There is no PLUGIN_DEPENDS for tests, and it wouldn't work anyhow because of duplicated symbols. It was interpreted as a dependency and the test disabled because no such target exists. - Move the platformNameToApiLevel(...) function to avdmanageroutputparser.h to break the dependency to a lot of Android support code. Amends 78da7e2922274c429bb677abf63157b8ae679d03 Change-Id: I6933684a76e5291d415c72388caa3df2bee7cbfb Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: remove unauthorized field form AndroidDeviceInfoAssam Boudjelthia2021-10-251-3/+0
| | | | | | | | | | | This is not really needed anymore, it was mainly used for physical devices to report whether they need user authorization to be used via adb. This is now handled by IDevice::DeviceState, where a Connected device is unauthorized, otherwise any physical device is ReadyToUse if authorization is good. Change-Id: If5c1e49b98063eabe4205cd8adb5b11515e1e1de Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: remove AndroidDeviceType and State from AndroidDeviceInfoAssam Boudjelthia2021-10-251-6/+6
| | | | | | | | | No need to have these enums which are now only a duplication of IDevice::MachineType and IDevice::DeviceState. Change-Id: Icc3f112f2670c7354bb282b36fad0f0631b9e047 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Move sdkmanager's sdk level parsing to AndroidConfigAssam Boudjelthia2021-10-131-0/+3
| | | | | | | | | | Both the sdkmanger and avdmanager (maybe more) need to parse the sdk level for packages and devices which may contain letters, make them use the same logic. Change-Id: Iff7fef3a66e00fac11b833f73f2f334a4cf1a766 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Android: Fix AVD display if there are no AVDsEike Ziller2021-05-101-0/+3
| | | | | | | | | Fix that a broken dummy item was shown in the AVD Manager tab in the Android options, if no AVD is available. Fixes: QTCREATORBUG-19338 Change-Id: I31550812c332ff78d107d79682e064aa9eae1070 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: Make avd output parsing testableEike Ziller2021-05-104-0/+377
And add some tests Change-Id: Ife0e0c60f55251a1ac23215055ece8fb01478d59 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>