Revision 257 org.gvsig.xmlschema/library/trunk/org.gvsig.xmlschema/org.gvsig.xmlschema.lib/org.gvsig.xmlschema.lib.spi/src/test/java/org/gvsig/xmlschema/lib/spi/reader/IDEESchemaReaderTest.java
IDEESchemaReaderTest.java | ||
---|---|---|
21 | 21 |
*/ |
22 | 22 |
package org.gvsig.xmlschema.lib.spi.reader; |
23 | 23 |
|
24 |
import java.io.File; |
|
25 | 24 |
|
26 |
import org.gvsig.xmlschema.lib.api.som.IXSComplexTypeDefinition; |
|
27 |
import org.gvsig.xmlschema.lib.api.som.IXSElementDeclaration; |
|
28 | 25 |
|
29 |
|
|
30 | 26 |
/** |
31 | 27 |
* @author gvSIG Team |
32 | 28 |
* @version $Id$ |
... | ... | |
37 | 33 |
private String genericCityElement = "LimiteMunicipioTypet"; |
38 | 34 |
|
39 | 35 |
|
40 |
public File getFile() {
|
|
41 |
return new File(getClass().getClassLoader().getResource("schemas/idee.xsd").getFile());
|
|
36 |
public String getResourceFileName(){
|
|
37 |
return "schemas/idee.xsd";
|
|
42 | 38 |
} |
43 | 39 |
|
44 | 40 |
public void makeAsserts(){ |
Also available in: Unified diff