A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/1191 below:

Sort violations by line/column · Issue #1191 · pmd/pmd · GitHub

For tests, when there are multiple violations and we verify the rows/column, then it sometimes happens, that the violations are reported in an arbitrary order. However, when we compare the expected line numbers, we compare a list with specific ordering.

To make it easier, we should sort the violations before comparing the expected line numbers.

->

pmd/pmd-test/src/main/java/net/sourceforge/pmd/testframework/RuleTst.java

Line 199 in 5241ebf

private void assertLineNumbers(Report report, TestDescriptor test) {

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4