cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r933584 - in /cxf/dosgi/trunk/discovery/local/src/test: java/org/apache/cxf/dosgi/discovery/local/LocalDiscoveryUtilsTest.java resources/ed2-generated.xml
Date Tue, 13 Apr 2010 12:41:23 GMT
Author: davidb
Date: Tue Apr 13 12:41:23 2010
New Revision: 933584

URL: http://svn.apache.org/viewvc?rev=933584&view=rev
Log:
Fixing test failure

Modified:
    cxf/dosgi/trunk/discovery/local/src/test/java/org/apache/cxf/dosgi/discovery/local/LocalDiscoveryUtilsTest.java
    cxf/dosgi/trunk/discovery/local/src/test/resources/ed2-generated.xml

Modified: cxf/dosgi/trunk/discovery/local/src/test/java/org/apache/cxf/dosgi/discovery/local/LocalDiscoveryUtilsTest.java
URL: http://svn.apache.org/viewvc/cxf/dosgi/trunk/discovery/local/src/test/java/org/apache/cxf/dosgi/discovery/local/LocalDiscoveryUtilsTest.java?rev=933584&r1=933583&r2=933584&view=diff
==============================================================================
--- cxf/dosgi/trunk/discovery/local/src/test/java/org/apache/cxf/dosgi/discovery/local/LocalDiscoveryUtilsTest.java
(original)
+++ cxf/dosgi/trunk/discovery/local/src/test/java/org/apache/cxf/dosgi/discovery/local/LocalDiscoveryUtilsTest.java
Tue Apr 13 12:41:23 2010
@@ -49,7 +49,7 @@ import org.osgi.service.remoteserviceadm
 import org.osgi.service.remoteserviceadmin.RemoteConstants;
 
 public class LocalDiscoveryUtilsTest extends TestCase {
-    private static final String LF = System.getProperty("line.separator");
+    private static final String LF = "\n";
 
     public void testNoRemoteServicesXMLFiles() {
         Bundle b = EasyMock.createNiceMock(Bundle.class);

Modified: cxf/dosgi/trunk/discovery/local/src/test/resources/ed2-generated.xml
URL: http://svn.apache.org/viewvc/cxf/dosgi/trunk/discovery/local/src/test/resources/ed2-generated.xml?rev=933584&r1=933583&r2=933584&view=diff
==============================================================================
--- cxf/dosgi/trunk/discovery/local/src/test/resources/ed2-generated.xml (original)
+++ cxf/dosgi/trunk/discovery/local/src/test/resources/ed2-generated.xml Tue Apr 13 12:41:23
2010
@@ -48,6 +48,6 @@
         <value>2</value>
       </array>
     </property>
-    <property name="someXML" value="&lt;xml&gt;&#xD;&#xA;&lt;t1 xmlns=&quot;http://www.acme.org/xmlns/other/v1.0.0&quot;&gt;&#xD;&#xA;&lt;foo
type='bar'&gt;haha&lt;/foo&gt;&#xD;&#xA;&lt;/t1&gt;&#xD;&#xA;&lt;/xml&gt;"/>
  
+    <property name="someXML" value="&lt;xml&gt;&#xA;&lt;t1 xmlns=&quot;http://www.acme.org/xmlns/other/v1.0.0&quot;&gt;&#xA;&lt;foo
type='bar'&gt;haha&lt;/foo&gt;&#xA;&lt;/t1&gt;&#xA;&lt;/xml&gt;"/>
  
   </endpoint-description>
 </endpoint-descriptions>



Mime
View raw message