Revision 44680 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.h2/src/test/java/org/gvsig/fmap/dal/store/h2/TestCreate.java
TestCreate.java | ||
---|---|---|
248 | 248 |
} |
249 | 249 |
|
250 | 250 |
|
251 |
public void testCreate() throws Exception { |
|
251 |
public void testCreatePopulateAndCheckData() throws Exception {
|
|
252 | 252 |
FeatureStore sourceStore = TestUtils.openSourceStore1(); |
253 | 253 |
JDBCServerExplorer explorer = TestUtils.openServerExplorer(DBNAME); |
254 | 254 |
|
... | ... | |
266 | 266 |
checkData(explorer, sourceStore); |
267 | 267 |
|
268 | 268 |
} |
269 |
|
|
270 |
// public void testCreateWithoutDALFile() throws Exception { |
|
271 |
// FeatureStore sourceStore = TestUtils.openSourceStore1(); |
|
272 |
// |
|
273 |
// createFrom(sourceStore); |
|
274 |
// TestUtils.removeDALResource(getTargetName()); |
|
275 |
// |
|
276 |
// checkTypes(sourceStore.getDefaultFeatureType()); |
|
277 |
// copyFrom(sourceStore, FeatureStore.MODE_APPEND); |
|
278 |
// TestUtils.removeDALResource(getTargetName()); |
|
279 |
// checkData(sourceStore); |
|
280 |
// |
|
281 |
// createFrom(sourceStore); |
|
282 |
// TestUtils.removeDALResource(getTargetName()); |
|
283 |
// copyFrom(sourceStore, FeatureStore.MODE_FULLEDIT); |
|
284 |
// TestUtils.removeDALResource(getTargetName()); |
|
285 |
// checkData(sourceStore); |
|
286 |
// |
|
287 |
// } |
|
269 |
|
|
270 |
|
|
288 | 271 |
} |
Also available in: Unified diff