[Marble-devel] Review Request 117408: Bug 333117 - Equality operators for time related classes

Cruceru Calin-Cristian crucerucalincristian at gmail.com
Sun Apr 6 22:54:21 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/117408/
-----------------------------------------------------------

Review request for Marble.


Bugs: 333117
    http://bugs.kde.org/show_bug.cgi?id=333117


Repository: marble


Description
-------

Added operator== and operator!= to the classes GeoDataTimeSpan and GeoDataTimeStamp. 
Changed the protected bool equals method of GeoDataObject to become virtual, and overwrote it in GeoDataAbstractView. 
Made sure that TestEquality still succeeds. 
Extended TestEquality by a new unit test method for GeoDataTimeSpan and GeoDataTimeStamp.


Diffs
-----

  src/lib/marble/geodata/data/GeoDataAbstractView.h 820354b 
  src/lib/marble/geodata/data/GeoDataAbstractView.cpp 1c00395 
  src/lib/marble/geodata/data/GeoDataGeometry.h cf2c66f 
  src/lib/marble/geodata/data/GeoDataGeometry.cpp 094e9aa 
  src/lib/marble/geodata/data/GeoDataObject.h b7869d4 
  src/lib/marble/geodata/data/GeoDataPoint.cpp 20fd44b 
  src/lib/marble/geodata/data/GeoDataTimeSpan.h bc019fc 
  src/lib/marble/geodata/data/GeoDataTimeSpan.cpp 4f1fbae 
  src/lib/marble/geodata/data/GeoDataTimeStamp.h da281b1 
  src/lib/marble/geodata/data/GeoDataTimeStamp.cpp e65539a 
  tests/TestEquality.cpp bf4ee53 

Diff: https://git.reviewboard.kde.org/r/117408/diff/


Testing
-------

The tests are within TestEquality.cpp. I also checked the GeoDataObject::equals() functionality.


Thanks,

Cruceru Calin-Cristian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20140406/cb613a6a/attachment.html>


More information about the Marble-devel mailing list