Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 9.0.1
-
None
-
-
274bb27cf3b8a5d888bafa069925e230bf5ae90c
Description
When I use the List of tests in the QtCreator to start a single testrow containing spaces, QtCreator try to execute three testrows (Foo, Bar, Fail) in the following example:
#include <QtTest> class test_Example : public QObject { Q_OBJECT private Q_SLOTS: void test_example_data() { QTest::addColumn<int>("number"); QTest::addRow("Foo Bar Fail") << 1; } void test_example() { QFETCH(int, number); qDebug() << "Fancy Stuff" << number; } }; QTEST_GUILESS_MAIN(test_Example) #include "test_Example.moc"