Bug 331557 - Add a .kml file as a unit test for gx:Track and gx:MultiTrack parsing/writing
Summary: Add a .kml file as a unit test for gx:Track and gx:MultiTrack parsing/writing
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: 1.7 (KDE 4.12)
Platform: unspecified Linux
: NOR task
Target Milestone: ---
Assignee: Sanjiban Bairagya
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2014-02-26 23:16 UTC by Dennis Nienhüser
Modified: 2014-02-27 21:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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