On Fri, Mar 14, 2014 at 6:14 AM, Tobias Bocanegra <[email protected]> wrote:
> Hi, > > I need to use an LDAP server in one of my unit tests [0]. currently > I'm extending from AbstractServerTest [1] but this looks a bit weird. > Is there a nicer way of doing it? I don't think I can use the > no, no other way, test class should use the @FrameworkRunner and extend from AbstractServerTest > annotation based framework-runner, since I have to extend from my own > base classes. > > Thanks. > Regards, Toby > > [0] > https://github.com/apache/jackrabbit-oak/blob/trunk/oak-auth-ldap/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/LdapLoginTestBase.java > [1] > https://github.com/apache/jackrabbit-oak/blob/trunk/oak-auth-ldap/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/InternalLdapServer.java > -- Kiran Ayyagari http://keydap.com
