summaryrefslogtreecommitdiffstats
path: root/QtMobility
diff options
context:
space:
mode:
authorNatalia Shubina <natalia.shubina@nokia.com>2011-04-15 14:48:23 +1000
committerNatalia Shubina <natalia.shubina@nokia.com>2011-04-15 14:48:23 +1000
commit6aaddb5391ea299687796b96b1c3e03eb4e4b2a3 (patch)
tree9f5cd80d72d730554e8fad38dc581be018721f56 /QtMobility
parente4e9d1e29bbc1f4a122a19c23f2e6bb85f626a8a (diff)
Add qml location's tests
Diffstat (limited to 'QtMobility')
-rw-r--r--QtMobility/sys_location/sys_location.qtt30
1 files changed, 30 insertions, 0 deletions
diff --git a/QtMobility/sys_location/sys_location.qtt b/QtMobility/sys_location/sys_location.qtt
index c405a1e..1e09916 100644
--- a/QtMobility/sys_location/sys_location.qtt
+++ b/QtMobility/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