From 267c37371ae406d89c59fe039d45a13f09472047 Mon Sep 17 00:00:00 2001 From: rfeng Date: Fri, 10 Oct 2008 21:34:37 +0000 Subject: Make the provider package private git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@703578 13f79535-47bb-0310-9956-ffa450edef68 --- .../modules/binding-atom-abdera/pom.xml | 3 +-- .../sca/binding/atom/AtomDeleteTestCase.java | 27 +++++++++++----------- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'branches/sca-equinox/modules/binding-atom-abdera') diff --git a/branches/sca-equinox/modules/binding-atom-abdera/pom.xml b/branches/sca-equinox/modules/binding-atom-abdera/pom.xml index edb317e4a9..7f95c62c29 100644 --- a/branches/sca-equinox/modules/binding-atom-abdera/pom.xml +++ b/branches/sca-equinox/modules/binding-atom-abdera/pom.xml @@ -217,8 +217,7 @@ org.apache.tuscany.sca.binding.atom.abdera ${pom.name} - org.apache.tuscany.sca.binding.atom.collection, - org.apache.tuscany.sca.binding.atom.provider + org.apache.tuscany.sca.binding.atom.collection diff --git a/branches/sca-equinox/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/AtomDeleteTestCase.java b/branches/sca-equinox/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/AtomDeleteTestCase.java index 9cffe0ae49..4e586a5510 100644 --- a/branches/sca-equinox/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/AtomDeleteTestCase.java +++ b/branches/sca-equinox/modules/binding-atom-abdera/src/test/java/org/apache/tuscany/sca/binding/atom/AtomDeleteTestCase.java @@ -8,7 +8,6 @@ import org.apache.abdera.Abdera; import org.apache.abdera.model.Content; import org.apache.abdera.model.Entry; import org.apache.tuscany.sca.binding.atom.collection.Collection; -import org.apache.tuscany.sca.node.Client; import org.apache.tuscany.sca.node.Contribution; import org.apache.tuscany.sca.node.ContributionLocationHelper; import org.apache.tuscany.sca.node.Node; @@ -25,20 +24,22 @@ public class AtomDeleteTestCase { @BeforeClass public static void init() throws Exception { - try{ - System.out.println(">>>AtomDeleteTestCase.init entry"); - String contribution = ContributionLocationHelper.getContributionLocation(AtomDeleteTestCase.class); - providerNode = NodeFactory.newInstance().createNode( - "org/apache/tuscany/sca/binding/atom/Provider.composite", new Contribution("provider", contribution)); - consumerNode = NodeFactory.newInstance().createNode( - "org/apache/tuscany/sca/binding/atom/Consumer.composite", new Contribution("consumer", contribution)); - providerNode.start(); - consumerNode.start(); - testService = consumerNode.getService(CustomerClient.class, "CustomerClient"); - abdera = new Abdera(); + try { + System.out.println(">>>AtomDeleteTestCase.init entry"); + String contribution = ContributionLocationHelper.getContributionLocation(AtomDeleteTestCase.class); + providerNode = + NodeFactory.newInstance().createNode("org/apache/tuscany/sca/binding/atom/Provider.composite", + new Contribution("provider", contribution)); + consumerNode = + NodeFactory.newInstance().createNode("org/apache/tuscany/sca/binding/atom/Consumer.composite", + new Contribution("consumer", contribution)); + providerNode.start(); + consumerNode.start(); + testService = consumerNode.getService(CustomerClient.class, "CustomerClient"); + abdera = new Abdera(); } catch (Exception e) { e.printStackTrace(); - + } } -- cgit v1.2.3