[Marble-bugs] [marble] [Bug 339443] New: GeoDataPlacemark::operator= seems incomplete

Dennis Nienhüser earthwings at gentoo.org
Sat Sep 27 04:24:17 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=339443

            Bug ID: 339443
           Summary: GeoDataPlacemark::operator= seems incomplete
           Product: marble
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: marble-bugs at kde.org
          Reporter: earthwings at gentoo.org

Adding GeoDataPlacemark::operator= in eaf2347 broke Marble::RouteRequestTest.
Adding GeoDataFeature::operator=( other ); at the start of the method would fix
that test but breaks TestGeoDataCopy (parent seems copied then). Since you
(Bernhard) looked into all that anyway I'll leave it up to you to figure out a
nice solution :)

********* Start testing of Marble::RouteRequestTest *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS   : Marble::RouteRequestTest::initTestCase()
PASS   : Marble::RouteRequestTest::defaultConstructor()
FAIL!  : Marble::RouteRequestTest::reverse() Compared values are not the same
   Actual (request[1].name()): B
   Expected (QString("A")): A
   Loc: [/home/nienhues/marble/src/tests/RouteRequestTest.cpp(61)]
PASS   : Marble::RouteRequestTest::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped
********* Finished testing of Marble::RouteRequestTest *********

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list