|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
uk.ac.ucl.sse.omii.bpel.abr.generation.util.tests.RelativeImportResolverTest
public class RelativeImportResolverTest
Testing the resolution of local imports in the BPEL and following a tree of imports in WSDL and XSD resources. Any global resources (i.e. accessible via http://...) and their imports further down the tree will be ignored. For example, WSDL(R)--WSDL(G)--XSD(R) means that the first WSDL resource will be added to the catalog, but as its WSDL import is global, it and all items further down the tree will not be added.
Constructor Summary | |
---|---|
RelativeImportResolverTest(java.lang.String name)
|
Method Summary | |
---|---|
void |
testGetWsdlDefinition_fromBpwsImport()
Testing that can get WSDL definitions given a bwps:import. |
void |
testGetWsdlDefinition_fromWsdlImport()
Testing that can get WSDL definition given a wsdl:import. |
void |
testGetXsdSchema()
Testing that can get XSD schema given an xsd:import. |
void |
testResolveImorts_localOnly()
Testing that all local resources are returned. |
void |
testResolveImports_localGlobal()
Testing that only local resources are returned and global ones are ommitted. |
void |
testResolveImports_noDuplicates()
Testing that no duplicates of resources are returned. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RelativeImportResolverTest(java.lang.String name)
Method Detail |
---|
public void testResolveImorts_localOnly() throws java.io.IOException, org.eclipse.core.runtime.CoreException
java.io.IOException
org.eclipse.core.runtime.CoreException
public void testResolveImports_localGlobal()
public void testResolveImports_noDuplicates()
public void testGetWsdlDefinition_fromBpwsImport() throws java.io.IOException, org.eclipse.core.runtime.CoreException
java.io.IOException
org.eclipse.core.runtime.CoreException
public void testGetWsdlDefinition_fromWsdlImport() throws java.io.IOException, org.eclipse.core.runtime.CoreException
java.io.IOException
org.eclipse.core.runtime.CoreException
public void testGetXsdSchema() throws java.io.IOException, org.eclipse.core.runtime.CoreException
java.io.IOException
org.eclipse.core.runtime.CoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |