Revision 30754 branches/v2_0_0_prep/libraries/libRaster/src-test/org/gvsig/raster/dataset/io/rmf/TestRmfWrite.java
TestRmfWrite.java | ||
---|---|---|
68 | 68 |
RasterLibrary.wakeUp(); |
69 | 69 |
} |
70 | 70 |
|
71 |
public void start() { |
|
71 |
public void start() throws Exception {
|
|
72 | 72 |
this.setUp(); |
73 | 73 |
this.testStack(); |
74 | 74 |
} |
75 | 75 |
|
76 |
public void setUp() { |
|
76 |
protected void doSetUp() throws Exception { |
|
77 |
super.doSetUp(); |
|
77 | 78 |
System.err.println("TestRmfWrite running..."); |
78 | 79 |
|
79 | 80 |
RasterDataset f1 = null; |
... | ... | |
111 | 112 |
} |
112 | 113 |
} |
113 | 114 |
|
114 |
public void testStack() { |
|
115 |
public void testStack() throws Exception {
|
|
115 | 116 |
deleteRMF(baseDir + "writetest.rmf"); |
116 | 117 |
manager = new RmfBlocksManager(baseDir + "writetest.rmf"); |
117 | 118 |
|
... | ... | |
156 | 157 |
p2.rightCenterPoint = new Point2D.Double(2433.3, 6244.2); |
157 | 158 |
|
158 | 159 |
p1.leftViewPort.pxSize = new Point2D.Double(32, 34); |
159 |
|
|
160 |
|
|
160 | 161 |
GeoPointList list = new GeoPointList(); |
161 | 162 |
list.add(p1); |
162 | 163 |
list.add(p2); |
Also available in: Unified diff