Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
Qt
QtLocation
Commits
628cf98e
Commit
628cf98e
authored
6 years ago
by
Qt Forward Merge Bot
Browse files
Options
Download
Plain Diff
Merge remote-tracking branch 'origin/5.12.2' into 5.12
Change-Id: I2d9e5f32cc238b9d2276ff85f12946a54bee2263
parents
633b0f40
6c1c24e8
dev
5.12
5.12.10
5.12.11
5.12.12
5.12.3
5.12.4
5.12.5
5.12.6
5.12.7
5.12.8
5.12.9
5.13
5.13.0
5.13.1
5.13.2
5.14
5.14.0
5.14.1
5.14.2
5.15
5.15.0
5.15.1
5.15.2
6.2
6.2.0
6.2.1
6.2.2
wip/cmake
v5.15.0-alpha1
v5.14.1
v5.14.0
v5.14.0-rc2
v5.14.0-rc1
v5.14.0-beta3
v5.14.0-beta2
v5.14.0-beta1
v5.14.0-alpha1
v5.13.2
v5.13.1
v5.13.0
v5.13.0-rc3
v5.13.0-rc2
v5.13.0-rc1
v5.13.0-beta4
v5.13.0-beta3
v5.13.0-beta2
v5.13.0-beta1
v5.12.7
v5.12.6
v5.12.5
v5.12.4
v5.12.3
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/auto/declarative_ui/tst_map_error.qml
+2
-2
tests/auto/declarative_ui/tst_map_error.qml
tests/auto/declarative_ui/tst_map_item.qml
+1
-1
tests/auto/declarative_ui/tst_map_item.qml
with
3 additions
and
3 deletions
tests/auto/declarative_ui/tst_map_error.qml
+
2
−
2
View file @
628cf98e
...
@@ -147,9 +147,9 @@ Item {
...
@@ -147,9 +147,9 @@ Item {
function
test_map_toCoordinate
()
function
test_map_toCoordinate
()
{
{
map_no_plugin
.
center
=
coordinate
map_no_plugin
.
center
=
coordinate
compare
(
map_no_plugin
.
toCoordinate
(
50
,
50
).
isValid
,
false
)
compare
(
map_no_plugin
.
toCoordinate
(
Qt
.
point
(
50
,
50
)
)
.
isValid
,
false
)
map_error_plugin
.
center
=
coordinate
map_error_plugin
.
center
=
coordinate
compare
(
map_error_plugin
.
toCoordinate
(
50
,
50
).
isValid
,
false
)
compare
(
map_error_plugin
.
toCoordinate
(
Qt
.
point
(
50
,
50
)
)
.
isValid
,
false
)
}
}
function
test_map_fromCoordinate
()
function
test_map_fromCoordinate
()
...
...
This diff is collapsed.
Click to expand it.
tests/auto/declarative_ui/tst_map_item.qml
+
1
−
1
View file @
628cf98e
...
@@ -443,7 +443,7 @@ Item {
...
@@ -443,7 +443,7 @@ Item {
map
.
center
=
preMapCircle
.
center
map
.
center
=
preMapCircle
.
center
verify
(
LocationTestHelper
.
waitForPolished
(
map
))
verify
(
LocationTestHelper
.
waitForPolished
(
map
))
point
=
map
.
fromCoordinate
(
preMapCircle
.
center
)
point
=
map
.
fromCoordinate
(
preMapCircle
.
center
)
targetCoordinate
=
map
.
toCoordinate
(
51
,
51
)
targetCoordinate
=
map
.
toCoordinate
(
Qt
.
point
(
51
,
51
)
)
mousePress
(
map
,
point
.
x
,
point
.
y
)
mousePress
(
map
,
point
.
x
,
point
.
y
)
for
(
i
=
0
;
i
<
50
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
50
;
i
+=
1
)
{
wait
(
1
)
wait
(
1
)
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets