Hi all,
First, my motivation is to test rest config, the coverage and coverage store side of things. It would be handy if i could use the mock test setup.
So i would like to move the raster test data that is in wcs1_1 module to MockData in the data module.
I intend to keep all test setup the same, ie, not load coverages by default. Instead a new method to MockData called "addWellKnownCoverageTypes()". This method will have to invoked manually by a mock test case that wishes to load the raster data.
The only changes to wcs1_1 will be to WCSTestSupport, moving some static constants to MockData, and changing populateDataDirectory() to call through to the addWellKnownCoverageTypes() method.
Any objections?
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
Justin Deoliveira ha scritto:
Hi all,
First, my motivation is to test rest config, the coverage and coverage store side of things. It would be handy if i could use the mock test setup.
So i would like to move the raster test data that is in wcs1_1 module to MockData in the data module.
I intend to keep all test setup the same, ie, not load coverages by default. Instead a new method to MockData called "addWellKnownCoverageTypes()". This method will have to invoked manually by a mock test case that wishes to load the raster data.
The only changes to wcs1_1 will be to WCSTestSupport, moving some static constants to MockData, and changing populateDataDirectory() to call through to the addWellKnownCoverageTypes() method.
Any objections?
No objections whatsoever, this will help testing other modules
as well (raster support in wms, wps).
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.