Add operator== and operator!= to the classes GeoDataSimpleField and GeoDataSchema. Make sure to also call the equals() method of GeoDataObject in GeoDataSchema. Extend TestEquality by a new unit test method for each class 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.
Git commit 2337dc2816111884823c4c920c482cb0e56df2c7 by Dennis Nienhüser, on behalf of Sanjiban Bairagya. Committed on 10/04/2014 at 14:57. Pushed by nienhueser into branch 'master'. Equality operators for Schema and SimpleField REVIEW: 117483 M +13 -0 src/lib/marble/geodata/data/GeoDataSchema.cpp M +2 -0 src/lib/marble/geodata/data/GeoDataSchema.h M +12 -0 src/lib/marble/geodata/data/GeoDataSimpleField.cpp M +2 -0 src/lib/marble/geodata/data/GeoDataSimpleField.h M +63 -0 tests/TestEquality.cpp http://commits.kde.org/marble/2337dc2816111884823c4c920c482cb0e56df2c7