Commit cdf9aed6 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

tst_qdir: Move QFINDTESTDATA() from init() to constructor.


Check result in initTestData().

Previously, QFINDTESTDATA() was repeatedly invoked in init(). The
data-driven cd() test then failed when invoked stand-alone since
cd_data(), which relies on the data path, is executed before init().

Task-number: QTBUG-40067
Change-Id: I91039247e8dcaedd92fa990f1b5f82bc54b17c60
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
parent 71e1976b
Branches
Tags
No related merge requests found
Showing with 16 additions and 6 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment