2017-07-03 09:30:10 +02:00
|
|
|
/*!
|
|
|
|
* \brief Helper for some file functions.
|
|
|
|
*
|
|
|
|
* \copyright Copyright (c) 2014 Governikus GmbH & Co. KG
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QByteArray>
|
|
|
|
#include <QDir>
|
2017-07-03 09:33:28 +02:00
|
|
|
#include <QSignalSpy>
|
2017-07-03 09:30:10 +02:00
|
|
|
|
|
|
|
namespace governikus
|
|
|
|
{
|
|
|
|
|
|
|
|
class TestFileHelper
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static QByteArray readFile(const QString& pFileName);
|
|
|
|
static void createTranslations(const QString& pTranslationDir);
|
2017-07-03 09:33:28 +02:00
|
|
|
static bool containsLog(const QSignalSpy& pSpy, const QLatin1String& pStr);
|
2017-07-03 09:30:10 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
} /* namespace governikus */
|