Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6020

QTest::qExec( QObject * testObject, const QStringList & arguments ) parameter badly interpreted

    XMLWordPrintable

Details

    Description

      In function:
      int QTest::qExec ( QObject * testObject, const QStringList & arguments );
      second parameter is badly interpreted. The first element of the arguments variable have to be a dummy element.
      For example if I want to run an autotest:
      tst_qwebview -o filename.txt
      I had to create arguments like that:
      arguments << " " << "-o" << "filename.txt";
      if I skip the first element, the last argument (filename.txt) will be interpreted as a test case.

      (copy of QT-2521)

      Attachments

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

        Activity

          People

            macadder Jason McDonald
            rmcgover Rohan McGovern (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes