Пример #1
0
 @Override
 protected void setUpTestData(SystemTestData testData) throws Exception {
   testData.setUpSecurity();
   testData.setUpDefaultRasterLayers();
   if (SpatioTemporalRasterTests) {
     testData.setUpRasterLayer(WATTEMP, "watertemp.zip", null, null, TestData.class);
     //            dataDirectory.addCoverage(WATTEMP, TestData.class.getResource("watertemp.zip"),
     //                    null, styleName);
   }
   testData.setUpWcs10RasterLayers();
   // dataDirectory.addWcs10Coverages();
 }
Пример #2
0
  @Override
  protected void setUpTestData(SystemTestData testData) throws Exception {
    Map<LayerProperty, Object> props = new HashMap<LayerProperty, Object>();
    props.put(LayerProperty.PROJECTION_POLICY, ProjectionPolicy.FORCE_DECLARED);
    props.put(LayerProperty.SRS, 4269);
    testData.setUpVectorLayer(SystemTestData.BASIC_POLYGONS, props);

    props.put(LayerProperty.PROJECTION_POLICY, ProjectionPolicy.REPROJECT_TO_DECLARED);
    props.put(LayerProperty.SRS, 4326);
    testData.setUpVectorLayer(MockData.POLYGONS, props);

    props.put(LayerProperty.PROJECTION_POLICY, ProjectionPolicy.NONE);
    props.put(LayerProperty.SRS, 3004);
    testData.setUpVectorLayer(MockData.LINES, props);

    props.put(LayerProperty.PROJECTION_POLICY, ProjectionPolicy.REPROJECT_TO_DECLARED);
    props.put(LayerProperty.SRS, 4326);
    props.put(LayerProperty.NAME, "MyPoints");
    testData.setUpVectorLayer(MockData.POINTS, props);

    testData.setUpDefaultRasterLayers();
    testData.setUpWcs10RasterLayers();
  }
 @Override
 protected void setUpTestData(SystemTestData testData) throws Exception {
   testData.setUpDefaultRasterLayers();
   testData.setUpWcs10RasterLayers();
   // dataDirectory.addWcs10Coverages();
 }