Geotools main pom reports that:
<!-- image.tests Run image comparison tests if --> <!-- perceptualdiff in on the path
The pom.xml also contains these properties to be set when running maven:
<argLine>-Xmx$ {test.maxHeapSize}
$ {jvm.opts}
.......-Dorg.geotools.image.test.enabled=$ {image.tests}
..... </argLine>
However, the ImageAssert code checks if the SKIP flag has been set in order to avoid tests:
/**
-
Forces the image comparison tests to be skipped
*/ static final boolean SKIP = Boolean.getBoolean("org.geotools.image.test.skip");
Which results in having no way to enable/disable the Image comparison tests since the checks deal on different property names.
We should properly change the name of the property to be checked in the code OR the property to be set on maven invokation.
|