Author: dkatayev
Date: 2009-10-21 09:22:25 -0400 (Wed, 21 Oct 2009)
New Revision: 331
Modified:
jcr/trunk/component/webdav/src/test/java/org/exoplatform/services/jcr/webdav/command/TestPropFind.java
jcr/trunk/pom.xml
Log:
EXOJCR-185 project dependencies updated to SHAPSHOTs
Modified:
jcr/trunk/component/webdav/src/test/java/org/exoplatform/services/jcr/webdav/command/TestPropFind.java
===================================================================
---
jcr/trunk/component/webdav/src/test/java/org/exoplatform/services/jcr/webdav/command/TestPropFind.java 2009-10-21
13:20:13 UTC (rev 330)
+++
jcr/trunk/component/webdav/src/test/java/org/exoplatform/services/jcr/webdav/command/TestPropFind.java 2009-10-21
13:22:25 UTC (rev 331)
@@ -26,11 +26,15 @@
import org.exoplatform.services.jcr.webdav.command.propfind.PropFindResponseEntity;
import org.exoplatform.services.jcr.webdav.utils.TestUtils;
import org.exoplatform.services.rest.impl.ContainerResponse;
+import org.exoplatform.services.rest.impl.InputHeadersMap;
+import org.exoplatform.services.rest.impl.MultivaluedMapImpl;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import javax.jcr.Node;
+import javax.ws.rs.core.HttpHeaders;
+import javax.ws.rs.core.MultivaluedMap;
import javax.ws.rs.core.Response;
/**
@@ -104,8 +108,10 @@
String file = TestUtils.getFileName();
TestUtils.addContent(session, file, new ByteArrayInputStream(content.getBytes()),
nt_webdave_file, "");
TestUtils.addNodeProperty(session, file, authorProp, author);
+ MultivaluedMap<String, String> headers = new MultivaluedMapImpl();
+ headers.add(HttpHeaders.CONTENT_TYPE, "text/xml");
ContainerResponse responseFind =
- service(WebDAVMethods.PROPFIND, getPathWS() + file, "", null,
propFindXML.getBytes());
+ service(WebDAVMethods.PROPFIND, getPathWS() + file, "", headers,
propFindXML.getBytes());
assertEquals(HTTPStatus.MULTISTATUS, responseFind.getStatus());
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
PropFindResponseEntity entity = (PropFindResponseEntity)responseFind.getEntity();
Modified: jcr/trunk/pom.xml
===================================================================
--- jcr/trunk/pom.xml 2009-10-21 13:20:13 UTC (rev 330)
+++ jcr/trunk/pom.xml 2009-10-21 13:22:25 UTC (rev 331)
@@ -38,9 +38,9 @@
<properties>
<exo.product.name>exo-jcr</exo.product.name>
<exo.product.specification>1.12</exo.product.specification>
-
<org.exoplatform.kernel.version>2.2.0-Beta02</org.exoplatform.kernel.version>
-
<org.exoplatform.core.version>2.3.0-Beta02</org.exoplatform.core.version>
- <org.exoplatform.ws.version>2.1.0-Beta02</org.exoplatform.ws.version>
+
<org.exoplatform.kernel.version>2.2.0-Beta03-SNAPSHOT</org.exoplatform.kernel.version>
+
<org.exoplatform.core.version>2.3.0-Beta03-SNAPSHOT</org.exoplatform.core.version>
+
<org.exoplatform.ws.version>2.1.0-Beta03-SNAPSHOT</org.exoplatform.ws.version>
</properties>
<scm>
Show replies by date