Revision 21511 branches/v2_0_0_prep/libraries/libFMap_dataDB/src-test/org/gvsig/data/datastores/vectorial/db/DBTest.java

View differences:

DBTest.java
35 35
				e.printStackTrace();
36 36
				fail("Exception:" + e);
37 37
			}
38
//
39
//			try {
40
//				fs.open();
41
//			} catch (OpenException e2) {
42
//				e2.printStackTrace();
43
//				fail();
44
//			}
38 45

  
39
			try {
40
				fs.open();
41
			} catch (OpenException e2) {
42
				e2.printStackTrace();
43
				fail();
44
			}
45

  
46 46
			if (fs.isEditable() && testEdit) {
47 47

  
48 48
				try {
......
110 110
					fail("Exception: "+e);
111 111
				}
112 112
			}
113
//			try {
114
//				fs.close();
115
//			} catch (CloseException e) {
116
//				e.printStackTrace();
117
//				fail("Exception: "+e);
118
//			}
113 119
			try {
114
				fs.close();
115
			} catch (CloseException e) {
116
				e.printStackTrace();
117
				fail("Exception: "+e);
118
			}
119
			try {
120 120
				fs.dispose();
121 121
			} catch (CloseException e) {
122 122
				// TODO Auto-generated catch block

Also available in: Unified diff