QtPositioning: refactor tests for QGeoAreaMonitor


The tst_QGeoAreaMonitorSource test can randomly hang on some CI
configurations (gcc-armv7 and new macOS 11.1 arm). It heavily
uses the LogFilePositionSource, which reads NMEA data from file.

This patch is an attempt to minimize file I/O by reading the file
only once, and providing the cached file contents to the position
source instance using QList<QByteArray>.

This minimizes file I/O for the test, and also allows to tune
the timeouts to reduce the total execution time.

Task-number: QTBUG-91434
Change-Id: Id83647aee71d8435ea60c2f07a52790a3fc28e34
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commit668fb8be4396b944e6b0425f8ccbb5e284944c34
parentdbc605cb60d7cbbbf0fc8e6bf5a18e9d32b67684
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeThu, 20 May 2021 13:06:17 +0200