view 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
line wrap: on
line source
#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

http://wald.intevation.org/projects/trustbridge/