diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-11 11:41:54 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-11 11:41:54 +0000 |
commit | b4f47c76445fb9cb1b8e3d08349be9a137ee77ca (patch) | |
tree | f114808ee299aee0fac86d8ed8a15a02380d45b2 /java/sca/modules/implementation-node-runtime | |
parent | 5823618459d2a9493c61c864e97bef241ccba8ac (diff) |
TUSCANY-3014 - fix test so that it fails when it should. The actual failure was being caused by an incorrect namespace registered for the stax artifact processor.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@773531 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/implementation-node-runtime')
-rw-r--r-- | java/sca/modules/implementation-node-runtime/src/test/java/org/apache/tuscany/sca/implementation/node/NodeImplementationTestCase.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/java/sca/modules/implementation-node-runtime/src/test/java/org/apache/tuscany/sca/implementation/node/NodeImplementationTestCase.java b/java/sca/modules/implementation-node-runtime/src/test/java/org/apache/tuscany/sca/implementation/node/NodeImplementationTestCase.java index ad47fb8da6..579dd5e390 100644 --- a/java/sca/modules/implementation-node-runtime/src/test/java/org/apache/tuscany/sca/implementation/node/NodeImplementationTestCase.java +++ b/java/sca/modules/implementation-node-runtime/src/test/java/org/apache/tuscany/sca/implementation/node/NodeImplementationTestCase.java @@ -18,6 +18,8 @@ */ package org.apache.tuscany.sca.implementation.node; +import junit.framework.Assert; + import org.apache.tuscany.sca.node.Contribution; import org.apache.tuscany.sca.node.ContributionLocationHelper; import org.apache.tuscany.sca.node.Node; @@ -32,7 +34,6 @@ import org.junit.Test; * * @version $Rev$ $Date$ */ -@Ignore("TUSCANY-3014") public class NodeImplementationTestCase { private Node node; @@ -46,11 +47,14 @@ public class NodeImplementationTestCase { @After public void tearDown() throws Exception { - node.stop(); + if (node != null){ + node.stop(); + } } @Test public void testNode() { + Assert.assertNotNull(node); } } |