Revision 30754 branches/v2_0_0_prep/extensions/extDwg/src-test/org/gvsig/dwg/fmap/dal/store/dwg/TestDWG.java

View differences:

TestDWG.java
33 33
import org.gvsig.fmap.dal.exception.DataException;
34 34
import org.gvsig.fmap.dal.feature.BaseTestFeatureStore;
35 35
import org.gvsig.fmap.dal.feature.FeatureStore;
36
import org.gvsig.tools.library.impl.DefaultLibrariesInitializer;
37 36

  
38 37
public class TestDWG extends BaseTestFeatureStore {
39 38

  
......
42 41
	public static File file_prueba = new File(TestDWG.class.getResource(
43 42
			"data/V2000.dwg").getFile());
44 43

  
45

  
46
	protected void setUp() throws Exception {
47
		super.setUp();
48

  
49
		if (testDXFInitialized) {
50
			return;
51
		}
52
		new DefaultLibrariesInitializer().fullInitialize();
53

  
54
//		DALFileLibrary libFile = new DALFileLibrary();
55
//		libFile.initialize();
56
//
57
//		DefaultGeometryLibrary defGeomLib = new DefaultGeometryLibrary();
58
//		defGeomLib.initialize();
59
//
60
//		ProjectionLibrary projLib = new ProjectionLibrary();
61
//		projLib.initialize();
62
//
63
//		CresquesCtsLibrary cresquesLib = new CresquesCtsLibrary();
64
//		cresquesLib.initialize();
65
//
66
//		DWGLibrary dwgLib = new DWGLibrary();
67
//		dwgLib.initialize();
68
//
69
//		DWGLegendLibrary dwgLegendLib = new DWGLegendLibrary();
70
//		dwgLegendLib.initialize();
71
//
72
//		JTSIndexLibrary jtsIndex = new JTSIndexLibrary();
73
//		jtsIndex.initialize();
74
//
75
//		defGeomLib.postInitialize();
76
//		libFile.postInitialize();
77
//		projLib.postInitialize();
78
//		cresquesLib.postInitialize();
79
//		dwgLib.postInitialize();
80
//		dwgLegendLib.postInitialize();
81
//		jtsIndex.postInitialize();
82

  
83

  
84
		testDXFInitialized = true;
44
	@Override
45
	protected void doSetUp() throws Exception {
46
		// Do nothing	
85 47
	}
86

  
48
	
87 49
	/*
88 50
	 * (non-Javadoc)
89 51
	 *

Also available in: Unified diff