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 gt...@apache.org on 2007/01/28 00:41:01 UTC

svn commit: r500693 - in /incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml: InterfaceElementTest.java InterfaceMessageReferenceElementTest.java InterfaceOperationElementTest.java

Author: gturrell
Date: Sat Jan 27 15:41:00 2007
New Revision: 500693

URL: http://svn.apache.org/viewvc?view=rev&rev=500693
Log:
[WODEN-54] Just some non-functional tweaks I noticed needed doing for consistency while working on other JIRAs.

Modified:
    incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceElementTest.java
    incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElementTest.java
    incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceOperationElementTest.java

Modified: incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceElementTest.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceElementTest.java?view=diff&rev=500693&r1=500692&r2=500693
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceElementTest.java (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceElementTest.java Sat Jan 27 15:41:00 2007
@@ -54,7 +54,6 @@
     {
         super.setUp();
         fDescriptionElement = new DescriptionImpl();
-        //fInterfaceElement = new InterfaceImpl();
         fInterfaceElement = fDescriptionElement.addInterfaceElement();
         fStyleDefaultURI1 = new URI("http://www.w3.org/0000/00/apacheStyle");
         fStyleDefaultURI2 = new URI("http://www.w3.org/0000/00/anotherApacheStyle");

Modified: incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElementTest.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElementTest.java?view=diff&rev=500693&r1=500692&r2=500693
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElementTest.java (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceMessageReferenceElementTest.java Sat Jan 27 15:41:00 2007
@@ -50,7 +50,7 @@
 public class InterfaceMessageReferenceElementTest extends TestCase {
 
 	private InterfaceMessageReferenceElement fMessageReference = null;
-	ExtensionRegistry fExtensionRegistry = null;
+	private ExtensionRegistry fExtensionRegistry = null;
 	private URI fNamespace = null;
 
 	public static Test suite()
@@ -84,10 +84,10 @@
 	public void testSetGetDirection()
 	{
 		// Default case
-		assertNull("The retrieved Element name when unset should be null", fMessageReference.getDirection());
+		assertNull("The retrieved Direction when unset should be null", fMessageReference.getDirection());
 		
 		fMessageReference.setDirection(Direction.OUT);
-		assertEquals("The retrieved FaultReference direction is not that which was set", 
+		assertEquals("The retrieved MessageReference direction is not that which was set", 
 				Direction.OUT, fMessageReference.getDirection());
 	}
 
@@ -98,7 +98,7 @@
 	{
 		NCName messageRefNCName = new NCName("messageRefName");
 		fMessageReference.setMessageLabel(messageRefNCName);
-		assertEquals("The retrieved Element name is not that which was set", 
+		assertEquals("The retrieved messageLabel is not that which was set", 
 				messageRefNCName, fMessageReference.getMessageLabel());
 	}
 

Modified: incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceOperationElementTest.java
URL: http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceOperationElementTest.java?view=diff&rev=500693&r1=500692&r2=500693
==============================================================================
--- incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceOperationElementTest.java (original)
+++ incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/InterfaceOperationElementTest.java Sat Jan 27 15:41:00 2007
@@ -30,7 +30,7 @@
 import org.apache.woden.types.NCName;
 
 /**
- * Unit tests for the InterfaceOperationElementTest class.
+ * Unit tests for the InterfaceOperationElement class.
  * 
  * @author Graham Turrell (gturrell@apache.org)
  */



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