jasmine-headless-webkit/ext/jasmine-webkit-specrunner/ConsoleOutput_test.h

33 lines
694 B
C
Raw Normal View History

2011-08-30 19:59:09 +00:00
#ifndef JHW_TEST_CONSOLE_OUTPUT
#define JHW_TEST_CONSOLE_OUTPUT
2011-08-03 16:26:39 +00:00
#include <QtTest/QtTest>
#include <iostream>
#include <sstream>
#include <string>
#include "ConsoleOutput.h"
2011-08-30 19:59:09 +00:00
class ConsoleOutputTest : public QObject {
Q_OBJECT
public:
ConsoleOutputTest();
2011-08-03 16:26:39 +00:00
private slots:
void testPassed();
2011-08-30 19:59:09 +00:00
void testFailed();
void testErrorLog();
void testInternalLog();
void testConsoleLog();
void testConsoleLogUsed();
void testLogSpecFilename();
void testLogSpecResult();
2011-08-30 19:59:09 +00:00
void testReportResultsFailedSingular();
void testReportResultsFailedPlural();
void testReportResultsSucceeded();
void testReportResultsSucceededWithJSErrors();
};
2011-08-03 16:26:39 +00:00
#endif