Bug report #17766

TestQgsComposerUtils::fontDescentMM() 'qgsDoubleNear( QgsComposerUtils::fontDescentMM( mTestFont ), 0.9, 0.05 )' returned FALSE. ()

Added by Sandro Santilli over 6 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Tests Suite
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:25662

Description

Running ./output/bin/qgis_composerutilstest I get the following failure:

QDEBUG : TestQgsComposerUtils::fontDescentMM() Expecting 0.900000 got 1.000000 (diff 0.100000 > 0.050000)
FAIL! : TestQgsComposerUtils::fontDescentMM() 'qgsDoubleNear( QgsComposerUtils::fontDescentMM( mTestFont ), 0.9, 0.05 )' returned FALSE. ()
Loc: [/usr/src/qgis/qgis-master/tests/src/core/testqgscomposerutils.cpp(533)]

This is as of 626781a63a2e2e23345cdb55d0b5c2856bf80ca6 on an Ubuntu 17.04 with a DEBUG typed build (cmake -D CMAKE_BUILD_TYPE=Debug)

History

#1 Updated by Nyall Dawson over 5 years ago

  • Status changed from Open to Closed

Test/class no longer exists

Also available in: Atom PDF