Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 26786 invoked from network); 25 Sep 2007 08:31:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Sep 2007 08:31:13 -0000 Received: (qmail 72713 invoked by uid 500); 25 Sep 2007 08:31:03 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 72525 invoked by uid 500); 25 Sep 2007 08:31:02 -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 72514 invoked by uid 99); 25 Sep 2007 08:31:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2007 01:31:02 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2007 08:31:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 166787141F2 for ; Tue, 25 Sep 2007 01:30:51 -0700 (PDT) Message-ID: <9474665.1190709051088.JavaMail.jira@brutus> Date: Tue, 25 Sep 2007 01:30:51 -0700 (PDT) From: "Rune Engseth (JIRA)" To: dev@directory.apache.org Subject: [jira] Closed: (DIRSERVER-1071) CLONE -Outdated doc for unittesting version 1.5.1 In-Reply-To: <30035147.1190708930591.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rune Engseth closed DIRSERVER-1071. ----------------------------------- Resolution: Invalid I tried to clone an issue, believing that I could alter some of the issue details, but this wasn't so so I'm closing this cloned issue > CLONE -Outdated doc for unittesting version 1.5.1 > ------------------------------------------------- > > Key: DIRSERVER-1071 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1071 > 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 > > 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. - You can reply to this email to add a comment to the issue online.