diff options
author | Natalia Shubina <natalia.shubina@nokia.com> | 2011-04-15 14:48:23 +1000 |
---|---|---|
committer | Natalia Shubina <natalia.shubina@nokia.com> | 2011-04-15 14:48:23 +1000 |
commit | 4edab6ca2893072d915e3c9fce916d6ee94ad10d (patch) | |
tree | 960a1a9971040fe125873f549636c6d1ab1c2075 | |
parent | 21c7df89c8af6c5f4de4e40bcf79c64018b3959e (diff) |
Add qml location's tests
-rw-r--r-- | sys_location/sys_location.qtt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sys_location/sys_location.qtt b/sys_location/sys_location.qtt index c405a1ef04..1e09916ad9 100644 --- a/sys_location/sys_location.qtt +++ b/sys_location/sys_location.qtt @@ -204,7 +204,37 @@ testcase = { request_landmarks_for_given_coordinate_with_reverse_geocoding: function() { skip( "Nothing tested", SkipAll ); + }, + + //TESTED_COMPONENT=plugins/declarative/location + + qml_display_map: function() + { + //test case for QTMOBILITY-796: QML for Maps & Navigation:mapping + prompt(twiki('---+++ Map is displayed + Note that GPS and internet connection is required for this test case + | *Step* | *Verification* | + | Run the testQtLocation application | | + | Select the MapNavigation.qml | | + | Tap on Mode button | Verify that map is loaded for current position | + )); + }, + + qml_zoom_map: function() + { + //test case for QTMOBILITY-796: QML for Maps & Navigation:mapping + prompt(twiki('---+++ Zoom in and out the map + Note that GPS and internet connection is required for this test case + | *Step* | *Verification* | + | Run the testQtLocation application | | + | Select the MapNavigation.qml | | + | Tap on the Mode button | Verify that map is loaded | + | Tap on Plus button | Verify that map is zoomed in | + | Tap on Plus button | Verify that zoom level is decreased and map is displayed correctly with new zoom level | + )); } + + } // end of testcase |