AusweisApp2/test/helper/TestFileHelper.h

25 lines
486 B
C
Raw Permalink Normal View History

2017-07-03 09:30:10 +02:00
/*!
* \brief Helper for some file functions.
*
2019-05-22 10:08:38 +02:00
* \copyright Copyright (c) 2014-2019 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
};
2019-01-03 15:06:22 +01:00
} // namespace governikus