summaryrefslogtreecommitdiffstats
path: root/src/reportgenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/reportgenerator.h')
-rw-r--r--src/reportgenerator.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/reportgenerator.h b/src/reportgenerator.h
new file mode 100644
index 0000000..b251c8b
--- /dev/null
+++ b/src/reportgenerator.h
@@ -0,0 +1,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
+