summaryrefslogtreecommitdiff
path: root/src/plugins/baremetal/sdccparser.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-05-27 16:09:44 +0200
committerhjk <hjk@qt.io>2019-05-28 05:51:40 +0000
commit2b1c8aa8777bfacb2d65cf137b45be86b58ef3cf (patch)
tree313688371de0cee8f2a4174d82a7828d051f3cf3 /src/plugins/baremetal/sdccparser.cpp
parent24560d883093e88d1c8f3c237c84b0d2fd720d0c (diff)
downloadqt-creator-2b1c8aa8777bfacb2d65cf137b45be86b58ef3cf.tar.gz
ProjectExplorer: Introduce a alias for QList<Tasks>
Change-Id: I91391ad22b420926b0f512cac23cfe009048b218 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/baremetal/sdccparser.cpp')
-rw-r--r--src/plugins/baremetal/sdccparser.cpp24
1 files changed, 12 insertions, 12 deletions
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<OutputParserTester::Channel>("inputChannel");
QTest::addColumn<QString>("childStdOutLines");
QTest::addColumn<QString>("childStdErrLines");
- QTest::addColumn<QList<ProjectExplorer::Task> >("tasks");
+ QTest::addColumn<Tasks >("tasks");
QTest::addColumn<QString>("outputLines");
QTest::newRow("pass-through stdout")
<< "Sometext" << OutputParserTester::STDOUT
<< "Sometext\n" << QString()
- << QList<Task>()
+ << Tasks()
<< QString();
QTest::newRow("pass-through stderr")
<< "Sometext" << OutputParserTester::STDERR
<< QString() << "Sometext\n"
- << QList<Task>()
+ << 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(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(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(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(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(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(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(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-<cannot open> : \"foo.rel\"\n")
- << (QList<Task>() << Task(Task::Error,
+ << (Tasks() << Task(Task::Error,
QLatin1String("<cannot open> : \"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<Task>, tasks);
+ QFETCH(Tasks, tasks);
QFETCH(QString, childStdOutLines);
QFETCH(QString, childStdErrLines);
QFETCH(QString, outputLines);