From 2b1c8aa8777bfacb2d65cf137b45be86b58ef3cf Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 27 May 2019 16:09:44 +0200 Subject: ProjectExplorer: Introduce a alias for QList Change-Id: I91391ad22b420926b0f512cac23cfe009048b218 Reviewed-by: Christian Kandeler --- src/plugins/baremetal/sdccparser.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/plugins/baremetal/sdccparser.cpp') diff --git a/src/plugins/baremetal/sdccparser.cpp b/src/plugins/baremetal/sdccparser.cpp index 24531ab7e1..d1575bce89 100644 --- a/src/plugins/baremetal/sdccparser.cpp +++ b/src/plugins/baremetal/sdccparser.cpp @@ -190,18 +190,18 @@ void BareMetalPlugin::testSdccOutputParsers_data() QTest::addColumn("inputChannel"); QTest::addColumn("childStdOutLines"); QTest::addColumn("childStdErrLines"); - QTest::addColumn >("tasks"); + QTest::addColumn("tasks"); QTest::addColumn("outputLines"); QTest::newRow("pass-through stdout") << "Sometext" << OutputParserTester::STDOUT << "Sometext\n" << QString() - << QList() + << Tasks() << QString(); QTest::newRow("pass-through stderr") << "Sometext" << OutputParserTester::STDERR << QString() << "Sometext\n" - << QList() + << Tasks() << QString(); const Core::Id categoryCompile = Constants::TASK_CATEGORY_COMPILE; @@ -213,7 +213,7 @@ void BareMetalPlugin::testSdccOutputParsers_data() << OutputParserTester::STDERR << QString() << QString::fromLatin1("c:\\foo\\main.c:63: warning 123: Some warning\n") - << (QList() << Task(Task::Warning, + << (Tasks() << Task(Task::Warning, QLatin1String("Some warning"), Utils::FileName::fromUserInput(QLatin1String("c:\\foo\\main.c")), 63, @@ -229,7 +229,7 @@ void BareMetalPlugin::testSdccOutputParsers_data() << QString::fromLatin1("c:\\foo\\main.c:63: warning 123: Some warning\n" "details #1\n" " details #2\n") - << (QList() << Task(Task::Warning, + << (Tasks() << Task(Task::Warning, QLatin1String("Some warning\n" "details #1\n" " details #2"), @@ -243,7 +243,7 @@ void BareMetalPlugin::testSdccOutputParsers_data() << OutputParserTester::STDERR << QString() << QString::fromLatin1("c:\\foo\\main.c:63: error 123: Some error\n") - << (QList() << Task(Task::Error, + << (Tasks() << Task(Task::Error, QLatin1String("Some error"), Utils::FileName::fromUserInput(QLatin1String("c:\\foo\\main.c")), 63, @@ -259,7 +259,7 @@ void BareMetalPlugin::testSdccOutputParsers_data() << QString::fromLatin1("c:\\foo\\main.c:63: error 123: Some error\n" "details #1\n" " details #2\n") - << (QList() << Task(Task::Error, + << (Tasks() << Task(Task::Error, QLatin1String("Some error\n" "details #1\n" " details #2"), @@ -273,7 +273,7 @@ void BareMetalPlugin::testSdccOutputParsers_data() << OutputParserTester::STDERR << QString() << QString::fromLatin1("c:\\foo\\main.c:63: syntax error: Some error\n") - << (QList() << Task(Task::Error, + << (Tasks() << Task(Task::Error, QLatin1String("Some error"), Utils::FileName::fromUserInput(QLatin1String("c:\\foo\\main.c")), 63, @@ -285,7 +285,7 @@ void BareMetalPlugin::testSdccOutputParsers_data() << OutputParserTester::STDERR << QString() << QString::fromLatin1("at 1: error 123: Some error\n") - << (QList() << Task(Task::Error, + << (Tasks() << Task(Task::Error, QLatin1String("Some error"), Utils::FileName(), -1, @@ -297,7 +297,7 @@ void BareMetalPlugin::testSdccOutputParsers_data() << OutputParserTester::STDERR << QString() << QString::fromLatin1("?ASlink-Warning-Couldn't find library 'foo.lib'\n") - << (QList() << Task(Task::Warning, + << (Tasks() << Task(Task::Warning, QLatin1String("Couldn't find library 'foo.lib'"), Utils::FileName(), -1, @@ -309,7 +309,7 @@ void BareMetalPlugin::testSdccOutputParsers_data() << OutputParserTester::STDERR << QString() << QString::fromLatin1("?ASlink-Error- : \"foo.rel\"\n") - << (QList() << Task(Task::Error, + << (Tasks() << Task(Task::Error, QLatin1String(" : \"foo.rel\""), Utils::FileName(), -1, @@ -323,7 +323,7 @@ void BareMetalPlugin::testSdccOutputParsers() testbench.appendOutputParser(new SdccParser); QFETCH(QString, input); QFETCH(OutputParserTester::Channel, inputChannel); - QFETCH(QList, tasks); + QFETCH(Tasks, tasks); QFETCH(QString, childStdOutLines); QFETCH(QString, childStdErrLines); QFETCH(QString, outputLines); -- cgit v1.2.1