Revision 20501 trunk/libraries/libDataSourceBaseDrivers/src-test/org/gvsig/data/datastores/vectorial/file/DataStoreTest.java

View differences:

DataStoreTest.java
257 257
			v1 = (Comparable)pfeature.get("NOMBRE");
258 258
			v2 = (Comparable)feature.get("NOMBRE");
259 259
			pfeature=feature;
260
			if (v1!=null && v2!=null)
260 261
			assertTrue("Short error", (v1.compareTo(v1) >= 0));
261 262
			count++;
262 263
		}
......
1018 1019
//					fs.delete((IFeatureAttributeDescriptor)featureType.get(featureType.getFieldIndex("Prueba1")));
1019 1020
					DefaultAttributeDescriptor dad2=(DefaultAttributeDescriptor)featureType.get(featureType.getFieldIndex("TIPO"));
1020 1021
					dad2.editing();
1021
					dad2.setName("TIPO");
1022
//					dad2.setName("TIPO");
1022 1023
					dad2.setDefaultValue("Tipop");
1023
					dad2.setSize(10);
1024
//					dad2.setSize(10);
1024 1025
					dad2.setType(IFeatureAttributeDescriptor.TYPE_STRING);
1025 1026
					fs.update(dad2);
1026 1027
				}
1027 1028
			} catch (ReadException e) {
1028 1029
				e.printStackTrace();
1029 1030
				fail();
1030
			} catch (IsNotAttributeSettingException e) {
1031
			}
1032
			catch (IsNotAttributeSettingException e) {
1031 1033
				// TODO Auto-generated catch block
1032 1034
				e.printStackTrace();
1033 1035
			}

Also available in: Unified diff