mcr wrote:
> I am working at a new plugin:
> http://docs.codehaus.org/display/GEOTOOLS/Image+Mosaicing+Pyramidal+JDBC+Plugin
>
> Since I need online tests for postgis,mysql,db2 and oracle I  need  the
> corresponding fixtures. 
> 1) Are there predefined fixtures?
>   
I don't think so; I think you need to make a small properties file 
saying how to connect to *your* database. Most of the test cases are 
good about setting up their own test-data if only you can provide them a 
connection.
> 2) Since my  configuration files are xml files and fixtures in xml seem not 
> to be supported I think I need a workaround. Is it ok to read the fixtures at 
> the beginning of the test, generating my xml config on the  fly?
>   
That would be the preferred (ie safe) way to do it; grab a connection to 
the database; load the data by hand using SQL; generate an xml file 
based on this set up; run your test; then remove the tables etc at the 
end of the day.

The only reason these things are properties right now is because that is 
what most of the datastores take when being set up.... we can set things 
up so other file formats can be used; but to make your test work for 
everyone we should be good as things stand now.

Jody

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to