1 #ifndef TESTDATAOBJECT_H
2 #define TESTDATAOBJECT_H
5 #include <QtTest/QTest>
12 explicit TestDataObjectClient(QString &newHost, QString &newport, QString &newUser, QString &newPassword,
bool isSecureHttps, QString &_testFile);
17 void cleanupTestCase();
21 void testRemoveDataObject();
22 void testAddFileMetadata();
23 void getDataObjectMetadata();
24 void getDataObjectMetadataAsync();
25 void testMetadataCapacity();
29 int getCurrentListSize();
30 bool fileExistsRemote(QString & collection, QString &fileName);
31 MetadataEntry getTestMetadata();
32 bool createTextFiles(QString baseFileName,
int size);
33 bool fileExistsLocal(QString & fileName);
34 bool deleteFiles(QString &fileName);
35 QString getFormatedTime(
int milliseconds);
51 QString pathTestCollection;
53 QString pathToTheFile;
54 QString anotherPathToTheFile;
58 #endif // TESTDATAOBJECT_H
Definition: testdataobjectclient.h:8