Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 53911 invoked from network); 17 Nov 2008 10:45:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2008 10:45:27 -0000 Received: (qmail 61773 invoked by uid 500); 17 Nov 2008 10:45:34 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 61730 invoked by uid 500); 17 Nov 2008 10:45:34 -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 61719 invoked by uid 99); 17 Nov 2008 10:45:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 02:45:34 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 10:44:12 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1L21bE-00007e-C5 for dev@directory.apache.org; Mon, 17 Nov 2008 02:44:56 -0800 Message-ID: <20537225.post@talk.nabble.com> Date: Mon, 17 Nov 2008 02:44:56 -0800 (PST) From: Juergen Weber To: dev@directory.apache.org Subject: Re: Loading custom schemas with AbstractServerTest under 1.5.4 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: weberjn@gmail.com References: X-Virus-Checked: Checked by ClamAV on apache.org Hi, any updates to this? Anybody got a working sample using DS 1.5.4, AbstractServerTest and custom schemas? Thx, Juergen Mark Derricutt wrote: > > 'lo > > With the recent changes to AbstractServerTest in 1.5.4, how does one > register custom schemas now? > > Under 1.5.3 I was using: > > Set schemas = > configuration.getBootstrapSchemas(); > schemas.add(new Smx3Schema()); > configuration.setBootstrapSchemas(schemas); > > where configuration came from the AbstractServerTest. It looks like the > test harness has changed a bit. I"m actually using TestNG to execute my > tests, rather than JUnit so hopefully theres still a way to handle this > easily. > > Mark > He who started looking at ldap integration testing at the wrong time.. > > -- > "It is easier to optimize correct code than to correct optimized code." -- > Bill Harlan > > -- View this message in context: http://www.nabble.com/Loading-custom-schemas-with-AbstractServerTest-under-1.5.4-tp19485510p20537225.html Sent from the Apache Directory Project mailing list archive at Nabble.com.