openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r1309047 - /openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/TestOracleXmlColumn.java
Date Tue, 03 Apr 2012 17:05:57 GMT
Author: allee8285
Date: Tue Apr  3 17:05:57 2012
New Revision: 1309047

URL: http://svn.apache.org/viewvc?rev=1309047&view=rev
Log:
OPENJPA-2169 - Test case update for Oracle 11.2.

Modified:
    openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/TestOracleXmlColumn.java

Modified: openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/TestOracleXmlColumn.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/TestOracleXmlColumn.java?rev=1309047&r1=1309046&r2=1309047&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/TestOracleXmlColumn.java
(original)
+++ openjpa/branches/2.2.x/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/TestOracleXmlColumn.java
Tue Apr  3 17:05:57 2012
@@ -148,7 +148,7 @@ public class TestOracleXmlColumn extends
     }
 
     private String xmlResult(String xml) {
-        xml = xml.replace("\r", " ").replace("\n", " ").replace("/>", "></" + projectStr
+ ">").trim();
+        xml = xml.replace("\r", "").replace("\n", "").replace("/>", "></" + projectStr
+ ">").trim();
         return xml;
     }
 }



Mime
View raw message