Revision 30754 branches/v2_0_0_prep/libraries/libFMap_daldb/src-test/org/gvsig/fmap/dal/store/jdbc/JDBCTest.java
JDBCTest.java | ||
---|---|---|
33 | 33 |
import org.gvsig.fmap.dal.DataStoreParameters; |
34 | 34 |
import org.gvsig.fmap.dal.exception.DataException; |
35 | 35 |
import org.gvsig.fmap.dal.feature.BaseTestFeatureStore; |
36 |
import org.gvsig.tools.library.impl.DefaultLibrariesInitializer; |
|
37 | 36 |
|
38 | 37 |
import com.mysql.jdbc.Driver; |
39 | 38 |
|
... | ... | |
43 | 42 |
*/ |
44 | 43 |
public class JDBCTest extends BaseTestFeatureStore { |
45 | 44 |
|
46 |
protected void setUp() throws Exception { |
|
47 |
super.setUp(); |
|
48 |
// FIXME |
|
49 |
// ToolsLocator.registerDefaultPersistenceManager(XMLEntityManager.class); |
|
50 |
|
|
51 |
new DefaultLibrariesInitializer().fullInitialize(); |
|
52 |
|
|
53 |
// DefaultGeometryLibrary defGeomLib = new DefaultGeometryLibrary(); |
|
54 |
// defGeomLib.initialize(); |
|
55 |
// |
|
56 |
// DefaultGeometryOperationLibrary defGeomOpLib = new DefaultGeometryOperationLibrary(); |
|
57 |
// defGeomOpLib.initialize(); |
|
58 |
// |
|
59 |
// ProjectionLibrary projLib = new ProjectionLibrary(); |
|
60 |
// projLib.initialize(); |
|
61 |
// |
|
62 |
// CresquesCtsLibrary cresquesLib = new CresquesCtsLibrary(); |
|
63 |
// cresquesLib.initialize(); |
|
64 |
// |
|
65 |
// DALDbLibrary libDb = new DALDbLibrary(); |
|
66 |
// libDb.initialize(); |
|
67 |
// |
|
68 |
// DBStoreLibrary libDbStore = new DBStoreLibrary(); |
|
69 |
// libDbStore.initialize(); |
|
70 |
// |
|
71 |
// JDBCLibrary libJDBC = new JDBCLibrary(); |
|
72 |
// libJDBC.initialize(); |
|
73 |
// |
|
74 |
// JTSIndexLibrary jtsIndex = new JTSIndexLibrary(); |
|
75 |
// jtsIndex.initialize(); |
|
76 |
// |
|
77 |
// projLib.postInitialize(); |
|
78 |
// cresquesLib.postInitialize(); |
|
79 |
// defGeomLib.postInitialize(); |
|
80 |
// defGeomOpLib.postInitialize(); |
|
81 |
// libDb.postInitialize(); |
|
82 |
// libDbStore.postInitialize(); |
|
83 |
// libJDBC.postInitialize(); |
|
84 |
// jtsIndex.postInitialize(); |
|
45 |
@Override |
|
46 |
protected void doSetUp() throws Exception { |
|
47 |
// Nothing to do |
|
85 | 48 |
} |
86 | 49 |
|
87 | 50 |
public DataStoreParameters getDefaultDataStoreParameters() |
Also available in: Unified diff