public class HSMServiceTests
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
domainUid |
Constructor and Description |
---|
HSMServiceTests() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
protected IInCoreHSM |
getInternalService(SecurityContext context) |
void |
getParentPolicyForGroupWithNoPolicy() |
protected IHSM |
getService(SecurityContext context) |
void |
groupPolicySameAsParentPolicy() |
void |
groupStoragePolicyIfNoDomainPolicy() |
void |
removeGroupWithSpecificStoragePolicy() |
void |
testDeleteAllPolicies() |
void |
testDemote() |
void |
testDemoteMultiple() |
void |
testDemoteSubFolder() |
void |
testDemoteWithQuota() |
void |
testDomainPolicy() |
void |
testGetArchiveSize() |
void |
testGettingNonExistentPolicyShouldReturnNull() |
void |
testGroupPolicy() |
void |
testPolicy() |
void |
testPromote() |
void |
testPromoteMultiple() |
void |
testUserPolicy() |
void |
userPolicySameAsParentPolicy() |
void |
userStoragePolicyIfNoDomainPolicy() |
public void before() throws java.lang.Exception
java.lang.Exception
protected IHSM getService(SecurityContext context) throws ServerFault
ServerFault
protected IInCoreHSM getInternalService(SecurityContext context) throws ServerFault
ServerFault
public void after() throws java.lang.Exception
java.lang.Exception
public void testUserPolicy() throws ServerFault
ServerFault
public void userPolicySameAsParentPolicy() throws java.sql.SQLException
java.sql.SQLException
public void getParentPolicyForGroupWithNoPolicy()
public void groupPolicySameAsParentPolicy() throws java.sql.SQLException
java.sql.SQLException
public void testGroupPolicy() throws ServerFault
ServerFault
public void testDomainPolicy() throws ServerFault
ServerFault
public void testGettingNonExistentPolicyShouldReturnNull() throws ServerFault
ServerFault
public void testPolicy() throws ServerFault
ServerFault
public void testDemote() throws java.lang.Exception
java.lang.Exception
public void testDemoteSubFolder() throws java.lang.Exception
java.lang.Exception
public void userStoragePolicyIfNoDomainPolicy()
public void groupStoragePolicyIfNoDomainPolicy()
public void testDemoteWithQuota() throws java.lang.Exception
java.lang.Exception
public void testPromote() throws java.lang.Exception
java.lang.Exception
public void testGetArchiveSize() throws org.apache.james.mime4j.MimeException, java.io.IOException, ServerFault, IMAPException
org.apache.james.mime4j.MimeException
java.io.IOException
ServerFault
IMAPException
public void removeGroupWithSpecificStoragePolicy()
public void testDemoteMultiple() throws java.lang.Exception
java.lang.Exception
public void testPromoteMultiple() throws java.lang.Exception
java.lang.Exception
public void testDeleteAllPolicies() throws ServerFault
ServerFault
Copyright © 2021. All Rights Reserved.