1*f35c72b9SNicolas Bonnefon #include <QMutex> 2*f35c72b9SNicolas Bonnefon #include <QWaitCondition> 3*f35c72b9SNicolas Bonnefon #include <QtTest/QtTest> 4*f35c72b9SNicolas Bonnefon 5*f35c72b9SNicolas Bonnefon class TestLogFilteredData: public QObject 6*f35c72b9SNicolas Bonnefon { 7*f35c72b9SNicolas Bonnefon Q_OBJECT 8*f35c72b9SNicolas Bonnefon 9*f35c72b9SNicolas Bonnefon private slots: 10*f35c72b9SNicolas Bonnefon void initTestCase(); 11*f35c72b9SNicolas Bonnefon 12*f35c72b9SNicolas Bonnefon void simpleSearch(); 13*f35c72b9SNicolas Bonnefon void multipleSearch(); 14*f35c72b9SNicolas Bonnefon 15*f35c72b9SNicolas Bonnefon public slots: 16*f35c72b9SNicolas Bonnefon void loadingFinished(); 17*f35c72b9SNicolas Bonnefon void searchProgressed( int completion, int nbMatches ); 18*f35c72b9SNicolas Bonnefon 19*f35c72b9SNicolas Bonnefon private: 20*f35c72b9SNicolas Bonnefon bool generateDataFiles(); 21*f35c72b9SNicolas Bonnefon }; 22