Some more tips for testing:
- if there is nothing special with the geometries for shapefile-fixtures
just use rectagular geometries snapped to a grid (e.g. with a space with 20
meters)
- if you want to keep the workbenchframe open, just add
Thread.sleep(Integer.MAX_VALUE); to the end of the test c
Hi Michaël!
Here are some ideas for the tests:
1. a fixture "duplicate-geometries.jml" with duplicate geometries.
2. a new test class "DeleteDuplicateGeometriesPlugInTest" copied
from UnionByAttributePlugInTests
3. change parameters to "itemlayer" and "deleteOnlyForSameAttributes"
4. write test
I had a closer look at the plugin, there is no need to change initialize()
in order to run tests. The needed fields are already there:
private Layer itemlayer = null;
private boolean deleteOnlyForSameAttributes = false;
--Benjamin
2012/1/14 Benjamin Gudehus
> 2012/1/14 Michaël Michaud
2012/1/14 Michaël Michaud
> Hi Benjamin,
>
> I just saw how you organized the test framework, and I have several
> questions before I start using it (I'd like to optimize
> DeleteDuplicateGeometriesPlugIn before 1.5.1 release, which is an
> excellent opportunity to test your Framework) :
>
I had
Hi Benjamin,
I just saw how you organized the test framework, and I have several
questions before I start using it (I'd like to optimize
DeleteDuplicateGeometriesPlugIn before 1.5.1 release, which is an
excellent opportunity to test your Framework) :
- did you see there is already a package na