blob: b251c8bb19a3d8624f39ccaac4b77a148f454c8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef REPORTGENERATOR_H
#define REPORTGENERATOR_H
#include "database.h"
class ReportGenerator
{
public:
ReportGenerator();
QByteArray printColors(const QString &tableName, const QString &seriesName);
QList<QByteArray> writeChart(const QString &tableName, bool combineVersions);
void writeReport(const QString &tableName, const QString &filename, bool combineVersions = false);
void writeReports();
QString fileName();
private:
QList<QByteArray> m_colorScheme;
QString m_fileName;
};
void printTestCaseResults(const QString &testCaseName);
#endif
|