XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • P2: Important
    • QtGP 1.0
    • None
    • None
    • Android
    • 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

      Attachments

        1. jacoco.zip
          136 kB
        2. test.zip
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            teko Tero Koponen
            rampe Rami Potinkara
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes