OSDN Git Service

gwenview: stabilize the RecursiveDirModel test
authorIvailo Monev <xakepa10@gmail.com>
Tue, 4 Jul 2023 22:13:15 +0000 (01:13 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 4 Jul 2023 22:13:15 +0000 (01:13 +0300)
commit2c90b02a32ec5929b9f4aefc11c0c0faebe6703c
treee5c33471ddb2634545f01e089c2f74502fea4e60
parentc55b482da9c8c69342ad99bd42074f2e07a608ac
gwenview: stabilize the RecursiveDirModel test

note that this race that was observed by the author of the test will happen
outside the test - if files are created while the KDirLister is listing
(because an automatic update was issued for example) some files may not be
listed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
gwenview/lib/recursivedirmodel.cpp
gwenview/lib/recursivedirmodel.h
gwenview/tests/auto/recursivedirmodeltest.cpp
gwenview/tests/auto/testutils.cpp