1 #ifndef TESTCOLLECTIONCLIENT_H
2 #define TESTCOLLECTIONCLIENT_H
5 #include <QtTest/QTest>
12 explicit TestCollectionClient(QString &newHost, QString &newport, QString &newUser, QString &newPassword,
bool isSecureHttps, QString &_testFile);
17 void cleanupTestCase();
20 void testAddCollection();
21 void testRemoveCollection();
22 void testAddManyCollections();
27 int getCurrentListSize();
28 int getCurrentListSize(QString & pathTestCollection);
29 bool collectionExists(QString &_pathTestCollection);
30 bool createTextFiles(QString baseFileName,
int size);
31 bool fileExistsLocal(QString & fileName);
32 bool deleteFiles(QString &fileName);
33 QString getFormatedTime(
int milliseconds);
48 QString pathTestCollection;
50 QString pathToTheFile;
51 QString testDownloadFile;
52 QString anotherPathToTheFile;
57 #endif // TESTCOLLECTIONCLIENT_H
Definition: testcollectionclient.h:8