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.
I want to work on this task
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