Revision 10792 trunk/libraries/libRaster/src-test/org/gvsig/raster/dataaccess/cache/TestReadOnlyCache.java

View differences:

TestReadOnlyCache.java
35 35
	
36 36
	public void setUp() {
37 37
		System.err.println("TestReadOnlyCache running...");	
38
		try {
39
			f = RasterDataset.openFile(null, path);
40
		} catch (NotSupportedExtensionException e) {
41
			e.printStackTrace();
42
		} catch (RasterDriverException e) {
43
			e.printStackTrace();
44
		}
38 45
	}
39 46
	
40 47
	public void testStack(){
41 48
		try {
42
			f = RasterDataset.openFile(null, path);
43 49
			cache = new RasterReadOnlyHugeBuffer(f.getDataType(), f.getWidth(), f.getHeight(), f.getBandCount(), path);
44 50
			
45 51
			int[] drawableBands = {0, 1, 2};

Also available in: Unified diff