A C E G M O R S T V 

A

appendTo(StringBuffer) - Method in class org.opendaylight.persistence.util.test.easymock.ArgumentMatcher
 
ArgumentMatcher<T> - Class in org.opendaylight.persistence.util.test.easymock
Argument matcher.
ArgumentMatcher(String) - Constructor for class org.opendaylight.persistence.util.test.easymock.ArgumentMatcher
Creates an argument matcher.
assertAnyThrowableType(Class<T>, Throwable) - Static method in class org.opendaylight.persistence.util.test.ThrowableTester
Asserts that an exception is of (or a subclass of) the given expected type.
assertContains(String, String) - Static method in class org.opendaylight.persistence.util.test.AssertUtil
Asserts that str contains infix.
assertEndsWith(String, String) - Static method in class org.opendaylight.persistence.util.test.AssertUtil
Asserts that str ends with suffix.
assertSemanticCompatibility(T, T) - Method in interface org.opendaylight.persistence.util.test.SerializabilityTester.SemanticCompatibilityVerifier
Asserts semantic compatibility.
assertStartsWith(String, String) - Static method in class org.opendaylight.persistence.util.test.AssertUtil
Asserts that str starts with prefix.
assertThrowable(E) - Method in interface org.opendaylight.persistence.util.test.ThrowableTester.Validator
Assert the error is as expected.
assertThrowableType(Class<T>, Throwable) - Static method in class org.opendaylight.persistence.util.test.ThrowableTester
Asserts that an exception is exactly of the given expected type.
AssertUtil - Class in org.opendaylight.persistence.util.test
Assert utility methods.

C

ComparabilityTester - Class in org.opendaylight.persistence.util.test
Tester to test objects which implement Comparable.

E

EqualityTester - Class in org.opendaylight.persistence.util.test
Tester to test objects which override Object.equals(Object) and Object.hashCode() .
EqualityTester.Exerciser<T> - Interface in org.opendaylight.persistence.util.test
Exerciser used when testing consistent property in equals method.
execute() - Method in interface org.opendaylight.persistence.util.test.ThrowableTester.Instruction
Executes instructions.
exercise(T) - Method in interface org.opendaylight.persistence.util.test.EqualityTester.Exerciser
Exercises the object without modifying fields considered on equals method.

G

generateBytes(byte[]) - Method in class org.opendaylight.persistence.util.test.RandomDataGenerator
Fills the given array with random bytes.
getBoolean() - Method in class org.opendaylight.persistence.util.test.RandomDataGenerator
Generates a random boolean.
getEnum(Class<E>) - Method in class org.opendaylight.persistence.util.test.RandomDataGenerator
Generates one of the constants of the given enum class.
getExecutingMethod() - Static method in class org.opendaylight.persistence.util.test.TestUtil
Gets the current executing method name.
getInt() - Method in class org.opendaylight.persistence.util.test.RandomDataGenerator
Generates a random integer.
getLong() - Method in class org.opendaylight.persistence.util.test.RandomDataGenerator
Generates a random long.
getPositiveInt() - Method in class org.opendaylight.persistence.util.test.RandomDataGenerator
Generates a positive integer.
getPrivateField(String, T) - Static method in class org.opendaylight.persistence.util.test.TestUtil
Gets a private field using reflection.
getPrivateField(String, T, Class<? super T>) - Static method in class org.opendaylight.persistence.util.test.TestUtil
Gets a private field using reflection.

M

match() - Method in class org.opendaylight.persistence.util.test.easymock.ArgumentMatcher
Registers this argument matcher to EasyMock.
match(IArgumentMatcher) - Static method in class org.opendaylight.persistence.util.test.easymock.ArgumentMatcher
Registers an IArgumentMatcher to EasyMock.
Matchable<T> - Class in org.opendaylight.persistence.util.test.easymock
Matchable property.
matches(Object) - Method in class org.opendaylight.persistence.util.test.easymock.ArgumentMatcher
 
matches() - Method in class org.opendaylight.persistence.util.test.easymock.Matchable
Verifies whether this matchable property actually matches.

