Bug 334285

Summary: Equality operators for NetworkLink and NetworkLinkControl
Product: [Applications] marble Reporter: Dennis Nienhüser <nienhueser>
Component: generalAssignee: Cruceru Calin-Cristian <crucerucalincristian>
Status: RESOLVED FIXED    
Severity: task CC: crucerucalincristian
Priority: NOR Keywords: junior-jobs
Version: 1.7 (KDE 4.12)   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 334276    
Bug Blocks: 334286    

Description Dennis Nienhüser 2014-05-03 15:53:05 UTC
Add operator== and operator!= to the classes GeoDataNetworkLink and GeoDataNetworkLinkControl. Make sure to include a call to the equals() method of GeoDataFeature in the implementation. The check for equality of m_abstractView in GeoDataNetworkLinkControl should be done just like GeoDataFeature does (see the description in bug 334276).

Extend TestEquality for new unit test methods for GeoDataNetworkLink and GeoDataNetworkLinkControl instances. 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). 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.
Comment 1 Cruceru Calin-Cristian 2014-05-03 22:48:29 UTC
I want to work on this task. I already finished solving the bug this bug depends on (https://bugs.kde.org/show_bug.cgi?id=334276) and I will like to solve this too.