[Marble-bugs] [marble] [Bug 331469] New: Simplify the ScreenOverlay unit test

Dennis Nienhüser earthwings at gentoo.org
Mon Feb 24 18:58:17 UTC 2014


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

            Bug ID: 331469
           Summary: Simplify the ScreenOverlay unit test
    Classification: Unclassified
           Product: marble
           Version: 1.7 (KDE 4.12)
          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

Make sure to compile Marble with the following cmake options enabled:
BUILD_MARBLE_TESTS=TRUE, BUILD_MARBLE_TOOLS=TRUE. 

Move the inline KML file defined in TestScreenOverlay::simpleParseTest() to a
new file tests/data/ScreenOverlay.kml. Add this file to TestGeoDataWriter.
Execute tests/TestGeoDataWriter from the build folder to execute the unit test
and make sure it finishes successfully. Use the tool kml2kml in the build
folder to find errors in your implementation if the test fails. Once everything
works, remove TestScreenOverlay.

Add another ScreenOverlay to ScreenOverlay.kml where the ScreenOverlay tag is a
direct child of the kml tag (not inside a folder). Make sure the unit test
still works.

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