You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by di...@apache.org on 2009/11/10 16:42:02 UTC

svn commit: r834508 - /webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooBindingExtensionsTest.java

Author: dims
Date: Tue Nov 10 15:42:02 2009
New Revision: 834508

URL: http://svn.apache.org/viewvc?rev=834508&view=rev
Log:
if we set the property in setup, be sure to remove it in tear down

Modified:
    webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooBindingExtensionsTest.java

Modified: webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooBindingExtensionsTest.java
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooBindingExtensionsTest.java?rev=834508&r1=834507&r2=834508&view=diff
==============================================================================
--- webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooBindingExtensionsTest.java (original)
+++ webservices/woden/trunk/java/woden-tests/src/test/java/testcase/extensions/foo/FooBindingExtensionsTest.java Tue Nov 10 15:42:02 2009
@@ -73,6 +73,11 @@
         assertEquals("The Description should contain 2 Binding components.", 2, fBindings.length);       
 	}
 
+    protected void tearDown() throws Exception {
+        super.tearDown();
+        System.getProperties().remove(ExtensionRegistry.REGISTRAR_PROPERTY);
+    }
+
 	/**
      * Test that the value for the {bar} property returned by the <code>getFooBar</code> 
      * method matches the expected value parsed from the WSDL.



---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org