forked from qt-creator/qt-creator
Add unit test for QTCREATORBUG-1165
Nothing to fix in master, move on;-) Tasknumber: QTCREATORBUG-1165
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user