2011-08-03 16:26:39 +00:00
|
|
|
#ifndef JHW_TEST_PAGE
|
|
|
|
#define JHW_TEST_PAGE
|
|
|
|
|
|
|
|
#include <QtTest/QtTest>
|
|
|
|
#include <iostream>
|
|
|
|
#include <sstream>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "ConsoleOutput.h"
|
|
|
|
|
|
|
|
namespace HeadlessSpecRunner {
|
|
|
|
class ConsoleOutputTest : public QObject {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
ConsoleOutputTest();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void testPassed();
|
|
|
|
void testFailed();
|
2011-08-26 15:18:04 +00:00
|
|
|
void testErrorLog();
|
2011-08-29 17:35:36 +00:00
|
|
|
void testInternalLog();
|
|
|
|
void testConsoleLog();
|
|
|
|
void testConsoleLogUsed();
|
|
|
|
void testLogSpecFilename();
|
2011-08-03 16:26:39 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|