One TestGeoDataWriter test fails with Qt 5.5.1

Bug #1522468 reported by Timo Jyrinki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
marble (Ubuntu)
Fix Released
Undecided
Timo Jyrinki

Bug Description

FAIL! : TestGeoDataWriter::saveAndCompare(Tour.kml) Compared values are not the same
   Actual (newFile.readAll().simplified()): "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <kml xmlns=\"http://www.opengis.net/kml/2.2\" xmlns:gx=\"http://www.google.com/kml/ext/2.2\"> <Document> <name>balloonVisibility Example</name> <gx:Tour> <name>Play me</name> <gx:Playlist> <gx:FlyTo> <g"...
   Expected (oldFile.readAll().simplified()): "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <kml xmlns=\"http://www.opengis.net/kml/2.2\" xmlns:gx=\"http://www.google.com/kml/ext/2.2\"> <Document> <name>balloonVisibility Example</name> <gx:Tour> <name>Play me</name> <gx:Playlist> <gx:FlyTo> <g"...
   Loc: [../../tests/TestGeoDataWriter.cpp(175)]

The failure is in more detail after qDebug() outputs that the "4.2" as "4.2000000000000002".

Tags: qt5.5
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
Changed in marble (Ubuntu):
assignee: nobody → Timo Jyrinki (timo-jyrinki)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package marble - 4:15.08.2-0ubuntu3

---------------
marble (4:15.08.2-0ubuntu3) xenial; urgency=medium

  * debian/patches/Fix_a_failed_test_in_TestGeoDataWriter.patch:
    - Fix a double comparison test issue with Qt 5.5.1 (LP: #1522468)

 -- Timo Jyrinki <email address hidden> Thu, 03 Dec 2015 17:50:21 +0200

Changed in marble (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.