Bug 331557

Summary: Add a .kml file as a unit test for gx:Track and gx:MultiTrack parsing/writing
Product: [Applications] marble Reporter: Dennis Nienhüser <nienhueser>
Component: generalAssignee: Sanjiban Bairagya <sanjiban22393>
Status: RESOLVED FIXED    
Severity: task CC: sanjiban22393
Priority: NOR Keywords: junior-jobs
Version: 1.7 (KDE 4.12)   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dennis Nienhüser 2014-02-26 23:16:16 UTC
Create a new file tests/data/Track.kml and add it to TestGeoDataWriter.cpp. You can create the file with Marble: Create a route, then choose "Current route" in the Location panel. Export the route as Track.kml and clean it up a bit (shouldn't be too large).

Build Marble with unit tests enabled and verify that tests/TestGeoDataWriter still succeeds. If not, use the kml2kml tool to check for differences and fix the writer classes accordingly.

Make sure to compile Marble with the following cmake options enabled: BUILD_MARBLE_TESTS=TRUE, BUILD_MARBLE_TOOLS=TRUE. Submit a review request at https://git.reviewboard.kde.org with the marble groups as reviewers.

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 Sanjiban Bairagya 2014-02-26 23:27:23 UTC
I want to work on this task
Comment 2 Dennis Nienhüser 2014-02-27 21:04:41 UTC
Git commit ad477722c060f4043a7c5bd2e65f092aa42a2b07 by Dennis Nienhüser, on behalf of Sanjiban Bairagya.
Committed on 27/02/2014 at 21:03.
Pushed by nienhueser into branch 'master'.

Unit test for gx:Track and gx:MultiTrack parsing/writing

REVIEW: 116109

M  +4    -0    tests/TestGeoDataWriter.cpp
A  +54   -0    tests/data/Track.kml

http://commits.kde.org/marble/ad477722c060f4043a7c5bd2e65f092aa42a2b07