directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Czurda <hasnoadditi...@gmail.com>
Subject How to use ApacheDS 2.0 for unit tests
Date Sun, 26 Feb 2012 07:40:16 GMT
Hi,

I want to use ApacheDS 2.0 for unit testing as described here:
http://directory.apache.org/apacheds/1.5/42-using-apacheds-for-unit-tests.html
However this document is written for 1.5 and contains some outdated
information.

How can I use my own connection for the tests so that I can verify
certain conditions using connection.exists("...") ?

What does the test class have to look like? I want to test against an
external servier (ie not an embedded one) so that I can still use Studio
to check the current state of the server. The server is running on
localhost, port 10389 and is authenticated with default
"uid=admin,ou=system".

Kind regards,
Christoph

Mime
View raw message