org.alfresco.repo.avm
Class WCMInheritPermissionsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.avm.AVMServiceTestBase
              extended by org.alfresco.repo.avm.WCMInheritPermissionsTest
All Implemented Interfaces:
junit.framework.Test

public class WCMInheritPermissionsTest
extends AVMServiceTestBase


Field Summary
protected  org.alfresco.service.cmr.security.PermissionService permissionService
           
 
Fields inherited from class org.alfresco.repo.avm.AVMServiceTestBase
fAuthenticationComponent, fAuthService, fContext, fIndexerAndSearcher, fIndexingInterceptor, fLockingService, fReaper, fRetryingTransactionHelper, fService, fSyncService, fTransactionService
 
Constructor Summary
WCMInheritPermissionsTest()
           
 
Method Summary
protected  void setUp()
          Setup for AVM tests.
 void testSetInheritParentPermissions()
           
 
Methods inherited from class org.alfresco.repo.avm.AVMServiceTestBase
checkHistory, recursiveContents, recursiveList, recursiveList, runQueriesAgainstBasicTree, runQueriesAgainstBasicTreeWithAOnly, setupBasicTree, setupBasicTree0, tearDown, testSetup
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

permissionService

protected org.alfresco.service.cmr.security.PermissionService permissionService
Constructor Detail

WCMInheritPermissionsTest

public WCMInheritPermissionsTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: AVMServiceTestBase
Setup for AVM tests. Note that we set the polling interval for the reaper to 4 seconds so that tests will finish reasonably quickly.

Overrides:
setUp in class AVMServiceTestBase
Throws:
java.lang.Exception

testSetInheritParentPermissions

public void testSetInheritParentPermissions()
                                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.