some of the API classes should have comparison methods in

org.openjump.core.apitools.*

stefan

Sunburned Surveyor wrote:
> I'm currently writing JUnit tests for my plug-in that will import
> survey points from delimited text files. In one of my unit tests, I
> want to verify that the FeatureCollection returned from my reader is
> what I expect. This would involve checking all of the following:
> 
> - The number of features in the FeatureCollection.
> - The number, name, and data type of the attributes (FeatureSchema).
> - The individual attribute values of each Feature object stored in the
> FeatureCollection.
> 
> Has anyone written code that compares FeatureSchema or
> FeatureCollection objects for this type of equality? I could use this
> code for my JUnit test. (I can actually use it in a lot of other
> places too.)
> 
> If no one has the code, I will write it myself and will make it
> available to the other OpenJUMP programmers. I'm just trying to save
> myself a little time. :]
> 
> The Sunburned Surveyor
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> 

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to