org.alfresco.repo.security.person
Class PersonTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.security.person.PersonTest
All Implemented Interfaces:
junit.framework.Test

public class PersonTest
extends junit.framework.TestCase


Constructor Summary
PersonTest()
           
 
Method Summary
 void setUp()
           
protected  void tearDown()
           
 void testCaseSensitive()
           
 void testCheckForDuplicateCaseInsensitive()
           
 void testCheckForDuplicateCaseSensitive()
           
 void testCheckForIndirectUsage()
           
 void testCreateAndThenDelete()
           
 void testCreateMissingPeople()
           
 void testCreateMissingPeople1()
           
 void testCreateMissingPeople2()
           
 void testDeleteDuplicates()
           
 void testDeletePerson()
           
 void testDisableEnableAdmin()
           
 void testDisableEnablePerson()
           
 void testMutableProperties()
           
 void testNotifyPerson()
           
 void testPeopleFiltering()
           
 void testPeopleSortingPaging()
           
 void testPersonCRUD()
           
 void testPersonCRUD1()
           
 void testPersonCRUD2()
           
 void testReadOnlyTransactionHandling()
           
 void testRenameUser()
           
 void testSplitDuplicates()
           
 void testUpdateUserNameCase()
           
 void testZones()
           
 void xtestLazyHomeFolderCreation()
           
 void xtestPerformance()
           
 void xtestSplitPersonCleanupManyTimes()
          Disabled due to time constraints.
 
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

PersonTest

public PersonTest()
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

xtestLazyHomeFolderCreation

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

testZones

public void testZones()

xtestPerformance

public void xtestPerformance()

testDeletePerson

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

testCreateAndThenDelete

public void testCreateAndThenDelete()

testCreateMissingPeople1

public void testCreateMissingPeople1()

testCreateMissingPeople2

public void testCreateMissingPeople2()

testCreateMissingPeople

public void testCreateMissingPeople()

testMutableProperties

public void testMutableProperties()

testPersonCRUD1

public void testPersonCRUD1()

testPersonCRUD2

public void testPersonCRUD2()

testPersonCRUD

public void testPersonCRUD()

testPeopleFiltering

public void testPeopleFiltering()

testPeopleSortingPaging

public void testPeopleSortingPaging()

testCaseSensitive

public void testCaseSensitive()

testReadOnlyTransactionHandling

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

xtestSplitPersonCleanupManyTimes

public void xtestSplitPersonCleanupManyTimes()
                                      throws java.lang.Throwable
Disabled due to time constraints. This does highlight a problem, but one that won't manifest itself critically in the product.

Throws:
java.lang.Throwable

testSplitDuplicates

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

testDeleteDuplicates

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

testCheckForDuplicateCaseInsensitive

public void testCheckForDuplicateCaseInsensitive()

testCheckForDuplicateCaseSensitive

public void testCheckForDuplicateCaseSensitive()

testUpdateUserNameCase

public void testUpdateUserNameCase()

testCheckForIndirectUsage

public void testCheckForIndirectUsage()

testDisableEnablePerson

public void testDisableEnablePerson()

testDisableEnableAdmin

public void testDisableEnableAdmin()

testNotifyPerson

public void testNotifyPerson()

testRenameUser

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


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