diff options
author | pfullbright | 2011-10-27 23:02:39 +0000 |
---|---|---|
committer | pfullbright | 2011-10-27 23:02:39 +0000 |
commit | 6e3032c0a59581f4e58575911e9be56c10053423 (patch) | |
tree | 5fbe8d58780b200956d3cf8792c6e357fb5bea68 /jaxb/tests | |
parent | 3ecbb4c84f8ed0b8f71945d2dc76869d80411c97 (diff) | |
download | webtools.dali-6e3032c0a59581f4e58575911e9be56c10053423.tar.gz webtools.dali-6e3032c0a59581f4e58575911e9be56c10053423.tar.xz webtools.dali-6e3032c0a59581f4e58575911e9be56c10053423.zip |
made some xsd schema util api changes
Diffstat (limited to 'jaxb/tests')
-rw-r--r-- | jaxb/tests/org.eclipse.jpt.jaxb.core.tests/src/org/eclipse/jpt/jaxb/core/tests/internal/SchemaLibraryTests.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/jaxb/tests/org.eclipse.jpt.jaxb.core.tests/src/org/eclipse/jpt/jaxb/core/tests/internal/SchemaLibraryTests.java b/jaxb/tests/org.eclipse.jpt.jaxb.core.tests/src/org/eclipse/jpt/jaxb/core/tests/internal/SchemaLibraryTests.java index 219a879f1a..992165d848 100644 --- a/jaxb/tests/org.eclipse.jpt.jaxb.core.tests/src/org/eclipse/jpt/jaxb/core/tests/internal/SchemaLibraryTests.java +++ b/jaxb/tests/org.eclipse.jpt.jaxb.core.tests/src/org/eclipse/jpt/jaxb/core/tests/internal/SchemaLibraryTests.java @@ -14,7 +14,7 @@ import java.util.HashMap; import java.util.Map; import org.eclipse.core.resources.IFile; import org.eclipse.core.runtime.Path; -import org.eclipse.xsd.XSDSchema; +import org.eclipse.jpt.jaxb.core.xsd.XsdSchema; @@ -30,7 +30,7 @@ public class SchemaLibraryTests String namespace = "http://www.eclipse.org/eclipselink/xsds/persistence/orm"; // test initial load - XSDSchema schema = getJaxbProject().getSchemaLibrary().getSchema(namespace); + XsdSchema schema = getJaxbProject().getSchemaLibrary().getSchema(namespace); assertNotNull(schema); // test cached load @@ -38,7 +38,7 @@ public class SchemaLibraryTests assertNotNull(schema); // test unload/reload - schema.eResource().unload(); + schema.getXSDComponent().eResource().unload(); schema = getJaxbProject().getSchemaLibrary().getSchema(namespace); assertNotNull(schema); } @@ -53,7 +53,7 @@ public class SchemaLibraryTests getJaxbProject().getSchemaLibrary().setSchemaLocations(schemaLocations); // test initial load - XSDSchema schema = getJaxbProject().getSchemaLibrary().getSchema(namespace); + XsdSchema schema = getJaxbProject().getSchemaLibrary().getSchema(namespace); assertNotNull(schema); // test cached load @@ -61,7 +61,7 @@ public class SchemaLibraryTests assertNotNull(schema); // test unload/reload - schema.eResource().unload(); + schema.getXSDComponent().eResource().unload(); schema = getJaxbProject().getSchemaLibrary().getSchema(namespace); assertNotNull(schema); } @@ -76,7 +76,7 @@ public class SchemaLibraryTests getJaxbProject().getSchemaLibrary().setSchemaLocations(schemaLocations); // test initial load - XSDSchema schema = getJaxbProject().getSchemaLibrary().getSchema(namespace); + XsdSchema schema = getJaxbProject().getSchemaLibrary().getSchema(namespace); assertNotNull(schema); // test cached load @@ -84,7 +84,7 @@ public class SchemaLibraryTests assertNotNull(schema); // test unload/reload - schema.eResource().unload(); + schema.getXSDComponent().eResource().unload(); schema = getJaxbProject().getSchemaLibrary().getSchema(namespace); assertNotNull(schema); } @@ -107,7 +107,7 @@ public class SchemaLibraryTests getJaxbProject().getSchemaLibrary().setSchemaLocations(schemaLocations); // test initial load - XSDSchema schema = getJaxbProject().getSchemaLibrary().getSchema(namespace); + XsdSchema schema = getJaxbProject().getSchemaLibrary().getSchema(namespace); assertNotNull(schema); // test cached load @@ -115,7 +115,7 @@ public class SchemaLibraryTests assertNotNull(schema); // test unload/reload - schema.eResource().unload(); + schema.getXSDComponent().eResource().unload(); schema = getJaxbProject().getSchemaLibrary().getSchema(namespace); assertNotNull(schema); } |