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

toLocal8Bit() test seems faulty to me

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.0 Alpha
    • None
    • Linux

    Description

      I checked the "toLocal8Bit()" test in tests/auto/corelib/codecs/qtextcodec. It starts a process, writes two bytes to the process and then asserts that the process exits normally with exit code 0. It never reads anything from anywhere.

      The process it starts is defined in test/auto/corelib/codecs/qtextcodec/echo for all I can tell. That process prints a string to stdout and then quits with exit code 0. It never reads anything from anywhere as far as I can tell.

      I fail to see how this test actually tests anything related to QTextCodec.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            hunger Tobias Hunger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes