|
|
|
@ -52,14 +52,6 @@ public class AfterInvocationProviderManagerTests extends TestCase { |
|
|
|
|
|
|
|
|
|
|
|
//~ Methods ========================================================================================================
|
|
|
|
//~ Methods ========================================================================================================
|
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
|
|
|
|
junit.textui.TestRunner.run(AfterInvocationProviderManagerTests.class); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public final void setUp() throws Exception { |
|
|
|
|
|
|
|
super.setUp(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void testCorrectOperation() throws Exception { |
|
|
|
public void testCorrectOperation() throws Exception { |
|
|
|
AfterInvocationProviderManager manager = new AfterInvocationProviderManager(); |
|
|
|
AfterInvocationProviderManager manager = new AfterInvocationProviderManager(); |
|
|
|
List list = new Vector(); |
|
|
|
List list = new Vector(); |
|
|
|
@ -170,8 +162,6 @@ public class AfterInvocationProviderManagerTests extends TestCase { |
|
|
|
this.configAttribute = configAttribute; |
|
|
|
this.configAttribute = configAttribute; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private MockAfterInvocationProvider() {} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Object decide(Authentication authentication, Object object, ConfigAttributeDefinition config, |
|
|
|
public Object decide(Authentication authentication, Object object, ConfigAttributeDefinition config, |
|
|
|
Object returnedObject) throws AccessDeniedException { |
|
|
|
Object returnedObject) throws AccessDeniedException { |
|
|
|
if (config.contains(configAttribute)) { |
|
|
|
if (config.contains(configAttribute)) { |
|
|
|
|