Details
-
Technical task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
-
2024wk20s2FOQtforAndroid, 2024wk22s2FOQtforAndroid, 2024wk24s2FOQtforAndroid
-
99d29348d (dev), d49a7591c (dev), acc78d800 (dev), 52bf8efb6 (dev), d74374880 (dev), 954c0bcff (dev)
Description
Figure out a verification method. Either manual or automated.
- Qt Gradle Plugin tests:
- Plugin is applied
- Extension is registered
- Build task is found
- Extension properties go to the task
- Qt Build Task tests:
- commands
- configCommand
- buildCommand
- These are better to be tested some other way. Reason: Uses variables configured during runtime, that would need to be configured in the test. aka: long test.
- Helper functions
- Others
- build directory is appended with "qt_generated/'projectName'"
- empty settings.gradle gets created
- QtBuildTask dependency gest added
- Exec
- produces success with valid input
- produces error with failing input
- JSON
- read json file
- extract value from json
- CMake & Ninja
- qt-cmake returns correct path
- ninja returns correct path
- SDK & NDK
- works with valid sdk
- produces error with invalid sdk
- ndk gets found
- Others
- commands
Attachments
For Gerrit Dashboard: QTTA-57 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
564369,20 | Add tests for QtGradlePlugin | dev | qt-labs/qtgradleplugin | Status: MERGED | +2 | 0 |
568035,6 | Add tests to QtBuildTaskTest class | dev | qt-labs/qtgradleplugin | Status: MERGED | +2 | 0 |
568054,5 | Add exec tests to QtBuildTaskTest class | dev | qt-labs/qtgradleplugin | Status: MERGED | +2 | 0 |
568061,7 | Add json helper tests to QtBuildTaskTest class | dev | qt-labs/qtgradleplugin | Status: MERGED | +2 | 0 |
576906,4 | Add cmake and ninja tests to QtBuildTaskTest class | dev | qt-labs/qtgradleplugin | Status: MERGED | +2 | 0 |
578238,5 | Add SDK and NDK tests to QtBuildTaskTest class | dev | qt-labs/qtgradleplugin | Status: MERGED | +2 | 0 |