qt5base-lts/tests/auto
Jason McDonald 016cd01846 Remove QTest::SkipMode from qtestlib API.
When the SkipAll mode is used, tests only report a SKIP for the first
line of test data and subsequent lines are not reported at all.  This
behaviour makes it impossible for anything post-processing test results
to accurately report test pass- and run- rates because they cannot see
how many lines of test data were skipped.

This commit removes SkipMode.  QSKIPs in regular test functions and data
functions are treated the same as SkipSingle, so that every skipped line
of local or global test data is reported in the test log.  QSKIPs
elsewhere are treated the same as SkipAll -- skipping in init() causes
the next test function to be skipped entirely, and skipping in
initTestCase() or initTestCase_data() causes all test functions to be
skipped.

This commit only changes qtestlib and the selftests. A further commit
will change the autotests to remove the SkipMode parameter from QSKIP
calls.

Note that the change in expected output for the globaldata selftest is
deliberate, as the QSKIP in the skipLocal test function has effectively
changed from SkipAll to SkipSingle.

Task-number: QTBUG-21851, QTBUG-21652
Change-Id: I7b1c53fe7ca9dde032810b789d967e2a402bbe5d
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Alex <alex.blasche@nokia.com>
2011-10-21 01:20:29 +02:00
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove uilib and QtUiTools from QtBase 2011-09-13 20:11:40 +02:00
corelib Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
dbus Remove redundant logic from dbus test .pro files. 2011-10-11 07:02:14 +02:00
gui Provide API for "placement new" construction of meta-types 2011-10-19 10:25:28 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
integrationtests Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
network Remove DEPENDS_ON from qtestlib API. 2011-10-19 07:24:13 +02:00
opengl Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
other Remove QtMD5 autotest. 2011-10-17 03:30:55 +02:00
qmetaobjectbuilder add qmetaobjectbuilder to qtbase. 2011-10-11 07:02:14 +02:00
qobjectperformance Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qobjectrace Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
qopengl Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qscreen Move QTRY_VERIFY/QTRY_COMPARE into testlib. 2011-10-19 07:23:44 +02:00
qsslsocket_onDemandCertificates_member Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
qsslsocket_onDemandCertificates_static Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
qtransformedscreen Avoid building empty, inapplicable QWS tests. 2011-10-12 18:01:19 +02:00
qwindow Move QTRY_VERIFY/QTRY_COMPARE into testlib. 2011-10-19 07:23:44 +02:00
qwindowsurface Move QTRY_VERIFY/QTRY_COMPARE into testlib. 2011-10-19 07:23:44 +02:00
qwsembedwidget Avoid building empty, inapplicable QWS tests. 2011-10-12 18:01:19 +02:00
qwsinputmethod Avoid building empty, inapplicable QWS tests. 2011-10-12 18:01:19 +02:00
qwswindowsystem Avoid building empty, inapplicable QWS tests. 2011-10-12 18:01:19 +02:00
qx11info Prefer QSKIP to QTEST_NOOP_MAIN. 2011-10-19 03:05:31 +02:00
sql Move the non-atomic and implicit functions from QBasicAtomicXXX 2011-10-20 10:05:49 +02:00
testlib Remove QTest::SkipMode from qtestlib API. 2011-10-21 01:20:29 +02:00
tools Remove redundant logic from tools autotests. 2011-10-17 03:30:55 +02:00
utf8 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
v8 Revert "Update V8" 2011-10-20 13:30:26 +02:00
widgets Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
xml Avoid using QSKIP in lieu of compile-time checks 2011-10-05 06:15:00 +02:00
auto.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
corelib.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
gui.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
host.pro Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
network-settings.h Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
network.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
other.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
platformquirks.h Remove last remnants of Maemo 5 from autotests 2011-10-06 01:28:01 +02:00
qtextbrowser.html Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
test.pl Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
v8.pro Make sure tests/auto/v8.pro doesn't clobber auto.pro 2011-08-31 01:17:39 +02:00