From 69f2050e34ee05b93e3141cb7b13ab0e072bc340 Mon Sep 17 00:00:00 2001 From: rfeng Date: Tue, 14 Oct 2008 22:06:31 +0000 Subject: Remove SCA prefix from Defintions model git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@704715 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/definitions/ReadDocumentTestCase.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'branches/sca-equinox/modules/definitions-xml/src/test/java') diff --git a/branches/sca-equinox/modules/definitions-xml/src/test/java/org/apache/tuscany/sca/definitions/ReadDocumentTestCase.java b/branches/sca-equinox/modules/definitions-xml/src/test/java/org/apache/tuscany/sca/definitions/ReadDocumentTestCase.java index 6a654a7c9b..2614bbacb4 100644 --- a/branches/sca-equinox/modules/definitions-xml/src/test/java/org/apache/tuscany/sca/definitions/ReadDocumentTestCase.java +++ b/branches/sca-equinox/modules/definitions-xml/src/test/java/org/apache/tuscany/sca/definitions/ReadDocumentTestCase.java @@ -53,8 +53,8 @@ import org.junit.Test; */ public class ReadDocumentTestCase { - private static URLArtifactProcessor policyDefinitionsProcessor = null; - private static SCADefinitions definitions; + private static URLArtifactProcessor policyDefinitionsProcessor = null; + private static Definitions definitions; private static Map intentTable = new Hashtable(); private static Map policySetTable = new Hashtable(); private static Map bindingTypesTable = new Hashtable(); @@ -85,13 +85,13 @@ public class ReadDocumentTestCase { staxProcessors.addArtifactProcessor(new TestPolicyProcessor()); URLArtifactProcessorExtensionPoint documentProcessors = extensionPoints.getExtensionPoint(URLArtifactProcessorExtensionPoint.class); - policyDefinitionsProcessor = documentProcessors.getProcessor(SCADefinitions.class); + policyDefinitionsProcessor = documentProcessors.getProcessor(Definitions.class); URL url = ReadDocumentTestCase.class.getResource("test_definitions.xml"); URI uri = URI.create("test_definitions.xml"); definitions = policyDefinitionsProcessor.read(null, uri, url); - for ( Intent intent : definitions.getPolicyIntents() ) { + for ( Intent intent : definitions.getIntents() ) { intentTable.put(intent.getName(), intent); } -- cgit v1.2.3