public abstract class HooksTests
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected BmTestContext |
bmContext |
protected ItemValue<Server> |
dataLocationServer |
protected ItemValue<Domain> |
domain |
protected static java.lang.String |
DOMAIN_UID |
protected Container |
domainContainer |
protected Container |
domainsContainer |
protected ItemStore |
groupItemStore |
protected GroupStore |
groupStore |
protected ContainerGroupStoreService |
groupStoreService |
protected MailboxStoreService |
mailboxStore |
protected java.lang.String |
mailSmtpTestIp |
protected java.util.List<java.lang.String> |
mapsFileNames |
protected Domain |
testDomain |
protected ItemStore |
userItemStore |
protected ContainerUserStoreService |
userStoreService |
Constructor and Description |
---|
HooksTests() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
protected void |
compareMapContent(java.lang.String mapPath,
java.util.HashMap<java.lang.String,java.util.Set<java.lang.String>> expectedContent) |
protected void |
compareMapContent(java.lang.String serverIp,
java.lang.String mapPath,
java.util.HashMap<java.lang.String,java.util.Set<java.lang.String>> expectedContent) |
protected ItemValue<Mailbox> |
createMailbox(Mailbox mbox) |
protected void |
createMailbox(java.lang.String uid,
Mailbox mbox) |
protected ItemValue<Group> |
createTestGroup(boolean withEmail) |
protected Group |
defaultGroup() |
protected Mailbox |
defaultMailbox(Mailbox.Routing routing,
boolean withAlias) |
protected Domain |
domainItem(java.lang.String domainUid) |
protected java.util.Map<java.lang.String,java.lang.String> |
domainSettings() |
protected abstract java.lang.String |
getServerIp() |
protected abstract java.lang.String |
getTestTag() |
protected void |
rmMaps(java.lang.String[] nodeIps) |
protected void |
updateTestDomain(Domain domain) |
protected void |
updateTestDomainSettings(java.lang.String domainUid,
java.lang.String key,
java.lang.String value) |
protected static final java.lang.String DOMAIN_UID
protected java.lang.String mailSmtpTestIp
protected Container domainContainer
protected ItemStore groupItemStore
protected GroupStore groupStore
protected ContainerGroupStoreService groupStoreService
protected ContainerUserStoreService userStoreService
protected ItemStore userItemStore
protected Container domainsContainer
protected BmTestContext bmContext
protected MailboxStoreService mailboxStore
protected Domain testDomain
protected java.util.List<java.lang.String> mapsFileNames
public void before() throws java.lang.Exception
java.lang.Exception
protected abstract java.lang.String getTestTag()
protected abstract java.lang.String getServerIp()
protected Domain domainItem(java.lang.String domainUid) throws ServerFault
ServerFault
protected java.util.Map<java.lang.String,java.lang.String> domainSettings()
public void after() throws java.lang.Exception
java.lang.Exception
protected Mailbox defaultMailbox(Mailbox.Routing routing, boolean withAlias)
protected ItemValue<Mailbox> createMailbox(Mailbox mbox) throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
protected void createMailbox(java.lang.String uid, Mailbox mbox) throws ServerFault
ServerFault
protected void compareMapContent(java.lang.String mapPath, java.util.HashMap<java.lang.String,java.util.Set<java.lang.String>> expectedContent) throws java.io.IOException, ServerFault
java.io.IOException
ServerFault
protected void compareMapContent(java.lang.String serverIp, java.lang.String mapPath, java.util.HashMap<java.lang.String,java.util.Set<java.lang.String>> expectedContent) throws java.io.IOException, ServerFault
java.io.IOException
ServerFault
protected void rmMaps(java.lang.String[] nodeIps) throws ServerFault
ServerFault
protected ItemValue<Group> createTestGroup(boolean withEmail) throws ServerFault
ServerFault
protected Group defaultGroup()
protected void updateTestDomain(Domain domain) throws ServerFault
ServerFault
protected void updateTestDomainSettings(java.lang.String domainUid, java.lang.String key, java.lang.String value) throws ServerFault
ServerFault
Copyright © 2021. All Rights Reserved.