ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1506203 - /ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/RESTClientTest.java
Date Tue, 23 Jul 2013 18:39:58 GMT
Author: bramk
Date: Tue Jul 23 18:39:57 2013
New Revision: 1506203

URL: http://svn.apache.org/r1506203
Log:
ACE-340 Cleanup/stabilize REST itest 2

Modified:
    ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/RESTClientTest.java

Modified: ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/RESTClientTest.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/RESTClientTest.java?rev=1506203&r1=1506202&r2=1506203&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/RESTClientTest.java
(original)
+++ ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/RESTClientTest.java
Tue Jul 23 18:39:57 2013
@@ -493,20 +493,7 @@ public class RESTClientTest extends Inte
         file.deleteOnExit();
         BufferedWriter bw = new BufferedWriter(new FileWriter(file));
         try {
-            bw.write(
-                "<MetaData xmlns='http://www.osgi.org/xmlns/metatype/v1.0.0'>\n" +
-                    "  <OCD name='ocd' id='ocd'>\n" +
-                    "    <AD id='name' type='STRING' cardinality='0' />\n" +
-                    "  </OCD>\n" +
-                    "  <Designate pid='simple' bundle='osgi-dp:location'>\n" +
-                    "    <Object ocdref='ocd'>\n" +
-                    "      <Attribute adref='name'>\n" +
-                    "        <Value><![CDATA[${context.test}]]></Value>\n"
+
-                    "      </Attribute>\n" +
-                    "    </Object>\n" +
-                    "  </Designate>\n" +
-                    "</MetaData>\n"
-                );
+            bw.write(config);
             return file;
         }
         finally {



Mime
View raw message