view ui/tests/common.h @ 249:6a7eb102716d

Remove code duplication by unifying the certificatelist. You should now check for isInstallCert to determine wether this certificate should be installed or removed. Leaving the getInstallCertificates and getRemoveCertificates in place for compatibilty would have been easier to keep the tests stable.
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 31 Mar 2014 08:06:17 +0000
parents c05e126b0b9e
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/