01: package org.geotools.data.dir;
02:
03: import java.io.IOException;
04: import java.util.HashMap;
05: import java.util.Map;
06:
07: import junit.framework.TestCase;
08:
09: public class DirectoryDataStoreFactoryTest extends TestCase {
10:
11: public void testStringListParam() throws IOException {
12: DirectoryDataStoreFactory factory = new DirectoryDataStoreFactory();
13: Map params = new HashMap();
14: params.put(DirectoryDataStoreFactory.DIRECTORY.key, getClass()
15: .getResource("test-data/test1"));
16: params.put(DirectoryDataStoreFactory.CREATE_SUFFIX_ORDER.key,
17: "shp mif");
18: factory.createDataStore(params);
19: }
20: }
|