qt5base-lts/tests/auto/gui/image
Marc Mutz 8ad200dcb4 tst_QImageWriter: clean up
- port Q_FOREACH to C++11 range-for
- port uses of inefficient QLists to QVector or C arrays
- port uses of dynamic containers with static content, to constexpr
  C arrays
- fix algorithmic mistakes:
  * use adjacent_find with greater<> to emulate C++11 std::is_sorted
    instead of sorting the range and comparing it with the original
    (and not even using stable_sort to do this).
  * use std::unique == end() to detect absence of duplicates instead
    of poplulating a QSet and comparing its size with that of the
    original range.
  * use a simple QCOMPARE instead of populating a QSet with statically-
    known content, removing known options to be able to check that the
    remaining options are unknown

Fixes errors pointed out by my tree's static checks.

Change-Id: I935dbc21d56b55889d96aaf6ec179624c6ce9047
Reviewed-by: David Faure <david.faure@kdab.com>
2017-01-06 13:31:26 +00:00
..
qicoimageformat Merge remote-tracking branch 'origin/5.7' into dev 2016-05-23 21:09:46 +02:00
qicon Merge remote-tracking branch 'origin/5.7' into dev 2016-06-13 12:46:46 +02:00
qimage Merge remote-tracking branch 'origin/5.8' into dev 2016-12-16 16:38:33 +01:00
qimageiohandler Updated license headers 2016-01-21 18:55:18 +00:00
qimagereader Remove the traces of the discontinued android-no-sdk platform 2016-03-30 10:12:34 +00:00
qimagewriter tst_QImageWriter: clean up 2017-01-06 13:31:26 +00:00
qmovie Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00
qpicture Updated license headers 2016-01-21 18:55:18 +00:00
qpixmap Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-16 12:35:36 +01:00
qpixmapcache Updated license headers 2016-01-21 18:55:18 +00:00
image.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00