diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-07-11 14:27:28 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-07-25 17:29:18 +0000 |
commit | 901e22ea011733c6e4c645525301d5f4a42c42ac (patch) | |
tree | 4bda1bcc66fefa4d102e768dfa48440e25ddece6 /src/network | |
parent | bf3afa7ba18bf8ce89290b3052c108d77890a51c (diff) | |
download | qtbase-901e22ea011733c6e4c645525301d5f4a42c42ac.tar.gz |
Test skip and fail in cleanup() as well as in cleanupTestCase()
The skipcleanup and failcleanup tests were actually testing skip and
fail in cleanupTestCase(), not in cleanup(). Add almost-duplicate
tests and clean up so that we now have {fail,skip}cleanup(,testcase}
tests to cover all four cases. Generated expected output. The new
tests (with old names) get their fail or skip - during cleanup() -
reported against the test instead of the cleanupTestCase function.
(Results for {init,cleanup}TestCase() are always reported, even when
these slots are not defined, as no-op passes.)
Change-Id: I0988d1696b50c0e2f30c45ddc25e1bd0bfd2151a
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 21e9c223b753ade33c994c1efabbd67978eda3bf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions