use of com.zimbra.cs.ldap.ZLdapFilter in project zm-mailbox by Zimbra.
the class TestLdapZLdapFilter method dataSourceByName.
@Test
public void dataSourceByName() throws Exception {
String NAME = getTestName();
String filter = LegacyLdapFilter.dataSourceByName(NAME);
ZLdapFilter zLdapFilter = filterDactory.dataSourceByName(NAME);
verify(FilterId.DATA_SOURCE_BY_NAME, filter, zLdapFilter);
}
use of com.zimbra.cs.ldap.ZLdapFilter in project zm-mailbox by Zimbra.
the class TestLdapZLdapFilter method calendarResourcesHomedOnServer.
@Test
public void calendarResourcesHomedOnServer() throws Exception {
Server SERVER = prov.getLocalServer();
String filter = LegacyLdapFilter.calendarResourcesHomedOnServer(SERVER.getServiceHostname());
ZLdapFilter zLdapFilter = filterDactory.calendarResourcesHomedOnServer(SERVER.getServiceHostname());
verify(FilterId.CALENDAR_RESOURCES_HOMED_ON_SERVER, filter, zLdapFilter);
}
use of com.zimbra.cs.ldap.ZLdapFilter in project zm-mailbox by Zimbra.
the class TestLdapZLdapFilter method allDomains.
@Test
public void allDomains() throws Exception {
String filter = LegacyLdapFilter.allDomains();
ZLdapFilter zLdapFilter = filterDactory.allDomains();
verify(FilterId.ALL_DOMAINS, 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 homedOnServer.
@Test
public void homedOnServer() throws Exception {
Server SERVER = prov.getLocalServer();
String filter = LegacyLdapFilter.homedOnServer(SERVER.getServiceHostname());
ZLdapFilter zLdapFilter = filterDactory.homedOnServer(SERVER.getServiceHostname());
verify(FilterId.HOMED_ON_SERVER, filter, zLdapFilter);
}
Aggregations