diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-09 10:15:35 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-09 10:15:35 +0000 |
commit | 2028917c8e976a4eb954fa871af018b5702f5e98 (patch) | |
tree | 659de5c6cf7f7a4a55ed859f753c15b8e4b405f8 /sca-java-2.x/trunk/modules/node-impl/src/test/java | |
parent | cb78950bc2db043e2a331ee063c91b48d4cdf176 (diff) |
Fix another quiet logging bug and add the start of a test
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1068829 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-impl/src/test/java')
-rw-r--r-- | sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/impl/NodeImplTestCase.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/impl/NodeImplTestCase.java b/sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/impl/NodeImplTestCase.java index af7b18207c..2bcab39d68 100644 --- a/sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/impl/NodeImplTestCase.java +++ b/sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/impl/NodeImplTestCase.java @@ -233,4 +233,17 @@ public class NodeImplTestCase { Assert.assertTrue(((NodeFactoryImpl)nf).inited); } + + @Test + public void testQuietLogging() throws Exception { + Properties props = new Properties(); + props.setProperty(RuntimeProperties.QUIET_LOGGING, "true"); + NodeFactory nf = NodeFactory.newInstance(props); + Node node = nf.createNode(); + node.start(); + node.stop(); + // This doesn't actually check the logging yet, need to figure out a + // way to get the log output so for now has to be run manually + } + } |