org.alfresco.repo.avm.locking
Class AVMLockingServiceTest

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

public class AVMLockingServiceTest
extends junit.framework.TestCase

Tests for WCM (web project) locking - AVMLockingService & AVMLockingAwareService


Constructor Summary
AVMLockingServiceTest()
           
 
Method Summary
protected  void setUp()
           
protected  void setupBasicTree0()
          Setup a basic tree.
protected  void tearDown()
           
 void testAll()
           
 void testGroupBasedLocking()
           
 void testLockingAwareService()
          Minimal testing of Locking Aware service.
 void testLockingAwareServiceFileRename()
           
 void testLockModification()
           
 void testRoleBasedLocking()
           
 
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

AVMLockingServiceTest

public AVMLockingServiceTest()
Method Detail

setUp

protected 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

testAll

public void testAll()
             throws java.lang.Exception
Throws:
java.lang.Exception

testRoleBasedLocking

public void testRoleBasedLocking()

testGroupBasedLocking

public void testGroupBasedLocking()

testLockModification

public void testLockModification()

testLockingAwareService

public void testLockingAwareService()
                             throws java.lang.Exception
Minimal testing of Locking Aware service.

Throws:
java.lang.Exception

testLockingAwareServiceFileRename

public void testLockingAwareServiceFileRename()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

setupBasicTree0

protected void setupBasicTree0()
                        throws java.io.IOException
Setup a basic tree.

Throws:
java.io.IOException


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