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

tst_qprinter is broken on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.0.0
    • GUI: Printing
    • None
    • Broken on at least Ubuntu 10.04 (32-bit) and 11.04 (64-bit), both with QPA.
    • 78c27380c6b029b7908642b92ea68aca649e2384

    Description

      ********* Start testing of tst_QPrinter *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      PASS   : tst_QPrinter::initTestCase()
      FAIL!  : tst_QPrinter::getSetCheck() Compared values are not the same
         Loc: [tst_qprinter.cpp(201)]
      PASS   : tst_QPrinter::testPageRectAndPaperRect()
      PASS   : tst_QPrinter::testSetOptions()
      PASS   : tst_QPrinter::testMargins()
      QWARN  : tst_QPrinter::testPageSetupDialog() QPageSetupDialog: Cannot be used on non-native printers
      PASS   : tst_QPrinter::testPageSetupDialog()
      SKIP   : tst_QPrinter::testMulitpleSets(lowResLetter) Current page size is not supported on this printer
         Loc: [tst_qprinter.cpp(471)]
      SKIP   : tst_QPrinter::testMulitpleSets(lowResA5) Current page size is not supported on this printer
         Loc: [tst_qprinter.cpp(471)]
      SKIP   : tst_QPrinter::testMulitpleSets(midResLetter) Current page size is not supported on this printer
         Loc: [tst_qprinter.cpp(471)]
      SKIP   : tst_QPrinter::testMulitpleSets(midResA5) Current page size is not supported on this printer
         Loc: [tst_qprinter.cpp(471)]
      SKIP   : tst_QPrinter::testMulitpleSets(highResLetter) Current page size is not supported on this printer
         Loc: [tst_qprinter.cpp(471)]
      SKIP   : tst_QPrinter::testMulitpleSets(highResA5) Current page size is not supported on this printer
         Loc: [tst_qprinter.cpp(471)]
      PASS   : tst_QPrinter::testPageMargins()
      PASS   : tst_QPrinter::changingOutputFormat()
      SKIP   : tst_QPrinter::outputFormatFromSuffix() No printers available.
         Loc: [tst_qprinter.cpp(508)]
      FAIL!  : tst_QPrinter::setGetPaperSize() Compared values are not the same
         Actual (p.paperSize(QPrinter::Millimeter)): QSizeF(210x297)
         Expected (size): QSizeF(500x10)
         Loc: [tst_qprinter.cpp(523)]
      FAIL!  : tst_QPrinter::valuePreservation() Compared values are not the same
         Loc: [tst_qprinter.cpp(765)]
      QWARN  : tst_QPrinter::errorReporting() QPainter::begin(): Returned false
      PASS   : tst_QPrinter::errorReporting()
      FAIL!  : tst_QPrinter::testCustomPageSizes() Compared values are not the same
         Actual (paperSize): QSizeF(8.26772x11.6929)
         Expected (customSize): QSizeF(8.5x11)
         Loc: [tst_qprinter.cpp(885)]
      PASS   : tst_QPrinter::printDialogCompleter()
      PASS   : tst_QPrinter::testCopyCount()
      PASS   : tst_QPrinter::testCurrentPage()
      FAIL!  : tst_QPrinter::taskQTBUG4497_reusePrinterOnDifferentFiles() Compared values are not the same
         Actual (file1.readAll()): 25 50 44 46 2D 31 2E 34 0A 31 20 30 20 6F 62 6A 0A 3C 3C 0A 2F 54 69 74 6C 65 20 28 FE FF 29 0A 2F 43 72 65 61 74 6F 72 20 28 FE FF 29 0A 2F 50 72 6F ...
         Expected (file2.readAll()): 25 50 44 46 2D 31 2E 34 0A 31 20 30 20 6F 62 6A 0A 3C 3C 0A 2F 54 69 74 6C 65 20 28 FE FF 29 0A 2F 43 72 65 61 74 6F 72 20 28 FE FF 29 0A 2F 50 72 6F ...
         Loc: [tst_qprinter.cpp(945)]
      PASS   : tst_QPrinter::testPdfTitle()
      PASS   : tst_QPrinter::cleanupTestCase()
      Totals: 13 passed, 5 failed, 7 skipped
      ********* Finished testing of tst_QPrinter *********
      

      Attachments

        Issue Links

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

          Activity

            People

              seahumad [BB] Sergio Ahumada (Inactive)
              bdo Jo Asplin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes