Skip to content

Commit

Permalink
test(ValidatorPluginCnig): update error count for new version of GDAL…
Browse files Browse the repository at this point in the history
… bin (>3.4)
  • Loading branch information
cboucheIGN committed Jul 18, 2023
1 parent fc9602a commit f308f4a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,10 @@ public void test241800432_PLUi_20200128() throws Exception {
/*
* check errors
*/
ReportAssert.assertCount(3, CoreErrorCodes.ATTRIBUTE_GEOMETRY_INVALID, report);
// GDAL 3.0
Assert.assertTrue(report.getErrorsByCode(CoreErrorCodes.ATTRIBUTE_GEOMETRY_INVALID).size() > 0);
// GDAL 3.4
Assert.assertTrue(report.getErrorsByCode(CoreErrorCodes.ATTRIBUTE_GEOMETRY_INVALID).size() < 4);
ReportAssert.assertCount(2, CoreErrorCodes.ATTRIBUTE_UNEXPECTED_NULL, report);
ReportAssert.assertCount(11, ErrorLevel.ERROR, report);

Expand Down

0 comments on commit f308f4a

Please sign in to comment.