From d3a87a7fc69c7b868bba091589335a73a99e5a11 Mon Sep 17 00:00:00 2001 From: hysios hu Date: Tue, 25 Sep 2012 16:12:50 +0800 Subject: [PATCH] remove debug log --- ext/jasmine-webkit-specrunner/Runner.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ext/jasmine-webkit-specrunner/Runner.cpp b/ext/jasmine-webkit-specrunner/Runner.cpp index b0dfc06..fb455ef 100644 --- a/ext/jasmine-webkit-specrunner/Runner.cpp +++ b/ext/jasmine-webkit-specrunner/Runner.cpp @@ -67,7 +67,6 @@ void Runner::loadSpec() while (iterator.hasNext()) { QString fileName = iterator.next(); - std::cout << qPrintable(fileName); QFile *outputFile = new QFile(fileName); outputFile->open(QIODevice::WriteOnly); outputFiles.enqueue(outputFile); @@ -149,16 +148,11 @@ void Runner::print(const QString &fh, const QString &content) { std::cerr << qPrintable(content); std::cerr.flush(); } - std::cout << qPrintable("Runner::report " + fh); if (fh.contains("report")) { int index = (int)fh.split(":").last().toUInt(); QTextStream ts(outputFiles.at(index)); - while (!outputFiles.isEmpty()){ - QFile *outputFile = outputFiles.dequeue(); - std::cout << qPrintable(outputFile->fileName()) << std::endl; - } ts << qPrintable(content); ts.flush(); }