summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2011-07-13 15:47:08 +1000
committerAaron McCarthy <aaron.mccarthy@nokia.com>2011-07-13 16:34:34 +1000
commitbebaf4b6411b0729f73ed977798e4024bdb562ac (patch)
treea04686679cf5f63892d610d66b8e35a5e4d5200e /tests
parent31b9ab4141bfc5b2c548e8385d91c90944c91f63 (diff)
parent47db4be971b687c74d40b798c400c8ca99147aed (diff)
downloadqtlocation-bebaf4b6411b0729f73ed977798e4024bdb562ac.tar.gz
Merge remote branch 'origin/master' into places-base
Conflicts: examples/declarative/mapviewer/mapviewer.qml src/location/maps/qgeosearchmanager.h src/location/maps/qgeosearchmanager_p.h Change-Id: I7ae2e6b1b748cd8eee3a5cc7520a956a1fcde0cd
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/tst_bounding_area.qml34
-rw-r--r--tests/auto/declarative/tst_map_geocoding.qml34
-rw-r--r--tests/auto/declarative/tst_map_mouse.qml34
-rw-r--r--tests/auto/declarative/tst_map_objectview_qml134
-rw-r--r--tests/auto/declarative/tst_map_qml134
-rw-r--r--tests/auto/declarative/tst_map_routing.qml34
-rw-r--r--tests/auto/declarative/tst_plugin.qml34
-rw-r--r--tests/auto/declarative/tst_qmlmapsandnav.cpp36
-rw-r--r--tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h34
-rw-r--r--tests/auto/geotestplugin/qgeosearchmanagerengine_test.h34
-rw-r--r--tests/auto/geotestplugin/qgeoserviceproviderplugin_test.cpp34
-rw-r--r--tests/auto/geotestplugin/qgeoserviceproviderplugin_test.h34
-rw-r--r--tests/systemtests/sys_location.pro11
-rw-r--r--tests/systemtests/sys_location.qtt848
-rw-r--r--tests/tests.pro2
15 files changed, 1066 insertions, 205 deletions
diff --git a/tests/auto/declarative/tst_bounding_area.qml b/tests/auto/declarative/tst_bounding_area.qml
index e71cb9cd..f8f0264f 100644
--- a/tests/auto/declarative/tst_bounding_area.qml
+++ b/tests/auto/declarative/tst_bounding_area.qml
@@ -7,29 +7,29 @@
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
-**
** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
-** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
-**
-**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
**
**
**
diff --git a/tests/auto/declarative/tst_map_geocoding.qml b/tests/auto/declarative/tst_map_geocoding.qml
index 939982e0..69e07ae1 100644
--- a/tests/auto/declarative/tst_map_geocoding.qml
+++ b/tests/auto/declarative/tst_map_geocoding.qml
@@ -7,29 +7,29 @@
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
-**
** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
-** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
-**
-**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
**
**
**
diff --git a/tests/auto/declarative/tst_map_mouse.qml b/tests/auto/declarative/tst_map_mouse.qml
index d0b4aa55..416fd18d 100644
--- a/tests/auto/declarative/tst_map_mouse.qml
+++ b/tests/auto/declarative/tst_map_mouse.qml
@@ -7,29 +7,29 @@
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
-**
** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
-** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
-**
-**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
**
**
**
diff --git a/tests/auto/declarative/tst_map_objectview_qml1 b/tests/auto/declarative/tst_map_objectview_qml1
index 370a72b7..4e262c1b 100644
--- a/tests/auto/declarative/tst_map_objectview_qml1
+++ b/tests/auto/declarative/tst_map_objectview_qml1
@@ -7,29 +7,29 @@
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
-**
** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
-** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
-**
-**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
**
**
**
diff --git a/tests/auto/declarative/tst_map_qml1 b/tests/auto/declarative/tst_map_qml1
index 599e921e..cf235727 100644
--- a/tests/auto/declarative/tst_map_qml1
+++ b/tests/auto/declarative/tst_map_qml1
@@ -7,29 +7,29 @@
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
-**
** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
-** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
-**
-**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
**
**
**
diff --git a/tests/auto/declarative/tst_map_routing.qml b/tests/auto/declarative/tst_map_routing.qml
index 7435349b..b186760d 100644
--- a/tests/auto/declarative/tst_map_routing.qml
+++ b/tests/auto/declarative/tst_map_routing.qml
@@ -7,29 +7,29 @@
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
-**
** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
-** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
-**
-**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
**
**
**
diff --git a/tests/auto/declarative/tst_plugin.qml b/tests/auto/declarative/tst_plugin.qml
index 7a37b273..cac9d025 100644
--- a/tests/auto/declarative/tst_plugin.qml
+++ b/tests/auto/declarative/tst_plugin.qml
@@ -7,29 +7,29 @@
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
-**
** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
-** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
-**
-**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
**
**
**
diff --git a/tests/auto/declarative/tst_qmlmapsandnav.cpp b/tests/auto/declarative/tst_qmlmapsandnav.cpp
index cd5e2b2f..3b55a989 100644
--- a/tests/auto/declarative/tst_qmlmapsandnav.cpp
+++ b/tests/auto/declarative/tst_qmlmapsandnav.cpp
@@ -7,29 +7,29 @@
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
-**
** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
-** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
-**
-**
-**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
+**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
**
**
**
diff --git a/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h b/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h
index 93383adf..a3bb7f44 100644
--- a/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h
+++ b/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h
@@ -7,29 +7,29 @@
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
-**
** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
-** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
-**
-**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
**
**
**
diff --git a/tests/auto/geotestplugin/qgeosearchmanagerengine_test.h b/tests/auto/geotestplugin/qgeosearchmanagerengine_test.h
index e5b21757..f7abb36f 100644
--- a/tests/auto/geotestplugin/qgeosearchmanagerengine_test.h
+++ b/tests/auto/geotestplugin/qgeosearchmanagerengine_test.h
@@ -7,29 +7,29 @@
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
-**
** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
-** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
-**
-**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
**
**
**
diff --git a/tests/auto/geotestplugin/qgeoserviceproviderplugin_test.cpp b/tests/auto/geotestplugin/qgeoserviceproviderplugin_test.cpp
index e31bc8f6..41d961d4 100644
--- a/tests/auto/geotestplugin/qgeoserviceproviderplugin_test.cpp
+++ b/tests/auto/geotestplugin/qgeoserviceproviderplugin_test.cpp
@@ -7,29 +7,29 @@
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
-**
** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
-** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
-**
-**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
**
**
**
diff --git a/tests/auto/geotestplugin/qgeoserviceproviderplugin_test.h b/tests/auto/geotestplugin/qgeoserviceproviderplugin_test.h
index f747f38d..915b20b2 100644
--- a/tests/auto/geotestplugin/qgeoserviceproviderplugin_test.h
+++ b/tests/auto/geotestplugin/qgeoserviceproviderplugin_test.h
@@ -7,29 +7,29 @@
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
-** No Commercial Usage
-** This file contains pre-release code and may not be distributed.
-** You may use this file in accordance with the terms and conditions
-** contained in the Technology Preview License Agreement accompanying
-** this package.
-**
** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 2.1 requirements
-** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
+** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
-** If you have questions regarding the use of this file, please contact
-** Nokia at qt-info@nokia.com.
-**
-**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
**
**
**
diff --git a/tests/systemtests/sys_location.pro b/tests/systemtests/sys_location.pro
new file mode 100644
index 00000000..86e87423
--- /dev/null
+++ b/tests/systemtests/sys_location.pro
@@ -0,0 +1,11 @@
+CONFIG+=systemtest
+SOURCES=sys_location.qtt
+
+unix:!symbian {
+ maemo5 {
+ target.path = /opt/usr/bin
+ } else {
+ target.path = /usr/local/bin
+ }
+ INSTALLS += target
+}
diff --git a/tests/systemtests/sys_location.qtt b/tests/systemtests/sys_location.qtt
new file mode 100644
index 00000000..93c99fa4
--- /dev/null
+++ b/tests/systemtests/sys_location.qtt
@@ -0,0 +1,848 @@
+/****************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the Qt Mobility Components.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** GNU Lesser General Public License Usage
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this
+** file. Please review the following information to ensure the GNU Lesser
+** General Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights. These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU General
+** Public License version 3.0 as published by the Free Software Foundation
+** and appearing in the file LICENSE.GPL included in the packaging of this
+** file. Please review the following information to ensure the GNU General
+** Public License version 3.0 requirements will be met:
+** http://www.gnu.org/copyleft/gpl.html.
+**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+//TESTED_COMPONENT=src/location
+
+testcase = {
+
+ // \groups BAT,1.1,MOBILITY-65
+ current_position: function()
+ {
+ prompt(twiki('---+++ Position is detected
+ Note that GPS connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the weatherinfo_with_location example | Verify that weather information for your local area is displayed |'
+ ));
+ },
+
+ // \groups BAT,1.1,MOBILITY-65
+ location_is_updated: function()
+ {
+ prompt(twiki('---+++ Position changes are detected
+ Note that GPS and internet connection is required for this test case.
+ | *Step* | *Verification* |
+ | Run the lightmaps_with_location app (sources are in qtbase/examples/embedded/lightmaps). | Verify that map is displayed and centered with the current position |
+ | Move to a different location | Verify that map is updated and centered with new location |'
+ ));
+ },
+
+ // \groups BAT,1.2,QTMOBILITY-873
+ third_party_position_source: function()
+ {
+ prompt(twiki('---+++ Position is detected via cusom plugin
+ Note that GPS and internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the testQtLocation application (this is part of BlueWeel project, sources are in git@scm.dev.nokia.troll.no:qtmobility/qtmobility-tests.git | |
+ | Select the Custom Service | Verify that no "Unable to register location service" and "Not valid interface." messages appear |
+ | Press the Update Map button | Verify that map was loaded and correct current position is displayed |'
+ ));
+ },
+
+ //Note that significand precision should be taken into account during comparing real numbers, that is why we consider 5.48417e-16 value equal to zero
+ // \groups BAT,1.2,QTMOBILITY-658
+ shift_to_the_given_offset: function()
+ {
+ prompt(twiki('---+++ New coordinats are calculated
+ | *Step* | *Verification* |
+ | Run the testQtLocation application | |
+ | Select the MapNavigation | |
+ | Fill in 0 in to Start Latitude field | |
+ | Fill in *100* in to Start Longitude field | |
+ | Select Distance/Bearing from pre-defined dropdown list | |
+ | Fill *1000000, 90* in to the given field | |
+ | Press the Ok button | Verify that Destination fields are updated with *5.48417e-16* latitude and *108.9932* longitude |
+ | Fill in *60* in to Start Latitude field | |
+ | Fill in *100* in to Start Longitude field | |
+ | Select Distance/Bearing from pre-defined dropdown list | |
+ | Fill *1000000, 180* in to the given field | |
+ | Press the Ok button | Verify that Destination fields are updated with *51.0068* latitude and *100* longitude |
+ | Fill in *60* in to Start Latitude field | |
+ | Fill in *100* in to Start Longitude field | |
+ | Select Distance/Bearing from pre-defined dropdown list | |
+ | Fill *1000000, 20* in to the given field | |
+ | Press the Ok button | Verify that Destination fields are updated with *68.2523* latitude and *108.296* longitude |'
+ ));
+ },
+
+ // Landmarks
+
+ store_and_load_a_landmark_data: {
+ // Valid landmarks are -90~90 latitude, and -180~180 longitude
+ landmark : ["landmark", "20", "120"]
+ },
+
+ // \groups BAT,1.1,MOBILITY-66
+ store_and_load_a_landmark: function(name, latitude, longitude)
+ {
+ startApplication("landmarkbrowser");
+ select("Add Landmark");
+ enter("Latitude", latitude);
+ enter("Longitude", longitude);
+ enter("Name", name);
+ select("Ok");
+ prompt("Verify that the landmark record is created");
+ },
+
+ negative_store_and_load_a_landmark_data: {
+ // Landmarks outside the ranges -90~90 latitude, and -180~180 longitude
+ bad_landmark_lat : ["bad_landmark", "100", "120"],
+ bad_landmark_long : ["bad_landmark", "80", "300"]
+ },
+
+ // \groups BAT,1.1,MOBILITY-66
+ negative_store_and_load_a_landmark: function(name, latitude, longitude)
+ {
+ startApplication("landmarkbrowser");
+ select("Add Landmark");
+ enter("Latitude", latitude);
+ enter("Longitude", longitude);
+ enter("Name", name);
+ //expectMessageBox("Invalid");
+ prompt("Verify a message box is shown indicating the values are ouside the valid range")
+ select("Ok");
+ select("Cancel");
+ },
+
+ // \groups BAT,1.1,MOBILITY-66
+ sorted_search_based_on_category: function()
+ {
+ prompt(twiki('---+++ Landmarks for the specified category are displayed
+ | *Step* | *Verification* |
+ | Create Accomodation category | |
+ | Create Businesses category | |
+ | Run the landmarkbrowser application | |
+ | Create *A1* landmark in *Accomodation* category | |
+ | Create *A2* landmark in *Accomodation* category | |
+ | Create *BB* landmark in *Businesses* category | |
+ | Press the Set Filter button | |
+ | Select the Category checkbox | |
+ | Select Accomodation category | |
+ | Press Ok button | Verify that *only A1 and A2* landmark is in the list and they are present in alphabetical order |
+ | Press the Set Filter button | |
+ | Select Education category | |
+ | Press Ok button | Verify that no landmarks are in the list |'
+ ));
+ },
+
+ // \groups BAT,1.1,MOBILITY-66
+ sort_landmarks_in_alphabetical_and_nearest: function()
+ {
+ prompt(twiki('---+++ Nearest landmarks are displayed
+ | *Step* | *Verification* |
+ | Run the landmarkbrowser application | |
+ | Create landmark *A(12;0)* | |
+ | Create landmark *B(10;0)* | |
+ | Create landmark *C(8;0)* | |
+ | Create landmark *D(8;0)* | |
+ | Press Set Filter button | |
+ | Select Proximity checkbox | |
+ | Fill in 0 in to Lat field | |
+ | Fill in 0 in to Long field | |
+ | Fill in *10000000* in to *Radius* field | |
+ | Press Ok button | Verify that *C, D, B, A* landmarks are in the list (not in alphabetical order) |
+ | Press Set Filter button | |
+ | Change radius value to *1000000* | |
+ | Press Ok button | Verify that only *C and D* landmarks are in the list |
+ | Press Set Filter button | |
+ | Deselect Proximity checkbox | |
+ | Press Ok button | Verify that landmarks appear in alphabetical order from A to Z |'
+ ));
+ },
+
+ // \groups BAT,1.1,MOBILITY-66
+ landmarks_within_range_of_a_position: function()
+ {
+ prompt(twiki('---+++ Landmarks within range are displayed
+ | *Step* | *Verification* |
+ | Run the landmarkbrowser application | |
+ | Create landmark *A(12;0)* | |
+ | Create landmark *B(10;0)* | |
+ | Create landmark *C(8;0)* | |
+ | Create landmark *D(8;0)* | |
+ | Press Set Filter button | |
+ | Select Box checkbox | |
+ | Fill in 9 in to Top Left Lat field | |
+ | Fill in 0 in to Top Left Long field | |
+ | Fill in 0 i to Bottom Right Lat filed | |
+ | Fill in 1 in to Bottom Right Long field | |
+ | Press Ok button | Verify that only *C and D* landmarks are in the list and landmarks appear in alphabetical order |'
+ ));
+ },
+
+ // \groups BAT,1.1,MOBILITY-66
+ create_edit_and_delete_a_landmark: function()
+ {
+ //Landmark manager provides notifications whenever landmarks are added, updated or deleted
+ prompt(twiki('---+++ Landmarks are added, edited and deleted
+ | *Step* | *Verification* |
+ | Run the landmarkbrowser application | |
+ | Press Add Landmark button | |
+ | Fill in *AAA* in to *Name* field | |
+ | Fill in *30* into *Latitude* field | |
+ | Fill in *30* into *Longitude* field | |
+ | Press Ok button | Verify that message "Landmark(s) have been added" appears on the screen |
+ | Press Ok button | Verify that *AAA* landmark is in the landmarks list |
+ | Select *AAA* landmark | |
+ | Press Edit Landmark button | |
+ | Change *Latitude* value to *40* | |
+ | Change *Longitude* value to *40* | |
+ | Change *Name* value to *BBB* | |
+ | Press Ok button | Verify that message "Landmark(s) have been edited" appears on the screen |
+ | Press Ok button | Verify that *BBB* landmark has new latitude and longitude |
+ | Select *BBB* landmark | |
+ | Press Delete Landmarks button | Verify that message "Landmark(s) have been removed" appears on the screen |
+ | Press Ok button | Verify that only BBB landmark has been deleted |
+ | Create 2 new landmarks *A1* and *A2* | |
+ | Select both *A1 and A2* landmarks |
+ | Press Delete Landmarks button | Verify that message "Landmark(s) have been removed" appears on the screen |
+ | Press Ok button | Verify that only A1 and A2 landmarks have been deleted |'
+ ));
+ },
+
+ // \groups BAT,1.1,MOBILITY-66
+ enumerate_categories: function()
+ {
+ prompt(twiki('---+++ Categories are displayed
+ | *Step* | *Verification* |
+ | Run the landmarkbrowser application | |
+ | Select Category tab | |
+ | Create several categories | |
+ | Swith to the Landmark tab and back to the Category tab | Verify that the created categories are present in the list |'
+ ));
+ },
+
+ // \groups BAT,1.1,MOBILITY-66
+ add_and_delete_a_category: function()
+ {
+ //Landmark manager provides notifications whenever categories are added, updated or deleted
+ prompt(twiki('---+++ Categories are added, edited and deleted
+ | *Step* | *Verification* |
+ | Run the landmarkbrowser application | |
+ | Select Category tab | |
+ | Press Add Category button | |
+ | Fill in *AAA* in to *Name* field | |
+ | Press Ok button | Verify that message "Category(ies) have been added" |
+ | Press Ok button | Verify that AAA is added in list of categories in alphabetical order |
+ | Press Add Category button | |
+ | Fill in *AAA* in to Name field | |
+ | Press Ok button | Verify that message "Add Category Failed: category already Exists" appears on the screen |
+ | Press Ok button | |
+ | Press Add Category button | |
+ | Press Ok button | Verify that message "Category name must not be empty" appears on the screen |
+ | Press Ok button | |
+ | Select *AAA* category | |
+ | Press Delete Categories button | Verify that message "Categoty(ies) have been removed" appears on the screen |
+ | Press Ok button | Verify that list of categories does not contain AAA category only |
+ | Add *A1* and *A2* categories | |
+ | Select *A1 and A2* categories | |
+ | Press Delete Categories button | Verify that message "Categoty(ies) have been removed" appears on the screen |
+ | Press Ok button | Verify that list of categories does not contain A1 and A2 categories only |
+ | Select some of predefined categories | |
+ | Press Delete Category button | Verify tha message "Cannot delete a global category" appears on the screen |
+ | Press Ok button | Verify that no categories have been deleted |'
+ ));
+ },
+
+ // Maps and Navigation
+ // \groups BAT,1.1,MOBILITY-538
+ select_service_provider: function()
+ {
+ startApplication("geoservicedemo");
+ select("Service Providers");
+ select("nokia");
+ select("Set Service Provider");
+ prompt("Verify selected service provider is indicated as current service provider");
+ },
+
+ request_route_from_one_GPS_location_to_another_data: {
+ route:["-27.575", "153.088", "-27.465", "153.023", "15901", "15987"]
+ },
+
+ // \groups BAT,1.1,MOBILITY-538
+ request_route_from_one_GPS_location_to_another: function(lat1, long1, lat2, long2, distance1, distance2)
+ {
+ startApplication("geoservicedemo");
+ select("Service Providers");
+ select("nokia");
+ select("Set Service Provider");
+ select("Route");
+ select("Request Route");
+ enter(lat1);
+ enter(long1);
+ enter(lat2);
+ enter(long2);
+ select("Ok");
+ prompt(twiki("Wait until the route is calculated (should be less than 10 seconds)"));
+ prompt(twiki("Verify the there are 8 segments, first and last instructions indicate to 'Head toward Logan rd' and 'Turn right onto Bartley St'"));
+ select("routes/route");
+ compare(getText("distance"), distance1);
+ select("Request Route");
+ enter(lat2);
+ enter(long2);
+ enter(lat1);
+ enter(long1);
+ select("Ok");
+ prompt(twiki('Wait until the route is calculated (should be less than 10 seconds)'));
+ prompt(twiki('Verify the instructions for segments 1 and 2 indicate to Head towards Sedgebrook st and Turn right onto Sedgebrook st'));
+ compare(getText("distance"), distance2);
+ },
+
+ // \groups BAT,1.1,MOBILITY-538
+ geocoding: function()
+ {
+ prompt(twiki('---+++ Geocoding
+ Note that testing via proxy is not recommended, incorrect settings can be a cause of the " Socket operation timed out" error
+ | *Step* | *Verification* |
+ | Run the GeoServiceDemo application (sources are /tests/location-testing-tools/geoservicedemo) | |
+ | Select Search By Adress tab | |
+ | Select One-box Search checkbox | |
+ | Fill in *Brandl st, Eight Mile Plains, Australia* in search field | |
+ | Select Geocoding search | |
+ | Press Ok button | |
+ | Wait until data is recieved | |
+ | Select places | Verify that count = 1 |
+ | Select place | Verify that latitude is *-27.5798*, longitude is *153.1* |
+ | Select address | Verify that Country is *AUSTRALIA*, country code is *AUS*, city is *Eight Mile Plains*, street name is *Branl St*, post code is *4113* |'
+ ));
+
+ },
+
+ // \groups BAT,1.1,MOBILITY-538
+ reverse_geocoding: function()
+ {
+ prompt(twiki('---+++ Reverse geocoding
+ Note that testing via proxy is not recommended, incorrect settings can be a cause of the " Socket operation timed out" error
+ | *Step* | *Verification* |
+ | Run the GeoServiceDemo application | |
+ | Select Reverse Geocoding tab | |
+ | Press Search By Coordinates button | |
+ | Fill in *-27.5798* in Latitude field | |
+ | Fill in *153.1* in Longitude field | |
+ | Press Ok button | |
+ | Wait until data is recieved | |
+ | Select places/place/adress | Verify that Country is *AUSTRALIA*, country code is *AUS*, city is *Eight Mile Plains*, street name is *54 Branl St*, post code is *4113* |'
+ ));
+ },
+
+ // \groups BAT,1.1,MOBILITY-538
+ displaying_a_map: function()
+ {
+ prompt(twiki('---+++ Different views are displayed
+ Note that internet connection is required for this test case.
+ | *Step* | *Verification* |
+ | Run the mapsdemo application (sources are /examples/mapsdemo) | Map for current location is displayed on the screen |'
+ ));
+ },
+
+ // \groups BAT,1.1,MOBILITY-538
+ different_map_types: function()
+ {
+ prompt(twiki('---+++ Different views are displayed
+ Note that internet connection is required for this test case.
+ Note that Nokia map engine supports only Street, Satellite and Terrain map types
+ | *Step* | *Verification* |
+ | Run the MapViewer application (sources are /tests/location-testing-tools/mapviewer) | Map for current location is displayed on the screen |
+ | Press Option button | |
+ | Press Street button (if button is enabled) | Map is drawn in Street view |
+ | Press Option button | |
+ | Press Satellite button (if button is enabled) | Map is drawn in Satellite view |
+ | Press Option button | |
+ | Press Terrain button (if button is enabled) | Map is drawn in Satellite view |'
+ ));
+ },
+
+ // \groups BAT,1.1,MOBILITY-538
+ zooming_support:function()
+ {
+ prompt(twiki('---+++ Map is zoomed in and out
+ Note that internet connection is required for this test case.
+ | *Step* | *Verification* |
+ | Run the mapsdemo application | Map is displayed on the screen |
+ | Press - button | Map is zoomed out correctly |
+ | Press + button | Map is zoomed in correctly |'
+ ));
+ },
+
+ // \groups BAT,1.1,MOBILITY-538
+ capturing_coordinates:function()
+ {
+ prompt(twiki('---+++ Coordinates are captured
+ Note that internet connection is required for this test case.
+ | *Step* | *Verification* |
+ | Run the MapViewer application | Map is displayed on the screen |
+ | Navigate and/or zoom in the map to see Brisbane | |
+ | Right mouse click on the square which represents *Brisbane* | |
+ | Select Coordinates menu item | |
+ | Select Capture menu item | Verify that dialog with coordinates appears on the screen. Latitude is *about -27.46*, longitude is *about 153.02* |'
+ ));
+ },
+
+ // \groups BAT,1.2,QTMOBILITY-757,QTMOBILITY-701
+ pixmap_object_zooming: function()
+ {
+ prompt(twiki('---+++ Pixmap object is not scaled during zooming
+ Note that GPS and internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the testQtLocation application | |
+ | Select the MapNavigation | |
+ | Go to Map tab | Verify that map is loaded for current position |
+ | Swith to MapObject mode | |
+ | Tap on the screen to create pixmap object | Verify that blue square appears on the screen in place of touch |
+ | Switch to Pan/Zoom mode | |
+ | Increase zoom level | Verify that the blue square is not scaled |
+ | Decrease zoom level | Verify that the blue square is not scaled |'
+ ));
+ },
+
+ request_landmarks_for_given_coordinate_with_reverse_geocoding: function()
+ {
+ skip( "Nothing tested", SkipAll );
+ },
+
+ //TESTED_COMPONENT=plugins/declarative/location
+
+ // \groups BAT,1.2,QTMOBILITY-796
+ qml_display_map: function()
+ {
+ prompt(twiki('---+++ QML: Map is displayed
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application (sources are in examples/declarative/mapviewer) | Verify that map is loaded in Street view with the center next to Brisbane |
+ | Press Settings button | |
+ | Press Map Type | |
+ | Select Satelite view | Verify that map is displayed in satellite view |
+ | Press Settings button | |
+ | Press Map Type | |
+ | Select Terrain view | Verify that map is displayed in terrain view |'
+ ));
+ },
+
+ // \groups BAT,1.2,QTMOBILITY-796
+ qml_zoom_a_map: function()
+ {
+ prompt(twiki('---+++ QML: Zoom in and out the map
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | Verify that map is loaded with the center next to Brisbane |
+ | Move slider to the right | Verify that map is zoomed in |
+ | Move slider to the left | Verify that map is zoomed out |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2893,RESEARCH
+ qml_route_for_two_close_points: function()
+ {
+ prompt(twiki('---+++ QML: Route for two close points
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Route menu item | |
+ | Make sure that coordinates are *(-27.575,153.088)->(-27.465,153.023)* | |
+ | Press Go button | |
+ | Wait for message appears on the screen | Verify that distance is *15.901*km |
+ | Press Ok button | Verify that the route looks correct and does not have strange loops |
+ | Press Options button | |
+ | Select Route menu item | |
+ | Select second option group to enter start and end points as address | |
+ | Use default addresses and Press Go button | |
+ | Wait for message appears on the screen | Verify that distance is *18.676km* |
+ | Press Ok button | Verify that the route looks correct and does not have strange loops |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2893,RESEARCH
+ qml_route_for_two_distant_points: function()
+ {
+ prompt(twiki('---+++ QML: Route for two distant points
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Route menu item | |
+ | Selec first option group | |
+ | Fill in *-27.4709* in From Latitude field | |
+ | Fill in *153.0235* in From Longitude filed | |
+ | Fill in *-33.8689* in To Latitude field | |
+ | Fill in *151.2071* in To Longitude filed | |
+ | Press Go button | |
+ | Wait for message appears on the screen | Verify that distance is *927.209km* |
+ | Press Ok button | Verify that the route looks correct and does not have strange loops |
+ | Press Options button | |
+ | Select Route menu item | |
+ | Selec second option group | |
+ | Press Clear button | |
+ | Fill in *Moscow* in From City field | |
+ | Fill in *Russia* in From Country filed | |
+ | Fill in *Eight Mile Plains* in To City filed | |
+ | Fill in *Australia* in To Country filed | |
+ | Press Go button | |
+ | Wait for message appears on the screen | Verify that route is not found |
+ | Press Ok button | |
+ | Press Options button | |
+ | Select Route menu item | |
+ | Selec second option group | |
+ | Press Clear button | |
+ | Fill in *Eight Mile Plains* in From City field | |
+ | Fill in *Australia* in From Country filed | |
+ | Fill in *Byron Bay* in To City filed | |
+ | Fill in *Australia* in To Country filed | |
+ | Press Go button | |
+ | Wait for message appears on the screen | Verify that distance is *151.318km* |
+ | Press Ok button | Verify that the route looks correct and does not have strange loops |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2893,RESEARCH
+ qml_route_for_multiple_points: function()
+ {
+ prompt(twiki('---+++ QML: Route for multiple waypoints
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Long press on the map | |
+ | Press Set Marker menu item | |
+ | Create another Marker via Long Press | |
+ | Create third Marker | |
+ | Long Press on the first marker | |
+ | Select Move To menu item | |
+ | Fill in *-27.575* in Latitude filed | |
+ | Fill in *153.088* in Longitude | |
+ | Press Go! button | |
+ | Long Press on the second marker | |
+ | Select Move To menu item | |
+ | Fill in *-27.465* in Latitude filed | |
+ | Fill in *153.023* in Longitude | |
+ | Press Go! button | |
+ | Long Press on the third marker | |
+ | Select Move To menu item | |
+ | Fill in *-27.3614* in Latitude filed | |
+ | Fill in *153.0043* in Longitude | |
+ | Press Go! button | |
+ | Long Press on the first marker | |
+ | Select Route To The Next Points | |
+ | Wait for message appears on the screen | Verify that distance is *29.491km* |
+ | Press Ok button | Verify that the route looks correct, goes through all waypoints and does not have strange loops |'
+ ));
+ },
+/*
+ // \groups BAT,5.0,MOBILITY-2893,RESEARCH
+ qml_travel_mode: function()
+ {
+ prompt(twiki('---+++ QML: Travel mode
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+1. Travel mode: pedestrian. Use qml_mapviewer to test. (55 Bordeaux Street, Eight Mile Plains QLD)->(53 Brandl St, Eight Mile Plains QLD 4113) or (-27.5784,153.0934)->(-27.5798,153.1003)
+2. Travel mode: bicycle
+3. Travel mode: public transport
+4. Travel mode: by truck'
+ },
+
+ // \groups BAT,5.0,MOBILITY-2893,RESEARCH
+ qml_route_feature_type: function()
+ {
+ prompt(twiki('---+++ QML: Route features
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+1. Feature type: no feature
+2. Feature type: toll
+3. Feature type: highway
+4. Feature type: public transit
+5. Feature type: ferry
+6. Feature type: tunnel
+7. Feature type: dirt road
+8. Feature type: parks
+9. Feature type: motor pool lane'
+ },
+
+ // \groups BAT,5.0,MOBILITY-2893,RESEARCH
+ qml_route_optimization: function()
+ {
+ prompt(twiki('---+++ QML: Route optimization
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+1. Route optimization: shortest
+2. Route optimization: fastest
+3. Route optimization: most economic
+4. Route optimization: most scenic'
+ },
+*/
+ // \groups BAT,5.0,MOBILITY-2900,RESEARCH
+ qml_geocode_australian_location: function()
+ {
+ prompt(twiki('---+++ QML: Geocode australian location
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Geocode menu item | |
+ | Press Clear All button | |
+ | Fill in *Brandl st* in Street filed | |
+ | Fill in *Eight Mile Plains* in City field | |
+ | Fill in *Australia* in Country field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that geocode was successful with latitude *-27.5798*, longitude *153.1* |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2900,RESEARCH
+ qml_geocode_russian_location: function()
+ {
+ prompt(twiki('---+++ QML: Geocode russian location
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Geocode menu item | |
+ | Press Clear All button | |
+ | Fill in *Minina I Pozharskogo Ploshchad* in Street filed | |
+ | Fill in *Nizhniy Novgorod* in City field | |
+ | Fill in *Russia* in Country field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that geocode was successful with latitude *56.3294*, longitude *44.0089* |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2900,RESEARCH
+ qml_geocode_fictional_location: function()
+ {
+ prompt(twiki('---+++ QML: Geocode a fictional location
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Geocode menu item | |
+ | Press Clear All button | |
+ | Fill in *The Best City* in City field | |
+ | Fill in *Australia* in Country field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that location is not found |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2900,RESEARCH
+ qml_geocode_not_unique_location: function()
+ {
+ prompt(twiki('---+++ QML: Geocode not unique location
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Geocode menu item | |
+ | Press Clear All button | |
+ | Fill in *Moscow* in City field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that several results were found |
+ | Press Ok button |
+ | Press Options button | |
+ | Select Geocode menu item | |
+ | Fill in *USA* in Country field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that *19* points were found |
+ | Press Ok button |
+ | Press Options button | |
+ | Select Geocode menu item | |
+ | Press Clear All button | |
+ | Fill in *Moscow* in City filed | |
+ | Fill in *Russia* in Country field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that geocode was successful with latitude *55.7569*, longitude *37.615* |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2900,RESEARCH
+ qml_geocode_popular_request: function()
+ {
+ prompt(twiki('---+++ QML: Geocode a popular request
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Geocode menu item | |
+ | Press Clear All button | |
+ | Fill in *53 Brandl st* in Street filed | |
+ | Fill in *Eight Mile Plains* in City field | |
+ | Fill in *QLD* in State field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that geocode was successful |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2900,RESEARCH
+ qml_geocode_request_with_district: function()
+ {
+ prompt(twiki('---+++ QML: Geocode district
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Geocode menu item | |
+ | Press Clear All button | |
+ | Fill in *Nizhniy Novgorod* in City filed | |
+ | Fill in *Russia* in Country field | |
+ | Fill in *Nizhegorodskiy Rayon* in District field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that geocode was successful with latitude *56.3217*, longitude *44.0331* |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2900,RESEARCH
+ qml_geocode_request_with_county: function()
+ {
+ prompt(twiki('---+++ QML: Geocode county
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Geocode menu item | |
+ | Press Clear All button | |
+ | Fill in *Norfolk* in County filed | |
+ | Fill in *United Kingdom* in Country field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that geocode was successful with latitude *52.614*, longitude *0.8864* |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2900,RESEARCH
+ qml_geocode_request_with_country_code: function()
+ {
+ prompt(twiki('---+++ QML: Geocode country code
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Clear All button | |
+ | Fill in *AUS* in Country code field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that geocode is successful |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2900,RESEARCH
+ qml_geocode_request_with_post_code: function()
+ {
+ prompt(twiki('---+++ QML: Geocode post code
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Geocode menu item | |
+ | Press Clear All button | |
+ | Fill in *Brandl st* in Street filed | |
+ | Fill in *4113* in Post Code field | |
+ | Fill in *Australia* in Country field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that geocode is successful with latitude *-27.5798*, longitude *153.1* |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2901,RESEARCH
+ qml_reverse_geocode_australian_place: function()
+ {
+ prompt(twiki('---+++ QML: Reverse geocode of an australian place
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Reverse Geocode | |
+ | Fill in *-27.575* in Latitude filed | |
+ | Fill in *153.088* in Longitude field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that reverse geocode issuccessful (street: *230 Padstow Rd*, City: *Eight Mile Plains*, State: *AUS-QLD*, Country code: *AUS*, Country: *AUSTRALIA*, Postcode: *4113*) |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2901,RESEARCH
+ qml_reverse_geocode_russian_place: function()
+ {
+ prompt(twiki('---+++ QML: Reverse geocode of a russian place
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Reverse Geocode | |
+ | Fill in *56.3264* in Latitude filed | |
+ | Fill in *44.0048* in Longitude field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that reverse geocode issuccessful (street: *Minina I Pozharskogo Ploshchad\'*, district: *Nizhegorodskiy Rayon*, City: *Nizhniy Novgorod*, Country code: *RUS*, Country: *Russian Federation*, Postcode: *603005*) |'
+ ));
+ },
+
+ // \groups BAT,5.0,MOBILITY-2901,RESEARCH
+ qml_reverse_geocode_uninhabited_place: function()
+ {
+ prompt(twiki('---+++ QML: Reverse geocode of uninhabited place
+ Note that internet connection is required for this test case
+ | *Step* | *Verification* |
+ | Run the qml_mapviewer application | |
+ | Press Options button | |
+ | Select Reverse Geocode | |
+ | Fill in *-26.8890* in Latitude filed | |
+ | Fill in *154.6696* in Longitude field | |
+ | Press Go! button | |
+ | Wait for message appears on the screen | Verify that location is not found |'
+ ));
+/* },
+
+
+ // \groups BAT,5.0,MOBILITY-2902,RESEARCH
+ qml_searching: function()
+ {
+// Seacrh for landmarks
+*/ }
+
+} // end of testcase
+
+
+/*
+
+----Maps And Navigation use cases
+
+ list_of_way_points: function() { },
+
+ distinguish_pedestrian_and_car_navigation: function() { },
+
+ find_matching_landmarks_for_given_search_criteria_with_geocoding: function() { },
+
+ provide_map_for_given_coordinate: function() { },
+
+ online_and_offline: function() { }
+
+*/
diff --git a/tests/tests.pro b/tests/tests.pro
new file mode 100644
index 00000000..566e1725
--- /dev/null
+++ b/tests/tests.pro
@@ -0,0 +1,2 @@
+TEMPLATE = subdirs
+