|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.Assert tests.ImportTest
public class ImportTest
Constructor Summary | |
---|---|
ImportTest()
|
Method Summary | |
---|---|
void |
testImportWithJARURL()
Tests that imports are properly resolved when loading a schema from a JAR (as will generally be the case when loading a schema from the classpath). |
void |
testImportWithKnownNamespace()
Tests that imports without schemaLocation are resolved if the corresponding schemas have been registered using XmlSchemaCollection.getKnownNamespaceMap() . |
void |
testSchemaImport()
|
void |
testSchemaImport2()
variation of above don't set the base uri. |
void |
testSchemaImport3()
see whether we can reach the types of the imported schemas. |
void |
testSchemaImport4()
see whether we can parse the imported schemas using relative directories and paths. |
Methods inherited from class org.junit.Assert |
---|
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportTest()
Method Detail |
---|
public void testSchemaImport() throws Exception
Exception
public void testSchemaImport2() throws Exception
Exception
public void testSchemaImport3() throws Exception
Exception
public void testSchemaImport4() throws Exception
Exception
public void testImportWithKnownNamespace()
XmlSchemaCollection.getKnownNamespaceMap()
.
public void testImportWithJARURL() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |