2011-08-30 19:59:09 +00:00
|
|
|
#ifndef JHW_TEST_REPORT_FILE_OUTPUT
|
|
|
|
#define JHW_TEST_REPORT_FILE_OUTPUT
|
|
|
|
|
|
|
|
#include <QtTest/QtTest>
|
|
|
|
#include <iostream>
|
|
|
|
#include <sstream>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "ReportFileOutput.h"
|
|
|
|
|
|
|
|
class ReportFileOutputTest : public QObject {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
ReportFileOutputTest();
|
|
|
|
private slots:
|
|
|
|
void testPassed();
|
2011-09-02 14:24:24 +00:00
|
|
|
void testFailed();
|
2011-09-02 19:52:19 +00:00
|
|
|
void testErrorLog();
|
|
|
|
void testConsoleLog();
|
|
|
|
void testStubMethods();
|
|
|
|
void testReportFailure();
|
|
|
|
void testReportSuccess();
|
|
|
|
void testReportSuccessWithJSErrors();
|
2011-08-30 19:59:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|