summaryrefslogtreecommitdiffstats
path: root/src/test/java/com/gitblit/tests/LdapBasedUnitTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Use dynamic port selection for LDAP listeners in LDAP tests.Florian Zschocke2016-12-061-10/+11
| | | | | | | Instead of using fixed ports for the listeners of the in-memory LDAP server, let the listeners select ports and then save them in the authentication mode instance. This way we prevent port collisions, which especially showed up under Windows.
* Create base unit test class for LDAP tests.Florian Zschocke2016-11-231-0/+409
Extract the creation of the in-memory servers and the interceptor code to a base class that LDAP related unit tests can extend to have the servers available.