Class AddGrantTypeToClientMetadataTest
- java.lang.Object
-
- net.shibboleth.idp.plugin.oidc.op.profile.impl.BaseOIDCClientMetadataPopulationTest
-
- net.shibboleth.idp.plugin.oidc.op.profile.impl.AddGrantTypeToClientMetadataTest
-
public class AddGrantTypeToClientMetadataTest extends BaseOIDCClientMetadataPopulationTest
Unit tests forAddGrantTypeToClientMetadata.
-
-
Field Summary
-
Fields inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.BaseOIDCClientMetadataPopulationTest
action, profileRequestCtx, requestCtx
-
-
Constructor Summary
Constructors Constructor Description AddGrantTypeToClientMetadataTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractOIDCClientMetadataPopulationActionconstructAction()voidsetUp()voidtestAll()voidtestAuthzCode()protected voidtestGrantTypes(com.nimbusds.oauth2.sdk.GrantType... grantTypes)protected voidtestGrantTypes(List<com.nimbusds.oauth2.sdk.GrantType> ignoredTypes, String expectedEventId, com.nimbusds.oauth2.sdk.GrantType... grantTypes)voidtestImplicit()voidtestNoRequest()voidtestNotSupported()voidtestOneNotSupported()voidtestRefresh()voidtestTwo()-
Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.BaseOIDCClientMetadataPopulationTest
initializeNullLookup, setUpContext, testNoRequestMetadata, testNoResponseMetadata, testNullInputStrategy, testNullOutputStrategy
-
-
-
-
Method Detail
-
constructAction
protected net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractOIDCClientMetadataPopulationAction constructAction()
- Specified by:
constructActionin classBaseOIDCClientMetadataPopulationTest
-
setUp
@BeforeMethod public void setUp() throws ComponentInitializationException
- Throws:
ComponentInitializationException
-
testNoRequest
public void testNoRequest() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testNotSupported
public void testNotSupported() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testOneNotSupported
public void testOneNotSupported() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testAuthzCode
public void testAuthzCode() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testImplicit
public void testImplicit() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testRefresh
public void testRefresh() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testTwo
public void testTwo() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testAll
public void testAll() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testGrantTypes
protected void testGrantTypes(com.nimbusds.oauth2.sdk.GrantType... grantTypes) throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testGrantTypes
protected void testGrantTypes(List<com.nimbusds.oauth2.sdk.GrantType> ignoredTypes, String expectedEventId, com.nimbusds.oauth2.sdk.GrantType... grantTypes) throws ComponentInitializationException
- Throws:
ComponentInitializationException
-
-