summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-06-10 16:02:29 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-06-15 09:36:24 +0000
commit8631af7345954fbc44718869f416aeae7c14a24e (patch)
treeb730b75d33b7a7da04f02b4964017d576697a5d4
parentc4cfee65f4f2132ef28ace089837149b64b38e52 (diff)
Don't mix GeocodeModel and GeoRouteModel enums
Change-Id: Ic5f7c28706e34d1f1be5c7f9986d8ddc5dd46776 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
-rw-r--r--tests/auto/declarative_ui/tst_map_geocoding.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative_ui/tst_map_geocoding.qml b/tests/auto/declarative_ui/tst_map_geocoding.qml
index 93fbf831..1828c1ba 100644
--- a/tests/auto/declarative_ui/tst_map_geocoding.qml
+++ b/tests/auto/declarative_ui/tst_map_geocoding.qml
@@ -138,7 +138,7 @@ Item {
compare(emptyModel.bounds.center.latitude, dynamicCircle.center.latitude)
// status
- compare (emptyModel.status, RouteModel.Null)
+ compare (emptyModel.status, GeocodeModel.Null)
// error
compare (emptyModel.errorString, "")
@@ -296,7 +296,7 @@ Item {
immediateModel.query = errorAddress1
immediateModel.update()
compare (immediateModel.errorString, errorAddress1.street)
- compare (immediateModel.error, RouteModel.CommunicationError)
+ compare (immediateModel.error, GeocodeModel.CommunicationError)
compare (immediateModel.count, 0)
compare (statusImmediateSpy.count, 2)
compare (immediateModel.status, GeocodeModel.Error)