コード例 #1
0
 @Override
 protected void onSetUp(SystemTestData testData) throws Exception {
   super.onSetUp(testData);
   Catalog cat = getCatalog();
   CoverageStoreInfo csi = cat.getCoverageStoreByName(SystemTestData.WORLD.getLocalPart());
   csi.setEnabled(false);
   cat.save(csi);
 }
コード例 #2
0
 @Override
 protected void onSetUp(SystemTestData testData) throws Exception {
   super.onSetUp(testData);
   testData.addRasterLayer(MOSAIC, "raster-filter-test.zip", null, getCatalog());
   // enable dimensions on the water temperature layer
   setupRasterDimension(ResourceInfo.TIME, DimensionPresentation.LIST, null);
   setupRasterDimension(ResourceInfo.ELEVATION, DimensionPresentation.LIST, null);
 }