Package ubic.gemma.persistence.util
Class AclQueryUtilsTest
java.lang.Object
org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
ubic.gemma.core.util.test.BaseTest
ubic.gemma.core.util.test.BaseIntegrationTest
ubic.gemma.core.util.test.BaseSpringContextTest
ubic.gemma.persistence.util.AclQueryUtilsTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
-
Field Summary
Fields inherited from class ubic.gemma.core.util.test.BaseSpringContextTest
externalDatabaseService, log, persisterHelper, rule, taxonService, testHelperFields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ubic.gemma.core.util.test.BaseSpringContextTest
addTestAnalyses, countRowsInTable, deleteFromTables, getJdbcTemplate, getNewTestPersistentCompleteExpressionExperiment, getTaxon, getTestNonPersistentBioSequence, getTestPersistentArrayDesign, getTestPersistentArrayDesign, getTestPersistentArrayDesign, getTestPersistentBasicExpressionExperiment, getTestPersistentBasicExpressionExperiment, getTestPersistentBibliographicReference, getTestPersistentBioAssay, getTestPersistentBioAssay, getTestPersistentBioMaterial, getTestPersistentBioMaterial, getTestPersistentBioSequence, getTestPersistentBioSequence, getTestPersistentBioSequence2GeneProducts, getTestPersistentBlatResult, getTestPersistentBlatResult, getTestPersistentCompleteExpressionExperiment, getTestPersistentCompleteExpressionExperimentWithSequences, getTestPersistentCompleteExpressionExperimentWithSequences, getTestPersistentContact, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentExpressionExperiment, getTestPersistentExpressionExperiment, getTestPersistentGene, getTestPersistentGene, getTestPersistentGeneProduct, getTestPersistentQuantitationType, randomName, resetTestCollectionSize, runAsAdmin, runAsAgent, runAsAnonymous, runAsUser, runAsUser, setTestCollectionSizeMethods inherited from class ubic.gemma.core.util.test.BaseIntegrationTest
setUpAuthentication, tearDownSecurityContextMethods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
Constructor Details
-
AclQueryUtilsTest
public AclQueryUtilsTest()
-
-
Method Details
-
setUp
public void setUp() -
tearDown
public void tearDown() -
testSecurableEntitiesNamesAreUnchanged
public void testSecurableEntitiesNamesAreUnchanged()Since ACL relies on the class name, and these class names are stored in the database, we must ensure that they are never changed. -
testFormAclJoinClauseAsAdmin
public void testFormAclJoinClauseAsAdmin() -
testFormAclJoinClauseAsNonAdminIncludesAoiEntriesInnerJointure
public void testFormAclJoinClauseAsNonAdminIncludesAoiEntriesInnerJointure() -
testAddAclJoinParameters
public void testAddAclJoinParameters() -
testFormNativeAclJoinClause
public void testFormNativeAclJoinClause() -
testFormNativeAclJoinClauseAsAnonymous
public void testFormNativeAclJoinClauseAsAnonymous() -
testFormNativeRestrictionClause
public void testFormNativeRestrictionClause() -
testFormNativeRestrictionClauseAsAnonymous
public void testFormNativeRestrictionClauseAsAnonymous() -
testAsAdmin
public void testAsAdmin() -
testAsUser
public void testAsUser() -
testAsAnonymous
public void testAsAnonymous() -
testNative
public void testNative() -
testNativeAsUser
public void testNativeAsUser() -
testNativeAsAnonymous
public void testNativeAsAnonymous()
-