Author: jkaputin
Date: Tue Jan 23 02:20:57 2007
New Revision: 498976

URL: http://svn.apache.org/viewvc?view=rev&rev=498976
Log:
WODEN-49 On some of the assertEquals calls swapped
the two comparison arguments around so that 'expected'
is first followed by 'actual' because that is the order
the method assumes they are in when it reports and 
error.

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

Modified: 
incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/ImportElementTest.java
URL: 
http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/ImportElementTest.java?view=diff&rev=498976&r1=498975&r2=498976
==============================================================================
--- 
incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/ImportElementTest.java
 (original)
+++ 
incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/ImportElementTest.java
 Tue Jan 23 02:20:57 2007
@@ -64,7 +64,7 @@
        {
                fImport.setDescriptionElement(fDescriptionElement);
                assertEquals("The retrieved Description Element object is not 
that which was set", 
-                               fImport.getDescriptionElement(), 
fDescriptionElement);
+                fDescriptionElement, fImport.getDescriptionElement());
        }
 
        /**
@@ -79,7 +79,7 @@
                        
                }
                fImport.setLocation(fURI);
-               assertEquals("The retrieved Location URI object is not that 
which was set", fImport.getLocation(), fURI);
+               assertEquals("The retrieved Location URI object is not that 
which was set", fURI, fImport.getLocation());
        }
        
        public void testSetGetNamespace()
@@ -91,7 +91,7 @@
                        
                }
                fImport.setNamespace(fURI);
-               assertEquals("The retrieved Location URI object is not that 
which was set", fImport.getNamespace(), fURI);
+               assertEquals("The retrieved Location URI object is not that 
which was set", fURI, fImport.getNamespace());
        }
        
        /**

Modified: 
incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/IncludeElementTest.java
URL: 
http://svn.apache.org/viewvc/incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/IncludeElementTest.java?view=diff&rev=498976&r1=498975&r2=498976
==============================================================================
--- 
incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/IncludeElementTest.java
 (original)
+++ 
incubator/woden/trunk/java/test/org/apache/woden/wsdl20/xml/IncludeElementTest.java
 Tue Jan 23 02:20:57 2007
@@ -48,7 +48,7 @@
        {
                fInclude.setDescriptionElement(fDescriptionElement);
                assertEquals("The retrieved Description Element object is not 
that which was set", 
-                               fInclude.getDescriptionElement(), 
fDescriptionElement);
+                fDescriptionElement, fInclude.getDescriptionElement());
        }
 
        /**
@@ -63,7 +63,7 @@
                        
                }
                fInclude.setLocation(fURI);
-               assertEquals("The retrieved Location URI object is not that 
which was set", fInclude.getLocation(), fURI);
+               assertEquals("The retrieved Location URI object is not that 
which was set", fURI, fInclude.getLocation());
        }
 
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to