Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7585385AC for ; Fri, 26 Aug 2011 16:28:44 +0000 (UTC) Received: (qmail 84510 invoked by uid 500); 26 Aug 2011 16:28:42 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 84406 invoked by uid 500); 26 Aug 2011 16:28:42 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 84296 invoked by uid 99); 26 Aug 2011 16:28:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 16:28:42 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 16:28:40 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 77F5ED1BBA for ; Fri, 26 Aug 2011 16:26:40 +0000 (UTC) Date: Fri, 26 Aug 2011 16:26:40 +0000 (UTC) From: "Pierre-Arnaud Marcelot (JIRA)" To: dev@directory.apache.org Message-ID: <1181536491.18124.1314376000488.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DIRSERVER-1069) Outdated doc for unittesting version 1.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSERVER-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Arnaud Marcelot updated DIRSERVER-1069: ---------------------------------------------- Fix Version/s: (was: 2.0.0-M2) 2.0.0-M3 > Outdated doc for unittesting version 1.5.1 > ------------------------------------------ > > Key: DIRSERVER-1069 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1069 > Project: Directory ApacheDS > Issue Type: Test > Components: doc > Affects Versions: 1.5.1 > Environment: Windows XP Professional, Eclipse Europa 3.3, Maven 2.07, Java6 > Reporter: Rune Engseth > Fix For: 2.0.0-M3 > > > Hi > I was advised to open an issue for my unittest problems - the doc for "Using ApacheDS for unit tests" is outdated and needs to be updated. > Original post to users@directory.apache.org can be found here: > http://mail-archives.apache.org/mod_mbox/directory-users/200709.mbox/browser > This is the original post: > > I'm following the description as found here: > > http://directory.apache.org/apacheds/1.5/using-apacheds-for-unit-tests.html > > > > and trying to setup ApacheDS for unit testing. > > > > > > The example uses version 1.0, but I am trying to use the 1.5.1 version. > > > > Everything works fine up to "Adding your own schema" > > > > > > > > When I copy-paste the following: > > > > Set schemas = configuration.getBootstrapSchemas(); > > schemas.add( new DemoSchema() ); > > > > configuration.setBootstrapSchemas(schemas); > > > > > > I get a compilation error. > > > > the configuration.setBootstrapSchemas method is no longer available. > > > > > > I've tried to dig in the javadocs etc, but I'm not able to find solve how > > to create custom schemas. (the javadocs are not commented at all) > > > > Is there anyone who knows how to get around this - i.e refactor this code > > to version 1.5.1 of ApacheDS? > > > > Source code, pom.xml, test-source etc can be posted if necessary. > > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira