public class FilterAttributesTest extends Object
FilterAttributes unit test.| Modifier and Type | Class and Description |
|---|---|
private static class |
FilterAttributesTest.FilterService |
private class |
FilterAttributesTest.MockUncloneableAttribute
IdPAttribute which always throws a CloneNotSupportedException. |
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.profile.context.ProfileRequestContext |
prc |
private org.springframework.webflow.execution.RequestContext |
src |
| Constructor and Description |
|---|
FilterAttributesTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUpAction() |
void |
testFilterAttributesAutoCreateFilterContext()
Test that the action filters attributes and proceeds properly while auto-creating a filter context.
|
void |
testFilterAttributesExistingFilterContext()
Test that the action filters attributes and proceeds properly with an existing filter context.
|
void |
testNoAttributeContext()
Test that the action proceeds properly if there is no attribute context.
|
void |
testNoAttributes()
Test that the action proceeds properly if there are no attributes to filter .
|
void |
testUnableToFilterAttributes()
Test that action returns the proper event if the attributes are not able to be filtered.
|
void |
testUnableToFindFilter()
Test that action returns the proper event if the attribute configuration is broken
|
private org.springframework.webflow.execution.RequestContext src
private org.opensaml.profile.context.ProfileRequestContext prc
public void setUpAction()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionpublic void testNoAttributeContext()
throws Exception
Exceptionpublic void testNoAttributes()
throws Exception
Exceptionpublic void testFilterAttributesAutoCreateFilterContext()
throws Exception
Exceptionpublic void testFilterAttributesExistingFilterContext()
throws Exception
Exceptionpublic void testUnableToFilterAttributes()
throws Exception
ExceptionCopyright © 1999–2015. All rights reserved.