[Marble-devel] Review Request 117401: Equality operators for overlay related classes

Sanjiban Bairagya sanjiban22393 at gmail.com
Sun Apr 6 11:44:28 UTC 2014


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

(Updated April 6, 2014, 11:44 a.m.)


Review request for Marble.


Changes
-------

Some indentation and spacing modifications in TestEquality


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


Repository: marble


Description
-------

- Added the definition for GeoDataGroundOverlay::setLatLonQuad(const GeoDataLatLonQuad& quad)
- Added operator== and operator!= to the classes GeoDataViewVolume, GeoDataVec2, GeoDataScreenOverlay, GeoDataPhotoOverlay and GeoDataGroundOverlay
- Added a protected bool equals( const GeoDataOverlay &other ) const method to GeoDataOverlay which is called in operator== of GeoDataScreenOverlay, GeoDataPhotoOverlay and GeoDataGroundOverlay to avoid redundancy. 
- Extended tests/TestEquality by a new unit test method for each of the classes (except of GeoDataOverlay) which verifies the implementation for several instances of each class.


Diffs (updated)
-----

  src/lib/marble/geodata/data/GeoDataGroundOverlay.h 2e144af 
  src/lib/marble/geodata/data/GeoDataGroundOverlay.cpp 0a87dc4 
  src/lib/marble/geodata/data/GeoDataOverlay.h cbfa36a 
  src/lib/marble/geodata/data/GeoDataOverlay.cpp dd02665 
  src/lib/marble/geodata/data/GeoDataPhotoOverlay.h d7bae96 
  src/lib/marble/geodata/data/GeoDataPhotoOverlay.cpp b4baf39 
  src/lib/marble/geodata/data/GeoDataScreenOverlay.h 084fb79 
  src/lib/marble/geodata/data/GeoDataScreenOverlay.cpp 3fe3375 
  src/lib/marble/geodata/data/GeoDataVec2.h 6676281 
  src/lib/marble/geodata/data/GeoDataVec2.cpp d27415d 
  src/lib/marble/geodata/data/GeoDataViewVolume.h a138338 
  src/lib/marble/geodata/data/GeoDataViewVolume.cpp 0ede2a8 
  tests/TestEquality.cpp bf4ee53 

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


Testing
-------


Thanks,

Sanjiban Bairagya

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


More information about the Marble-devel mailing list