Add unit test for QTCREATORBUG-1165

Nothing to fix in master, move on;-)

Tasknumber: QTCREATORBUG-1165
This commit is contained in:
Tobias Hunger
2010-04-15 17:18:03 +02:00
parent b7c0a42025
commit 9b2a6d80e4

View File

@@ -428,6 +428,16 @@ void ProjectExplorerPlugin::testGccOutputParsers_data()
QLatin1String("../../scriptbug/main.cpp"), 8,
Constants::TASK_CATEGORY_COMPILE))
<< QString();
QTest::newRow("instanciated from here")
<< QString::fromLatin1("main.cpp:10: instantiated from here ")
<< OutputParserTester::STDERR
<< QString() << QString()
<< ( QList<ProjectExplorer::Task>()
<< Task(Task::Unknown,
QLatin1String("instantiated from here"),
QLatin1String("main.cpp"), 10,
Constants::TASK_CATEGORY_COMPILE))
<< QString();
QTest::newRow("At global scope")
<< QString::fromLatin1("../../scriptbug/main.cpp: At global scope:\n"
"../../scriptbug/main.cpp: In instantiation of void bar(i) [with i = double]:\n"