Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 85622 invoked from network); 18 Oct 2007 20:57:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Oct 2007 20:57:55 -0000 Received: (qmail 34122 invoked by uid 500); 18 Oct 2007 20:57:42 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 34084 invoked by uid 500); 18 Oct 2007 20:57: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 34073 invoked by uid 99); 18 Oct 2007 20:57:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2007 13:57:42 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of randy.motluck@gmail.com designates 209.85.198.188 as permitted sender) Received: from [209.85.198.188] (HELO rv-out-0910.google.com) (209.85.198.188) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2007 20:57:46 +0000 Received: by rv-out-0910.google.com with SMTP id g11so222189rvb for ; Thu, 18 Oct 2007 13:57:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=kWw7o608BqeXPcLAtbnWabJ+1S8AhAdKywHukS1IPPM=; b=hy9AY3GIoyrrHlzxUMX9xKPAVt36ds5E/pbKQFWhmuex+5hWHKHJzRvmOetOevdN+7soYsdE5OimNiRyqZReOjmrQ99+JTI3P6yUh7h0F+ajgCB4HcgALHOSIW4KFxmY5I0NQnmiKBSIm9RQm7bJrEbKi2Cpyb33MvFLTvQSDA8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gpAP8Q5vcPXywhoZE4Iy1sAa/qTfQ9erU45TFU1uNTyhBQmnEH+LIhUzc8xmdVvHvhbjbm9nM6cdzcSWjgBObn4L0nNVknugx0E1qqQ1UPaxht2Pru1N2Txu/lPGJSuXunfKsIpyZlnmmA2W7j+uR5dDCQF1Fc9A9p2Q5rUKTFo= Received: by 10.140.139.3 with SMTP id m3mr590756rvd.1192741043977; Thu, 18 Oct 2007 13:57:23 -0700 (PDT) Received: by 10.141.63.6 with HTTP; Thu, 18 Oct 2007 13:57:23 -0700 (PDT) Message-ID: <8764457a0710181357p64405403k597b5fbc6e210f3c@mail.gmail.com> Date: Thu, 18 Oct 2007 15:57:23 -0500 From: "Randy Motluck" To: "Apache Directory Developers List" Subject: Re: Testing with a specific server.xml In-Reply-To: <4717A445.2090707@labeo.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2326_15042068.1192741043966" References: <8764457a0710181039i11ad72deyb72c48c8a37c7d39@mail.gmail.com> <4717A445.2090707@labeo.de> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2326_15042068.1192741043966 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for the reply. I think I may look into subclassing those tests and overriding the dependency setting...to ensure proper functionality on my stuff. I have not looked yet at the tests while at work, but this evening, while at home, I will check to see how feasible that is. Again, thank you. -Randy Motluck On 10/18/07, Stefan Zoerner wrote: > > Randy Motluck wrote: > > > How can make the unit tests and integration tests use my changed > > server.xml. I have some alternate backend components that I am trying > > to write/test. > > > > It does not seem clear to me how the integration tests work. I know how > > to run them, just not get them to work with my specifc backend > components. > > The integration tests do not use the server.xml configuration (Spring > Framework). The server runs embedded and is configured programatically. > > One option would be to add your custom components programatically to the > configuration as well. > > Greetings, > Stefan > > ------=_Part_2326_15042068.1192741043966 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Thanks for the reply. 
 
I think I may look into subclassing those tests and overriding the dependency setting...to ensure proper functionality on my stuff.
 
I have not looked yet at the tests while at work, but this evening, while at home,  I will check to see how feasible that is.
 
Again, thank you.
 
-Randy Motluck
 
On 10/18/07, Stefan Zoerner <stefan@labeo.de> wrote:
Randy Motluck wrote:

> How can make the unit tests and integration tests use my changed
> server.xml.  I have some alternate backend components that I am trying
> to write/test.
>
> It does not seem clear to me how the integration tests work.  I know how
> to run them, just not get them to work with my specifc backend components.

The integration tests do not use the server.xml configuration (Spring
Framework). The server runs embedded and is configured programatically.

One option would be to add your custom components programatically to the
configuration as well.

Greetings,
    Stefan


------=_Part_2326_15042068.1192741043966--