Mercurial > trustbridge
diff ui/tests/common.h @ 243:4b67cc2d4dad
Merged
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Fri, 28 Mar 2014 18:38:34 +0100 |
parents | c05e126b0b9e |
children | 17e1c8f37d72 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/tests/common.h Fri Mar 28 18:38:34 2014 +0100 @@ -0,0 +1,11 @@ +#ifndef COMMON_H +#define COMMON_H +#include <QDir> +#include <QString> + +/** @file common.h + * @brief Common testing code used in multiple tests. */ + +/* @brief get the file name of a file filled with garbage */ +QString getRandomDataFile(size_t size, const QDir &inDir = QDir()); +#endif // COMMON_H