Changeset View
Changeset View
Standalone View
Standalone View
outputview/tests/test_filteringstrategy.cpp
Show First 20 Lines • Show All 441 Lines • ▼ Show 20 Line(s) | 440 | QTest::newRow("msvc-compiler-warning-line") | |||
---|---|---|---|---|---|
442 | << "c:/program files/microsoft visual studio 10.0/vc/include/crtdefs.h" << 526 << 0 << FilteredItem::WarningItem; | 442 | << "c:/program files/microsoft visual studio 10.0/vc/include/crtdefs.h" << 526 << 0 << FilteredItem::WarningItem; | ||
443 | #else | 443 | #else | ||
444 | QTest::newRow("gcc-with-col") | 444 | QTest::newRow("gcc-with-col") | ||
445 | << "/path/to/file.cpp:123:45: fatal error: ..." | 445 | << "/path/to/file.cpp:123:45: fatal error: ..." | ||
446 | << "/path/to/file.cpp" << 122 << 44 << FilteredItem::ErrorItem; | 446 | << "/path/to/file.cpp" << 122 << 44 << FilteredItem::ErrorItem; | ||
447 | QTest::newRow("gcc-no-col") | 447 | QTest::newRow("gcc-no-col") | ||
448 | << "/path/to/file.cpp:123: error ..." | 448 | << "/path/to/file.cpp:123: error ..." | ||
449 | << "/path/to/file.cpp" << 122 << 0 << FilteredItem::ErrorItem; | 449 | << "/path/to/file.cpp" << 122 << 0 << FilteredItem::ErrorItem; | ||
450 | QTest::newRow("gcc-app-gives-invalid-column") | ||||
451 | << "/path/to/file.h:60:0:\ | ||||
452 | warning: \"SOME_MACRO\" redefined" << "/path/to/file.h" << 59 << 0 << FilteredItem::WarningItem; | ||||
450 | QTest::newRow("fortcom") | 453 | QTest::newRow("fortcom") | ||
451 | << "fortcom: Error: Ogive8.f90, line 123: ..." | 454 | << "fortcom: Error: Ogive8.f90, line 123: ..." | ||
452 | << QString(projectPath() + "/Ogive8.f90") << 122 << 0 << FilteredItem::ErrorItem; | 455 | << QString(projectPath() + "/Ogive8.f90") << 122 << 0 << FilteredItem::ErrorItem; | ||
453 | QTest::newRow("fortcomError") | 456 | QTest::newRow("fortcomError") | ||
454 | << "fortcom: Error: ./Ogive8.f90, line 123: ..." | 457 | << "fortcom: Error: ./Ogive8.f90, line 123: ..." | ||
455 | << QString(projectPath() + "/Ogive8.f90") << 122 << 0 << FilteredItem::ErrorItem; | 458 | << QString(projectPath() + "/Ogive8.f90") << 122 << 0 << FilteredItem::ErrorItem; | ||
456 | QTest::newRow("fortcomWarning") | 459 | QTest::newRow("fortcomWarning") | ||
457 | << "fortcom: Warning: /path/Ogive8.f90, line 123: ..." | 460 | << "fortcom: Warning: /path/Ogive8.f90, line 123: ..." | ||
Show All 37 Lines |