Merge and improve variations of testCycles()


- make them one data driven test function
- expect warnings

Pick-to: 6.11 6.10
Change-Id: Ic5ad8a023e81d081f77ad603555b5481b91a5200
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commite682390e7fdc7159161346295f151a9f4324602f
parent879dd35b4a75cbf4dd818d0650b316d52e443415
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeMon, 8 Dec 2025 12:28:11 +0100