Justin Deoliveira wrote:
> The "old" way is just to incloude the fixture in the same package as 
> the test.
>
> In the new and improved way the fixtures live in your home directory 
> under the ".geotools" directory. Inside that directory are properties 
> file for each fixture. So in your test case if you want to load a 
> fixture called "foo" you would see the file:
>
> /home/<user>/.geotools/foo.properties (on linux of course).
>
> To use the fixture in a test case you must extend from 
> org.geotools.test.OnlineTestCase and override "getFixtureId()". 
> However I think it might be better to not have to override this method 
> and just use the classname from the name of the fixture. Then the test 
> case writer does not really have to do anything.
>
> Also beware however that not modules are actually using this setup 
> currently so its not really tested...
Which "way" is not actually used Justin? You mentioned several ideas ...

Jody

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to