Class CrowdIntegrationTestHelper
java.lang.Object
com.atlassian.integrationtest.confluence.user.persistence.dao.hibernate.CrowdIntegrationTestHelper
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaddTestAttributes(com.atlassian.crowd.model.user.UserTemplateWithCredentialAndAttributes user) static Stringstatic voidassertEqualsTestAttributes(com.atlassian.crowd.embedded.api.Attributes attributes) static voidassertEqualsTestAttributes(com.atlassian.crowd.model.group.InternalGroup group) static voidassertEqualsTestAttributes(com.atlassian.crowd.model.user.InternalUser user) static Stringstatic org.hamcrest.Matcher<com.atlassian.crowd.model.group.InternalGroupAttribute> hasAttributeWith(com.atlassian.crowd.model.group.InternalGroup group, String name, String value) static org.hamcrest.Matcher<com.atlassian.crowd.model.user.InternalUserAttribute> hasAttributeWith(com.atlassian.crowd.model.user.InternalUser user, String name, String value) static org.hamcrest.Matcher<Iterable<? extends com.atlassian.crowd.model.group.InternalGroupAttribute>> hasTestAttributes(com.atlassian.crowd.model.group.InternalGroup group) static org.hamcrest.Matcher<Iterable<? extends com.atlassian.crowd.model.user.InternalUserAttribute>> hasTestAttributes(com.atlassian.crowd.model.user.InternalUser user) static org.hamcrest.Matcher<com.atlassian.crowd.model.user.User> hasUserWithProperties(String name, long directoryId) static Stringstatic com.atlassian.crowd.model.application.ApplicationImplsaveTestApplication(org.hibernate.SessionFactory sessionFactory, String applicationName) static voidsaveTestAttributes(org.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.model.group.InternalGroup group) static voidsaveTestAttributes(org.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.model.user.InternalUser user) static com.atlassian.crowd.model.directory.DirectoryImplsaveTestDirectory(org.hibernate.SessionFactory sessionFactory) static com.atlassian.crowd.model.directory.DirectoryImplsaveTestDirectory(org.hibernate.SessionFactory sessionFactory, String directoryName) static com.atlassian.crowd.model.directory.DirectoryImplsaveTestDirectory(org.hibernate.SessionFactory sessionFactory, String directoryName, Set<com.atlassian.crowd.embedded.api.OperationType> allowedOperations) static com.atlassian.crowd.model.group.InternalGroupsaveTestGroup(org.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.embedded.api.Directory directory) static com.atlassian.crowd.model.group.InternalGroupsaveTestGroup(org.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.embedded.api.Directory directory, String name) static com.atlassian.crowd.model.user.InternalUsersaveTestUser(org.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.embedded.api.Directory directory) static com.atlassian.crowd.model.user.InternalUsersaveTestUser(org.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.model.user.User testUserData, com.atlassian.crowd.embedded.api.Directory directory) 
- 
Constructor Details- 
CrowdIntegrationTestHelperpublic CrowdIntegrationTestHelper()
 
- 
- 
Method Details- 
saveTestDirectorypublic static com.atlassian.crowd.model.directory.DirectoryImpl saveTestDirectory(org.hibernate.SessionFactory sessionFactory) 
- 
saveTestDirectorypublic static com.atlassian.crowd.model.directory.DirectoryImpl saveTestDirectory(org.hibernate.SessionFactory sessionFactory, String directoryName) 
- 
saveTestDirectory
- 
saveTestApplicationpublic static com.atlassian.crowd.model.application.ApplicationImpl saveTestApplication(org.hibernate.SessionFactory sessionFactory, String applicationName) 
- 
saveTestUserpublic static com.atlassian.crowd.model.user.InternalUser saveTestUser(org.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.embedded.api.Directory directory) 
- 
saveTestUserpublic static com.atlassian.crowd.model.user.InternalUser saveTestUser(org.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.model.user.User testUserData, com.atlassian.crowd.embedded.api.Directory directory) 
- 
saveTestGrouppublic static com.atlassian.crowd.model.group.InternalGroup saveTestGroup(org.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.embedded.api.Directory directory) 
- 
saveTestGrouppublic static com.atlassian.crowd.model.group.InternalGroup saveTestGroup(org.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.embedded.api.Directory directory, String name) 
- 
addTestAttributespublic static void addTestAttributes(com.atlassian.crowd.model.user.UserTemplateWithCredentialAndAttributes user) 
- 
saveTestAttributespublic static void saveTestAttributes(org.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.model.group.InternalGroup group) 
- 
saveTestAttributespublic static void saveTestAttributes(org.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.model.user.InternalUser user) 
- 
assertEqualsTestAttributespublic static void assertEqualsTestAttributes(com.atlassian.crowd.model.user.InternalUser user) 
- 
assertEqualsTestAttributespublic static void assertEqualsTestAttributes(com.atlassian.crowd.model.group.InternalGroup group) 
- 
hasTestAttributespublic static org.hamcrest.Matcher<Iterable<? extends com.atlassian.crowd.model.user.InternalUserAttribute>> hasTestAttributes(com.atlassian.crowd.model.user.InternalUser user) 
- 
hasTestAttributespublic static org.hamcrest.Matcher<Iterable<? extends com.atlassian.crowd.model.group.InternalGroupAttribute>> hasTestAttributes(com.atlassian.crowd.model.group.InternalGroup group) 
- 
hasAttributeWith
- 
hasAttributeWith
- 
assertEqualsTestAttributespublic static void assertEqualsTestAttributes(com.atlassian.crowd.embedded.api.Attributes attributes) 
- 
hasUserWithPropertiespublic static org.hamcrest.Matcher<com.atlassian.crowd.model.user.User> hasUserWithProperties(String name, long directoryId) 
- 
anotherGroupName
- 
parentGroupName
- 
childGroupName
 
-