use of com.zimbra.cs.ldap.ZLdapFilter in project zm-mailbox by Zimbra.
the class TestLdapZLdapFilter method signatureById.
@Test
public void signatureById() throws Exception {
String ID = genUUID();
String filter = LegacyLdapFilter.signatureById(ID);
ZLdapFilter zLdapFilter = filterDactory.signatureById(ID);
verify(FilterId.SIGNATURE_BY_ID, filter, zLdapFilter);
}
use of com.zimbra.cs.ldap.ZLdapFilter in project zm-mailbox by Zimbra.
the class TestLdapZLdapFilter method createdLaterOrEqual.
@Test
public void createdLaterOrEqual() throws Exception {
String GENERALIZED_TIME = "20111005190522Z";
String filter = LegacyLdapFilter.createdLaterOrEqual(GENERALIZED_TIME);
ZLdapFilter zLdapFilter = filterDactory.createdLaterOrEqual(GENERALIZED_TIME);
verify(FilterId.CREATED_LATEROREQUAL, filter, zLdapFilter);
}
use of com.zimbra.cs.ldap.ZLdapFilter in project zm-mailbox by Zimbra.
the class TestLdapZLdapFilter method memberOf.
@Test
public void memberOf() throws Exception {
String DN = "dc=com";
String filter = LegacyLdapFilter.memberOf(DN);
ZLdapFilter zLdapFilter = filterDactory.memberOf(DN);
verify(FilterId.MEMBER_OF, filter, zLdapFilter);
}
use of com.zimbra.cs.ldap.ZLdapFilter in project zm-mailbox by Zimbra.
the class TestLdapZLdapFilter method allAdminAccounts.
@Test
public void allAdminAccounts() throws Exception {
String filter = LegacyLdapFilter.allAdminAccounts();
ZLdapFilter zLdapFilter = filterDactory.allAdminAccounts();
verify(FilterId.ALL_ADMIN_ACCOUNTS, filter, zLdapFilter);
}
use of com.zimbra.cs.ldap.ZLdapFilter in project zm-mailbox by Zimbra.
the class TestLdapZLdapFilter method accountByName.
@Test
public void accountByName() throws Exception {
String NAME = getTestName();
String filter = LegacyLdapFilter.accountByName(NAME);
ZLdapFilter zLdapFilter = filterDactory.accountByName(NAME);
verify(FilterId.ACCOUNT_BY_NAME, filter, zLdapFilter);
}
Aggregations