Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20642

Test name becomes value of language property

    XMLWordPrintable

Details

    • Linux/X11
    • 31050ad6fcd95f80201acdce2969f3ca38b8e835

    Description

      One of our Qt Quick Test is named after the value of a property called language in the test.

      In a simplified version of our QtQuickTest (tst_Settings.qml) we have:

      import QtQuick 2.10
      import QtTest 1.0
      Item {
          TestCase {
              name: "SettingsTest"
          }
          QtObject {
              property var ui: Settings {
                  property string language: "English"
              }
          }
      }
      

      In QtCreator this test is named "English" and not "SettingsTest".

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cstenger Christian Stenger
            escyll Jesper Huijgens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes