Port the exclude test to the QTest Framework
authorOlivier Goffart <ogoffart@woboq.com>
Fri, 30 Nov 2018 14:31:10 +0000 (15:31 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:29 +0000 (10:58 +0100)
commit6da96cd0269d9ff3cf40d7bc2f2d9279cf7032d3
tree4567e8f331b0bfa8f775955efbfffc6d267549f9
parentfad1238b3324f0e606c758d39a223e13e72afdae
Port the exclude test to the QTest Framework

This is just a port to QtTest, I did not change the layout of the test.
I did search and replace to replace the assert with QCOMPARE/QVERIFY
I still call setup and setup_init like before (only explicitly, now)

Also ported the preformence tests to QBENCHMAK because windows don't have
gettimeofday.

Relates #6358
src/csync/csync_exclude.cpp
src/csync/csync_exclude.h
test/csync/CMakeLists.txt
test/csync/csync_tests/check_csync_exclude.cpp [deleted file]
test/testexcludedfiles.cpp