diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2017-04-06 19:36:47 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2017-04-07 08:32:24 +0000 |
| commit | 95263dbf7a7fe6ae72abc59b7a576ab66b886238 (patch) | |
| tree | 3bbfbdbdb84d019268bcdbf84730a704ca37eb98 /src/corelib/tools/qstringview.cpp | |
| parent | 5e93361888e3d2b03e7b6da19517b44e0239fb47 (diff) | |
Add a test for container API symmetry
Akin to the successful tst_QStringApiSymmetry, add such a test for
generic containers, too. Yes, we have tst_collections, but it's a
cut'n'paste mess that makes it hard to systematically perform
cross-class checks for consistency. This new test, still in its
infancy, uses templates and thus ensures that exactly the same checks
are run on all containers.
Starting out with front()/back(), which the string classes were found
to lack, we will build this test up, as we did and continue to do with
the string API one.
Change-Id: I07323340b5612ecc658232b2776d788018010d0d
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/tools/qstringview.cpp')
0 files changed, 0 insertions, 0 deletions
