directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom <>
Subject Re: Unittesting
Date Fri, 09 Oct 2009 09:40:31 GMT
Hello Stefan,

You example does not compile against 1.5.5, so ATM I'm falling back to 
1.0.2; after all I just need a LDAP server that can be run in a unit 
test, doesn't have to be the latest.

The 1.0.2 unittest does not play well with the annotation support of 
junit, so I have to work around that a bit. Right now I'm battling that 
the service can't delete the work directory.


Tom wrote:
> I've downloaded DS1.5.5 and tried to setup a unittest as described at
> I got all kind of missing classes. But I was not able to correc that, 
> because the jars in the distribution do not match what's documented 
> here. So I unpacked all jars in the distribution in order to find the 
> correct jars, but many classes simply are not present, like "SiRunner".
> So I tried the next page in the tutorial (embedding a ApacheDS 
> service), but this is not working because of the same problems; 
> classes simply are not present (like "LdapService").
> How to can I run ApacheDS 1.5.5 as a server for unittesting LDAP code?
> Tom

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message