Thanks for the information Stefan. I checked out the classes in the
apitools package, but I didn't see what I needed. However, it seems
like the classes in this package would be the logical home for the
methods I need. I will see if I can implement my methods and add them
to the appropriate class in the apitools package. I might go in and
spruce up some of the javadoc comments while I am at it. I don't think
anyone is currently maintaining this package. (I won't break any
method signatures unless I get permission first.) :]

The Sunburned Surveyor

On Thu, Jun 18, 2009 at 12:39 PM, Stefan Steiniger<sst...@geo.uzh.ch> wrote:
> 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
>

------------------------------------------------------------------------------
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