add PASS:

This commit is contained in:
John Bintz 2011-04-10 16:06:30 -04:00
parent 58e79ce9e7
commit 1a94774649

View File

@ -123,7 +123,7 @@ void HeadlessSpecRunner::timerEvent(QTimerEvent *event)
if (hasElement(".runner.passed")) {
QWebElement desc = m_page.mainFrame()->findFirstElement(".description");
std::cout << "\033[0;32m" << qPrintable(desc.toPlainText()) << "\033[m" << std::endl;
std::cout << "\033[0;32m" << "PASS: " << qPrintable(desc.toPlainText()) << "\033[m" << std::endl;
QApplication::instance()->exit(0);
return;
}