|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.coverage.raster.integration.CenterOuterTest
public abstract class CenterOuterTest
The CenterOuterTest
defines raster API integration tests on a tiled raster and a sole simple raster. For
each retrieval envelope a centered and outer representation of the raster file(s) is tested. The values tested should
not be altered, they are visually tested.
Field Summary | |
---|---|
protected static GeometryFactory |
geomFac
geometry factory to use |
protected static Envelope |
rasterEnvelope
To verify the coordinates |
Fields inherited from interface org.deegree.coverage.raster.integration.CompareValues |
---|
ALLOVERLAP_OUTER_RESULT, ALLSTRIFE_OUTER_RESULT, LR9OVERLAP_OUTER_RESULT, SOLELROVERLAP_OUTER_RESULT, SOLETOTALOVERLAP_OUTER_RESULT, UL0_OUTER_RESULT, UL01STRIFE_OUTER_RESULT, UL03STRIFE_OUTER_RESULT, UL0INSIDE_OUTER_RESULT, UL0OUTSIDE_OUTER_RESULT, UL0OVERLAP_OUTER_RESULT |
Fields inherited from interface org.deegree.coverage.raster.integration.CenterValues |
---|
ALLOVERLAP_CENTER_RESULT, ALLSTRIFE_CENTER_RESULT, LR9OVERLAP_CENTER_RESULT, SOLELROVERLAP_CENTER_RESULT, SOLETOTALOVERLAP_CENTER_RESULT, UL0_CENTER_RESULT, UL01STRIFE_CENTER_RESULT, UL03STRIFE_CENTER_RESULT, UL0INSIDE_CENTER_RESULT, UL0OUTSIDE_CENTER_RESULT, UL0OVERLAP_CENTER_RESULT |
Constructor Summary | |
---|---|
CenterOuterTest()
|
Method Summary | |
---|---|
protected abstract void |
buildRasters()
kind of a constructor will be called as initialization. |
void |
init()
Init the two rasters |
protected void |
outputRaster(SimpleRaster raster,
String name)
output the values of the given raster. |
void |
testValues(BigInteger[] footprint,
SimpleRaster raster)
|
protected void |
testValues(int[][] reference,
SimpleRaster simpleRaster)
|
protected void |
writeDebugFile(String prefix,
SimpleRaster raster)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final GeometryFactory geomFac
protected static final Envelope rasterEnvelope
Constructor Detail |
---|
public CenterOuterTest()
Method Detail |
---|
protected abstract void buildRasters() throws IOException, NumberFormatException, URISyntaxException
IOException
URISyntaxException
NumberFormatException
public void init()
protected void writeDebugFile(String prefix, SimpleRaster raster)
prefix
- raster
- protected void outputRaster(SimpleRaster raster, String name)
raster
- name
- protected void testValues(int[][] reference, SimpleRaster simpleRaster)
reference
- simpleRaster
- public void testValues(BigInteger[] footprint, SimpleRaster raster)
footprint
- raster
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |