classes.org.codehaus.groovy.grails.plugins.springsecurity
Class QuietMethodSecurityInterceptorTests

Unit tests for QuietMethodSecurityInterceptor.

author:
Burt Beckwith

Field Summary
 Authentication _authentication
           
 def _interceptor
           
 
Constructor Summary
QuietMethodSecurityInterceptorTests()
           
 
Method Summary
void setUp()
          
void testInvokeAfterThrowsNotQuiet()
           Test invoke() where afterInvocation throws an exception and quiet is false.
void testInvokeAfterThrowsQuiet()
           Test invoke() where afterInvocation throws an exception and quiet is true.
void testInvokeBeforeThrowsNotQuiet()
           Test invoke() where beforeInvocation() throws an exception and quiet is false.
void testInvokeBeforeThrowsQuiet()
           Test invoke() where beforeInvocation() throws an exception and quiet is true.
void testInvokeThrowsNotQuiet()
           Test invoke() where invoke throws an exception and quiet is false.
void testInvokeThrowsQuiet()
           Test invoke() where invoke throws an exception and quiet is true.
 

Constructor Detail

QuietMethodSecurityInterceptorTests

QuietMethodSecurityInterceptorTests()


Method Detail

setUp

void setUp()


testInvokeAfterThrowsNotQuiet

void testInvokeAfterThrowsNotQuiet()
Test invoke() where afterInvocation throws an exception and quiet is false.


testInvokeAfterThrowsQuiet

void testInvokeAfterThrowsQuiet()
Test invoke() where afterInvocation throws an exception and quiet is true.


testInvokeBeforeThrowsNotQuiet

void testInvokeBeforeThrowsNotQuiet()
Test invoke() where beforeInvocation() throws an exception and quiet is false.


testInvokeBeforeThrowsQuiet

void testInvokeBeforeThrowsQuiet()
Test invoke() where beforeInvocation() throws an exception and quiet is true.


testInvokeThrowsNotQuiet

void testInvokeThrowsNotQuiet()
Test invoke() where invoke throws an exception and quiet is false.


testInvokeThrowsQuiet

void testInvokeThrowsQuiet()
Test invoke() where invoke throws an exception and quiet is true.