public class CalendarAutocompleteServiceTests
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected SecurityContext |
defaultSecurityContext |
Constructor and Description |
---|
CalendarAutocompleteServiceTests() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
void |
calendarGroupLookup() |
void |
calendarLookup() |
void |
calendarLookupAsAdmin() |
protected Container |
createTestContainer(java.lang.String uid,
java.lang.String name,
Verb verb,
boolean isDefault) |
protected java.lang.String |
createTestExternalUser(java.lang.String name,
java.lang.String email) |
protected void |
createTestGroup(java.lang.String uid,
java.lang.String name,
boolean hidden,
boolean hiddenMembers,
Member... members) |
protected void |
createTestGroup(java.lang.String uid,
java.lang.String name,
Member... members) |
protected void |
createTestGroup(java.lang.String uid,
java.lang.String name,
java.lang.String... membersUid) |
protected void |
createTestUser(java.lang.String uid,
java.lang.String firstname,
java.lang.String lastname,
Verb verb) |
void |
externalUsersNotCountedWhenLookingForGroup() |
ICalendarAutocomplete |
getService(SecurityContext context) |
static void |
main(java.lang.String[] args) |
void |
userCreatedCalendarLookup() |
void |
verb() |
protected SecurityContext defaultSecurityContext
public void before() throws java.lang.Exception
java.lang.Exception
protected Container createTestContainer(java.lang.String uid, java.lang.String name, Verb verb, boolean isDefault) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)
protected void createTestUser(java.lang.String uid, java.lang.String firstname, java.lang.String lastname, Verb verb) throws java.sql.SQLException, ServerFault
java.sql.SQLException
ServerFault
protected java.lang.String createTestExternalUser(java.lang.String name, java.lang.String email)
protected void createTestGroup(java.lang.String uid, java.lang.String name, java.lang.String... membersUid) throws java.sql.SQLException, ServerFault
java.sql.SQLException
ServerFault
protected void createTestGroup(java.lang.String uid, java.lang.String name, Member... members) throws java.sql.SQLException, ServerFault
java.sql.SQLException
ServerFault
protected void createTestGroup(java.lang.String uid, java.lang.String name, boolean hidden, boolean hiddenMembers, Member... members) throws java.sql.SQLException, ServerFault
java.sql.SQLException
ServerFault
public void after() throws java.lang.Exception
java.lang.Exception
public ICalendarAutocomplete getService(SecurityContext context) throws ServerFault
ServerFault
public void calendarLookupAsAdmin() throws java.lang.Exception
java.lang.Exception
public void calendarLookup() throws java.lang.Exception
java.lang.Exception
public void userCreatedCalendarLookup() throws java.lang.Exception
java.lang.Exception
public void calendarGroupLookup() throws java.lang.Exception
java.lang.Exception
public void verb() throws java.lang.Exception
java.lang.Exception
public void externalUsersNotCountedWhenLookingForGroup() throws java.lang.Exception
java.lang.Exception
Copyright © 2021. All Rights Reserved.