O

org.opendaylight.persistence.util.test - package org.opendaylight.persistence.util.test
 
org.opendaylight.persistence.util.test.easymock - package org.opendaylight.persistence.util.test.easymock
 

R

RandomDataGenerator - Class in org.opendaylight.persistence.util.test
Random data generator.
RandomDataGenerator() - Constructor for class org.opendaylight.persistence.util.test.RandomDataGenerator
Creates a new random data generator.

S

SerializabilityTester - Class in org.opendaylight.persistence.util.test
Tester to test objects which implement Serializable.
SerializabilityTester.SemanticCompatibilityVerifier<T extends Serializable> - Interface in org.opendaylight.persistence.util.test
Semantic compatibility verifier.
setPrivateField(String, Object, T) - Static method in class org.opendaylight.persistence.util.test.TestUtil
Updates the value of a private field using reflection.
setPrivateField(String, Object, T, Class<? super T>) - Static method in class org.opendaylight.persistence.util.test.TestUtil
Updates the value of a private field using reflection.

T

testComparison(T, T, T, T) - Static method in class org.opendaylight.persistence.util.test.ComparabilityTester
Test comparison.
testComparison(T, T, T, T, Comparator<T>) - Static method in class org.opendaylight.persistence.util.test.ComparabilityTester
Test comparison.
testEqualsAndHashCode(T, T, T, T...) - Static method in class org.opendaylight.persistence.util.test.EqualityTester
Tests Object.equals(Object) and Object.hashCode() methods partially testing consistency property: Fields that are not part of the Object.equals(Object) are not modified - no EqualityTester.Exerciser is used.
testEqualsAndHashCode(T, T, T, EqualityTester.Exerciser<T>, T...) - Static method in class org.opendaylight.persistence.util.test.EqualityTester
Tests Object.equals(Object) and Object.hashCode() methods using the given exerciser to test consistency.
testSerialization(T, SerializabilityTester.SemanticCompatibilityVerifier<T>) - Static method in class org.opendaylight.persistence.util.test.SerializabilityTester
Test serialization's binary and semantic compatibility.
testThrows(Class<T>, ThrowableTester.Instruction) - Static method in class org.opendaylight.persistence.util.test.ThrowableTester
Executes an instruction verifying a Throwable of the expected type is actually thrown.
testThrows(Class<T>, ThrowableTester.Instruction, ThrowableTester.Validator<T>) - Static method in class org.opendaylight.persistence.util.test.ThrowableTester
Executes an instruction verifying a Throwable of the expected type is actually thrown.
testThrowsAny(Class<T>, ThrowableTester.Instruction) - Static method in class org.opendaylight.persistence.util.test.ThrowableTester
Executes an instruction verifying a Throwable of (or a subclass of) the expected type is actually thrown.
testThrowsAny(Class<T>, ThrowableTester.Instruction, ThrowableTester.Validator<T>) - Static method in class org.opendaylight.persistence.util.test.ThrowableTester
Executes an instruction verifying a Throwable of (or a subclass of) the expected type is actually thrown.
TestUtil - Class in org.opendaylight.persistence.util.test
Utility methods.
ThrowableTester - Class in org.opendaylight.persistence.util.test
Throwable tester.
ThrowableTester.Instruction - Interface in org.opendaylight.persistence.util.test
Instruction.
ThrowableTester.Validator<E extends Throwable> - Interface in org.opendaylight.persistence.util.test
Throwable validator.
toString() - Method in class org.opendaylight.persistence.util.test.easymock.Matchable
 

V

valueOf(String, T, T) - Static method in class org.opendaylight.persistence.util.test.easymock.Matchable
Creates a matchable property.
verify(Matchable<?>...) - Method in class org.opendaylight.persistence.util.test.easymock.ArgumentMatcher
Verifies whether the properties match the expected values.
verifyMatch(T) - Method in class org.opendaylight.persistence.util.test.easymock.ArgumentMatcher
Verifies the argument matches.
A C E G M O R S T V 

Copyright © 2016. All rights reserved.