diff options
Diffstat (limited to 'tests/testutils/testcontext.h')
-rw-r--r-- | tests/testutils/testcontext.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/testutils/testcontext.h b/tests/testutils/testcontext.h new file mode 100644 index 0000000..625c417 --- /dev/null +++ b/tests/testutils/testcontext.h @@ -0,0 +1,21 @@ +#ifndef TESTCONTEXT_H +#define TESTCONTEXT_H + +#include <QByteArray> + +class TestContext +{ +public: + explicit TestContext(const QByteArray &sourceDir, const QByteArray &topSourceDir, + const QByteArray &outputDir, const QByteArray &topOutputDir); + + const char *sourceDir() const; + +private: + const QByteArray m_sourceDir; + const QByteArray m_topSourceDir; + const QByteArray m_outputDir; + const QByteArray m_topOutputDir; +}; + +#endif // TESTCONTEXT_H |