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... -Justin Jody Garnett wrote: > I was not sure David, > > I documented what was needed on my plugin's wiki page: > - http://docs.codehaus.org/display/GEOTOOLS/EPSG-Oracle+Plugin > > When you figure it out I will try and follow suite, > Jody > David Adler wrote: >> I'm working on making the DB2 tests consistent with the recommended >> online test process. >> >> Is the fixture file supposed to go into >> db2\src\test\resources\org\geotools\data\db2 and then get copied >> manually to >> c:\documents and settings\dadler\.geotools\db2 (or similar) if the >> online tests are to be run? Or does it get posted to >> http://docs.codehaus.org/display/GEOT/Online+Test+Fixtures? >> >> >> >> >> >> >> >> ------------------------------------------------------------------------- >> 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-gt2-users mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >> > > > ------------------------------------------------------------------------- > 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 > > !DSPAM:4007,46afcf2738873362379201! > -- Justin Deoliveira The Open Planning Project http://topp.openplans.org ------------------------------------------------------------------------- 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
