svn-gvsig-desktop / branches / v2_0_0_prep / extensions / org.gvsig.geocoding.extension / src-test / org / gvsig / geocoding / extension / NewDBFStoreTest.java @ 32526
History | View | Annotate | Download (2.55 KB)
1 |
|
---|---|
2 |
/* gvSIG. Geographic Information System of the Valencian Government
|
3 |
*
|
4 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department
|
5 |
* of the Valencian Government (CIT)
|
6 |
*
|
7 |
* This program is free software; you can redistribute it and/or
|
8 |
* modify it under the terms of the GNU General Public License
|
9 |
* as published by the Free Software Foundation; either version 2
|
10 |
* of the License, or (at your option) any later version.
|
11 |
*
|
12 |
* This program is distributed in the hope that it will be useful,
|
13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
* GNU General Public License for more details.
|
16 |
*
|
17 |
* You should have received a copy of the GNU General Public License
|
18 |
* along with this program; if not, write to the Free Software
|
19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
20 |
* MA 02110-1301, USA.
|
21 |
*
|
22 |
*/
|
23 |
|
24 |
/*
|
25 |
* AUTHORS (In addition to CIT):
|
26 |
* 2008 PRODEVELOP Main development
|
27 |
*/
|
28 |
|
29 |
package org.gvsig.geocoding.extension; |
30 |
|
31 |
import junit.framework.TestCase; |
32 |
|
33 |
import org.gvsig.fmap.dal.DALFileLibrary; |
34 |
import org.gvsig.fmap.dal.DALLibrary; |
35 |
import org.gvsig.fmap.dal.DALLocator; |
36 |
import org.gvsig.fmap.dal.DataManager; |
37 |
import org.gvsig.fmap.dal.store.shp.SHPLibrary; |
38 |
import org.gvsig.fmap.geom.GeometryLibrary; |
39 |
import org.gvsig.tools.ToolsLibrary; |
40 |
import org.slf4j.Logger; |
41 |
import org.slf4j.LoggerFactory; |
42 |
|
43 |
/**
|
44 |
* Test
|
45 |
*
|
46 |
* @author <a href="mailto:jsanz@prodevelop.es"> Jorge Gaspar Sanz Salinas</a>
|
47 |
* @author <a href="mailto:vsanjaime@prodevelop.es"> Vicente Sanjaime Calvet</a>
|
48 |
*/
|
49 |
public class NewDBFStoreTest extends TestCase { |
50 |
|
51 |
protected DataManager dataManager = null; |
52 |
private Logger log = LoggerFactory.getLogger(NewDBFStoreTest.class); |
53 |
|
54 |
protected void setUp() throws Exception { |
55 |
super.setUp();
|
56 |
|
57 |
ToolsLibrary tools = new ToolsLibrary();
|
58 |
tools.initialize(); |
59 |
tools.postInitialize(); |
60 |
|
61 |
DALLibrary dlib = new DALLibrary();
|
62 |
dlib.initialize(); |
63 |
dlib.postInitialize(); |
64 |
|
65 |
DALFileLibrary libFile = new DALFileLibrary();
|
66 |
libFile.initialize(); |
67 |
libFile.postInitialize(); |
68 |
|
69 |
GeometryLibrary lib = new GeometryLibrary();
|
70 |
lib.initialize(); |
71 |
lib.postInitialize(); |
72 |
|
73 |
SHPLibrary shpLib = new SHPLibrary();
|
74 |
shpLib.initialize(); |
75 |
shpLib.postInitialize(); |
76 |
|
77 |
dataManager = DALLocator.getDataManager(); |
78 |
} |
79 |
|
80 |
protected void tearDown() throws Exception { |
81 |
super.tearDown();
|
82 |
} |
83 |
|
84 |
public void testNewDBFStore() { |
85 |
// GeocoController control = new GeocoController();
|
86 |
// control.createDBFTableResults();
|
87 |
} |
88 |
|
89 |
} |