Add operator== and operator!= to each of the classes GeoDataBalloonStyle, GeoDataColorStyle and GeoDataCamera. Extend tests/TestEquality by a new unit test method for each of the classes which verifies the implementation for several instances of each class. Make sure to compile Marble with the BUILD_MARBLE_TESTS=TRUE option enabled and run the test case from the build folder (run tests/TestEquality). Note that operator!= should call operator==, see GeoDataAccuracy for an example. Submit a review request at https://git.reviewboard.kde.org Please leave a comment here (e.g. "I want to work on this task.") if you start working on this task to avoid multiple people working on it at the same time.
I want to work on this task.
I made a post review with the patch for this BUG: https://git.reviewboard.kde.org/r/116110/ Waiting for feedback.
Git commit 561c57fdbe6e246f602dc5a181d0d423c52e21f0 by Dennis Nienhüser, on behalf of Cruceru Calin-Cristian. Committed on 27/02/2014 at 21:30. Pushed by nienhueser into branch 'master'. Equality operators for GDBalloonStyle, GDColorStyle and GDCamera REVIEW: 116110 M +11 -0 src/lib/marble/geodata/data/GeoDataBalloonStyle.cpp M +3 -0 src/lib/marble/geodata/data/GeoDataBalloonStyle.h M +14 -0 src/lib/marble/geodata/data/GeoDataCamera.cpp M +2 -0 src/lib/marble/geodata/data/GeoDataCamera.h M +11 -0 src/lib/marble/geodata/data/GeoDataColorStyle.cpp M +2 -0 src/lib/marble/geodata/data/GeoDataColorStyle.h M +70 -0 tests/TestEquality.cpp http://commits.kde.org/marble/561c57fdbe6e246f602dc5a181d0d423c52e21f0