org.acegisecurity.intercept
Class AbstractSecurityInterceptorTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.acegisecurity.intercept.AbstractSecurityInterceptorTests
All Implemented Interfaces:
junit.framework.Test

public class AbstractSecurityInterceptorTests
extends junit.framework.TestCase

Tests some AbstractSecurityInterceptor methods. Most of the testing for this class is found in the MethodSecurityInterceptorTests class.

Version:
$Id: AbstractSecurityInterceptorTests.java 1496 2006-05-23 13:38:33Z benalex $
Author:
Ben Alex

Constructor Summary
AbstractSecurityInterceptorTests()
           
AbstractSecurityInterceptorTests(String arg0)
           
 
Method Summary
static void main(String[] args)
           
 void testDetectsIfInvocationPassedIncompatibleSecureObject()
           
 void testDetectsViolationOfGetSecureObjectClassMethod()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractSecurityInterceptorTests

public AbstractSecurityInterceptorTests()

AbstractSecurityInterceptorTests

public AbstractSecurityInterceptorTests(String arg0)
Method Detail

main

public static void main(String[] args)

testDetectsIfInvocationPassedIncompatibleSecureObject

public void testDetectsIfInvocationPassedIncompatibleSecureObject()
                                                           throws Exception
Throws:
Exception

testDetectsViolationOfGetSecureObjectClassMethod

public void testDetectsViolationOfGetSecureObjectClassMethod()
                                                      throws Exception
Throws:
Exception


Copyright © 2004-2008 Interface21, Inc. All Rights Reserved.