qgis / qgis4.0_api

Tracker for QGIS 4.0 API related issues and developer discussion
3 stars 1 forks source link

Test issues #47

Open m-kuhn opened 8 years ago

m-kuhn commented 8 years ago

A list to keep track of failing tests. They are grouped by reasons (where possible) and with some notes about how to fix them. It's not yet 100% complete, but most are here

Pyspatialite not compatible with python 3

Fix analog to https://github.com/qgis/QGIS/pull/2701

Fixed in https://github.com/qgis/QGIS/commit/5c3a43e286684c5444e5a10eaea9ae3c8ba4a8c6

Require sip converter code

https://www.riverbankcomputing.com/pipermail/pyqt/2016-May/037500.html

Fixed in https://github.com/qgis/QGIS/commit/7ee55a78f1def25f9d3de5336d130aa82f28b3bc

Other

Traceback (most recent call last):
  File "/home/travis/build/qgis/QGIS/tests/src/python/test_qgsmapunitscale.py", line 94, in testMapUnitsPerPixel
    self.assertAlmostEqual(mup, 2.0, places=5)
AssertionError: 1.7983280182461667 != 2.0 within 5 places
FAIL!  : TestQgsComposerUtils::fontDescentMM() 'qgsDoubleNear( QgsComposerUtils::fontDescentMM( mTestFont ), 0.9, 0.05 )' returned FALSE. ()
   Loc: [/home/travis/build/qgis/QGIS/tests/src/core/testqgscomposerutils.cpp(599)]

Should be fixed with Qt 5.7

PAL tests:

nyalldawson commented 8 years ago

PAL tests: @nyalldawson, could I ask you for help here :)

Arggh pal tests! The worst kind of tests to update... I'll do my bit though

nyalldawson commented 8 years ago

@m-kuhn thanks btw - phenomenal work as usual!

m-kuhn commented 8 years ago

Arggh pal tests! The worst kind of tests to update... I'll do my bit though

It's mostly an image update. Except for the placement test which seems to have real issues.

nyalldawson commented 8 years ago

@m-kuhn the placement test doesn't react well to failures - the settings aren't reset so it looks like things are really broken when it may be just one or two failures

nyalldawson commented 8 years ago

@m-kuhn pal tests are fixed as of https://github.com/qgis/QGIS/commit/57d114e2e2bcf8cea6c17ad0a4e3dfc86f1ede57

nyalldawson commented 8 years ago

Composer table tests are fixed as of https://github.com/qgis/QGIS/commit/eb3a34cc9222348080cc305cb28bb0e3bd1c144d

nyalldawson commented 7 years ago

PyQgsMapUnitScale - fixed in https://github.com/qgis/QGIS/commit/e54f9bee7a0b82936c4c4621ac387b173553505a

mhugo commented 7 years ago

spatialite issues (including unit tests) fixed in https://github.com/qgis/QGIS/commit/5c3a43e286684c5444e5a10eaea9ae3c8ba4a8c6