Sha256: 22d95682bd9156a74aaa5bf5ff565f4cdb57f9d8af02dc157c0ca38928dd6a8c
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 KB
Contents
#ifndef JHW_CONSOLE_OUTPUT #define JHW_CONSOLE_OUTPUT #include <QObject> #include <iostream> #include <QStack> #include <QStringList> class ConsoleOutput : public QObject { public: ConsoleOutput(); void passed(const QString &specDetail); void failed(const QString &specDetail); void errorLog(const QString &msg, int lineNumber, const QString &sourceID); void internalLog(const QString ¬e, const QString &msg); void consoleLog(const QString &msg); void logSpecFilename(const QString &name); void logSpecResult(const QString &result); void reportFailure(const QString &totalTests, const QString &failedTests, const QString &duration); void reportSuccess(const QString &totalTests, const QString &failedTests, const QString &duration); void reportSuccessWithJSErrors(const QString &totalTests, const QString &failedTests, const QString &duration); std::ostream *outputIO; QStack<QString> successes; QStack<QString> failures; bool showColors; bool consoleLogUsed; private: void green(); void clear(); void red(); void yellow(); void formatTestResults(const QString &totalTests, const QString &failedTests, const QString &duration); }; #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jasmine-headless-webkit-0.7.3.1 | ext/jasmine-webkit-specrunner/ConsoleOutput.h |
jasmine-headless-webkit-0.7.2 | ext/jasmine-webkit-specrunner/ConsoleOutput.h |