[Marble-bugs] [marble] [Bug 331532] New: Extend unit test KML files to cover various KML Style tags

Dennis Nienhüser earthwings at gentoo.org
Wed Feb 26 12:27:37 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=331532

            Bug ID: 331532
           Summary: Extend unit test KML files to cover various KML Style
                    tags
    Classification: Unclassified
           Product: marble
           Version: 1.8 (KDE 4.13)
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Keywords: google-code-in, junior-jobs
          Severity: task
          Priority: NOR
         Component: general
          Assignee: marble-bugs at kde.org
          Reporter: earthwings at gentoo.org

In KML various *Style tags can be used to specify the rendering of elements.
See examples/kml/germany.kml in Marble's sources for some examples and the KML
reference at https://developers.google.com/kml/documentation/kmlreference

Marble has tag handlers and tag writers for parsing and writing these tags, but
the unit tests currently do not cover them appropriately. Extend the .kml files
in tests/data/ to include at least one tag for each with non-default values of
- BalloonStyle
- ColorStyle
- IconStyle
- LineStyle
- ListStyle
- PolyStyle

Make sure to compile Marble with the following cmake options enabled:
BUILD_MARBLE_TESTS=TRUE, BUILD_MARBLE_TOOLS=TRUE. Execute
tests/TestGeoDataWriter and make sure no errors come up. Use tools/kml2kml to
analyze errors and fix the tag writers, if needed. Submit a review request at
https://git.reviewboard.kde.org with the marble group 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list