# Package net.shibboleth.shared.testing

@NonnullElements package net.shibboleth.shared.testing
Classes supporting testing of other classes. Note that this package has no presence in the normal "jar" artifact, only as part of the "test-jar".

Class
Description
ConstantSupplier<T>
Implementation of `NonnullSupplier` which returns an unchanging value.
DatabaseTestingSupport
Helper class for testing database-backed classes using custom DDL and SQL.
EmbeddedJetty
Testing fixture using Jetty to server a specified handler.
EmbeddedJetty.ResourceHandler
Jetty handler to server content.
InMemoryDirectory
Manages an instance of the in-memory directory server for unit testing.
InMemoryDirectory.CustomServerSocketFactory
ServerSocketFactory wrapper class to track created sockets.
MockApplicationContext
Placeholder, which can be set on test components to stop the "must be null" test firing.
MockExceptionCriterion
A mock `Criterion` to cause a resolver to raise an exception.
MockReloadableService<T>
Utility class for wrapping a serviceable component in a dummy reloadable service.
MockResolver<T>
Mock `Resolver` for tests.
RepositorySupport
Support class for working with the project version control repository.
ResourceTestHelper
Compare two resources for equality.
ShowAutomaticModuleNames
Command-line utility to show the automatic module names from a `.jar` file or a directory of them.
ShowAutomaticModuleNames.TerminationException
Throw one of these to cause the main program to terminate.
TestSupport
A collection of methods supporting test class execution.
VelocityEngine
This is a helper class for creating velocity engines.