Class RandomIdentifierGenerationStrategyTest
java.lang.Object
net.shibboleth.shared.security.impl.RandomIdentifierGenerationStrategyTest
Unit test for
RandomIdentifierGenerationStrategy.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest default construction.voidTest generateIdentifier by generating a large number of identifiers and seeing whether each one is a valid XML ID, and that they are all different.voidTest construction with invalid parameter spec type.voidTest construction with specific source.voidTest construction with specific source and length.
-
Constructor Details
-
RandomIdentifierGenerationStrategyTest
public RandomIdentifierGenerationStrategyTest()
-
-
Method Details
-
testDefaultInstantiation
public void testDefaultInstantiation() throws InvalidAlgorithmParameterException, NoSuchAlgorithmExceptionTest default construction. -
testSource
Test construction with specific source. -
testSourceAndLength
public void testSourceAndLength() throws InvalidAlgorithmParameterException, NoSuchAlgorithmExceptionTest construction with specific source and length. -
testInvalidParams
Test construction with invalid parameter spec type. -
testGenerateIdentifier
public void testGenerateIdentifier()Test generateIdentifier by generating a large number of identifiers and seeing whether each one is a valid XML ID, and that they are all different.
-