org.alfresco.repo.security.permissions.dynamic
Class LockOwnerDynamicAuthorityTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.security.permissions.dynamic.LockOwnerDynamicAuthorityTest
All Implemented Interfaces:
junit.framework.Test

public class LockOwnerDynamicAuthorityTest
extends junit.framework.TestCase

Test the lock owner dynamic authority


Constructor Summary
LockOwnerDynamicAuthorityTest()
           
LockOwnerDynamicAuthorityTest(java.lang.String arg0)
           
 
Method Summary
 void setUp()
           
protected  void tearDown()
           
 void testCheckOutCheckInAuthorities()
           
 void testLockUnlock()
           
 void testPermissionWithLockAspect()
           
 void testPermissionWithNoLockAspect()
           
 void testSetup()
           
 void testUnSet()
           
 
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
 

Constructor Detail

LockOwnerDynamicAuthorityTest

public LockOwnerDynamicAuthorityTest()

LockOwnerDynamicAuthorityTest

public LockOwnerDynamicAuthorityTest(java.lang.String arg0)
Parameters:
arg0 -
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testSetup

public void testSetup()

testUnSet

public void testUnSet()

testPermissionWithNoLockAspect

public void testPermissionWithNoLockAspect()

testPermissionWithLockAspect

public void testPermissionWithLockAspect()

testCheckOutCheckInAuthorities

public void testCheckOutCheckInAuthorities()

testLockUnlock

public void testLockUnlock()


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