qt5base-lts/tests/auto/testlib/selftests/expected_mouse.txt
Edward Welbourne 1c24b4b8d9 Match up testlib selftest's lists of generated files
The actual files present for expected data, the test function that
selected which tests to skip and the python function to select which
to not generate data for weren't in sync with one another.

The test-code's reason for omitting three tests was that we lacked
data files for them. So generate those and skip that exception. The
generator script's code to decide which to generate didn't exclude
anything like as many, so update it to match the test-code. In the
process, save repeating a startswith test that was used both
positively and negatively, unifying two conditions.

Extend the generator script's handling of its --skip-callgrind option
by auto-setting that option if valgrind isn't available, to match the
driver program's similar skipping.

The generated data included many files for tests we skip and, as
mentioned already, lacked files for some tests we only skipped because
we lacked them. Remove the unused files, add the lacking ones.

Change-Id: If91696cdd95b7b0d5f3d686bff839f1bf15e121b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2021-12-09 20:54:25 +01:00

21 lines
1.2 KiB
Plaintext

********* Start testing of tst_Mouse *********
Config: Using QtTest library
PASS : tst_Mouse::initTestCase()
PASS : tst_Mouse::timestampBetweenTestFunction(press, release)
PASS : tst_Mouse::timestampBetweenTestFunction(press, release, hover)
PASS : tst_Mouse::timestampBetweenTestFunction(hover)
PASS : tst_Mouse::timestampBetweenTestFunction(hover #2)
PASS : tst_Mouse::timestampBetweenTestFunction(press, release #2)
PASS : tst_Mouse::timestampBetweenTestFunction(press, release, hover #2)
PASS : tst_Mouse::stateHandlingPart1(dummy-1)
PASS : tst_Mouse::stateHandlingPart1(dummy-2)
SKIP : tst_Mouse::stateHandlingPart2() Not implemented beyond this point!
Loc: [qtbase/tests/auto/testlib/selftests/mouse/tst_mouse.cpp(0)]
SKIP : tst_Mouse::deterministicEvents(first-run-true) Not implemented!
Loc: [qtbase/tests/auto/testlib/selftests/mouse/tst_mouse.cpp(0)]
SKIP : tst_Mouse::deterministicEvents(first-run-false) Not implemented!
Loc: [qtbase/tests/auto/testlib/selftests/mouse/tst_mouse.cpp(0)]
PASS : tst_Mouse::cleanupTestCase()
Totals: 10 passed, 0 failed, 3 skipped, 0 blacklisted, 0ms
********* Finished testing of tst_Mouse *********