Skip to content
Snippets Groups Projects
Commit 9b2a6d80 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Add unit test for QTCREATORBUG-1165

Nothing to fix in master, move on;-)

Tasknumber: QTCREATORBUG-1165
parent b7c0a420
No related branches found
No related tags found
No related merge requests found
...@@ -428,6 +428,16 @@ void ProjectExplorerPlugin::testGccOutputParsers_data() ...@@ -428,6 +428,16 @@ void ProjectExplorerPlugin::testGccOutputParsers_data()
QLatin1String("../../scriptbug/main.cpp"), 8, QLatin1String("../../scriptbug/main.cpp"), 8,
Constants::TASK_CATEGORY_COMPILE)) Constants::TASK_CATEGORY_COMPILE))
<< QString(); << 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") QTest::newRow("At global scope")
<< QString::fromLatin1("../../scriptbug/main.cpp: At global scope:\n" << QString::fromLatin1("../../scriptbug/main.cpp: At global scope:\n"
"../../scriptbug/main.cpp: In instantiation of void bar(i) [with i = double]:\n" "../../scriptbug/main.cpp: In instantiation of void bar(i) [with i = double]:\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment