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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]