summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKari Oikarinen <kari.oikarinen@qt.io>2018-05-09 13:50:22 +0300
committerKari Oikarinen <kari.oikarinen@qt.io>2018-05-16 06:08:24 +0000
commitb7c7fc30fb9273936426914d78d1bf0d64314fe4 (patch)
tree6203e09c350fb3e59759c35236c756a5031b973e
parentd4702774718a64e6190a786bab03fcbedddbc14d (diff)
downloadqtlocation-b7c7fc30fb9273936426914d78d1bf0d64314fe4.tar.gz
Expect failure in failing test in declarative_geoshape::GeoPath path
The test is failing and based on the comment it seems expected at the moment. Change-Id: I4a484c608a41558826ad3b0c16c2e8338b58a2a5 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r--tests/auto/declarative_geoshape/tst_locationsingleton.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative_geoshape/tst_locationsingleton.qml b/tests/auto/declarative_geoshape/tst_locationsingleton.qml
index 645aedb6..3d6a9f9c 100644
--- a/tests/auto/declarative_geoshape/tst_locationsingleton.qml
+++ b/tests/auto/declarative_geoshape/tst_locationsingleton.qml
@@ -310,7 +310,8 @@ Item {
geopath.path[0].longitude = 11.0
compare(geopath.path.length, trace2.length)
compare(geopath.coordinateAt(0).latitude, trace2[0].latitude)
- compare(geopath.coordinateAt(0).longitude, 11) // This fails
+ expectFail("", "Longitude comparison fails")
+ compare(geopath.coordinateAt(0).longitude, 11)
}
}
}