Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accept() - Method in class net.shibboleth.shared.testing.InMemoryDirectory.CustomServerSocketFactory.CustomServerSocket
- addApplicationListener(ApplicationListener<?>) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- addBeanFactoryPostProcessor(BeanFactoryPostProcessor) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- addProtocolResolver(ProtocolResolver) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- addSuccessSaslBindHandlers(InMemoryDirectoryServerConfig) - Method in class net.shibboleth.shared.testing.InMemoryDirectory
-
Adds DIGEST-MD5 and EXTERNAL SASL bind handlers that always return success.
- AUTO_MODULE_NAME - Static variable in class net.shibboleth.shared.testing.ShowAutomaticModuleNames
-
#AUTO_MODULE_NAME.
B
- buildHTTPResourceURL(String, String, boolean) - Static method in class net.shibboleth.shared.testing.RepositorySupport
-
Build an HTTP/HTTPS resource URL for the selected repository name and path on the main branch.
- buildHTTPResourceURL(String, String, boolean, String) - Static method in class net.shibboleth.shared.testing.RepositorySupport
-
Build an HTTP/HTTPS resource URL for the selected repository name and path.
- buildHTTPSResourceURL(String, String) - Static method in class net.shibboleth.shared.testing.RepositorySupport
-
Build an HTTPS resource URL for the selected repository name and path on the main branch.
C
- close() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- compare(Resource, Resource) - Static method in class net.shibboleth.shared.testing.ResourceTestHelper
-
Compare to see whether the content of two resources are the same.
- component - Variable in class net.shibboleth.shared.testing.MockReloadableService
-
The component we are presenting to provide.
- ConstantSupplier<T> - Class in net.shibboleth.shared.testing
-
Implementaion of
NonnullSupplierwhich returns an unchanging value. - ConstantSupplier(T) - Constructor for class net.shibboleth.shared.testing.ConstantSupplier
-
Constructor.
- containsBean(String) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- containsBeanDefinition(String) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- containsLocalBean(String) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- createServerSocket(int) - Method in class net.shibboleth.shared.testing.InMemoryDirectory.CustomServerSocketFactory
- createServerSocket(int, int) - Method in class net.shibboleth.shared.testing.InMemoryDirectory.CustomServerSocketFactory
- createServerSocket(int, int, InetAddress) - Method in class net.shibboleth.shared.testing.InMemoryDirectory.CustomServerSocketFactory
- CustomServerSocket(int, int, InetAddress) - Constructor for class net.shibboleth.shared.testing.InMemoryDirectory.CustomServerSocketFactory.CustomServerSocket
- customServerSocketFactory - Variable in class net.shibboleth.shared.testing.InMemoryDirectory
-
Server socket factory to track created sockets.
- CustomServerSocketFactory() - Constructor for class net.shibboleth.shared.testing.InMemoryDirectory.CustomServerSocketFactory
D
- DatabaseTestingSupport - Class in net.shibboleth.shared.testing
-
Helper class for testing database-backed classes using custom DDL and SQL.
- DatabaseTestingSupport() - Constructor for class net.shibboleth.shared.testing.DatabaseTestingSupport
-
Hidden constructor.
- directoryServer - Variable in class net.shibboleth.shared.testing.InMemoryDirectory
-
Directory server.
E
- ExecuteUpdate(String, DataSource) - Static method in class net.shibboleth.shared.testing.DatabaseTestingSupport
-
Execute an SQP update.
F
- findAllAnnotationsOnBean(String, Class<A>, boolean) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- findAnnotationOnBean(String, Class<A>) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- findAnnotationOnBean(String, Class<A>, boolean) - Method in class net.shibboleth.shared.testing.MockApplicationContext
G
- get() - Method in class net.shibboleth.shared.testing.ConstantSupplier
- getAliases(String) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getApplicationName() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getApplicationStartup() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getAutomaticModuleName(JarFile) - Method in class net.shibboleth.shared.testing.ShowAutomaticModuleNames
-
Fetch the automatic module name (if any) from a
.jarfile. - getAutowireCapableBeanFactory() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBean(Class<T>) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBean(Class<T>, Object...) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBean(String) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBean(String, Class<T>) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBean(String, Object...) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeanDefinitionCount() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeanDefinitionNames() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeanFactory() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeanNamesForAnnotation(Class<? extends Annotation>) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeanNamesForType(Class<?>) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeanNamesForType(Class<?>, boolean, boolean) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeanNamesForType(ResolvableType) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeanNamesForType(ResolvableType, boolean, boolean) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeanProvider(Class<T>) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeanProvider(Class<T>, boolean) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeanProvider(ResolvableType) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeanProvider(ResolvableType, boolean) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeansOfType(Class<T>) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeansOfType(Class<T>, boolean, boolean) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getBeansWithAnnotation(Class<? extends Annotation>) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getClassLoader() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- GetDataSourceFromHsqlServer(String, String) - Static method in class net.shibboleth.shared.testing.DatabaseTestingSupport
-
Summons up a database connection to an hsqldb server running somewhere.
- GetDataSourceFromUrl(String, String) - Static method in class net.shibboleth.shared.testing.DatabaseTestingSupport
-
Createa data source from a provided URL.
- getDefaultProperties() - Static method in class net.shibboleth.shared.testing.VelocityEngine
-
Returns the default velocity engine properties.
- getDisplayName() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getEnvironment() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getId() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getJavaVersion(String) - Static method in class net.shibboleth.shared.testing.TestSupport
-
Extracts the major version number from a Java version string.
- getKeyManagerFactory(Resource) - Static method in class net.shibboleth.shared.testing.InMemoryDirectory
-
Creates a KeyManagerFactory from the supplied resource.
- getMessage(String, Object[], String, Locale) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getMessage(String, Object[], Locale) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getMessage(MessageSourceResolvable, Locale) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- GetMockDataSource(String, String) - Static method in class net.shibboleth.shared.testing.DatabaseTestingSupport
-
Summons up an in memory database with the provided identifier.
- getParent() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getParentBeanFactory() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getResource(String) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getResources(String) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getServiceableComponent() - Method in class net.shibboleth.shared.testing.MockReloadableService
- getStartupDate() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getTrustManagerFactory(Resource) - Static method in class net.shibboleth.shared.testing.InMemoryDirectory
-
Creates a TrustManagerFactory from the supplied resource.
- getType(String) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- getType(String, boolean) - Method in class net.shibboleth.shared.testing.MockApplicationContext
I
- InitializeDataSource(String, DataSource) - Static method in class net.shibboleth.shared.testing.DatabaseTestingSupport
-
Initialize SQL database.
- InitializeDataSourceFromFile(String, DataSource) - Static method in class net.shibboleth.shared.testing.DatabaseTestingSupport
-
Initialize SQL database.
- InMemoryDirectory - Class in net.shibboleth.shared.testing
-
Manages an instance of the in-memory directory server for unit testing.
- InMemoryDirectory(String[], Resource, int) - Constructor for class net.shibboleth.shared.testing.InMemoryDirectory
-
Constructor without STARTTLS support.
- InMemoryDirectory(String[], Resource, int, Resource, Optional<Resource>) - Constructor for class net.shibboleth.shared.testing.InMemoryDirectory
-
Constructor with STARTTLS support.
- InMemoryDirectory.CustomServerSocketFactory - Class in net.shibboleth.shared.testing
-
ServerSocketFactory wrapper class to track created sockets.
- InMemoryDirectory.CustomServerSocketFactory.CustomServerSocket - Class in net.shibboleth.shared.testing
-
ServerSocket wrapper class to track created sockets.
- isActive() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- isJavaV11OrLater() - Static method in class net.shibboleth.shared.testing.TestSupport
-
Deprecated, for removal: This API element is subject to removal in a future version.
- isJavaV7OrLater() - Static method in class net.shibboleth.shared.testing.TestSupport
-
Deprecated, for removal: This API element is subject to removal in a future version.
- isJavaV8OrLater() - Static method in class net.shibboleth.shared.testing.TestSupport
-
Deprecated, for removal: This API element is subject to removal in a future version.
- isJavaV9OrLater() - Static method in class net.shibboleth.shared.testing.TestSupport
-
Deprecated, for removal: This API element is subject to removal in a future version.
- isPrototype(String) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- isRunning() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- isSingleton(String) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- isTypeMatch(String, Class<?>) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- isTypeMatch(String, ResolvableType) - Method in class net.shibboleth.shared.testing.MockApplicationContext
L
- loadKeyStore(Resource, String) - Static method in class net.shibboleth.shared.testing.InMemoryDirectory
-
Creates a new KeyStore from the supplied resource.
- log - Static variable in class net.shibboleth.shared.testing.DatabaseTestingSupport
-
Logger.
- log - Variable in class net.shibboleth.shared.testing.InMemoryDirectory
-
Class logger.
M
- main(String[]) - Static method in class net.shibboleth.shared.testing.ShowAutomaticModuleNames
-
Main program.
- MockApplicationContext - Class in net.shibboleth.shared.testing
-
Placeholder, which can be set on test components to stop the "must be null" test firing.
- MockApplicationContext() - Constructor for class net.shibboleth.shared.testing.MockApplicationContext
- MockReloadableService<T> - Class in net.shibboleth.shared.testing
-
Utility class for wrapping a serviceable component in a dummy reloadable service.
- MockReloadableService(T) - Constructor for class net.shibboleth.shared.testing.MockReloadableService
-
Constructor.
N
- net.shibboleth.shared.testing - package net.shibboleth.shared.testing
-
Classes supporting testing of other classes.
- newVelocityEngine() - Static method in class net.shibboleth.shared.testing.VelocityEngine
-
Creates a new velocity engine with default properties.
- newVelocityEngine(Properties) - Static method in class net.shibboleth.shared.testing.VelocityEngine
-
Creates a new velocity engine with the supplied properties.
O
- openConnectionCount() - Method in class net.shibboleth.shared.testing.InMemoryDirectory
-
Returns the number of open sockets.
P
- publishEvent(Object) - Method in class net.shibboleth.shared.testing.MockApplicationContext
R
- ReadSqlFromFile(String) - Static method in class net.shibboleth.shared.testing.DatabaseTestingSupport
-
Read some SQL from a file.
- refresh() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- registerShutdownHook() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- removeApplicationListener(ApplicationListener<?>) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- RepositorySupport - Class in net.shibboleth.shared.testing
-
Support class for working with the project version control repository.
- RepositorySupport() - Constructor for class net.shibboleth.shared.testing.RepositorySupport
-
Constructor.
- ResourceTestHelper - Class in net.shibboleth.shared.testing
-
Compare two resources for equality.
- ResourceTestHelper() - Constructor for class net.shibboleth.shared.testing.ResourceTestHelper
-
Hidden constructor.
- run(String[]) - Method in class net.shibboleth.shared.testing.ShowAutomaticModuleNames
-
Runnable main program, wrapped by
mainin an exception handler. - runDirectory(File) - Method in class net.shibboleth.shared.testing.ShowAutomaticModuleNames
-
Process all of the
.jarfiles in a given directory, and present the results in a readable way.
S
- serialVersionUID - Static variable in exception net.shibboleth.shared.testing.ShowAutomaticModuleNames.TerminationException
-
Mandatory version UID for any subclass of
Exception. - setApplicationStartup(ApplicationStartup) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- setClassLoader(ClassLoader) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- setEnvironment(ConfigurableEnvironment) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- setId(String) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- setParent(ApplicationContext) - Method in class net.shibboleth.shared.testing.MockApplicationContext
- shouldReload() - Method in class net.shibboleth.shared.testing.MockReloadableService
- ShowAutomaticModuleNames - Class in net.shibboleth.shared.testing
-
Command-line utility to show the automatic module names from a
.jarfile or a directory of them. - ShowAutomaticModuleNames() - Constructor for class net.shibboleth.shared.testing.ShowAutomaticModuleNames
- ShowAutomaticModuleNames.TerminationException - Exception in net.shibboleth.shared.testing
-
Throw one of these to cause the main program to terminate.
- sockets - Variable in class net.shibboleth.shared.testing.InMemoryDirectory.CustomServerSocketFactory
-
The socket list.
- start() - Method in class net.shibboleth.shared.testing.InMemoryDirectory
-
Starts the directory server.
- start() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- stop() - Method in class net.shibboleth.shared.testing.MockApplicationContext
- stop(boolean) - Method in class net.shibboleth.shared.testing.InMemoryDirectory
-
Stops the directory server.
T
- TerminationException(String) - Constructor for exception net.shibboleth.shared.testing.ShowAutomaticModuleNames.TerminationException
-
Constructor.
- TerminationException(String, Throwable) - Constructor for exception net.shibboleth.shared.testing.ShowAutomaticModuleNames.TerminationException
-
Constructor.
- TestSupport - Class in net.shibboleth.shared.testing
-
A collection of methods supporting test class execution.
- TestSupport() - Constructor for class net.shibboleth.shared.testing.TestSupport
-
Constructor.
- theValue - Variable in class net.shibboleth.shared.testing.ConstantSupplier
-
The value we will return.
V
- VelocityEngine - Class in net.shibboleth.shared.testing
-
This is a helper class for creating velocity engines.
- VelocityEngine() - Constructor for class net.shibboleth.shared.testing.VelocityEngine
-
Default constructor.
All Classes and Interfaces|All Packages|Constant Field Values