gvsig-raster / org.gvsig.raster / branches / org.gvsig.raster.2.4 / org.gvsig.raster / org.gvsig.raster.lib / org.gvsig.raster.lib.buffer / org.gvsig.raster.lib.buffer.impl / src / test / java / org / gvsig / raster / lib / buffer / impl / DefaultBandDoubleTest.java @ 5500
History | View | Annotate | Download (3.63 KB)
1 |
package org.gvsig.raster.lib.buffer.impl; |
---|---|
2 |
|
3 |
import static org.junit.Assert.*; |
4 |
|
5 |
import org.gvsig.raster.lib.buffer.api.Band; |
6 |
import org.gvsig.raster.lib.buffer.api.BufferManager; |
7 |
import org.gvsig.raster.lib.buffer.api.NoData; |
8 |
import org.gvsig.raster.lib.buffer.api.RasterLocator; |
9 |
import org.gvsig.raster.lib.buffer.api.exceptions.BandException; |
10 |
import org.gvsig.tools.junit.AbstractLibraryAutoInitTestCase; |
11 |
import org.junit.Test; |
12 |
|
13 |
|
14 |
|
15 |
public class DefaultBandDoubleTest extends AbstractLibraryAutoInitTestCase{ |
16 |
|
17 |
private static final int ROWS=5; |
18 |
private static final int COLUMNS=10; |
19 |
private Band testBand1;
|
20 |
|
21 |
private void init(){ |
22 |
|
23 |
BufferManager bufferManager = RasterLocator.getBufferManager(); |
24 |
NoData noData=bufferManager.createNoData(Double.NaN, Double.NaN); |
25 |
try {
|
26 |
testBand1=bufferManager.createBand(BufferManager.TYPE_DOUBLE, ROWS, COLUMNS, noData, null);
|
27 |
} catch (BandException e) {
|
28 |
fail("Failed creating testBand1");
|
29 |
} |
30 |
testBand1.fill(new Double("0")); |
31 |
} |
32 |
|
33 |
@Test
|
34 |
public void testDefaultBandDoubleIntInt() { |
35 |
init(); |
36 |
fail("Not yet implemented");
|
37 |
} |
38 |
|
39 |
@Test
|
40 |
public void testDefaultBandDoubleIntIntNoData() { |
41 |
fail("Not yet implemented");
|
42 |
} |
43 |
|
44 |
@Test
|
45 |
public void testGetDataType() { |
46 |
fail("Not yet implemented");
|
47 |
} |
48 |
|
49 |
@Test
|
50 |
public void testGet() { |
51 |
fail("Not yet implemented");
|
52 |
} |
53 |
|
54 |
@Test
|
55 |
public void testSet() { |
56 |
fail("Not yet implemented");
|
57 |
} |
58 |
|
59 |
@Test
|
60 |
public void testFill() { |
61 |
fail("Not yet implemented");
|
62 |
} |
63 |
|
64 |
@Test
|
65 |
public void testGetData() { |
66 |
fail("Not yet implemented");
|
67 |
} |
68 |
|
69 |
@Test
|
70 |
public void testCopyFrom() { |
71 |
fail("Not yet implemented");
|
72 |
} |
73 |
|
74 |
@Test
|
75 |
public void testGetValue() { |
76 |
fail("Not yet implemented");
|
77 |
} |
78 |
|
79 |
@Test
|
80 |
public void testSetValue() { |
81 |
fail("Not yet implemented");
|
82 |
} |
83 |
|
84 |
@Test
|
85 |
public void testCreateRowBuffer() { |
86 |
fail("Not yet implemented");
|
87 |
} |
88 |
|
89 |
@Test
|
90 |
public void testFetchRow() { |
91 |
fail("Not yet implemented");
|
92 |
} |
93 |
|
94 |
@Test
|
95 |
public void testPutRow() { |
96 |
fail("Not yet implemented");
|
97 |
} |
98 |
|
99 |
@Test
|
100 |
public void testGetColumns() { |
101 |
fail("Not yet implemented");
|
102 |
} |
103 |
|
104 |
@Test
|
105 |
public void testGetRows() { |
106 |
fail("Not yet implemented");
|
107 |
} |
108 |
|
109 |
@Test
|
110 |
public void testGetNoData() { |
111 |
fail("Not yet implemented");
|
112 |
} |
113 |
|
114 |
@Test
|
115 |
public void testClone() { |
116 |
fail("Not yet implemented");
|
117 |
} |
118 |
|
119 |
@Test
|
120 |
public void testObject() { |
121 |
fail("Not yet implemented");
|
122 |
} |
123 |
|
124 |
@Test
|
125 |
public void testGetClass() { |
126 |
fail("Not yet implemented");
|
127 |
} |
128 |
|
129 |
@Test
|
130 |
public void testHashCode() { |
131 |
fail("Not yet implemented");
|
132 |
} |
133 |
|
134 |
@Test
|
135 |
public void testEquals() { |
136 |
fail("Not yet implemented");
|
137 |
} |
138 |
|
139 |
@Test
|
140 |
public void testClone1() { |
141 |
fail("Not yet implemented");
|
142 |
} |
143 |
|
144 |
@Test
|
145 |
public void testToString() { |
146 |
fail("Not yet implemented");
|
147 |
} |
148 |
|
149 |
@Test
|
150 |
public void testNotify() { |
151 |
fail("Not yet implemented");
|
152 |
} |
153 |
|
154 |
@Test
|
155 |
public void testNotifyAll() { |
156 |
fail("Not yet implemented");
|
157 |
} |
158 |
|
159 |
@Test
|
160 |
public void testWaitLong() { |
161 |
fail("Not yet implemented");
|
162 |
} |
163 |
|
164 |
@Test
|
165 |
public void testWaitLongInt() { |
166 |
fail("Not yet implemented");
|
167 |
} |
168 |
|
169 |
@Test
|
170 |
public void testWait() { |
171 |
fail("Not yet implemented");
|
172 |
} |
173 |
|
174 |
@Test
|
175 |
public void testFinalize() { |
176 |
fail("Not yet implemented");
|
177 |
} |
178 |
|
179 |
@Override
|
180 |
protected void doSetUp() throws Exception { |
181 |
// TODO Auto-generated method stub
|
182 |
|
183 |
} |
184 |
|
185 |
} |