org.springframework.richclient.security.support
Class SecurityControllerTests

Show UML class diagram
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.richclient.security.support.SecurityControllerTests
All Implemented Interfaces:
junit.framework.Test

public class SecurityControllerTests
extends junit.framework.TestCase

Author:
Larry Streepy

Nested Class Summary
 class SecurityControllerTests.TestAbstractSecurityController
          Concrete implementation under test.
 class SecurityControllerTests.TestAccessDecisionManager
          Controllable AccessDecisionManager
 
Constructor Summary
SecurityControllerTests()
           
 
Method Summary
protected  void setUp()
           
 void testAddControlledObject()
          Test that added objects are initially configured.
 void testRemoveControlledObject()
          Test that once removed an object is no longer updated.
 void testSetAuthenticationToken()
          Test that setting the authentication token updates all controlled objects.
 void testSetControlledObjects()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

SecurityControllerTests

public SecurityControllerTests()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testSetAuthenticationToken

public void testSetAuthenticationToken()
Test that setting the authentication token updates all controlled objects.


testSetControlledObjects

public void testSetControlledObjects()

testAddControlledObject

public void testAddControlledObject()
Test that added objects are initially configured.


testRemoveControlledObject

public void testRemoveControlledObject()
Test that once removed an object is no longer updated.



Copyright © 2004-2009 The Spring Framework. All Rights Reserved.