You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Barry Guillaume <gb...@sopragroup.com> on 2009/12/22 18:20:02 UTC
ApacheDS avec Unit Testing
Hi,
I tryed the sample described in chapter "Creating blank test" with last ApacheDS 1.5.5
http://directory.apache.org/apacheds/1.5/42-using-apacheds-for-unit-tests.html
I got two compilation errors :
One on
@RunWith ( SiRunner.class )
It says it can't convert it to Runner
And One on
import org.apache.directory.server.ldap.LdapService;
It doesn't find the class in org.apache.directory.server.ldap (neither do I)
Any idea of what I have to change to make it work ?
The only difference is that I use 1.5.5 instead 1.5.5-SNAPSHOT in the maven dependencies
Regards,
Guillaume BARRY
Architecte - Evolan Technical Architecture
Sopra group.
3, rue du Pré Faucon
PAE - Les Glaisins - BP238 - 74942 Annecy-le-Vieux Cedex
Phone : +33 (0)4 50 33 31 43
gbarry@sopragroup.com - www.sopragroup.com <http://www.sopragroup.com/>
Ce message peut contenir des informations confidentielles dont la divulgation est à ce titre rigoureusement interdite en l'absence d'autorisation explicite de l'émetteur. Dans l'hypothèse où vous auriez reçu par erreur ce message, merci de le renvoyer à l'émetteur et de détruire toute copie.
This message may contain confidential and proprietary material for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
P Pensez à l'environnement avant d'imprimer / Before printing, think about the environment.
Re: ApacheDS avec Unit Testing
Posted by Stefan Seelmann <se...@apache.org>.
Hi Barry,
Barry Guillaume wrote:
> Hi,
> I tryed the sample described in chapter "Creating blank test" with last ApacheDS 1.5.5
> http://directory.apache.org/apacheds/1.5/42-using-apacheds-for-unit-tests.html
Sorry, this page is out of date.
We have an maven archtype that creates some unit test examples. It works
with 1.5.5. Please try to follow this page:
http://directory.apache.org/apacheds/1.5/01-reporting-bugs.html
Otherwise, take a look at the unit tests for 1.5.5:
http://svn.apache.org/viewvc/directory/apacheds/tags/1.5.5/server-integ/
>
> I got two compilation errors :
> One on
> @RunWith ( SiRunner.class )
> It says it can't convert it to Runner
No idea. Make sure you import org.apache.directory.server.integ.SiRunner
> And One on
> import org.apache.directory.server.ldap.LdapService;
LdapService has been renamed to LdapServer.
Kind Regards,
Stefan