| 1 |
/* This file is part of the KDE project |
| 2 |
SPDX-FileCopyrightText: 2022 Dag Andersen <[email protected]> |
| 3 |
|
| 4 |
SPDX-License-Identifier: LGPL-2.0-or-later |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef KPlato_ReportsTester_h |
| 8 |
#define KPlato_ReportsTester_h |
| 9 |
|
| 10 |
#include <QObject> |
| 11 |
|
| 12 |
namespace KPlato { |
| 13 |
class Part; |
| 14 |
} |
| 15 |
|
| 16 |
class ReportsTester : public QObject |
| 17 |
{ |
| 18 |
Q_OBJECT |
| 19 |
private Q_SLOTS: |
| 20 |
void init(); |
| 21 |
void cleanup(); |
| 22 |
void testReportGeneration(); |
| 23 |
|
| 24 |
private: |
| 25 |
void loadDocument(const QString &file); |
| 26 |
KPlato::Part *part; |
| 27 |
}; |
| 28 |
|
| 29 |
#endif |