Revision 10844 trunk/libraries/libFMap/src-test/com/iver/cit/gvsig/fmap/core/symbols/TestISymbol.java

View differences:

TestISymbol.java
173 173
			assertTrue(symbols[i].getClassName() + " does not declare a description in its XMLEntity",
174 174
					symbols[i].getXMLEntity().contains("desc"));
175 175
		}
176
	}
176 177

  
178
	/**
179
	 * ensures that any symbol has an isShapeVisible field in its persistence
180
	 * (very important)
181
	 */
182
	public void testIsShapeVisible() {
183
		for (int i = 0; i < symbols.length; i++) {
184
			assertTrue(symbols[i].getClassName() + " does not declare a description in its XMLEntity",
185
					symbols[i].getXMLEntity().contains("isShapeVisible"));
186
		}
177 187
	}
188

  
178 189
	/**
179 190
	 * ensures that the symbol is self-defining
180 191
	 */

Also available in: Unified diff