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.Exceptionprotected IHSM getService(SecurityContext context) throws ServerFault
ServerFaultprotected IInCoreHSM getInternalService(SecurityContext context) throws ServerFault
ServerFaultpublic void after()
           throws java.lang.Exception
java.lang.Exceptionpublic void testUserPolicy()
                    throws ServerFault
ServerFaultpublic void userPolicySameAsParentPolicy()
                                  throws java.sql.SQLException
java.sql.SQLExceptionpublic void getParentPolicyForGroupWithNoPolicy()
public void groupPolicySameAsParentPolicy()
                                   throws java.sql.SQLException
java.sql.SQLExceptionpublic void testGroupPolicy()
                     throws ServerFault
ServerFaultpublic void testDomainPolicy()
                      throws ServerFault
ServerFaultpublic void testGettingNonExistentPolicyShouldReturnNull()
                                                  throws ServerFault
ServerFaultpublic void testPolicy()
                throws ServerFault
ServerFaultpublic void testDemote()
                throws java.lang.Exception
java.lang.Exceptionpublic void testDemoteSubFolder()
                         throws java.lang.Exception
java.lang.Exceptionpublic void userStoragePolicyIfNoDomainPolicy()
public void groupStoragePolicyIfNoDomainPolicy()
public void testDemoteWithQuota()
                         throws java.lang.Exception
java.lang.Exceptionpublic void testPromote()
                 throws java.lang.Exception
java.lang.Exceptionpublic void testGetArchiveSize()
                        throws org.apache.james.mime4j.MimeException,
                               java.io.IOException,
                               ServerFault,
                               IMAPException
org.apache.james.mime4j.MimeExceptionjava.io.IOExceptionServerFaultIMAPExceptionpublic void removeGroupWithSpecificStoragePolicy()
public void testDemoteMultiple()
                        throws java.lang.Exception
java.lang.Exceptionpublic void testPromoteMultiple()
                         throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteAllPolicies()
                           throws ServerFault
ServerFaultCopyright © 2021. All Rights Reserved.