@@ -142,14 +142,14 void TestAmdaParser::testReadJson_data() | |||
|
142 | 142 | QTest::newRow("Valid file") << QStringLiteral("ValidFile1.json") << validResults1(); |
|
143 | 143 | |
|
144 | 144 | // Invalid files |
|
145 | QTest::newRow("Invalid file (unexisting file)") | |
|
146 | << QStringLiteral("UnexistingFile.json") << invalidResults(); | |
|
147 | QTest::newRow("Invalid file (two root objects)") | |
|
148 | << QStringLiteral("TwoRootsFile.json") << invalidResults(); | |
|
149 | QTest::newRow("Invalid file (wrong root key)") | |
|
150 | << QStringLiteral("WrongRootKey.json") << invalidResults(); | |
|
151 | QTest::newRow("Invalid file (wrong root type)") | |
|
152 | << QStringLiteral("WrongRootType.json") << invalidResults(); | |
|
145 | QTest::newRow("Invalid file (unexisting file)") << QStringLiteral("UnexistingFile.json") | |
|
146 | << invalidResults(); | |
|
147 | QTest::newRow("Invalid file (two root objects)") << QStringLiteral("TwoRootsFile.json") | |
|
148 | << invalidResults(); | |
|
149 | QTest::newRow("Invalid file (wrong root key)") << QStringLiteral("WrongRootKey.json") | |
|
150 | << invalidResults(); | |
|
151 | QTest::newRow("Invalid file (wrong root type)") << QStringLiteral("WrongRootType.json") | |
|
152 | << invalidResults(); | |
|
153 | 153 | } |
|
154 | 154 | |
|
155 | 155 | void TestAmdaParser::testReadJson() |
General Comments 0
You need to be logged in to leave comments.
Login now