A B C D E G L N O R S U V 

A

assertEqualsImplementedCorrectly(Callable<T>) - Static method in class net.trajano.commons.testing.EqualsTestUtil
Builds two objects the same way and checks if they are equal.
assertEqualsImplementedCorrectly(Callable<T>, Callable<T>) - Static method in class net.trajano.commons.testing.EqualsTestUtil
Builds two objects and ensures that they are equal.
assertEqualsImplementedCorrectly(Object, Object) - Static method in class net.trajano.commons.testing.EqualsTestUtil
Take two objects and ensure their are implemented correctly.
assertEqualsImplementedCorrectly(T) - Static method in class net.trajano.commons.testing.EqualsTestUtil
Take a single object and ensure its equality is implemented correctly.
assertUtilityClassClassWellDefined(Class<?>) - Static method in class net.trajano.commons.testing.UtilityClassTestUtil
A utility class class is well defined if it is final and there is one and only one declared constructor.
assertUtilityClassConstructorWellDefined(Constructor<?>) - Static method in class net.trajano.commons.testing.UtilityClassTestUtil
A utility class constructor is well defined if it is private.
assertUtilityClassMethodsWellDefined(Class<?>) - Static method in class net.trajano.commons.testing.UtilityClassTestUtil
Methods of a utility class should be static if it was defined on the class itself.
assertUtilityClassWellDefined(Class<?>) - Static method in class net.trajano.commons.testing.UtilityClassTestUtil
Verifies that a utility class is well defined.

B

buildUnsecureSslContext() - Static method in class net.trajano.commons.testing.DisableSslCertificateCheckUtil
Constructs an unsecure SSL context.

C

checkClientTrusted(X509Certificate[], String) - Method in class net.trajano.commons.testing.internal.NullX509TrustManager
Does nothing.
checkServerTrusted(X509Certificate[], String) - Method in class net.trajano.commons.testing.internal.NullX509TrustManager
Does nothing.

D

disableChecks() - Static method in class net.trajano.commons.testing.DisableSslCertificateCheckUtil
Disable trust checks for SSL connections.
disabled - Static variable in class net.trajano.commons.testing.DisableSslCertificateCheckUtil
Flag to indicate that certificate checks are disabled.
DisableSslCertificateCheckUtil - Class in net.trajano.commons.testing
Disables SSL certificate checks.
DisableSslCertificateCheckUtil() - Constructor for class net.trajano.commons.testing.DisableSslCertificateCheckUtil
Prevent instantiation of utility class.

E

EqualsTestUtil - Class in net.trajano.commons.testing
This provides utility methods that ensure the Object.equals(Object) and Object.hashCode() are implemented correctly.
EqualsTestUtil() - Constructor for class net.trajano.commons.testing.EqualsTestUtil
Prevent instantiation of utility class.

G

getAcceptedIssuers() - Method in class net.trajano.commons.testing.internal.NullX509TrustManager
Gets a list of accepted issuers.
getResourceAsBytes(Class<?>, String) - Static method in class net.trajano.commons.testing.ResourceUtil
Reads a resource as bytes from the the given class' class loader.
getResourceAsBytes(String) - Static method in class net.trajano.commons.testing.ResourceUtil
Reads a resource as bytes from the context class loader.
getResourceAsStream(Class<?>, String) - Static method in class net.trajano.commons.testing.ResourceUtil
Reads a resource as a stream from the the given class' class loader.
getResourceAsStream(String) - Static method in class net.trajano.commons.testing.ResourceUtil
Reads a resource as a stream from the context class loader.
getResourceAsString(Class<?>, String) - Static method in class net.trajano.commons.testing.ResourceUtil
Reads a resource as a string from the the given class' class loader.
getResourceAsString(String) - Static method in class net.trajano.commons.testing.ResourceUtil
Reads a resource as a String from the from the context class loader.
getResourceCopy(Class<?>, String) - Static method in class net.trajano.commons.testing.ResourceUtil
Creates a copy of the resource from the given class' class loader to a temporary file.
getResourceCopy(String) - Static method in class net.trajano.commons.testing.ResourceUtil
Creates a copy of the resource from the context class loader to a temporary file.

L

LOG - Static variable in class net.trajano.commons.testing.DisableSslCertificateCheckUtil
Logger.

N

net.trajano.commons.testing - package net.trajano.commons.testing
Provides utility classes that can be used to facilitate testing.
net.trajano.commons.testing.internal - package net.trajano.commons.testing.internal
Internal implementation classes.
NULL_HOSTNAME_VERIFIER - Static variable in class net.trajano.commons.testing.DisableSslCertificateCheckUtil
Null host name verifier.
NULL_TRUST_MANAGER - Static variable in class net.trajano.commons.testing.DisableSslCertificateCheckUtil
Null trust manager.
NullHostnameVerifier - Class in net.trajano.commons.testing.internal
Host name verifier that does not perform any checks.
NullHostnameVerifier() - Constructor for class net.trajano.commons.testing.internal.NullHostnameVerifier
 
NullX509TrustManager - Class in net.trajano.commons.testing.internal
Trust manager that does not perform any checks.
NullX509TrustManager() - Constructor for class net.trajano.commons.testing.internal.NullX509TrustManager
 

O

originalHostnameVerifier - Static variable in class net.trajano.commons.testing.DisableSslCertificateCheckUtil
Original hostname verifier, set by {DisableSslCertificateCheckUtil.disableChecks().
originalSslSocketFactory - Static variable in class net.trajano.commons.testing.DisableSslCertificateCheckUtil
Original SSL Socket factory, set by {DisableSslCertificateCheckUtil.disableChecks().

R

R - Static variable in class net.trajano.commons.testing.UtilityClassTestUtil
Resource bundle.
reenableChecks() - Static method in class net.trajano.commons.testing.DisableSslCertificateCheckUtil
This will re-enable the SSL checks after it was disabled by DisableSslCertificateCheckUtil.disableChecks().
ResourceUtil - Class in net.trajano.commons.testing
Provides a utility class to load up resource streams.
ResourceUtil() - Constructor for class net.trajano.commons.testing.ResourceUtil
Prevent instantiation of utility class.

S

streamToBytes(InputStream) - Static method in class net.trajano.commons.testing.ResourceUtil
Converts an InputStream to bytes.
streamToTempFile(InputStream) - Static method in class net.trajano.commons.testing.ResourceUtil
Copies the contents of an InputStream to a temporary file.

U

UtilityClassTestUtil - Class in net.trajano.commons.testing
This provides a test to check certain properties of a utility class.
UtilityClassTestUtil() - Constructor for class net.trajano.commons.testing.UtilityClassTestUtil
Prevent instantiation of utility class.

V

verify(String, SSLSession) - Method in class net.trajano.commons.testing.internal.NullHostnameVerifier
Always return true.
A B C D E G L N O R S U V 

Copyright © 2012–2015 Trajano. All rights reserved.