Mercurial > trustbridge
comparison ui/tests/common.h @ 240:c05e126b0b9e
Fix downloadertest and factor out generating file input.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 28 Mar 2014 15:21:02 +0000 |
parents | |
children | 17e1c8f37d72 |
comparison
equal
deleted
inserted
replaced
239:6b4ad6ccc48e | 240:c05e126b0b9e |
---|---|
1 #ifndef COMMON_H | |
2 #define COMMON_H | |
3 #include <QDir> | |
4 #include <QString> | |
5 | |
6 /** @file common.h | |
7 * @brief Common testing code used in multiple tests. */ | |
8 | |
9 /* @brief get the file name of a file filled with garbage */ | |
10 QString getRandomDataFile(size_t size, const QDir &inDir = QDir()); | |
11 #endif // COMMON_H |