org.springframework.richclient.security.support
Class DefaultSecurityControllerManagerTests

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

public class DefaultSecurityControllerManagerTests
extends junit.framework.TestCase

Author:
Larry Streepy

Nested Class Summary
static class DefaultSecurityControllerManagerTests.TestApplicationLifecycleAdvisor
           
static class DefaultSecurityControllerManagerTests.TestApplicationWindow
          Special ApplicationWindow class for testing.
static class DefaultSecurityControllerManagerTests.TestApplicationWindowFactory
           
 
Constructor Summary
DefaultSecurityControllerManagerTests()
           
 
Method Summary
protected  void setUp()
           
 void testApplicationContext()
          Test the processing of beans referenced in the app context.
 void testAuthorizedOverridesEnabled()
          Test that the authorized state overrides the enabled state
 void testGetSecurityController()
          Test obtaining controllers
 void testRegisterSecurityControllerAlias()
          Test alias registration
 
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

DefaultSecurityControllerManagerTests

public DefaultSecurityControllerManagerTests()
Method Detail

setUp

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

testRegisterSecurityControllerAlias

public void testRegisterSecurityControllerAlias()
Test alias registration


testGetSecurityController

public void testGetSecurityController()
Test obtaining controllers


testApplicationContext

public void testApplicationContext()
Test the processing of beans referenced in the app context.


testAuthorizedOverridesEnabled

public void testAuthorizedOverridesEnabled()
Test that the authorized state overrides the enabled state



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