AusweisApp2/test/helper/TestFileHelper.h

25 lines
489 B
C
Raw Normal View History

2017-07-03 09:30:10 +02:00
/*!
* \brief Helper for some file functions.
*
2018-03-28 15:10:51 +02:00
* \copyright Copyright (c) 2014-2018 Governikus GmbH & Co. KG, Germany
2017-07-03 09:30:10 +02:00
*/
#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-12-20 14:54:05 +01:00
static bool containsLog(const QSignalSpy& pSpy, const QLatin1String pStr);
2017-07-03 09:30:10 +02:00
};
} /* namespace governikus */