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 jk...@apache.org on 2007/12/03 15:34:48 UTC

svn commit: r600551 - /incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/BindingFaultReferenceElementTest.java

Author: jkaputin
Date: Mon Dec  3 06:34:47 2007
New Revision: 600551

URL: http://svn.apache.org/viewvc?rev=600551&view=rev
Log:
Removed redundant code and TODO comment.

Modified:
    incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/BindingFaultReferenceElementTest.java

Modified: incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/BindingFaultReferenceElementTest.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/BindingFaultReferenceElementTest.java?rev=600551&r1=600550&r2=600551&view=diff
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/BindingFaultReferenceElementTest.java (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/BindingFaultReferenceElementTest.java Mon Dec  3 06:34:47 2007
@@ -116,13 +116,6 @@
 		fFaultReference.setMessageLabel(new NCName("Fault1MessageLabel"));
 		fFaultReference.setRef(new QName("Fault1Ref"));
 
-		descriptionElement.toComponent();
-		// Note : Description's list of interfaces does not get setup until toComponent() is invoked.
-		// therefore cannot successfully traverse the element model without creating the component model.
-		// Creating the component model requires that the extension registry is instantiated. 
-		// TODO Note that neither this, not creating an extension registry is necessary on BindingFaultTest,
-		// so there is some perceived inconsistency in the API.
-		
 		InterfaceFaultReferenceElement retrievedFault = fFaultReference.getInterfaceFaultReferenceElement();
 		assertEquals("The retrieved InterfaceFaultReferenceElement is not that which was set", 
 				iffrElement, retrievedFault);



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