You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by jo...@apache.org on 2006/08/10 09:34:04 UTC

svn commit: r430294 - /webservices/commons/trunk/modules/axiom/test/org/apache/axiom/om/DefaultNSHandlingTest.java

Author: jochen
Date: Thu Aug 10 00:34:00 2006
New Revision: 430294

URL: http://svn.apache.org/viewvc?rev=430294&view=rev
Log:
Made the test recognize the <a></a> syntax. It assumed <a/>.

Modified:
    webservices/commons/trunk/modules/axiom/test/org/apache/axiom/om/DefaultNSHandlingTest.java

Modified: webservices/commons/trunk/modules/axiom/test/org/apache/axiom/om/DefaultNSHandlingTest.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/test/org/apache/axiom/om/DefaultNSHandlingTest.java?rev=430294&r1=430293&r2=430294&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/test/org/apache/axiom/om/DefaultNSHandlingTest.java (original)
+++ webservices/commons/trunk/modules/axiom/test/org/apache/axiom/om/DefaultNSHandlingTest.java Thu Aug 10 00:34:00 2006
@@ -103,9 +103,11 @@
             // The StAX implementation may or may not have a trailing blank in the tag
             String assertText1 = "<wst:Entropy xmlns:wst=\"http://schemas.xmlsoap.org/ws/2005/02/trust\" />";
             String assertText2 = "<wst:Entropy xmlns:wst=\"http://schemas.xmlsoap.org/ws/2005/02/trust\"/>";
+            String assertText3 = "<wst:Entropy xmlns:wst=\"http://schemas.xmlsoap.org/ws/2005/02/trust\"></wst:Entropy>";
             
             assertTrue((xml.indexOf(assertText1) != -1) ||
-            		   (xml.indexOf(assertText2) != -1));
+            		   (xml.indexOf(assertText2) != -1) ||
+            		   (xml.indexOf(assertText3) != -1));
         }catch (Exception e) {
             fail(e.getMessage());
         }



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