Revision 30580 branches/v2_0_0_prep/libraries/libFMap_dalfile/src-test/org/gvsig/fmap/dal/explorer/filesystem/FileSystemExplorerTest.java
FileSystemExplorerTest.java | ||
---|---|---|
33 | 33 |
|
34 | 34 |
import junit.framework.TestCase; |
35 | 35 |
|
36 |
import org.gvsig.fmap.dal.DALFileLibrary; |
|
37 |
import org.gvsig.fmap.dal.DALLibrary; |
|
38 | 36 |
import org.gvsig.fmap.dal.DALLocator; |
39 | 37 |
import org.gvsig.fmap.dal.DataManager; |
40 | 38 |
import org.gvsig.fmap.dal.DataServerExplorer; |
... | ... | |
43 | 41 |
import org.gvsig.fmap.dal.NewDataStoreParameters; |
44 | 42 |
import org.gvsig.fmap.dal.feature.EditableFeatureType; |
45 | 43 |
import org.gvsig.fmap.dal.feature.NewFeatureStoreParameters; |
46 |
import org.gvsig.fmap.dal.impl.DALDefaultImplLibrary; |
|
47 | 44 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemServerExplorer; |
48 | 45 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemServerExplorerParameters; |
49 | 46 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemStoreParameters; |
50 | 47 |
import org.gvsig.fmap.dal.store.dbf.DBFStoreParameters; |
51 | 48 |
import org.gvsig.fmap.dal.store.dbf.DBFStoreProvider; |
52 | 49 |
import org.gvsig.fmap.dal.store.dbf.TestDBF; |
50 |
import org.gvsig.tools.library.impl.DefaultLibrariesInitializer; |
|
53 | 51 |
|
54 | 52 |
public class FileSystemExplorerTest extends TestCase { |
55 | 53 |
|
... | ... | |
64 | 62 |
if (dataManager != null) { |
65 | 63 |
return; |
66 | 64 |
} |
67 |
DALLibrary lib = new DALLibrary(); |
|
68 |
lib.initialize(); |
|
69 |
lib.postInitialize(); |
|
65 |
new DefaultLibrariesInitializer().fullInitialize(); |
|
66 |
|
|
67 |
// DALLibrary lib = new DALLibrary(); |
|
68 |
// lib.initialize(); |
|
69 |
// lib.postInitialize(); |
|
70 |
// |
|
71 |
// DALDefaultImplLibrary libImpl = new DALDefaultImplLibrary(); |
|
72 |
// libImpl.initialize(); |
|
73 |
// libImpl.postInitialize(); |
|
74 |
// |
|
75 |
// DALFileLibrary libFile = new DALFileLibrary(); |
|
76 |
// libFile.initialize(); |
|
77 |
// libFile.postInitialize(); |
|
70 | 78 |
|
71 |
DALDefaultImplLibrary libImpl = new DALDefaultImplLibrary(); |
|
72 |
libImpl.initialize(); |
|
73 |
libImpl.postInitialize(); |
|
74 |
|
|
75 |
DALFileLibrary libFile = new DALFileLibrary(); |
|
76 |
libFile.initialize(); |
|
77 |
libFile.postInitialize(); |
|
78 |
|
|
79 | 79 |
dataManager = DALLocator.getDataManager(); |
80 | 80 |
|
81 | 81 |
} |
Also available in: Unified diff