Changeset View
Changeset View
Standalone View
Standalone View
outputview/tests/test_filteringstrategy.cpp
Show First 20 Lines • Show All 261 Lines • ▼ Show 20 Line(s) | 209 | { | |||
---|---|---|---|---|---|
262 | QTest::newRow("qml-import-unix1") | 262 | QTest::newRow("qml-import-unix1") | ||
263 | << "file:///path/to/foo.qml:7:1: Bar is ambiguous. Found in A and in B" | 263 | << "file:///path/to/foo.qml:7:1: Bar is ambiguous. Found in A and in B" | ||
264 | << "/path/to/foo.qml" | 264 | << "/path/to/foo.qml" | ||
265 | << 6 << 0 << FilteredItem::ErrorItem; | 265 | << 6 << 0 << FilteredItem::ErrorItem; | ||
266 | QTest::newRow("qml-import-unix2") | 266 | QTest::newRow("qml-import-unix2") | ||
267 | << "file:///path/to/foo.qml:7:1: Bar is instantiated recursively" | 267 | << "file:///path/to/foo.qml:7:1: Bar is instantiated recursively" | ||
268 | << "/path/to/foo.qml" | 268 | << "/path/to/foo.qml" | ||
269 | << 6 << 0 << FilteredItem::ErrorItem; | 269 | << 6 << 0 << FilteredItem::ErrorItem; | ||
270 | QTest::newRow("qml-typeerror") | ||||
271 | << "file:///path/to/foo.qml:7: TypeError: Cannot read property 'height' of null" | ||||
272 | << "/path/to/foo.qml" | ||||
273 | << 6 << 0 << FilteredItem::ErrorItem; | ||||
274 | QTest::newRow("qml-referenceerror") | ||||
275 | << "file:///path/to/foo.qml:7: ReferenceError: readOnly is not defined" | ||||
276 | << "/path/to/foo.qml" | ||||
277 | << 6 << 0 << FilteredItem::ErrorItem; | ||||
278 | QTest::newRow("qml-bindingloop") | ||||
279 | << "file:///path/to/foo.qml:7:5: QML Row: Binding loop detected for property \"height\"" | ||||
280 | << "/path/to/foo.qml" | ||||
281 | << 6 << 4 << FilteredItem::ErrorItem; | ||||
270 | // END: Qt | 282 | // END: Qt | ||
271 | } | 283 | } | ||
272 | 284 | | |||
273 | void TestFilteringStrategy::testNativeAppErrorFilterStrategy() | 285 | void TestFilteringStrategy::testNativeAppErrorFilterStrategy() | ||
274 | { | 286 | { | ||
275 | QFETCH(QString, line); | 287 | QFETCH(QString, line); | ||
276 | QFETCH(QString, file); | 288 | QFETCH(QString, file); | ||
277 | QFETCH(int, lineNo); | 289 | QFETCH(int, lineNo); | ||
▲ Show 20 Lines • Show All 205 Lines • Show Last 20 Lines |