org.alfresco.repo.security.authority
Class AuthorityServiceTest

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

public class AuthorityServiceTest
extends junit.framework.TestCase


Constructor Summary
AuthorityServiceTest()
           
 
Method Summary
 void setUp()
           
protected  void tearDown()
           
 void test_AR_1510()
           
 void test_AR_1517__AND__AR_1411()
          Test toknisation of group members
 void test_ETWOTWO_400()
           
 void testAdminGroup()
           
 void testAdminUser()
           
 void testAuthorities()
           
 void testAuthorityDisplayNames()
           
 void testCreateAdminAuth()
           
 void testCreateAuth()
           
 void testCreateAuthNet()
           
 void testCreateAuthNet2()
           
 void testCreateAuthTree()
           
 void testCreateEveryoneAuth()
           
 void testCreateGuestAuth()
           
 void testCreateOwnerAuth()
           
 void testCreateRootAuth()
           
 void testCreateUserAuth()
           
 void testGetAuthoritiesFilteringSorting()
           
 void testGetAuthorityNodeRef()
           
 void testGroupNameTokenisation()
           
 void testGroupWildcards()
           
 void testNonAdminUser()
           
 void testNoUser()
           
 void testZones()
           
 
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

AuthorityServiceTest

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

testZones

public void testZones()

test_ETWOTWO_400

public void test_ETWOTWO_400()

testGroupWildcards

public void testGroupWildcards()

testNonAdminUser

public void testNonAdminUser()

testAdminUser

public void testAdminUser()

testNoUser

public void testNoUser()

testAuthorities

public void testAuthorities()

testCreateAdminAuth

public void testCreateAdminAuth()

testCreateEveryoneAuth

public void testCreateEveryoneAuth()

testCreateGuestAuth

public void testCreateGuestAuth()

testCreateOwnerAuth

public void testCreateOwnerAuth()

testCreateUserAuth

public void testCreateUserAuth()

testCreateRootAuth

public void testCreateRootAuth()

testCreateAuth

public void testCreateAuth()

testCreateAuthTree

public void testCreateAuthTree()

testCreateAuthNet

public void testCreateAuthNet()

testCreateAuthNet2

public void testCreateAuthNet2()

testGetAuthorityNodeRef

public void testGetAuthorityNodeRef()

test_AR_1510

public void test_AR_1510()

test_AR_1517__AND__AR_1411

public void test_AR_1517__AND__AR_1411()
Test toknisation of group members


testGroupNameTokenisation

public void testGroupNameTokenisation()

testAdminGroup

public void testAdminGroup()

testAuthorityDisplayNames

public void testAuthorityDisplayNames()

testGetAuthoritiesFilteringSorting

public void testGetAuthoritiesFilteringSorting()


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