Uncommented tests which now work due to apache-ds bugfixes

This commit is contained in:
Luke Taylor 2007-02-06 18:21:31 +00:00
parent 0d9cae43bf
commit 25bc67885d
1 changed files with 2 additions and 5 deletions

View File

@ -23,7 +23,6 @@ import javax.naming.directory.DirContext;
/**
*
DOCUMENT ME!
*
* @author Luke Taylor
* @version $Id$
@ -42,8 +41,7 @@ public class LdapTemplateTests extends AbstractLdapServerTestCase {
}
public void testCompareOfCorrectByteValueSucceeds() {
// Doesn't work with embedded server due to bugs in apacheds
// assertTrue(template.compare("uid=bob,ou=people,dc=acegisecurity,dc=org", "userPassword", LdapUtils.getUtf8Bytes("bobspassword")));
assertTrue(template.compare("uid=bob,ou=people,dc=acegisecurity,dc=org", "userPassword", LdapUtils.getUtf8Bytes("bobspassword")));
}
public void testCompareOfCorrectValueSucceeds() {
@ -51,8 +49,7 @@ public class LdapTemplateTests extends AbstractLdapServerTestCase {
}
public void testCompareOfWrongByteValueFails() {
// Doesn't work with embedded server due to bugs in apacheds
// assertFalse(template.compare("uid=bob,ou=people,dc=acegisecurity,dc=org", "userPassword", LdapUtils.getUtf8Bytes("wrongvalue")));
assertFalse(template.compare("uid=bob,ou=people,dc=acegisecurity,dc=org", "userPassword", LdapUtils.getUtf8Bytes("wrongvalue")));
}
public void testCompareOfWrongValueFails() {