QGeoPositionInfoSource: fix flaky test


When introducing a dummy.source plugin for the tests, the priority was
selected the same, as for the test.source plugin. As a result, the
algorithm for selecting the default source during the test run could
pick any of them. When dummy.source was picked, the
preferredMethodsBinding test could not execute correctly, because the
dummy.source has different supported positioning methods.

This patch fixes the problem in 2 ways:
* test.source is now directly selected in the preferredMethodsBinding()
  test
* the priorities of the dummy.source and test.source plugins are
  adjusted in such a way, that test.source is picked if
  createDefaultSource() call is used.

Change-Id: Ibec456f4679207a161c2cf97c267055d75bbd03c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commitf6c3416c2dbad7bce818f693c7b7662bca156e29
parent47880346bc3b3c7d1e77f9277b578f48a1c599f3
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeMon, 17 May 2021 10:23:57 +0200