public class AllNetTests extends Object
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEBUG
Whether the logging
Level should be set low enough so as to enable debugging messages to appear. |
protected static String |
KEYSTORE_PASSWORD
The
KeyStore password. |
protected static String |
KEYSTORE_PATHNAME
The
KeyStore pathname. |
protected static Class<?>[] |
loggerClasses
The classes of
Logger s used in this test. |
protected static Collection<Object[]> |
parameterizations
The unit test parameterizations.
|
protected static Random |
randomSource
A source of randomness.
|
Modifier and Type | Method and Description |
---|---|
protected static SslFilterFactory |
createClientSslFilterFactory()
Creates a client-side
SslFilterFactory . |
protected static SslFilterFactory |
createServerSslFilterFactory()
Creates a server-side
SslFilterFactory . |
protected static KeyManager[] |
getKeyManagers(String pathname,
String password)
Derives
KeyManager s from the given KeyStore class path resource. |
protected static TrustManager[] |
getTrustManagers()
Gets dummy, do-nothing
TrustManager s for the purposes of testing. |
static void |
initClass()
Configures the Java
Logger for use by NioManager s. |
protected static final String KEYSTORE_PASSWORD
KeyStore
password.protected static final String KEYSTORE_PATHNAME
KeyStore
pathname.protected static final Class<?>[] loggerClasses
Logger
s used in this test.protected static final Random randomSource
protected static final Collection<Object[]> parameterizations
protected static final boolean DEBUG
Level
should be set low enough so as to enable debugging messages to appear.public static final void initClass()
Logger
for use by NioManager
s.protected static final KeyManager[] getKeyManagers(String pathname, String password)
KeyManager
s from the given KeyStore
class path resource.pathname
- the resource pathname.protected static final TrustManager[] getTrustManagers()
TrustManager
s for the purposes of testing.protected static final SslFilterFactory createClientSslFilterFactory()
SslFilterFactory
.protected static final SslFilterFactory createServerSslFilterFactory()
SslFilterFactory
.