Return-Path: Delivered-To: apmail-incubator-chemistry-dev-archive@minotaur.apache.org Received: (qmail 27763 invoked from network); 1 Jun 2010 13:10:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 13:10:09 -0000 Received: (qmail 7658 invoked by uid 500); 1 Jun 2010 13:10:09 -0000 Delivered-To: apmail-incubator-chemistry-dev-archive@incubator.apache.org Received: (qmail 7591 invoked by uid 500); 1 Jun 2010 13:10:08 -0000 Mailing-List: contact chemistry-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chemistry-dev@incubator.apache.org Delivered-To: mailing list chemistry-dev@incubator.apache.org Received: (qmail 7581 invoked by uid 99); 1 Jun 2010 13:10:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 13:10:08 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of samuelmortha@gmail.com designates 74.125.83.47 as permitted sender) Received: from [74.125.83.47] (HELO mail-gw0-f47.google.com) (74.125.83.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 13:10:02 +0000 Received: by gwb20 with SMTP id 20so179858gwb.6 for ; Tue, 01 Jun 2010 06:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=+6fYYGPOKlK5InnfUwSMwld7QMoAkEBxXrZlpdGf8G0=; b=B4m7NtL8p0hGO0Vq8aGXGUmbehZM8HunlpngVxjgSxiChg/dShUUoP+OEqRTM2IGfI PC9qHiO3eEpbPQV1dl0jWJeb7tR5eVaAVtI8IAd6IDccKoHNspOAqEr2Gj5XZOMW/vMf /vJoilj3lmvOY4HeJwtCU5eMak9t2WGuwdAVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HjICM/aGbpgXgDD/w27YdN1X/kZD4Aj4fQWDJRVKVSN4A5JHAHCZx4u53cayiHLLzW Oeq3GZzYVkcslrzkbxd7J1ZIXOaRJLXQMI2/oCAsfhrTASTwVkQvv47cQg4hnYyzxaSE 6ifBs7BjslJQR3vEg5CjfRklmNDJQZqmVBUFw= MIME-Version: 1.0 Received: by 10.90.61.20 with SMTP id j20mr2969232aga.150.1275397779006; Tue, 01 Jun 2010 06:09:39 -0700 (PDT) Received: by 10.90.66.1 with HTTP; Tue, 1 Jun 2010 06:09:38 -0700 (PDT) Date: Tue, 1 Jun 2010 18:39:38 +0530 Message-ID: Subject: chemistry-tck-atompub JUnit tests failing From: samuel jacob sam To: chemistry-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016362838e290a5610487f7af25 --0016362838e290a5610487f7af25 Content-Type: text/plain; charset=ISO-8859-1 Hi, Can anyone help me to run JUnit tests in chemistry-tck-atompub successfully ? When I run these JUnit tests against our CMIS server, we are getting the below exception. java.lang.UnsupportedOperationException at org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter.postMedia(AbstractEntityCollectionAdapter.java:221) at org.apache.abdera.protocol.server.impl.AbstractEntityCollectionAdapter.postMedia(AbstractEntityCollectionAdapter.java:83) at org.apache.abdera.protocol.server.impl.AbstractProvider.process(AbstractProvider.java:156) at org.apache.abdera.protocol.server.FilterChain.next(FilterChain.java:42) at org.apache.abdera.protocol.server.servlet.AbderaServlet.service(AbderaServlet.java:90) .... .... When I debugged through abdera source, I found that AbstractEntityCollectionAdapter.postMedia(MimeType mimeType, String slug, InputStream inputStream, RequestContext request) has to be implemented by the chemistry. Which is now throwing the UnsupportedOperationException. This is causing the JUnit tests to fail. Can anyone please help us to move forward ? Thanks, Samuel --0016362838e290a5610487f7af25--