diff --git a/outputview/tests/filteringstrategytest.cpp b/outputview/tests/filteringstrategytest.cpp --- a/outputview/tests/filteringstrategytest.cpp +++ b/outputview/tests/filteringstrategytest.cpp @@ -461,6 +461,12 @@ QTest::newRow("gfortranError2") << "/path/flib.f90:3567.22:" << "/path/flib.f90" << 3566 << 21 << FilteredItem::ErrorItem; + QTest::newRow("ant-javac-Warning") + << " [javac] /path/class.java:383: warning: [deprecation] ..." + << "/path/class.java" << 382 << 0 << FilteredItem::WarningItem; + QTest::newRow("ant-javac-Error") + << " [javac] /path/class.java:447: error: cannot find symbol" + << "/path/class.java" << 446 << 0 << FilteredItem::ErrorItem; } void FilteringStrategyTest::testExtractionOfLineAndColumn()