A B C D E F G H I L M N O P Q R S T U V W 

A

accept(DifferenceVisitor<T, A>, A) - Method in class org.unitils.reflectionassert.difference.ClassDifference
 
accept(DifferenceVisitor<T, A>, A) - Method in class org.unitils.reflectionassert.difference.CollectionDifference
Double dispatch method.
accept(DifferenceVisitor<T, A>, A) - Method in class org.unitils.reflectionassert.difference.Difference
Double dispatch method.
accept(DifferenceVisitor<T, A>, A) - Method in class org.unitils.reflectionassert.difference.MapDifference
Double dispatch method.
accept(DifferenceVisitor<T, A>, A) - Method in class org.unitils.reflectionassert.difference.ObjectDifference
Double dispatch method.
accept(DifferenceVisitor<T, A>, A) - Method in class org.unitils.reflectionassert.difference.UnorderedCollectionDifference
Double dispatch method.
addElementDifference(int, Difference) - Method in class org.unitils.reflectionassert.difference.CollectionDifference
Adds a difference for the element at the given index.
addElementDifference(int, int, Difference) - Method in class org.unitils.reflectionassert.difference.UnorderedCollectionDifference
Adds a difference or a match for the elements at the given left and right index.
addFailure(Throwable) - Method in class org.unitils.UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie
Registers a test failure
addFieldDifference(String, Difference) - Method in class org.unitils.reflectionassert.difference.ObjectDifference
Adds a difference for the field with the given name.
addLeftMissingIndex(int) - Method in class org.unitils.reflectionassert.difference.CollectionDifference
Adds an index of a left element that is missing in the right collection.
addLeftMissingKey(Object) - Method in class org.unitils.reflectionassert.difference.MapDifference
Adds a key of the left map that is missing in the right map.
addRightMissingIndex(int) - Method in class org.unitils.reflectionassert.difference.CollectionDifference
Adds an index of a right element that is missing in the left collection.
addRightMissingKey(Object) - Method in class org.unitils.reflectionassert.difference.MapDifference
Adds a key of the right map that is missing in the left map.
addValueDifference(Object, Difference) - Method in class org.unitils.reflectionassert.difference.MapDifference
Adds a difference for the element at the given key.
afterCreateTestObject(Object) - Method in class org.unitils.core.TestListener
Invoked before any of the test in a test class are run.
afterInit() - Method in interface org.unitils.core.Module
Gives the module the opportunity to performs initialization that can only work after all other modules have been initialized
afterInitModules() - Method in class org.unitils.core.Unitils
Gives all modules the opportunity to performs initialization that can only work after all other modules have been initialized
afterInstanceCreate(T, Object, Class<?>) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Hook method that can be overriden to perform extra initialization after the instance was created.
afterTestMethod(Object, Method, Throwable) - Method in class org.unitils.core.TestListener
Invoked after the test run but before the test tear down (e.g.
AfterTestMethodStatement - Class in org.unitils.core.junit
 
AfterTestMethodStatement(TestListener, Statement, Method, Object) - Constructor for class org.unitils.core.junit.AfterTestMethodStatement
 
afterTestTearDown(Object, Method) - Method in class org.unitils.core.TestListener
Invoked after the test tear down (eg @After).
AfterTestTearDownStatement - Class in org.unitils.core.junit
 
AfterTestTearDownStatement(TestListener, Statement, Object, Method) - Constructor for class org.unitils.core.junit.AfterTestTearDownStatement
 
allDifferencesCachedResults - Variable in class org.unitils.reflectionassert.ReflectionComparator
 
AnnotatedInstanceManager<T,A extends Annotation> - Class in org.unitils.core.util
Class for managing and creating instances of a given type.
AnnotatedInstanceManager(Class<T>, Class<A>) - Constructor for class org.unitils.core.util.AnnotatedInstanceManager
Creates a manager
annotationClass - Variable in class org.unitils.core.util.AnnotatedInstanceManager
The annotation type
AnnotationPropertyAccessor<S extends Annotation,T> - Interface in org.unitils.util
todo javadoc
AnnotationUtils - Class in org.unitils.util
Utilities for retrieving and working with annotations.
AnnotationUtils() - Constructor for class org.unitils.util.AnnotationUtils
 
ArrayAndCollectionFormatter - Class in org.unitils.core.util
Helper class for generating a string representation of a collection or array.
ArrayAndCollectionFormatter(int, ObjectFormatter) - Constructor for class org.unitils.core.util.ArrayAndCollectionFormatter
Creates a formatter with the given maximum nr of elements.
arrayAndCollectionFormatter - Variable in class org.unitils.core.util.ObjectFormatter
 
assertAccessablePropertiesNotNull(String, Object) - Static method in class org.unitils.reflectionassert.ReflectionAssert
All fields that have a getter with the same name will be checked by an assertNotNull.
assertLenientEquals(Object, Object) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Asserts that two objects are equal.
assertLenientEquals(String, Object, Object) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Asserts that two objects are equal.
assertPropertiesNotNull(String, Object) - Static method in class org.unitils.reflectionassert.ReflectionAssert
All fields are checked for null values (except the static ones).
assertPropertyLenientEquals(String, Object, Object) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Asserts that the value of a property of an object is equal to the given value.
assertPropertyLenientEquals(String, String, Object, Object) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Asserts that the value of a property of an object is equal to the given value.
assertPropertyLenientEquals(String, Collection<?>, Collection<?>) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Asserts that a property of all objects in the collection are equal to the given values.
assertPropertyLenientEquals(String, String, Collection<?>, Collection<?>) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Asserts that a property of all objects in the collection are equal to the given values.
assertPropertyReflectionEquals(String, Object, Object, ReflectionComparatorMode...) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Asserts that the value of a property of an object is equal to the given value.
assertPropertyReflectionEquals(String, String, Object, Object, ReflectionComparatorMode...) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Asserts that the value of a property of an object is equal to the given value.
assertPropertyReflectionEquals(String, Collection<?>, Collection<?>, ReflectionComparatorMode...) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Asserts that a property of all objects in the collection are equal to the given values.
assertPropertyReflectionEquals(String, String, Collection<?>, Collection<?>, ReflectionComparatorMode...) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Asserts that a property of all objects in the collection are equal to the given values.
assertReflectionEquals(Object, Object, ReflectionComparatorMode...) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Asserts that two objects are equal.
assertReflectionEquals(String, Object, Object, ReflectionComparatorMode...) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Asserts that two objects are equal.
asSet(T...) - Static method in class org.unitils.util.CollectionUtils
Converts the given array of elements to a set.
available() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Return the number of bytes that can be read.

B

BaseConfigurable - Class in org.unitils.core.util
Base class for implementations that need access to the unitils configuration
BaseConfigurable() - Constructor for class org.unitils.core.util.BaseConfigurable
 
beforeTestClass(Class<?>) - Method in class org.unitils.core.TestListener
Invoked before the generic class setup (e.g.
BeforeTestClassStatement - Class in org.unitils.core.junit
 
BeforeTestClassStatement(Class<?>, TestListener, Statement) - Constructor for class org.unitils.core.junit.BeforeTestClassStatement
 
beforeTestMethod(Object, Method) - Method in class org.unitils.core.TestListener
Invoked before the test but after the test setup (eg @Before) is run.
BeforeTestMethodStatement - Class in org.unitils.core.junit
 
BeforeTestMethodStatement(TestListener, Statement, Method, Object) - Constructor for class org.unitils.core.junit.BeforeTestMethodStatement
 
beforeTestSetUp(Object, Method) - Method in class org.unitils.core.TestListener
Invoked before the test setup (eg @Before) is run.
BeforeTestSetUpStatement - Class in org.unitils.core.junit
 
BeforeTestSetUpStatement(Object, Method, TestListener, Statement) - Constructor for class org.unitils.core.junit.BeforeTestSetUpStatement
 
byteCountToDisplaySize(long) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Returns a human-readable version of the file size, where the input represents a specific number of bytes.

C

cachedMatchingScores - Variable in class org.unitils.reflectionassert.util.MatchingScoreCalculator
Cache for matching scores
calculateMatchingScore(Difference) - Method in class org.unitils.reflectionassert.util.MatchingScoreCalculator
Gets the matching score for the given difference.
canCompare(Object, Object) - Method in interface org.unitils.reflectionassert.comparator.Comparator
Checks whether this comparator can compare the given objects.
canCompare(Object, Object) - Method in class org.unitils.reflectionassert.comparator.impl.CollectionComparator
Returns true when both objects are arrays or collections.
canCompare(Object, Object) - Method in class org.unitils.reflectionassert.comparator.impl.HibernateProxyComparator
Returns true if one or both of the objects is a Hibernate proxy.
canCompare(Object, Object) - Method in class org.unitils.reflectionassert.comparator.impl.IgnoreDefaultsComparator
Returns true if the left object is a java default
canCompare(Object, Object) - Method in class org.unitils.reflectionassert.comparator.impl.LenientDatesComparator
Returns true if both objects are null or both objects are Date instances.
canCompare(Object, Object) - Method in class org.unitils.reflectionassert.comparator.impl.LenientNumberComparator
Returns true if both objects are not null and instances of Number or Character.
canCompare(Object, Object) - Method in class org.unitils.reflectionassert.comparator.impl.LenientOrderCollectionComparator
Returns true if both objects are not null and are both Arrays or Collections.
canCompare(Object, Object) - Method in class org.unitils.reflectionassert.comparator.impl.MapComparator
Returns true when both values are not null and instance of Map
canCompare(Object, Object) - Method in class org.unitils.reflectionassert.comparator.impl.ObjectComparator
Returns true if both objects are not null
canCompare(Object, Object) - Method in class org.unitils.reflectionassert.comparator.impl.SimpleCasesComparator
Returns true if both object are the same instance, have a null value, are an Enum/Number/Character or are a java.lang type.
classBlock(RunNotifier) - Method in class org.unitils.UnitilsBlockJUnit4ClassRunner
 
ClassDifference - Class in org.unitils.reflectionassert.difference
 
ClassDifference(String, Object, Object, Class<?>, Class<?>) - Constructor for class org.unitils.reflectionassert.difference.ClassDifference
Creates a difference.
classFileExistsInClasspath(String) - Method in class org.unitils.core.ModulesLoader
 
cleanDirectory(File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Clean a directory without deleting it.
close(Connection) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Close a Connection, avoid closing if null.
close(ResultSet) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Close a ResultSet, avoid closing if null.
close(Statement) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Close a Statement, avoid closing if null.
close() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Close this input stream - resets the internal state to the initial values.
close() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullWriter
 
closeQuietly(Connection) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Close a Connection, avoid closing if null and hide any SQLExceptions that occur.
closeQuietly(Connection, Statement, ResultSet) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Close a Connection, Statement and ResultSet.
closeQuietly(ResultSet) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Close a ResultSet, avoid closing if null and hide any SQLExceptions that occur.
closeQuietly(Statement) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Close a Statement, avoid closing if null and hide any SQLExceptions that occur.
closeQuietly(Reader) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Unconditionally close an Reader.
closeQuietly(Writer) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Unconditionally close a Writer.
closeQuietly(InputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Unconditionally close an InputStream.
closeQuietly(OutputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Unconditionally close an OutputStream.
COLLECTION_COMPARATOR - Static variable in class org.unitils.reflectionassert.ReflectionComparatorFactory
The CollectionComparator singleton insance
CollectionComparator - Class in org.unitils.reflectionassert.comparator.impl
Comparator for collections and arrays.
CollectionComparator() - Constructor for class org.unitils.reflectionassert.comparator.impl.CollectionComparator
 
CollectionDifference - Class in org.unitils.reflectionassert.difference
A class for holding the difference between two collections or arrays.
CollectionDifference(String, Object, Object, List<?>, List<?>) - Constructor for class org.unitils.reflectionassert.difference.CollectionDifference
Creates a difference.
CollectionUtils - Class in org.unitils.util
Class containing collection related utilities
CollectionUtils() - Constructor for class org.unitils.util.CollectionUtils
 
commitAndClose(Connection) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Commits a Connection then closes it, avoid closing if null.
commitAndCloseQuietly(Connection) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Commits a Connection then closes it, avoid closing if null and hide any SQLExceptions that occur.
Comparator - Interface in org.unitils.reflectionassert.comparator
Interface for comparing 2 given objects.
comparators - Variable in class org.unitils.reflectionassert.ReflectionComparator
The comparator chain.
compare(Object, Object, boolean, ReflectionComparator) - Method in interface org.unitils.reflectionassert.comparator.Comparator
Compares the given objects and returns the difference (if any).
compare(Object, Object, boolean, ReflectionComparator) - Method in class org.unitils.reflectionassert.comparator.impl.CollectionComparator
Compared the given collections/arrays.
compare(Object, Object, boolean, ReflectionComparator) - Method in class org.unitils.reflectionassert.comparator.impl.HibernateProxyComparator
Compares the given objects.
compare(Object, Object, boolean, ReflectionComparator) - Method in class org.unitils.reflectionassert.comparator.impl.IgnoreDefaultsComparator
Always returns null: both objects are equal.
compare(Object, Object, boolean, ReflectionComparator) - Method in class org.unitils.reflectionassert.comparator.impl.LenientDatesComparator
Compares the given dates.
compare(Object, Object, boolean, ReflectionComparator) - Method in class org.unitils.reflectionassert.comparator.impl.LenientNumberComparator
Compares the two values by converting them to a double and comparing these double values.
compare(Object, Object, boolean, ReflectionComparator) - Method in class org.unitils.reflectionassert.comparator.impl.LenientOrderCollectionComparator
Compares the given collections/arrays but ignoring the actual order of the elements.
compare(Object, Object, boolean, ReflectionComparator) - Method in class org.unitils.reflectionassert.comparator.impl.MapComparator
Compares the given maps by looping over the keys and comparing their values.
compare(Object, Object, boolean, ReflectionComparator) - Method in class org.unitils.reflectionassert.comparator.impl.ObjectComparator
Compares the given objects by iterating over the fields and comparing the corresponding values.
compare(Object, Object, boolean, ReflectionComparator) - Method in class org.unitils.reflectionassert.comparator.impl.SimpleCasesComparator
Compares the given values.
compareFields(Object, Object, Class<?>, ObjectDifference, boolean, ReflectionComparator) - Method in class org.unitils.reflectionassert.comparator.impl.ObjectComparator
Compares the values of all fields in the given objects by use of reflection.
computeParams() - Method in class org.unitils.UnitilsParameterized.TestClassRunnerForParameters
 
Configurable - Interface in org.unitils.core.util
 
Configuration - Class in org.unitils.core.config
todo javadoc

If classifiers are used, it will first look for a property using all classifiers, then look for a property without the last classifier etc.

Configuration(Properties) - Constructor for class org.unitils.core.config.Configuration
Creates a configuration for the given properties.
configuration - Variable in class org.unitils.core.util.BaseConfigurable
 
ConfigurationLoader - Class in org.unitils.core
Utility that loads the configuration of unitils.
ConfigurationLoader() - Constructor for class org.unitils.core.ConfigurationLoader
 
ConfigUtils - Class in org.unitils.core.util
Class containing configuration related utilities
ConfigUtils() - Constructor for class org.unitils.core.util.ConfigUtils
 
constructFullFileName(String, Class<?>) - Method in class org.unitils.core.util.FileResolver
Get the full file name depending on the package prefixing and path prefix.
containsProperty(String) - Method in class org.unitils.core.config.UnitilsConfiguration
 
containsProperty(String, Properties) - Static method in class org.unitils.util.PropertyUtils
Checks whether the property with the given name exists in the System or in the given properties.
contentEquals(File, File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Compare the contents of two files to determine if they are equal or not.
contentEquals(InputStream, InputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Compare the contents of two Streams to determine if they are equal or not.
contentEquals(Reader, Reader) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Compare the contents of two Readers to determine if they are equal or not.
convertFileCollectionToFileArray(Collection<?>) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Converts a Collection containing java.io.File instanced into array representation.
convertToCollection(Object) - Static method in class org.unitils.util.CollectionUtils
Converts the given array or collection object (possibly primitive array) to type Collection
convertToObjectArray(Object) - Static method in class org.unitils.util.CollectionUtils
Converts the given array object (possibly primitive array) to type Object[]
copy(InputStream, OutputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Copy bytes from an InputStream to an OutputStream.
copy(InputStream, Writer) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Copy bytes from an InputStream to chars on a Writer using the default character encoding of the platform.
copy(InputStream, Writer, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Copy bytes from an InputStream to chars on a Writer using the specified character encoding.
copy(Reader, Writer) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Copy chars from a Reader to a Writer.
copy(Reader, OutputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Copy chars from a Reader to bytes on an OutputStream using the default character encoding of the platform, and calling flush.
copy(Reader, OutputStream, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Copy chars from a Reader to bytes on an OutputStream using the specified character encoding, and calling flush.
copyClassPathResource(String, String) - Static method in class org.unitils.util.FileUtils
 
copyDirectory(File, File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Copies a whole directory to a new location preserving the file dates.
copyDirectory(File, File, boolean) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Copies a whole directory to a new location.
copyDirectoryToDirectory(File, File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Copies a directory to within another directory preserving the file dates.
copyFields(Object, Object) - Static method in class org.unitils.util.ReflectionUtils
 
copyFile(File, File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Copies a file to a new location preserving the file date.
copyFile(File, File, boolean) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Copies a file to a new location.
copyFileToDirectory(File, File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Copies a file to a directory preserving the file date.
copyURLToFile(URL, File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Copies bytes from the URL source to a file destination.
create() - Method in interface org.unitils.core.Factory
 
createAndInitializeModules(List<String>, Properties) - Method in class org.unitils.core.ModulesLoader
Creates the modules with the given class names and calls initializes them with the given configuration.
createCustomCreatedInstance(Method, Object, Class<?>, List<String>) - Method in class org.unitils.core.util.AnnotatedInstanceManager
 
createCustomCreatedInstanceFromCustomCreateMethodResult(Object, Class<?>, Object) - Method in class org.unitils.core.util.AnnotatedInstanceManager
 
createFieldName(String, String, boolean) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
Adds the inner field name to the given field name.
createFieldName(String, String, boolean) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView
Adds the inner field name to the given field name.
createIndexList(int) - Method in class org.unitils.reflectionassert.comparator.impl.LenientOrderCollectionComparator
 
createInstanceForValues(Object, Class<?>, List<String>) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Creates an instance for the given values.
createInstanceOfType(String, boolean) - Static method in class org.unitils.util.ReflectionUtils
Creates an instance of the class with the given name.
createInstanceOfType(Class<T>, boolean) - Static method in class org.unitils.util.ReflectionUtils
Creates an instance of the given type
createInstanceOfType(Class<T>, boolean, Class[], Object[]) - Static method in class org.unitils.util.ReflectionUtils
Creates an instance of the given type
createMatchingScoreCalculator() - Method in class org.unitils.reflectionassert.comparator.impl.LenientOrderCollectionComparator
Creates the calculator for determining the matching scores of the differences.
createMethodRoadie(Object, Method, TestMethod, RunNotifier, Description) - Method in class org.unitils.UnitilsJUnit4TestClassRunner
Returns the JUnit 4 MethodRoadie object that is used to execute the test method
createModulesRepository(Properties) - Method in class org.unitils.core.Unitils
Configures all unitils modules using the given Properties object, and stores them in a ModulesRepository.
createRefectionComparator(ReflectionComparatorMode...) - Static method in class org.unitils.reflectionassert.ReflectionComparatorFactory
Creates a reflection comparator for the given modes.
createReport(Difference) - Method in interface org.unitils.reflectionassert.report.DifferenceReport
Creates a report.
createReport(Difference) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceReport
Creates a report.
createTest() - Method in class org.unitils.UnitilsParameterized.TestClassRunnerForParameters
 
createView(Difference) - Method in interface org.unitils.reflectionassert.report.DifferenceView
Creates a string representation of the given difference tree.
createView(Difference) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
Creates a string representation of the given difference tree.
createView(Difference) - Method in class org.unitils.reflectionassert.report.impl.SimpleDifferenceView
Creates a string representation of the given difference tree.
createView(Difference) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView
Creates a string representation of the given difference tree.

D

Db2DbSupport - Class in org.unitils.core.dbsupport
Implementation of DbSupport for an IBM DB2 database
Db2DbSupport() - Constructor for class org.unitils.core.dbsupport.Db2DbSupport
Creates support for Db2 databases.
DbSupport - Class in org.unitils.core.dbsupport
Helper class that implements a number of common operations on a database schema.
DbSupport(String) - Constructor for class org.unitils.core.dbsupport.DbSupport
Creates a new, unconfigured instance.
DbSupportFactory - Class in org.unitils.core.dbsupport
todo javadoc

todo cache instances

DbSupportFactory() - Constructor for class org.unitils.core.dbsupport.DbSupportFactory
 
DbUtils - Class in org.unitils.thirdparty.org.apache.commons.dbutils
A collection of JDBC helper methods.
DbUtils() - Constructor for class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
 
DEFAULT_ENUM_VALUE_NAME - Static variable in class org.unitils.util.ModuleUtils
The default name of the default enum value.
DEFAULT_PROPERTIES_FILE_NAME - Static variable in class org.unitils.core.ConfigurationLoader
Name of the fixed configuration file that contains all defaults
DefaultDifferenceReport - Class in org.unitils.reflectionassert.report.impl
Creates a report of the given differences.
DefaultDifferenceReport() - Constructor for class org.unitils.reflectionassert.report.impl.DefaultDifferenceReport
 
DefaultDifferenceReport.MatchType - Enum in org.unitils.reflectionassert.report.impl
 
DefaultDifferenceView - Class in org.unitils.reflectionassert.report.impl
Formatter that will output all leaf differences in the tree and, in case of an unordered collection difference, the difference of all best matches.
DefaultDifferenceView() - Constructor for class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
 
DefaultDifferenceView.DifferenceFormatterVisitor - Class in org.unitils.reflectionassert.report.impl
The visitor for visiting the difference tree.
DefaultDifferenceView.DifferenceFormatterVisitor() - Constructor for class org.unitils.reflectionassert.report.impl.DefaultDifferenceView.DifferenceFormatterVisitor
 
DefaultSQLHandler - Class in org.unitils.core.dbsupport
Class to which database updates and queries are passed.
DefaultSQLHandler(DataSource) - Constructor for class org.unitils.core.dbsupport.DefaultSQLHandler
Constructs a new instance that connects to the given DataSource
DefaultSQLHandler(DataSource, boolean) - Constructor for class org.unitils.core.dbsupport.DefaultSQLHandler
Constructs a new instance that connects to the given DataSource
deleteDirectory(File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Recursively delete a directory.
DerbyDbSupport - Class in org.unitils.core.dbsupport
Implementation of DbSupport for a Derby database.
DerbyDbSupport() - Constructor for class org.unitils.core.dbsupport.DerbyDbSupport
Creates support for Derby databases.
Difference - Class in org.unitils.reflectionassert.difference
A class for holding the difference between two objects.
Difference(String, Object, Object) - Constructor for class org.unitils.reflectionassert.difference.Difference
Creates a difference.
differenceFormatterVisitor - Variable in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
The visitor for visiting the difference tree
DifferenceReport - Interface in org.unitils.reflectionassert.report
Creates a report of the given differences.
DifferenceView - Interface in org.unitils.reflectionassert.report
An interface for classes that can create a string representation of a Difference.
DifferenceVisitor<T,A> - Interface in org.unitils.reflectionassert.difference
A visitor for visiting all types of differences.
DIR_SEPARATOR - Static variable in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
The system directory separator character.
DIR_SEPARATOR_UNIX - Static variable in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
The Unix directory separator character.
DIR_SEPARATOR_WINDOWS - Static variable in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
The Windows directory separator character.
disableCheckAndUniqueConstraints() - Method in class org.unitils.core.dbsupport.H2DbSupport
Disables all check and unique constraints on all tables in the schema
disableCheckAndUniqueConstraints() - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Disables all check and unique constraints on all tables in the schema
disableNotNullConstraints() - Method in class org.unitils.core.dbsupport.H2DbSupport
Disables all not null constraints on all tables in the schema
disableNotNullConstraints() - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Disables all not null constraints on all tables in the schema
disableNotNullConstraints(String) - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Disables not-null constraints on the given table.
disableReferentialConstraints() - Method in class org.unitils.core.dbsupport.Db2DbSupport
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints(String) - Method in class org.unitils.core.dbsupport.Db2DbSupport
 
disableReferentialConstraints() - Method in class org.unitils.core.dbsupport.DbSupport
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints() - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints(String) - Method in class org.unitils.core.dbsupport.DerbyDbSupport
 
disableReferentialConstraints() - Method in class org.unitils.core.dbsupport.H2DbSupport
Disables all referential constraints (e.g. foreign keys) on all tables in the schema
disableReferentialConstraints() - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints() - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints(String) - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
 
disableReferentialConstraints() - Method in class org.unitils.core.dbsupport.MySqlDbSupport
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints(String) - Method in class org.unitils.core.dbsupport.MySqlDbSupport
 
disableReferentialConstraints() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints() - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Disables all referential constraints (e.g. foreign keys) on all table in the schema
disableReferentialConstraints(String) - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
 
disableValueConstraints() - Method in class org.unitils.core.dbsupport.Db2DbSupport
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints(String) - Method in class org.unitils.core.dbsupport.Db2DbSupport
 
disableValueConstraints() - Method in class org.unitils.core.dbsupport.DbSupport
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints() - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints(String) - Method in class org.unitils.core.dbsupport.DerbyDbSupport
 
disableValueConstraints() - Method in class org.unitils.core.dbsupport.H2DbSupport
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints() - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints() - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints(String) - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
 
disableValueConstraints() - Method in class org.unitils.core.dbsupport.MySqlDbSupport
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints(String) - Method in class org.unitils.core.dbsupport.MySqlDbSupport
 
disableValueConstraints() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints() - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Disables all value constraints (e.g. not null) on all tables in the schema
disableValueConstraints(String) - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
 
dropMaterializedView(String) - Method in class org.unitils.core.dbsupport.DbSupport
Removes the materialized view with the given name from the database Note: the view name is surrounded with quotes, making it case-sensitive.
dropMaterializedView(String) - Method in class org.unitils.core.dbsupport.OracleDbSupport
Removes the materialized view with the given name from the database Note: the view name is surrounded with quotes, making it case-sensitive.
dropSequence(String) - Method in class org.unitils.core.dbsupport.DbSupport
Drops the sequence with the given name from the database Note: the sequence name is surrounded with quotes, making it case-sensitive.
dropSequence(String) - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Drops the sequence with the given name from the database Note: the sequence name is surrounded with quotes, making it case-sensitive.
dropSynonym(String) - Method in class org.unitils.core.dbsupport.DbSupport
Removes the synonym with the given name from the database Note: the synonym name is surrounded with quotes, making it case-sensitive.
dropTable(String) - Method in class org.unitils.core.dbsupport.DbSupport
Removes the table with the given name from the database.
dropTable(String) - Method in class org.unitils.core.dbsupport.OracleDbSupport
Removes the table with the given name from the database.
dropTrigger(String) - Method in class org.unitils.core.dbsupport.DbSupport
Drops the trigger with the given name from the database Note: the trigger name is surrounded with quotes, making it case-sensitive.
dropTrigger(String) - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Drops the trigger with the given name from the database.
dropType(String) - Method in class org.unitils.core.dbsupport.DbSupport
Drops the type with the given name from the database Note: the type name is surrounded with quotes, making it case-sensitive.
dropType(String) - Method in class org.unitils.core.dbsupport.OracleDbSupport
Drops the type with the given name from the database Note: the type name is surrounded with quotes, making it case-sensitive.
dropView(String) - Method in class org.unitils.core.dbsupport.DbSupport
Removes the view with the given name from the database Note: the view name is surrounded with quotes, making it case-sensitive.
dropView(String) - Method in class org.unitils.core.dbsupport.OracleDbSupport
Removes the view with the given name from the database Note: the view name is surrounded with quotes, making it case-sensitive.

E

EMPTY_FILE_ARRAY - Static variable in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
An empty array of type File.
evaluate() - Method in class org.unitils.core.junit.AfterTestMethodStatement
 
evaluate() - Method in class org.unitils.core.junit.AfterTestTearDownStatement
 
evaluate() - Method in class org.unitils.core.junit.BeforeTestClassStatement
 
evaluate() - Method in class org.unitils.core.junit.BeforeTestMethodStatement
 
evaluate() - Method in class org.unitils.core.junit.BeforeTestSetUpStatement
 
executeQuery(String) - Method in class org.unitils.core.dbsupport.DefaultSQLHandler
 
executeQuery(String) - Method in interface org.unitils.core.dbsupport.SQLHandler
Executes the given query.
executeTestMethod(Object, Method) - Method in interface org.unitils.TestRunnerAccessor
Execute a test method on a given tested object.
executeTestMethod(Object, Method) - Method in class org.unitils.UnitilsJUnit4TestClassRunner
This method allows access to the test invocation, from within the modules (who get a reference to the runner via the context).
executeUpdate(String) - Method in class org.unitils.core.dbsupport.DefaultSQLHandler
 
executeUpdate(String) - Method in interface org.unitils.core.dbsupport.SQLHandler
Executes the given statement.
executeUpdateAndCommit(String) - Method in class org.unitils.core.dbsupport.DefaultSQLHandler
 
executeUpdateAndCommit(String) - Method in interface org.unitils.core.dbsupport.SQLHandler
Executes the given statement and commits.
exists(String) - Method in class org.unitils.core.dbsupport.DefaultSQLHandler
 
exists(String) - Method in interface org.unitils.core.dbsupport.SQLHandler
Returns true if the query returned a record.
expandPropertyValues(Properties) - Method in class org.unitils.core.ConfigurationLoader
Expands all property place holders to actual values.

F

Factory<T> - Interface in org.unitils.core
 
FileResolver - Class in org.unitils.core.util
Resolves the location for a file with a certain name.
FileResolver() - Constructor for class org.unitils.core.util.FileResolver
Creates a resolver with package prefixing enabled and no path prefix.
FileResolver(boolean, String) - Constructor for class org.unitils.core.util.FileResolver
Creates a resolver.
FileUtils - Class in org.unitils.thirdparty.org.apache.commons.io
General file manipulation utilities.
FileUtils() - Constructor for class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Instances should NOT be constructed in standard programming.
FileUtils - Class in org.unitils.util
 
FileUtils() - Constructor for class org.unitils.util.FileUtils
 
fillAllDifferences(ArrayList<Object>, ArrayList<Object>, ReflectionComparator, UnorderedCollectionDifference) - Method in class org.unitils.reflectionassert.comparator.impl.LenientOrderCollectionComparator
Calculates the difference of all elements in the left list with all elements of the right list.
fillBestMatchingIndexes(ArrayList<Object>, ArrayList<Object>, UnorderedCollectionDifference) - Method in class org.unitils.reflectionassert.comparator.impl.LenientOrderCollectionComparator
Calculates the indexes of the best matching differences for the given unordered collection difference.
firstDifferenceCachedResults - Variable in class org.unitils.reflectionassert.ReflectionComparator
A cache of results, so that comparisons are only performed once and infinite loops because of cycles are avoided A different cache is used dependent on whether only the first difference is required or whether we need all differences, since the resulting Difference objects differ.
flush() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullWriter
 
forceDelete(File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Delete a file.
forceDeleteOnExit(File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Schedule a file to be deleted when JVM exits.
forceMkdir(File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Make a directory, including any necessary but nonexistent parent directories.
format(Object) - Method in class org.unitils.core.util.ObjectFormatter
Gets the string representation of the given object.
formatArray(Object, int, StringBuilder) - Method in class org.unitils.core.util.ArrayAndCollectionFormatter
Formats the given array.
formatBooleanArray(boolean[], StringBuilder) - Method in class org.unitils.core.util.ArrayAndCollectionFormatter
 
formatByteArray(byte[], StringBuilder) - Method in class org.unitils.core.util.ArrayAndCollectionFormatter
 
formatCharacter(Object, Class<?>, StringBuilder) - Method in class org.unitils.core.util.ObjectFormatter
 
formatCharArray(char[], StringBuilder) - Method in class org.unitils.core.util.ArrayAndCollectionFormatter
 
formatCollection(Collection<?>, int, StringBuilder) - Method in class org.unitils.core.util.ArrayAndCollectionFormatter
Formats the given collection.
formatDifference(Difference, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
Creates a string representation of a simple difference.
formatDifference(ObjectDifference, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
Creates a string representation of an object difference.
formatDifference(CollectionDifference, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
Creates a string representation of a collection difference.
formatDifference(MapDifference, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
Creates a string representation of a map difference.
formatDifference(UnorderedCollectionDifference, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
Creates a string representation of an unordered collection difference.
formatDifference(Difference, String) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView
Creates a string representation of a simple difference.
formatDifference(ObjectDifference, String) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView
Creates a string representation of an object difference.
formatDifference(ClassDifference, String) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView
 
formatDifference(CollectionDifference, String) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView
Creates a string representation of a collection difference.
formatDifference(MapDifference, String) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView
Creates a string representation of a map difference.
formatDifference(UnorderedCollectionDifference, String) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView
Creates a string representation of an unorder collection difference.
formatDifferrence(ClassDifference, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
 
formatDoubleArray(double[], StringBuilder) - Method in class org.unitils.core.util.ArrayAndCollectionFormatter
 
formatFields(Object, Class<?>, int, StringBuilder) - Method in class org.unitils.core.util.ObjectFormatter
Formats the field values of the given object.
formatFile(Object, StringBuilder) - Method in class org.unitils.core.util.ObjectFormatter
 
formatFloatArray(float[], StringBuilder) - Method in class org.unitils.core.util.ArrayAndCollectionFormatter
 
formatImpl(Object, int, StringBuilder) - Method in class org.unitils.core.util.ObjectFormatter
Actual implementation of the formatting.
formatIntArray(int[], StringBuilder) - Method in class org.unitils.core.util.ArrayAndCollectionFormatter
 
formatJavaLang(Object, StringBuilder, Class<?>) - Method in class org.unitils.core.util.ObjectFormatter
 
formatLongArray(long[], StringBuilder) - Method in class org.unitils.core.util.ArrayAndCollectionFormatter
 
formatMap(Map<?, ?>, int, StringBuilder) - Method in class org.unitils.core.util.ArrayAndCollectionFormatter
Formats the given map.
formatMessage(String, String) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Formats the exception message.
formatMock(Object, StringBuilder) - Method in class org.unitils.core.util.ObjectFormatter
 
formatNumberOrDate(Object, StringBuilder) - Method in class org.unitils.core.util.ObjectFormatter
 
formatObject(Object, int, StringBuilder) - Method in class org.unitils.core.util.ObjectFormatter
Formats the given object by formatting the inner fields.
formatObject(Object) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
 
formatObject(Object) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView
 
formatObjectArray(Object[], int, StringBuilder) - Method in class org.unitils.core.util.ArrayAndCollectionFormatter
 
formatOnOneLine(String, String) - Method in class org.unitils.reflectionassert.report.impl.SimpleDifferenceView
 
formatOnTwoLines(String, String) - Method in class org.unitils.reflectionassert.report.impl.SimpleDifferenceView
 
formatPrimitiveOrEnum(Object, Class<?>, StringBuilder) - Method in class org.unitils.core.util.ObjectFormatter
 
formatProxy(Object, Class<?>, StringBuilder) - Method in class org.unitils.core.util.ObjectFormatter
 
formatShortArray(short[], StringBuilder) - Method in class org.unitils.core.util.ArrayAndCollectionFormatter
 
formatString(Object, StringBuilder) - Method in class org.unitils.core.util.ObjectFormatter
 
formatValues(String, Object, Object) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
Formats and appends the given fieldname and object values.
formatValues(String, Object, Object) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView
Formats and appends the given fieldname and object values.
formatValuesOnMultipleLines(String, String, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
 
formatValuesOnOneLine(String, String, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
 

G

getAllFields(Class<?>) - Static method in class org.unitils.util.ReflectionUtils
Gets all fields of the given class and all its super-classes.
getAllMethods(Class<?>, boolean) - Static method in class org.unitils.util.ReflectionUtils
Gets all methods of the given class and all its super-classes.
getAllMethods(Class<?>, boolean, Class<?>) - Static method in class org.unitils.util.ReflectionUtils
Gets all methods of the given class and all its super-classes.
getAllMethods(Class<?>) - Static method in class org.unitils.util.ReflectionUtils
Gets all methods of the given class and all its super-classes.
getAllProperties() - Method in class org.unitils.core.config.Configuration
 
getAnnotationProperty(S) - Method in interface org.unitils.util.AnnotationPropertyAccessor
 
getAnnotationPropertyDefault(Class<? extends Module>, Class<? extends Annotation>, String, Properties) - Static method in class org.unitils.util.ModuleUtils
Returns the default for annotation property of the given annotation with the given name for the given moduleclass.
getAnnotationPropertyDefaults(Class<? extends Module>, Properties, Class<? extends Annotation>...) - Static method in class org.unitils.util.ModuleUtils
Returns an object that represents the default values for the properties of the given annotations and the given module.
getAnnotationPropertyValue(Method, Annotation) - Static method in class org.unitils.util.AnnotationUtils
 
getAnnotationPropertyWithName(Class<? extends Annotation>, String) - Static method in class org.unitils.util.AnnotationUtils
 
getAnnotationValues(Class<?>) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Gets the values of the annotations on the given class.
getAnnotationValues(A) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Gets the values that are specified for the given annotation.
getBestMatchingIndexes() - Method in class org.unitils.reflectionassert.difference.UnorderedCollectionDifference
Gets the indexes of the best matching element differences.
getBestMatchingScore() - Method in class org.unitils.reflectionassert.difference.UnorderedCollectionDifference
Gets the matching score of the best matching indexes.
getBoolean(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the boolean value for the property with the given name.
getBoolean(String) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets the boolean value for the property with the given name.
getBoolean(String, boolean) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets the boolean value for the property with the given name.
getBoolean(String, Properties) - Static method in class org.unitils.util.PropertyUtils
Gets the boolean value for the property with the given name.
getBoolean(String, boolean, Properties) - Static method in class org.unitils.util.PropertyUtils
Gets the boolean value for the property with the given name.
getBooleanList(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated boolean values for the property with the given name.
getCachedDifference(Object, boolean) - Method in class org.unitils.reflectionassert.ReflectionComparator
 
getChildren() - Method in class org.unitils.UnitilsParameterized
 
getClass(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the class value for the property with the given name.
getClassForType(Type) - Static method in class org.unitils.util.ReflectionUtils
Gets the class instance for the given type instance.
getClassLevelAnnotation(Class<T>, Class<?>) - Static method in class org.unitils.util.AnnotationUtils
 
getClassLevelAnnotationProperty(Class<S>, String, T, Class<?>) - Static method in class org.unitils.util.AnnotationUtils
 
getClassList(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated class values for the property with the given name.
getClassValueReplaceDefault(Class<? extends Annotation>, String, Class<?>, Map<Class<? extends Annotation>, Map<String, String>>, Class<?>) - Static method in class org.unitils.util.ModuleUtils
Replaces default enum value with the given default enum value.
getClassWithName(String) - Static method in class org.unitils.util.ReflectionUtils
Gets the class for the given name.
getColumnNames(String) - Method in class org.unitils.core.dbsupport.Db2DbSupport
Gets the names of all columns of the given table.
getColumnNames(String) - Method in class org.unitils.core.dbsupport.DbSupport
Gets the names of all columns of the given table.
getColumnNames(String) - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Gets the names of all columns of the given table.
getColumnNames(String) - Method in class org.unitils.core.dbsupport.H2DbSupport
Gets the names of all columns of the given table.
getColumnNames(String) - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Gets the names of all columns of the given table.
getColumnNames(String) - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Gets the names of all columns of the given table.
getColumnNames(String) - Method in class org.unitils.core.dbsupport.MySqlDbSupport
Gets the names of all columns of the given table.
getColumnNames(String) - Method in class org.unitils.core.dbsupport.OracleDbSupport
Gets the names of all columns of the given table.
getColumnNames(String) - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Gets the names of all columns of the given table.
getComparatorChain(Set<ReflectionComparatorMode>) - Static method in class org.unitils.reflectionassert.ReflectionComparatorFactory
Creates a comparator chain for the given modes.
getConfiguration() - Method in class org.unitils.core.Unitils
Returns all properties that are used to configure unitils and the different modules.
getConfigurationFileName(String, Properties) - Method in class org.unitils.core.ConfigurationLoader
Gets the configuration file name from the system properties or if not defined, from the given loaded properties.
getConfiguredClassName(Class<?>, Properties, String...) - Static method in class org.unitils.core.util.ConfigUtils
Retrieves the class name of the concrete instance of the class with the given type as configured by the given Configuration.
getConfiguredInstanceOf(Class<? extends T>, Properties, String...) - Static method in class org.unitils.core.util.ConfigUtils
Retrieves the concrete instance of the class with the given type as configured by the given Configuration.
getCurrentTestMethod() - Method in class org.unitils.UnitilsJUnit3
Gets the method that has the same name as the current test.
getCustomCreateMethod(Class<?>, boolean) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Gets the custom create methods on the given class.
getCustomCreateMethodReturnType() - Method in class org.unitils.core.util.AnnotatedInstanceManager
 
getDatabaseDialect() - Method in class org.unitils.core.dbsupport.DbSupport
Gets the database dialect.
getDataSource() - Method in class org.unitils.core.dbsupport.DefaultSQLHandler
 
getDataSource() - Method in interface org.unitils.core.dbsupport.SQLHandler
 
getDbSupport(Properties, SQLHandler, String, String) - Static method in class org.unitils.core.dbsupport.DbSupportFactory
Returns the dbms specific DbSupport as configured in the given Configuration.
getDbSupports(Properties, SQLHandler, String, List<String>) - Static method in class org.unitils.core.dbsupport.DbSupportFactory
Returns the dbms specific DbSupport instances for all configured schemas.
getDefaultDbSupport(Properties, SQLHandler, String, String) - Static method in class org.unitils.core.dbsupport.DbSupportFactory
Returns the dbms specific DbSupport as configured in the given Configuration for the default schema.
getDefaultFileName(String, Class<?>) - Method in class org.unitils.core.util.FileResolver
The default name is constructed as follows: 'classname without packagename'.'
getDifference(Object, Object) - Method in class org.unitils.reflectionassert.ReflectionComparator
Checks whether there is a difference between the left and right objects.
getDifference(Object, Object, boolean) - Method in class org.unitils.reflectionassert.ReflectionComparator
Checks whether there are differences between the left and right objects.
getDummyObjectClass() - Method in class org.unitils.core.util.ObjectFormatter
 
getElementDifference(int, int) - Method in class org.unitils.reflectionassert.difference.UnorderedCollectionDifference
Gets the difference between the elements with the given indexes.
getElementDifferences() - Method in class org.unitils.reflectionassert.difference.CollectionDifference
Gets all element differences per index.
getElementDifferences() - Method in class org.unitils.reflectionassert.difference.UnorderedCollectionDifference
Gets all element differences per left index and right index.
getEntitiyName(Object) - Static method in class org.unitils.reflectionassert.util.HibernateUtil
Gets the class name of the proxied object
getEnumList(Class<T>, String, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated enum values for the property with the given name.
getEnumValue(Class<T>, String, String...) - Method in class org.unitils.core.config.Configuration
Gets the enum value for the property with the given name.
getEnumValue(Class<T>, String) - Static method in class org.unitils.util.ReflectionUtils
Gets the enum value that has the given name.
getEnumValueReplaceDefault(Class<? extends Annotation>, String, T, Map<Class<? extends Annotation>, Map<String, String>>) - Static method in class org.unitils.util.ModuleUtils
Replaces default enum value with the given default enum value.
getEnumValueReplaceDefault(Class<? extends Annotation>, String, T, Map<Class<? extends Annotation>, Map<String, String>>, String) - Static method in class org.unitils.util.ModuleUtils
Replaces default enum value with the given default enum value.
getErrors() - Method in class org.unitils.UnitilsParameterized.UnitilsMethodValidator
 
getFailureMessage(String, Difference) - Static method in class org.unitils.reflectionassert.ReflectionAssert
 
getFieldDifferences() - Method in class org.unitils.reflectionassert.difference.ObjectDifference
Gets all differences per field name.
getFieldLevelAnnotations(Class<?>, Class<T>) - Static method in class org.unitils.util.AnnotationUtils
 
getFieldsAnnotatedWith(Class<? extends Object>, Class<T>) - Static method in class org.unitils.util.AnnotationUtils
Returns the given class's declared fields that are marked with the given annotation
getFieldsAssignableFrom(Class<?>, Type, boolean) - Static method in class org.unitils.util.ReflectionUtils
Returns all declared fields of the given class that are assignable from the given type.
getFieldsOfType(Class<?>, Type, boolean) - Static method in class org.unitils.util.ReflectionUtils
Returns the fields in the given class that have the exact given type.
getFieldValue(Object, Field) - Static method in class org.unitils.util.ReflectionUtils
Returns the value of the given field (may be private) in the given object
getFieldWithName(Class<?>, String, boolean) - Static method in class org.unitils.util.ReflectionUtils
From the given class, returns the field with the given name. isStatic indicates if it should be a static field or not.
getGenericType(Field) - Static method in class org.unitils.util.ReflectionUtils
Gets the T from a Class field declaration.
getGetter(Class<?>, String, boolean) - Static method in class org.unitils.util.ReflectionUtils
From the given class, returns the getter for the given property name.
getGetter(Method, boolean) - Static method in class org.unitils.util.ReflectionUtils
From the given class, returns the getter for the given setter method.
getIdentifier(Object) - Static method in class org.unitils.reflectionassert.util.HibernateUtil
Gets the unique identifier of the given proxy object.
getIdentifierQuoteString() - Method in class org.unitils.core.dbsupport.DbSupport
Gets the identifier quote string.
getIdentityColumnNames(String) - Method in class org.unitils.core.dbsupport.Db2DbSupport
Gets the names of all identity columns of the given table.
getIdentityColumnNames(String) - Method in class org.unitils.core.dbsupport.DbSupport
Gets the names of all identity columns of the given table.
getIdentityColumnNames(String) - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Gets the names of all identity columns of the given table.
getIdentityColumnNames(String) - Method in class org.unitils.core.dbsupport.H2DbSupport
Gets the names of all primary columns of the given table.
getIdentityColumnNames(String) - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Gets the names of all identity columns of the given table.
getIdentityColumnNames(String) - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Gets the names of all identity columns of the given table.
getIdentityColumnNames(String) - Method in class org.unitils.core.dbsupport.MySqlDbSupport
Gets the names of all identity columns of the given table.
getInnerDifference(String, Difference) - Static method in class org.unitils.reflectionassert.util.InnerDifferenceFinder
Gets the difference at the given element/field/key (depending on the type of the given difference)
getInstance(String) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets an instance of the class name specified by the property with the given name.
getInstance(String, T) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets an instance of the class name specified by the property with the given name.
getInstance() - Static method in class org.unitils.core.Unitils
Returns the singleton instance
getInstance(Object) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Gets an instance for the given test.
getInstance(String, Properties) - Static method in class org.unitils.util.PropertyUtils
Gets an instance of the type specified by the property with the given name.
getInstance(String, T, Properties) - Static method in class org.unitils.util.PropertyUtils
Gets an instance of the type specified by the property with the given name.
getInstanceImpl(Object, Class<?>) - Method in class org.unitils.core.util.AnnotatedInstanceManager
getInstanceOf(Class<T>, String...) - Method in class org.unitils.core.config.Configuration
Gets an instance of the given type (typically an interface).
getInstanceOf(Class<T>, String...) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets an instance of the given type (typically an interface).
getInstanceOf(Class<? extends T>, Properties, String...) - Static method in class org.unitils.core.util.ConfigUtils
Retrieves the concrete instance of the class with the given type as configured by the given Configuration.
getInstanceOfList(Class<T>, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated instances of the given type (typically an interface).
getInt(String) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets the int value for the property with the given name.
getInt(String, int) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets the int value for the property with the given name.
getInt(String, Properties) - Static method in class org.unitils.util.PropertyUtils
Gets the int value for the property with the given name.
getInt(String, int, Properties) - Static method in class org.unitils.util.PropertyUtils
Gets the int value for the property with the given name.
getInteger(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the int value for the property with the given name.
getIntegerList(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated int values for the property with the given name.
getItemAsLong(String) - Method in class org.unitils.core.dbsupport.DefaultSQLHandler
 
getItemAsLong(String) - Method in interface org.unitils.core.dbsupport.SQLHandler
Returns the long extracted from the result of the given query.
getItemAsString(String) - Method in class org.unitils.core.dbsupport.DefaultSQLHandler
 
getItemAsString(String) - Method in interface org.unitils.core.dbsupport.SQLHandler
Returns the value extracted from the result of the given query.
getItemsAsStringSet(String) - Method in class org.unitils.core.dbsupport.DefaultSQLHandler
 
getItemsAsStringSet(String) - Method in interface org.unitils.core.dbsupport.SQLHandler
Returns the items extracted from the result of the given query.
getLeftClass() - Method in class org.unitils.reflectionassert.difference.ClassDifference
 
getLeftList() - Method in class org.unitils.reflectionassert.difference.CollectionDifference
 
getLeftList() - Method in class org.unitils.reflectionassert.difference.UnorderedCollectionDifference
 
getLeftMap() - Method in class org.unitils.reflectionassert.difference.MapDifference
 
getLeftMissingIndexes() - Method in class org.unitils.reflectionassert.difference.CollectionDifference
Gets the indexes of the left elements that were missing in the right collection.
getLeftMissingKeys() - Method in class org.unitils.reflectionassert.difference.MapDifference
Gets the keys of the left maps that were missing in the right map.
getLeftValue() - Method in class org.unitils.reflectionassert.difference.Difference
Gets the left value.
getLong(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the long value for the property with the given name.
getLong(String) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets the long value for the property with the given name.
getLong(String, long) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets the long value for the property with the given name.
getLong(String, Properties) - Static method in class org.unitils.util.PropertyUtils
Gets the long value for the property with the given name.
getLong(String, long, Properties) - Static method in class org.unitils.util.PropertyUtils
Gets the long value for the property with the given name.
getLongDataType() - Method in class org.unitils.core.dbsupport.DbSupport
Gets the column type suitable to store values of the Java java.lang.Long type.
getLongDataType() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Gets the column type suitable to store values of the Java java.lang.Long type.
getLongList(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated long values for the property with the given name.
getMatchingScore(Difference) - Method in class org.unitils.reflectionassert.util.MatchingScoreCalculator
Gets the matching score for a simple difference.
getMatchingScore(ObjectDifference) - Method in class org.unitils.reflectionassert.util.MatchingScoreCalculator
Gets the matching score for an object difference.
getMatchingScore(MapDifference) - Method in class org.unitils.reflectionassert.util.MatchingScoreCalculator
Gets the matching score for a map difference.
getMatchingScore(CollectionDifference) - Method in class org.unitils.reflectionassert.util.MatchingScoreCalculator
Gets the matching score for a collection difference.
getMatchingScore(UnorderedCollectionDifference) - Method in class org.unitils.reflectionassert.util.MatchingScoreCalculator
Gets the matching score for an unordered collection difference.
getMaterializedViewNames() - Method in class org.unitils.core.dbsupport.DbSupport
Retrieves the names of all materialized views in the database schema.
getMaterializedViewNames() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Retrieves the names of all materialized views in the database schema.
getMessage() - Method in class org.unitils.reflectionassert.difference.Difference
Gets the message indicating the kind of difference.
getMethod(Class<?>, String, boolean, Class<?>...) - Static method in class org.unitils.util.ReflectionUtils
Gets the method with the given name from the given class or one of its super-classes.
getMethodLevelAnnotations(Class<?>, Class<T>) - Static method in class org.unitils.util.AnnotationUtils
 
getMethodOrClassLevelAnnotation(Class<T>, Method, Class<?>) - Static method in class org.unitils.util.AnnotationUtils
 
getMethodOrClassLevelAnnotationProperty(Class<S>, String, T, Method, Class<?>) - Static method in class org.unitils.util.AnnotationUtils
 
getMethodsAnnotatedWith(Class<?>, Class<T>) - Static method in class org.unitils.util.AnnotationUtils
Returns the given class's (and superclasses) declared methods that are marked with the given annotation
getMethodsAnnotatedWith(Class<?>, Class<T>, boolean) - Static method in class org.unitils.util.AnnotationUtils
Returns the given class's declared methods that are marked with the given annotation
getModuleOfType(Class<T>) - Method in class org.unitils.core.ModulesRepository
Gets the modules that is of the given type or a sub-type.
getModules() - Method in class org.unitils.core.ModulesRepository
Gets all modules.
getModulesOfType(Class<T>) - Method in class org.unitils.core.ModulesRepository
Gets all modules that are of the given type or a sub-type.
getModulesRepository() - Method in class org.unitils.core.Unitils
Returns the ModulesRepository that provides access to the modules that are configured in unitils.
getName() - Method in class org.unitils.UnitilsParameterized.TestClassRunnerForParameters
 
getNotNullColummnNames(String) - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Returns the names of all columns that have a 'not-null' constraint on them.
getObjectToInject() - Method in interface org.unitils.core.util.ObjectToInjectHolder
 
getObjectToInjectType(Field) - Method in interface org.unitils.core.util.ObjectToInjectHolder
Gets the type of the object to inject.
getOptionalBoolean(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the boolean value for the property with the given name.
getOptionalBooleanList(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated boolean values for the property with the given name.
getOptionalClass(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the class value for the property with the given name.
getOptionalClassList(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated class values for the property with the given name.
getOptionalEnumList(Class<T>, String, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated enum values for the property with the given name.
getOptionalEnumValue(Class<T>, String, String...) - Method in class org.unitils.core.config.Configuration
Gets the enum value for the property with the given name.
getOptionalInstanceOf(Class<T>, String...) - Method in class org.unitils.core.config.Configuration
Gets an instance of the given type (typically an interface).
getOptionalInstanceOfList(Class<T>, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated instances of the given type (typically an interface).
getOptionalInteger(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the int value for the property with the given name.
getOptionalIntegerList(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated int values for the property with the given name.
getOptionalLong(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the long value for the property with the given name.
getOptionalLongList(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated long values for the property with the given name.
getOptionalString(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the string value for the property with the given name.
getOptionalStringList(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated string values for the property with the given name.
getOptionalValueListOfType(Class<T>, String, String...) - Method in class org.unitils.core.config.Configuration
 
getOptionalValueOfType(Class<T>, String, String...) - Method in class org.unitils.core.config.Configuration
 
getOracleMajorVersionNumber() - Method in class org.unitils.core.dbsupport.Oracle10DbSupport
 
getOracleMajorVersionNumber() - Method in class org.unitils.core.dbsupport.Oracle9DbSupport
 
getOracleMajorVersionNumber() - Method in class org.unitils.core.dbsupport.OracleDbSupport
 
getOverridingProperties() - Method in class org.unitils.core.config.Configuration
 
getParametersMethod(TestClass) - Method in class org.unitils.UnitilsParameterized
 
getPathPrefix() - Method in class org.unitils.core.util.FileResolver
 
getPosition() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Return the current position.
getPrimaryKeyColumnNames(String) - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Gets the names of all primary columns of the given table.
getProperties() - Method in class org.unitils.core.config.UnitilsConfiguration
 
getProperty(String) - Method in class org.unitils.core.config.Configuration
 
getProperty(Object, String) - Static method in class org.unitils.reflectionassert.ReflectionAssert
Evaluates the given OGNL expression, and returns the corresponding property value from the given object.
getPropertyName(Method) - Static method in class org.unitils.util.ReflectionUtils
Gets the name of the field for the given setter method.
getProxyUtilsClass() - Method in class org.unitils.core.util.ObjectFormatter
 
getRightClass() - Method in class org.unitils.reflectionassert.difference.ClassDifference
 
getRightList() - Method in class org.unitils.reflectionassert.difference.CollectionDifference
 
getRightList() - Method in class org.unitils.reflectionassert.difference.UnorderedCollectionDifference
 
getRightMap() - Method in class org.unitils.reflectionassert.difference.MapDifference
 
getRightMissingIndexes() - Method in class org.unitils.reflectionassert.difference.CollectionDifference
Gets the indexes of the right elements that were missing in the left collection.
getRightMissingKeys() - Method in class org.unitils.reflectionassert.difference.MapDifference
Gets the keys of the left maps that were missing in the right map.
getRightValue() - Method in class org.unitils.reflectionassert.difference.Difference
Gets the right value.
getRunner() - Method in class org.unitils.core.TestContext
 
getSchemaName() - Method in class org.unitils.core.dbsupport.DbSupport
Gets the schema name.
getSequenceNames() - Method in class org.unitils.core.dbsupport.Db2DbSupport
Retrieves the names of all the sequences in the database schema.
getSequenceNames() - Method in class org.unitils.core.dbsupport.DbSupport
Retrieves the names of all sequences in the database schema.
getSequenceNames() - Method in class org.unitils.core.dbsupport.H2DbSupport
Retrieves the names of all the sequences in the database schema.
getSequenceNames() - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Retrieves the names of all the sequences in the database schema.
getSequenceNames() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Retrieves the names of all sequences in the database schema.
getSequenceNames() - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Retrieves the names of all the sequences in the database schema.
getSequenceValue(String) - Method in class org.unitils.core.dbsupport.Db2DbSupport
Returns the value of the sequence with the given name.
getSequenceValue(String) - Method in class org.unitils.core.dbsupport.DbSupport
Returns the value of the sequence with the given name.
getSequenceValue(String) - Method in class org.unitils.core.dbsupport.H2DbSupport
Returns the value of the sequence with the given name.
getSequenceValue(String) - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Returns the value of the sequence with the given name.
getSequenceValue(String) - Method in class org.unitils.core.dbsupport.OracleDbSupport
Returns the value of the sequence with the given name.
getSequenceValue(String) - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Returns the value of the sequence with the given name.
getSetter(Class<?>, String, boolean) - Static method in class org.unitils.util.ReflectionUtils
From the given class, returns the setter for the property with the given name and 1 argument.
getSettersAssignableFrom(Class<?>, Type, boolean) - Static method in class org.unitils.util.ReflectionUtils
Returns all declared setter methods of fields of the given class that are assignable from the given type.
getSettersOfType(Class<?>, Type, boolean) - Static method in class org.unitils.util.ReflectionUtils
Returns the setter methods in the given class that have an argument with the exact given type.
getSimpleMethodName(Method) - Static method in class org.unitils.util.ReflectionUtils
Gets the string representation of the method as follows: 'class name'.'
getSize() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Return the size this InputStream emulates.
getSQLHandler() - Method in class org.unitils.core.dbsupport.DbSupport
Gets the sql handler.
getStoredIdentifierCase() - Method in class org.unitils.core.dbsupport.DbSupport
Gets the stored identifier case.
getString(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the string value for the property with the given name.
getString(String) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets the string value for the property with the given name.
getString(String, String) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets the string value for the property with the given name.
getString(String, Properties) - Static method in class org.unitils.util.PropertyUtils
Gets the string value for the property with the given name.
getString(String, String, Properties) - Static method in class org.unitils.util.PropertyUtils
Gets the string value for the property with the given name.
getStringList(String, String...) - Method in class org.unitils.core.config.Configuration
Gets the list of comma separated string values for the property with the given name.
getStringList(String) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets the list of comma separated string values for the property with the given name.
getStringList(String, boolean) - Method in class org.unitils.core.config.UnitilsConfiguration
Gets the list of comma separated string values for the property with the given name.
getStringList(String, Properties) - Static method in class org.unitils.util.PropertyUtils
Gets the list of comma separated string values for the property with the given name.
getStringList(String, Properties, boolean) - Static method in class org.unitils.util.PropertyUtils
Gets the list of comma separated string values for the property with the given name.
getSynonymNames() - Method in class org.unitils.core.dbsupport.DbSupport
Retrieves the names of all synonyms in the database schema.
getSynonymNames() - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Retrieves the names of all the synonyms in the database schema.
getSynonymNames() - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Retrieves the names of all synonyms in the database schema.
getSynonymNames() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Retrieves the names of all synonyms in the database schema.
getTableNames() - Method in class org.unitils.core.dbsupport.Db2DbSupport
Returns the names of all tables in the database.
getTableNames() - Method in class org.unitils.core.dbsupport.DbSupport
Returns the names of all tables in the database.
getTableNames() - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Returns the names of all tables in the database.
getTableNames() - Method in class org.unitils.core.dbsupport.H2DbSupport
Returns the names of all tables in the database.
getTableNames() - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Returns the names of all tables in the database.
getTableNames() - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Returns the names of all tables in the database.
getTableNames() - Method in class org.unitils.core.dbsupport.MySqlDbSupport
Returns the names of all tables in the database.
getTableNames() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Returns the names of all tables in the database.
getTableNames() - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Returns the names of all tables in the database.
getTestClass() - Method in class org.unitils.core.TestContext
 
getTestContext() - Method in class org.unitils.core.Unitils
Returns the TestContext that, during the execution of the test suite, keeps track of the current test object, class and test method that are executing.
getTestListener() - Method in interface org.unitils.core.Module
Creates the test listener for this module.
getTestListener(Module) - Method in class org.unitils.core.ModulesRepository
Gets the listener corresponding to the given module.
getTestListener() - Method in class org.unitils.core.Unitils
Returns the single instance of TestListener.
getTestListener() - Method in class org.unitils.UnitilsJUnit3
 
getTestListener() - Method in class org.unitils.UnitilsJUnit4TestClassRunner
 
getTestListeners() - Method in class org.unitils.core.ModulesRepository
Gets all listeners.
getTestMethod() - Method in class org.unitils.core.TestContext
 
getTestObject() - Method in class org.unitils.core.TestContext
 
getTextDataType(int) - Method in class org.unitils.core.dbsupport.DbSupport
Gets the column type suitable to store text values.
getTextDataType(int) - Method in class org.unitils.core.dbsupport.OracleDbSupport
Gets the column type suitable to store text values.
getTriggerNames() - Method in class org.unitils.core.dbsupport.Db2DbSupport
Retrieves the names of all the triggers in the database schema.
getTriggerNames() - Method in class org.unitils.core.dbsupport.DbSupport
Retrieves the names of all triggers in the database schema.
getTriggerNames() - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Retrieves the names of all the triggers in the database schema.
getTriggerNames() - Method in class org.unitils.core.dbsupport.H2DbSupport
Retrieves the names of all the triggers in the database schema.
getTriggerNames() - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Retrieves the names of all the triggers in the database schema.
getTriggerNames() - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Retrieves the names of all the triggers in the database schema.
getTriggerNames() - Method in class org.unitils.core.dbsupport.MySqlDbSupport
Retrieves the names of all the triggers in the database schema.
getTriggerNames() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Retrieves the names of all triggers in the database schema.
getTriggerNames() - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Retrieves the names of all the triggers in the database schema.
getTypeNames() - Method in class org.unitils.core.dbsupport.Db2DbSupport
Retrieves the names of all the types in the database schema.
getTypeNames() - Method in class org.unitils.core.dbsupport.DbSupport
Retrieves the names of all types in the database schema.
getTypeNames() - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Retrieves the names of all the types in the database schema.
getTypeNames() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Retrieves the names of all the types in the database schema.
getTypeNames() - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Retrieves the names of all user-defined types in the database schema.
getUnitils() - Method in class org.unitils.UnitilsJUnit3
This will return the default singleton instance by calling Unitils.getInstance().
getUnitils() - Method in class org.unitils.UnitilsJUnit4TestClassRunner
Returns the default singleton instance of Unitils
getUnitilsTestListener() - Method in class org.unitils.UnitilsBlockJUnit4ClassRunner
 
getUnproxiedValue(Object) - Static method in class org.unitils.reflectionassert.util.HibernateUtil
Gets (and loads) the wrapped object out of a given hibernate proxy.
getUrl(File) - Static method in class org.unitils.util.FileUtils
Creates an URL that points to the given file.
getValueDifferences() - Method in class org.unitils.reflectionassert.difference.MapDifference
Gets all element differences per key.
getValueListOfType(Class<T>, String, String...) - Method in class org.unitils.core.config.Configuration
 
getValueOfType(Class<T>, String, String...) - Method in class org.unitils.core.config.Configuration
 
getViewNames() - Method in class org.unitils.core.dbsupport.Db2DbSupport
Retrieves the names of all the views in the database schema.
getViewNames() - Method in class org.unitils.core.dbsupport.DbSupport
Retrieves the names of all the views in the database schema.
getViewNames() - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Retrieves the names of all the views in the database schema.
getViewNames() - Method in class org.unitils.core.dbsupport.H2DbSupport
Retrieves the names of all the views in the database schema.
getViewNames() - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Retrieves the names of all the views in the database schema.
getViewNames() - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Retrieves the names of all the views in the database schema.
getViewNames() - Method in class org.unitils.core.dbsupport.MySqlDbSupport
Retrieves the names of all the views in the database schema.
getViewNames() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Retrieves the names of all views in the database schema.
getViewNames() - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Retrieves the names of all the views in the database schema.

H

H2DbSupport - Class in org.unitils.core.dbsupport
Implementation of DbSupport for a H2 database
H2DbSupport() - Constructor for class org.unitils.core.dbsupport.H2DbSupport
Creates support for H2 databases.
hasClassMethodOrFieldLevelAnnotation(Class<?>, Class<? extends Annotation>) - Static method in class org.unitils.util.AnnotationUtils
 
hasInstance(Object) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Checks whether AnnotatedInstanceManager.getInstance(java.lang.Object) will return an instance.
hasInstanceImpl(Object, Class<?>) - Method in class org.unitils.core.util.AnnotatedInstanceManager
HIBERNATE_PROXY_COMPARATOR - Static variable in class org.unitils.reflectionassert.ReflectionComparatorFactory
The HibernateProxyComparator singleton insance
hibernateProxyClass - Static variable in class org.unitils.reflectionassert.util.HibernateUtil
The hibernate proxy type, null if the class is not found in the classpath
HibernateProxyComparator - Class in org.unitils.reflectionassert.comparator.impl
Comparator that can handle Hibernate proxies.
HibernateProxyComparator() - Constructor for class org.unitils.reflectionassert.comparator.impl.HibernateProxyComparator
 
HibernateUtil - Class in org.unitils.reflectionassert.util
Utility class for handling Hibernate proxies during the comparison.
HibernateUtil() - Constructor for class org.unitils.reflectionassert.util.HibernateUtil
 
HsqldbDbSupport - Class in org.unitils.core.dbsupport
Implementation of DbSupport for a hsqldb database
HsqldbDbSupport() - Constructor for class org.unitils.core.dbsupport.HsqldbDbSupport
Creates support for HsqlDb databases.

I

IGNORE_DEFAULTS_COMPARATOR - Static variable in class org.unitils.reflectionassert.ReflectionComparatorFactory
The IgnoreDefaultsComparator singleton insance
IgnoreDefaultsComparator - Class in org.unitils.reflectionassert.comparator.impl
A comparator that filters out java-defaults.
IgnoreDefaultsComparator() - Constructor for class org.unitils.reflectionassert.comparator.impl.IgnoreDefaultsComparator
 
incrementIdentityColumnToValue(String, String, long) - Method in class org.unitils.core.dbsupport.Db2DbSupport
Increments the identity value for the specified identity column on the specified table to the given value.
incrementIdentityColumnToValue(String, String, long) - Method in class org.unitils.core.dbsupport.DbSupport
Increments the identity value for the specified identity column on the specified table to the given value.
incrementIdentityColumnToValue(String, String, long) - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Increments the identity value for the specified identity column on the specified table to the given value.
incrementIdentityColumnToValue(String, String, long) - Method in class org.unitils.core.dbsupport.H2DbSupport
Increments the identity value for the specified identity column on the specified table to the given value.
incrementIdentityColumnToValue(String, String, long) - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Increments the identity value for the specified identity column on the specified table to the given value.
incrementIdentityColumnToValue(String, String, long) - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Increments the identity value for the specified identity column on the specified table to the given value.
incrementIdentityColumnToValue(String, String, long) - Method in class org.unitils.core.dbsupport.MySqlDbSupport
Increments the identity value for the specified primary key on the specified table to the given value.
incrementSequenceToValue(String, long) - Method in class org.unitils.core.dbsupport.Db2DbSupport
Sets the next value of the sequence with the given sequence name to the given sequence value.
incrementSequenceToValue(String, long) - Method in class org.unitils.core.dbsupport.DbSupport
Sets the next value of the sequence with the given sequence name to the given sequence value.
incrementSequenceToValue(String, long) - Method in class org.unitils.core.dbsupport.H2DbSupport
Sets the next value of the sequence with the given sequence name to the given sequence value.
incrementSequenceToValue(String, long) - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Sets the next value of the sequence with the given sequence name to the given sequence value.
incrementSequenceToValue(String, long) - Method in class org.unitils.core.dbsupport.OracleDbSupport
Sets the next value of the sequence with the given sequence name to the given sequence value.
incrementSequenceToValue(String, long) - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Sets the next value of the sequence with the given sequence name to the given sequence value.
init(Properties, SQLHandler, String) - Method in class org.unitils.core.dbsupport.DbSupport
Initializes this DbSupport object with the given schemaName and dataSource.
init(Properties) - Method in interface org.unitils.core.Module
Initializes the module with the given configuration settings.
init() - Method in class org.unitils.core.Unitils
Initializes unitils with the configuration files.
init(Properties) - Method in class org.unitils.core.Unitils
Initializes Unitils with the given configuration.
init(Properties) - Method in class org.unitils.core.util.BaseConfigurable
 
init(Properties) - Method in interface org.unitils.core.util.Configurable
Initializes the database operation class with the given Properties
initSingletonInstance() - Static method in class org.unitils.core.Unitils
Initializes the singleton instance to the default value, loading the configuration using the ConfigurationLoader
InnerDifferenceFinder - Class in org.unitils.reflectionassert.util
A utility class to get the difference at the given element/field/key.
InnerDifferenceFinder() - Constructor for class org.unitils.reflectionassert.util.InnerDifferenceFinder
 
InnerDifferenceFinder.InnerDifferenceVisitor - Class in org.unitils.reflectionassert.util
The visitor for visiting the difference tree.
InnerDifferenceFinder.InnerDifferenceVisitor() - Constructor for class org.unitils.reflectionassert.util.InnerDifferenceFinder.InnerDifferenceVisitor
 
instanceClass - Variable in class org.unitils.core.util.AnnotatedInstanceManager
The type of the managed instances
instances - Variable in class org.unitils.core.util.AnnotatedInstanceManager
All created intances per class
invalidateInstance(Class<?>...) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Forces the recreation of the instance the next time that it is requested.
invokeCustomCreateMethod(Method, Object, List<String>) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Creates an instance by calling a custom create method (if there is one).
invokeLazyInitializerMethod(String, Object) - Static method in class org.unitils.reflectionassert.util.HibernateUtil
Invokes the given method on the LazyInitializer that is associated with the given proxy.
invokeMethod(Object, Method, Object...) - Static method in class org.unitils.util.ReflectionUtils
Invokes the given method with the given parameters on the given target object
invokeTestMethod(Method, RunNotifier) - Method in class org.unitils.UnitilsJUnit4TestClassRunner
Overridden JUnit4 method to be able to create a CustomMethodRoadie that will invoke the unitils test listener methods at the appropriate moments.
IOUtils - Class in org.unitils.thirdparty.org.apache.commons.io
General IO stream manipulation utilities.
IOUtils() - Constructor for class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Instances should NOT be constructed in standard programming.
isAssignable(Type, Type) - Static method in class org.unitils.core.util.TypeUtils
Check if the right-hand side type may be assigned to the left-hand side type following the Java generics rules.
isAssignable(Type, Type) - Static method in class org.unitils.util.ReflectionUtils
Checks whether the given fromType is assignable to the given toType, also taking into account possible auto-boxing.
isClassAvailable(String) - Method in class org.unitils.core.Unitils
Utility method that verifies whether the class with the given fully qualified classname is available in the classpath.
isCloneMethod(Method) - Static method in class org.unitils.util.MethodUtils
 
isCustomCreateMethod(Method) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Checks whether the given method is a custom create method.
isDoExecuteUpdates() - Method in class org.unitils.core.dbsupport.DefaultSQLHandler
 
isDoExecuteUpdates() - Method in interface org.unitils.core.dbsupport.SQLHandler
 
isDummy(Object) - Method in class org.unitils.core.util.ObjectFormatter
 
isEqual(ArrayList<Object>, ArrayList<Object>, int, ReflectionComparator) - Method in class org.unitils.reflectionassert.comparator.impl.LenientOrderCollectionComparator
Recursively checks whether there is a sequence so that both collections have matching elements.
isEqual(Object, Object) - Method in class org.unitils.reflectionassert.ReflectionComparator
Checks whether there is no difference between the left and right objects.
isEqualsMethod(Method) - Static method in class org.unitils.util.MethodUtils
 
isFileNewer(File, File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Tests if the specified File is newer than the reference File.
isFileNewer(File, Date) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Tests if the specified File is newer than the specified Date.
isFileNewer(File, long) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Tests if the specified File is newer than the specified time reference.
isFinalizeMethod(Method) - Static method in class org.unitils.util.MethodUtils
 
isHashCodeMethod(Method) - Static method in class org.unitils.util.MethodUtils
 
isHibernateProxy(Object) - Static method in class org.unitils.reflectionassert.util.HibernateUtil
Checks whether the given ojbect is a HibernateProxy instance.
isModuleEnabled(String) - Method in class org.unitils.core.ModulesRepository
Checks whether a module of a type with the given class name exists.
isModuleEnabled(Class<? extends Module>) - Method in class org.unitils.core.ModulesRepository
Checks whether a module of a type exists.
isPrefixWithPackageName() - Method in class org.unitils.core.util.FileResolver
 
isSetter(Method) - Static method in class org.unitils.util.ReflectionUtils
For each method, check if it can be a setter for an object of the given type.
isToStringMethod(Method) - Static method in class org.unitils.util.MethodUtils
 
isUninitialized(Object) - Static method in class org.unitils.reflectionassert.util.HibernateUtil
Checks whether the given proxy object has been loaded.

L

LENIENT_DATES_COMPARATOR - Static variable in class org.unitils.reflectionassert.ReflectionComparatorFactory
The LenientDatesComparator singleton insance
LENIENT_NUMBER_COMPARATOR - Static variable in class org.unitils.reflectionassert.ReflectionComparatorFactory
The LenientNumberComparator singleton insance
LENIENT_ORDER_COMPARATOR - Static variable in class org.unitils.reflectionassert.ReflectionComparatorFactory
The LenientOrderCollectionComparator singleton insance
LenientDatesComparator - Class in org.unitils.reflectionassert.comparator.impl
Comparator that checks whether 2 dates are both null or not null, the actual time-value is not compared.
LenientDatesComparator() - Constructor for class org.unitils.reflectionassert.comparator.impl.LenientDatesComparator
 
LenientNumberComparator - Class in org.unitils.reflectionassert.comparator.impl
A comparator that compares primitive types by value and not by type.
LenientNumberComparator() - Constructor for class org.unitils.reflectionassert.comparator.impl.LenientNumberComparator
 
LenientOrderCollectionComparator - Class in org.unitils.reflectionassert.comparator.impl
A comparator for collections and arrays that ignores the order of both collections.
LenientOrderCollectionComparator() - Constructor for class org.unitils.reflectionassert.comparator.impl.LenientOrderCollectionComparator
 
LINE_SEPARATOR - Static variable in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
The system line separator string.
LINE_SEPARATOR_UNIX - Static variable in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
The Unix line separator string.
LINE_SEPARATOR_WINDOWS - Static variable in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
The Windows line separator string.
loadConfiguration() - Method in class org.unitils.core.ConfigurationLoader
Creates and loads all configuration settings.
loadCustomConfiguration(Properties) - Method in class org.unitils.core.ConfigurationLoader
Load the custom project level configuration file (unitils.properties)
loadDefaultConfiguration(Properties) - Method in class org.unitils.core.ConfigurationLoader
Load the default properties file that is distributed with unitils (unitils-default.properties)
loadDriver(String) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Loads and registers a database driver class.
loadLocalConfiguration(Properties) - Method in class org.unitils.core.ConfigurationLoader
Load the local configuration file from the user home, or from the classpath
loadModules(Properties) - Method in class org.unitils.core.ModulesLoader
Loads all unitils modules as described in the class javadoc.
loadPropertiesFileFromClasspath(String) - Method in class org.unitils.core.util.PropertiesReader
Loads the properties file with the given name, which is available in the classpath.
loadPropertiesFileFromUserHome(String) - Method in class org.unitils.core.util.PropertiesReader
Loads the properties file with the given name, which is available in the user home folder.
loadResourceConfig(Object) - Method in interface org.unitils.core.util.ResourceConfigLoader
 
loadSystemProperties(Properties) - Method in class org.unitils.core.ConfigurationLoader
Load the environment properties.

M

MAP_COMPARATOR - Static variable in class org.unitils.reflectionassert.ReflectionComparatorFactory
The MapComparator singleton insance
MapComparator - Class in org.unitils.reflectionassert.comparator.impl
Comparator for maps.
MapComparator() - Constructor for class org.unitils.reflectionassert.comparator.impl.MapComparator
 
MapDifference - Class in org.unitils.reflectionassert.difference
A class for holding the difference between two collections or arrays.
MapDifference(String, Object, Object, Map<?, ?>, Map<?, ?>) - Constructor for class org.unitils.reflectionassert.difference.MapDifference
Creates a difference.
mark(int) - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Mark the current position.
markSupported() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Indicates whether mark is supported.
MatchingScoreCalculator - Class in org.unitils.reflectionassert.util
A utility class to be able to calculate a score of how well 2 elements match.
MatchingScoreCalculator() - Constructor for class org.unitils.reflectionassert.util.MatchingScoreCalculator
 
MatchingScoreCalculator.MatchingScoreVisitor - Class in org.unitils.reflectionassert.util
The visitor for visiting the difference tree.
MatchingScoreCalculator.MatchingScoreVisitor() - Constructor for class org.unitils.reflectionassert.util.MatchingScoreCalculator.MatchingScoreVisitor
 
matchingScoreVisitor - Variable in class org.unitils.reflectionassert.util.MatchingScoreCalculator
The visitor for visiting the difference tree
MAX_LINE_SIZE - Static variable in class org.unitils.reflectionassert.report.impl.DefaultDifferenceReport
 
maxDepth - Variable in class org.unitils.core.util.ObjectFormatter
 
maxNrArrayOrCollectionElements - Variable in class org.unitils.core.util.ObjectFormatter
 
maxNrOfElements - Variable in class org.unitils.core.util.ArrayAndCollectionFormatter
 
methodBlock(FrameworkMethod) - Method in class org.unitils.UnitilsBlockJUnit4ClassRunner
 
methodInvoker(FrameworkMethod, Object) - Method in class org.unitils.UnitilsBlockJUnit4ClassRunner
 
MethodUtils - Class in org.unitils.util
 
MethodUtils() - Constructor for class org.unitils.util.MethodUtils
 
MissingKeysException - Exception in org.unitils.util
MissingKeyException: If one or more resourcebundles doesn't contain a key.
MissingKeysException(String) - Constructor for exception org.unitils.util.MissingKeysException
 
MOCK_NAME_CHAIN_SEPARATOR - Static variable in class org.unitils.core.util.ObjectFormatter
 
Module - Interface in org.unitils.core
A type for modules that offer services to tests.
ModulesLoader - Class in org.unitils.core
A class for loading unitils modules.
ModulesLoader() - Constructor for class org.unitils.core.ModulesLoader
 
ModulesRepository - Class in org.unitils.core
A class for holding and retrieving modules.
ModulesRepository(List<Module>) - Constructor for class org.unitils.core.ModulesRepository
Creates a repository containing the given modules.
ModuleUtils - Class in org.unitils.util
Class containing utility methods for module specific configuration.
ModuleUtils() - Constructor for class org.unitils.util.ModuleUtils
 
MsSqlDbSupport - Class in org.unitils.core.dbsupport
Implementation of DbSupport for a MsSQL database.
MsSqlDbSupport() - Constructor for class org.unitils.core.dbsupport.MsSqlDbSupport
Creates a new DB support instance for MS SQL.
MySqlDbSupport - Class in org.unitils.core.dbsupport
Implementation of DbSupport for a MySql database.
MySqlDbSupport() - Constructor for class org.unitils.core.dbsupport.MySqlDbSupport
Creates support for MySql databases.

N

nameToString(String, String...) - Method in class org.unitils.core.config.Configuration
 
nextStatement - Variable in class org.unitils.core.junit.AfterTestMethodStatement
 
nextStatement - Variable in class org.unitils.core.junit.AfterTestTearDownStatement
 
nextStatement - Variable in class org.unitils.core.junit.BeforeTestClassStatement
 
nextStatement - Variable in class org.unitils.core.junit.BeforeTestMethodStatement
 
nextStatement - Variable in class org.unitils.core.junit.BeforeTestSetUpStatement
 
NULL_WRITER - Static variable in class org.unitils.thirdparty.org.apache.commons.io.NullWriter
A singleton.
NullInputStream - Class in org.unitils.thirdparty.org.apache.commons.io
A functional, light weight InputStream that emulates a stream of a specified size.
NullInputStream(long) - Constructor for class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Create an InputStream that emulates a specified size which supports marking and does not throw EOFException.
NullInputStream(long, boolean, boolean) - Constructor for class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Create an InputStream that emulates a specified size with option settings.
NullWriter - Class in org.unitils.thirdparty.org.apache.commons.io
This Writer writes all data to the famous /dev/null.
NullWriter() - Constructor for class org.unitils.thirdparty.org.apache.commons.io.NullWriter
Constructs a new NullWriter.

O

OBJECT_COMPARATOR - Static variable in class org.unitils.reflectionassert.ReflectionComparatorFactory
The ObjectComparator singleton insance
ObjectComparator - Class in org.unitils.reflectionassert.comparator.impl
Comparator for objects.
ObjectComparator() - Constructor for class org.unitils.reflectionassert.comparator.impl.ObjectComparator
 
ObjectDifference - Class in org.unitils.reflectionassert.difference
A class for holding the difference between two objects.
ObjectDifference(String, Object, Object) - Constructor for class org.unitils.reflectionassert.difference.ObjectDifference
Creates a difference.
objectFormatter - Variable in class org.unitils.core.util.ArrayAndCollectionFormatter
 
ObjectFormatter - Class in org.unitils.core.util
A class for generating a string representation of any object, array or primitive value.
ObjectFormatter() - Constructor for class org.unitils.core.util.ObjectFormatter
Creates a formatter with a maximum recursion depth of 3.
ObjectFormatter(int, int) - Constructor for class org.unitils.core.util.ObjectFormatter
Creates a formatter with the given maximum recursion depth.
objectFormatter - Variable in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
Formatter for object values.
objectFormatter - Variable in class org.unitils.reflectionassert.report.impl.TreeDifferenceView
Formatter for object values.
objectFormatter - Variable in class org.unitils.reflectionassert.util.InnerDifferenceFinder.InnerDifferenceVisitor
Formatter for object values.
ObjectToInjectHolder<T> - Interface in org.unitils.core.util
An interface for replacing the object to inject with another object.
ONE_GB - Static variable in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
The number of bytes in a gigabyte.
ONE_KB - Static variable in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
The number of bytes in a kilobyte.
ONE_MB - Static variable in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
The number of bytes in a megabyte.
Oracle10DbSupport - Class in org.unitils.core.dbsupport
 
Oracle10DbSupport() - Constructor for class org.unitils.core.dbsupport.Oracle10DbSupport
 
Oracle9DbSupport - Class in org.unitils.core.dbsupport
 
Oracle9DbSupport() - Constructor for class org.unitils.core.dbsupport.Oracle9DbSupport
 
OracleDbSupport - Class in org.unitils.core.dbsupport
Implementation of DbSupport for an Oracle database.
OracleDbSupport() - Constructor for class org.unitils.core.dbsupport.OracleDbSupport
Creates support for Oracle databases.
org.unitils - package org.unitils
 
org.unitils.core - package org.unitils.core
 
org.unitils.core.config - package org.unitils.core.config
 
org.unitils.core.dbsupport - package org.unitils.core.dbsupport
 
org.unitils.core.junit - package org.unitils.core.junit
 
org.unitils.core.util - package org.unitils.core.util
 
org.unitils.reflectionassert - package org.unitils.reflectionassert
 
org.unitils.reflectionassert.comparator - package org.unitils.reflectionassert.comparator
 
org.unitils.reflectionassert.comparator.impl - package org.unitils.reflectionassert.comparator.impl
 
org.unitils.reflectionassert.difference - package org.unitils.reflectionassert.difference
 
org.unitils.reflectionassert.report - package org.unitils.reflectionassert.report
 
org.unitils.reflectionassert.report.impl - package org.unitils.reflectionassert.report.impl
 
org.unitils.reflectionassert.util - package org.unitils.reflectionassert.util
 
org.unitils.thirdparty.org.apache.commons.dbutils - package org.unitils.thirdparty.org.apache.commons.dbutils
 
org.unitils.thirdparty.org.apache.commons.io - package org.unitils.thirdparty.org.apache.commons.io
 
org.unitils.util - package org.unitils.util
 
outputtingUnorderedCollectionDifference - Variable in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
True when an unordered collection is being formatted.
overridingProperties - Variable in class org.unitils.core.config.Configuration
 

P

pathPrefix - Variable in class org.unitils.core.util.FileResolver
 
PostgreSqlDbSupport - Class in org.unitils.core.dbsupport
Implementation of DbSupport for a PostgreSql database.
PostgreSqlDbSupport() - Constructor for class org.unitils.core.dbsupport.PostgreSqlDbSupport
Creates support for PostgreSql databases.
prefixPackageNameFilePath(String, Class<?>) - Method in class org.unitils.core.util.FileResolver
Prefix the package name of the test to the name of the file (replacing . with /).
prefixWithPackageName - Variable in class org.unitils.core.util.FileResolver
 
printStackTrace(SQLException) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Print the stack trace for a SQLException to STDERR.
printStackTrace(SQLException, PrintWriter) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Print the stack trace for a SQLException to a specified PrintWriter.
printWarnings(Connection) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Print warnings on a Connection to STDERR.
printWarnings(Connection, PrintWriter) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Print warnings on a Connection to a specified PrintWriter.
processByte() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Return a byte value for the read() method.
processBytes(byte[], int, int) - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Process the bytes for the read(byte[], offset, length) method.
properties - Variable in class org.unitils.core.config.Configuration
 
PropertiesReader - Class in org.unitils.core.util
 
PropertiesReader() - Constructor for class org.unitils.core.util.PropertiesReader
 
PropertyUtils - Class in org.unitils.util
Utilities for working with property files.
PropertyUtils() - Constructor for class org.unitils.util.PropertyUtils
 
PROPKEY_CUSTOM_CONFIGURATION - Static variable in class org.unitils.core.ConfigurationLoader
Property in the defaults configuration file that contains the name of the custom configuration file
PROPKEY_DATABASE_SCHEMA_NAMES - Static variable in class org.unitils.core.dbsupport.DbSupportFactory
Property key for the database schema names
PROPKEY_IDENTIFIER_QUOTE_STRING - Static variable in class org.unitils.core.dbsupport.DbSupport
Property key for the default identifier quote string (empty value for not supported, auto)
PROPKEY_LOCAL_CONFIGURATION - Static variable in class org.unitils.core.ConfigurationLoader
Property in the defaults and/or custom configuration file that contains the name of the user local configuration file
PROPKEY_MODULE_PREFIX - Static variable in class org.unitils.core.ModulesLoader
First part of all core specific properties.
PROPKEY_MODULE_SUFFIX_CLASS_NAME - Static variable in class org.unitils.core.ModulesLoader
Last part of the core specific property that specifies the classname of the core.
PROPKEY_MODULE_SUFFIX_ENABLED - Static variable in class org.unitils.core.ModulesLoader
Last part of the core specific property that specifies whether the core should be loaded.
PROPKEY_MODULE_SUFFIX_RUN_AFTER - Static variable in class org.unitils.core.ModulesLoader
Last part of the core specific property that specifies the names of the modules that should be run before this core.
PROPKEY_MODULES - Static variable in class org.unitils.core.ModulesLoader
Property that contains the names of the modules that are to be loaded.
PROPKEY_STORED_IDENTIFIER_CASE - Static variable in class org.unitils.core.dbsupport.DbSupport
Property key for the default identifier casing (lower_case, upper_case, mixed_case, auto)

Q

qualified(String) - Method in class org.unitils.core.dbsupport.DbSupport
Qualifies the given database object name with the name of the database schema.
quoted(String) - Method in class org.unitils.core.dbsupport.DbSupport
Put quotes around the given databaseObjectName, if the underlying DBMS supports quoted database object names.

R

read() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Read a byte.
read(byte[]) - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Read some bytes into the specified array.
read(byte[], int, int) - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Read the specified number bytes into an array.
read() - Method in class org.unitils.util.ReaderInputStream
 
ReaderInputStream - Class in org.unitils.util
Wrapper that makes an Reader available as an InputStream
ReaderInputStream(Reader) - Constructor for class org.unitils.util.ReaderInputStream
 
readFileToString(File, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Reads the contents of a file into a String.
readLines(File, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Reads the contents of a file line by line to a List of Strings.
readLines(InputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Get the contents of an InputStream as a list of Strings, one entry per line, using the default character encoding of the platform.
readLines(InputStream, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Get the contents of an InputStream as a list of Strings, one entry per line, using the specified character encoding.
readLines(Reader) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Get the contents of a Reader as a list of Strings, one entry per line.
ReflectionAssert - Class in org.unitils.reflectionassert
A class for asserting that 2 objects/collections are equal by comparing properties and fields of the objects/collections using reflection.
ReflectionAssert() - Constructor for class org.unitils.reflectionassert.ReflectionAssert
 
ReflectionAssert.OgnlTransformer - Class in org.unitils.reflectionassert
A commons collections transformer that takes an object and returns the value of the property that is specified by the given ognl expression.
ReflectionAssert.OgnlTransformer(String) - Constructor for class org.unitils.reflectionassert.ReflectionAssert.OgnlTransformer
Creates a transformer with the given ognl expression.
ReflectionComparator - Class in org.unitils.reflectionassert
A comparator for comparing two values by reflection.
ReflectionComparator(List<Comparator>) - Constructor for class org.unitils.reflectionassert.ReflectionComparator
Creates a comparator that will use the given chain.
ReflectionComparatorFactory - Class in org.unitils.reflectionassert
A factory for creating a reflection comparator.
ReflectionComparatorFactory() - Constructor for class org.unitils.reflectionassert.ReflectionComparatorFactory
 
ReflectionComparatorMode - Enum in org.unitils.reflectionassert
Modes defining how to compare two values.
ReflectionUtils - Class in org.unitils.util
Utility methods that use reflection for instance creation or class inspection.
ReflectionUtils() - Constructor for class org.unitils.util.ReflectionUtils
 
registerInstance(Class<?>, T) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Registers an instance for a given class.
removeDisabledModules(Set<String>, Properties) - Method in class org.unitils.core.ModulesLoader
Removes all modules that have a value false for the enabled property.
removeMatchingIndexes(ArrayList<Integer>, ArrayList<Integer>, UnorderedCollectionDifference) - Method in class org.unitils.reflectionassert.comparator.impl.LenientOrderCollectionComparator
Removes all left and right indexes for which there is a match in the given difference object.
reset() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Reset the stream to the point when mark was last called.
resolveDefaultFileName(String, Class<?>) - Method in class org.unitils.core.util.FileResolver
Resolves the location for a file with the default name: 'classname'.'
resolveFileName(String, Class<?>) - Method in class org.unitils.core.util.FileResolver
Resolves the location for a file with a certain name.
ResourcebundleCheck - Class in org.unitils.util
ResourcebundleCheck: Checks if every key has a value in every locale.
ResourcebundleCheck() - Constructor for class org.unitils.util.ResourcebundleCheck
 
ResourceConfig - Interface in org.unitils.core.util
Marker interface that indicates that the implementation wraps the necessary configuration for configuring some resource
ResourceConfigLoader<RC extends ResourceConfig> - Interface in org.unitils.core.util
Defines the contract for implementations that find a resource configuration on a test object, returning a subtype of ResourceConfig that wraps the configuration
rollback(Connection) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Rollback any changes made on the given connection.
rollbackAndClose(Connection) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Performs a rollback on the Connection then closes it, avoid closing if null.
rollbackAndCloseQuietly(Connection) - Static method in class org.unitils.thirdparty.org.apache.commons.dbutils.DbUtils
Performs a rollback on the Connection then closes it, avoid closing if null and hide any SQLExceptions that occur.
run(RunNotifier) - Method in class org.unitils.UnitilsJUnit4TestClassRunner
 
runBare() - Method in class org.unitils.UnitilsJUnit3
runBeforesThenTestThenAfters(Runnable) - Method in class org.unitils.UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie
runTest() - Method in class org.unitils.UnitilsJUnit3
runTestMethod() - Method in class org.unitils.UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie
 

S

saveResultInCache(Object, Map<Object, Difference>, boolean) - Method in class org.unitils.reflectionassert.ReflectionComparator
 
setBestMatchingIndexes(ArrayList<Integer>, ArrayList<Integer>, UnorderedCollectionDifference) - Method in class org.unitils.reflectionassert.comparator.impl.LenientOrderCollectionComparator
Actual implementation of the best match finding algorithm.
setBestMatchingIndexes(int, int) - Method in class org.unitils.reflectionassert.difference.UnorderedCollectionDifference
Sets the given left and right index as best matching elements.
setBestMatchingScore(int) - Method in class org.unitils.reflectionassert.difference.UnorderedCollectionDifference
Gets the matching score of the best matching indexes.
setFieldAndSetterValue(Object, Set<Field>, Set<Method>, Object) - Static method in class org.unitils.util.ReflectionUtils
Sets the given value to the given field and setters on the given object.
setFieldValue(Object, Field, Object) - Static method in class org.unitils.util.ReflectionUtils
Sets the given value to the given field on the given object
setFieldValue(Object, String, Object) - Static method in class org.unitils.util.ReflectionUtils
Sets the given value to the given field on the given object
setInstance(Unitils) - Static method in class org.unitils.core.Unitils
Sets the singleton instance to the given object
setOverridingProperties(Properties) - Method in class org.unitils.core.config.Configuration
 
setRunner(TestRunnerAccessor) - Method in class org.unitils.core.TestContext
 
setTestClass(Class<?>) - Method in class org.unitils.core.TestContext
 
setTestMethod(Method) - Method in class org.unitils.core.TestContext
 
setTestObject(Object) - Method in class org.unitils.core.TestContext
 
shouldInvokeTestMethod(Object, Method) - Method in class org.unitils.core.TestListener
Method to test whether this method should be executed or not.
SIMPLE_CASES_COMPARATOR - Static variable in class org.unitils.reflectionassert.ReflectionComparatorFactory
The SimpleCasesComparatorsingleton insance
SimpleCasesComparator - Class in org.unitils.reflectionassert.comparator.impl
Comparator for simple cases.
SimpleCasesComparator() - Constructor for class org.unitils.reflectionassert.comparator.impl.SimpleCasesComparator
 
SimpleDifferenceView - Class in org.unitils.reflectionassert.report.impl
 
SimpleDifferenceView() - Constructor for class org.unitils.reflectionassert.report.impl.SimpleDifferenceView
 
sizeOfDirectory(File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Recursively count size of a directory (sum of the length of all files).
skip(long) - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Skip a specified number of bytes.
SQLHandler - Interface in org.unitils.core.dbsupport
 
StoredIdentifierCase - Enum in org.unitils.core.util
Possible values for the stored identifier case.
subList(List<T>, int, int) - Static method in class org.unitils.util.CollectionUtils
Gets a list containing all elements from the given index to the given index.
supportsCascade() - Method in class org.unitils.core.dbsupport.DbSupport
Indicates whether the underlying DBMS supports the cascade option for dropping tables and views.
supportsCascade() - Method in class org.unitils.core.dbsupport.H2DbSupport
Cascade are supported.
supportsCascade() - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Cascade are supported.
supportsCascade() - Method in class org.unitils.core.dbsupport.MySqlDbSupport
Cascade are supported.
supportsCascade() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Cascade are supported.
supportsCascade() - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Cascade are supported.
supportsIdentityColumns() - Method in class org.unitils.core.dbsupport.Db2DbSupport
Identity columns are supported.
supportsIdentityColumns() - Method in class org.unitils.core.dbsupport.DbSupport
Indicates whether the underlying DBMS supports identity columns
supportsIdentityColumns() - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Identity columns are supported.
supportsIdentityColumns() - Method in class org.unitils.core.dbsupport.H2DbSupport
Identity columns are supported.
supportsIdentityColumns() - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Identity columns are supported.
supportsIdentityColumns() - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Identity columns are supported.
supportsIdentityColumns() - Method in class org.unitils.core.dbsupport.MySqlDbSupport
Identity columns are supported.
supportsMaterializedViews() - Method in class org.unitils.core.dbsupport.DbSupport
Indicates whether the underlying DBMS supports materialized views
supportsMaterializedViews() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Materialized views are supported
supportsPurge() - Method in class org.unitils.core.dbsupport.OracleDbSupport
 
supportsSequences() - Method in class org.unitils.core.dbsupport.Db2DbSupport
Sequences are supported.
supportsSequences() - Method in class org.unitils.core.dbsupport.DbSupport
Indicates whether the underlying DBMS supports sequences
supportsSequences() - Method in class org.unitils.core.dbsupport.H2DbSupport
Sequences are supported.
supportsSequences() - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Sequences are supported.
supportsSequences() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Sequences are supported.
supportsSequences() - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Sequences are supported.
supportsSynonyms() - Method in class org.unitils.core.dbsupport.DbSupport
Indicates whether the underlying DBMS supports synonyms
supportsSynonyms() - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Synonyms are supported.
supportsSynonyms() - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Synonyms are supported.
supportsSynonyms() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Synonyms are supported
supportsTriggers() - Method in class org.unitils.core.dbsupport.Db2DbSupport
Triggers are supported.
supportsTriggers() - Method in class org.unitils.core.dbsupport.DbSupport
Indicates whether the underlying DBMS supports triggers
supportsTriggers() - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Triggers are supported.
supportsTriggers() - Method in class org.unitils.core.dbsupport.H2DbSupport
Triggers are supported.
supportsTriggers() - Method in class org.unitils.core.dbsupport.HsqldbDbSupport
Triggers are supported.
supportsTriggers() - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Triggers are supported.
supportsTriggers() - Method in class org.unitils.core.dbsupport.MySqlDbSupport
Triggers are supported.
supportsTriggers() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Triggers are supported.
supportsTriggers() - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Triggers are supported.
supportsTypes() - Method in class org.unitils.core.dbsupport.Db2DbSupport
Types are supported
supportsTypes() - Method in class org.unitils.core.dbsupport.DbSupport
Indicates whether the underlying DBMS supports database types
supportsTypes() - Method in class org.unitils.core.dbsupport.MsSqlDbSupport
Types are supported
supportsTypes() - Method in class org.unitils.core.dbsupport.OracleDbSupport
Types are supported
supportsTypes() - Method in class org.unitils.core.dbsupport.PostgreSqlDbSupport
Types are supported

T

test - Variable in class org.unitils.UnitilsBlockJUnit4ClassRunner
 
testAllTheKeys(String, Locale...) - Static method in class org.unitils.util.ResourcebundleCheck
The ResoucebundleCheck checks if the bundle exists for all the locale's and if keys exists for every bundle.
testClass - Variable in class org.unitils.core.junit.BeforeTestClassStatement
 
TestContext - Class in org.unitils.core
Object that holds information about the current test execution.
TestContext() - Constructor for class org.unitils.core.TestContext
 
TestListener - Class in org.unitils.core
Listener for test events.
TestListener() - Constructor for class org.unitils.core.TestListener
 
testMethod - Variable in class org.unitils.core.junit.BeforeTestMethodStatement
 
testMethod - Variable in class org.unitils.core.junit.BeforeTestSetUpStatement
 
testMethod - Variable in class org.unitils.UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie
 
testName(Method) - Method in class org.unitils.UnitilsParameterized.TestClassRunnerForParameters
 
testObject - Variable in class org.unitils.core.junit.BeforeTestMethodStatement
 
testObject - Variable in class org.unitils.core.junit.BeforeTestSetUpStatement
 
testObject - Variable in class org.unitils.UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie
 
TestRunnerAccessor - Interface in org.unitils
Interface to expose the capability of executing test methods to the outside world.
throwable - Variable in class org.unitils.UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie
 
toBoolean(String, String, String...) - Method in class org.unitils.core.config.Configuration
 
toByteArray(String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Deprecated.
toCharArray(InputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Get the contents of an InputStream as a character array using the default character encoding of the platform.
toCharArray(InputStream, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Get the contents of an InputStream as a character array using the specified character encoding.
toCharArray(Reader) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Get the contents of a Reader as a character array.
toClass(String, String, String[]) - Method in class org.unitils.core.config.Configuration
 
toCorrectCaseIdentifier(String) - Method in class org.unitils.core.dbsupport.DbSupport
Converts the given identifier to uppercase/lowercase depending on the DBMS.
toCorrectCaseIdentifier(String) - Method in class org.unitils.core.dbsupport.MySqlDbSupport
Converts the given identifier to uppercase/lowercase

MySql does not treat quoted identifiers as case sensitive.

toEnum(Class<T>, String, String, String[]) - Method in class org.unitils.core.config.Configuration
 
toFile(URL) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Convert from a URL to a File.
toFiles(URL[]) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Converts each of an array of URL to a File.
toInputStream(String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Convert the specified string to an input stream, encoded as bytes using the default character encoding of the platform.
toInputStream(String, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Convert the specified string to an input stream, encoded as bytes using the specified character encoding.
toInstance(String, String, String...) - Method in class org.unitils.core.config.Configuration
 
toInstance(Class<T>, String, String, String...) - Method in class org.unitils.core.config.Configuration
 
toInteger(String, String, String...) - Method in class org.unitils.core.config.Configuration
 
toLong(String, String, String...) - Method in class org.unitils.core.config.Configuration
 
toString(InputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Get the contents of an InputStream as a String using the default character encoding of the platform.
toString(InputStream, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Get the contents of an InputStream as a String using the specified character encoding.
toString(Reader) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Get the contents of a Reader as a String.
toString(byte[]) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Deprecated.
toString(byte[], String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
toStringList(String) - Method in class org.unitils.core.config.Configuration
 
touch(File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Implements the same behaviour as the "touch" utility on Unix.
toURLs(File[]) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Converts each of an array of File to a URL.
toValueOfType(Class<T>, String, String, String...) - Method in class org.unitils.core.config.Configuration
 
transform(Object) - Method in class org.unitils.reflectionassert.ReflectionAssert.OgnlTransformer
Transforms the given object in the value of the property that is specified by the ognl expression.
treeDifferenceFormatterVisitor - Variable in class org.unitils.reflectionassert.report.impl.TreeDifferenceView
The visitor for visiting the difference tree
TreeDifferenceView - Class in org.unitils.reflectionassert.report.impl
Formatter that will output all objects in the difference tree.
TreeDifferenceView() - Constructor for class org.unitils.reflectionassert.report.impl.TreeDifferenceView
 
TreeDifferenceView.TreeDifferenceFormatterVisitor - Class in org.unitils.reflectionassert.report.impl
The visitor for visiting the difference tree.
TreeDifferenceView.TreeDifferenceFormatterVisitor() - Constructor for class org.unitils.reflectionassert.report.impl.TreeDifferenceView.TreeDifferenceFormatterVisitor
 
TypeUtils - Class in org.unitils.core.util
Class copied from spring-core.
TypeUtils() - Constructor for class org.unitils.core.util.TypeUtils
 

U

Unitils - Class in org.unitils.core
Core class of the Unitils library, and the main entry point that gives access to the TestContext and the different Modules.
Unitils() - Constructor for class org.unitils.core.Unitils
Creates a new instance.
UnitilsBlockJUnit4ClassRunner - Class in org.unitils
 
UnitilsBlockJUnit4ClassRunner(Class<?>) - Constructor for class org.unitils.UnitilsBlockJUnit4ClassRunner
 
UnitilsConfiguration - Class in org.unitils.core.config
 
UnitilsConfiguration(Properties) - Constructor for class org.unitils.core.config.UnitilsConfiguration
Creates a configuration for the given properties.
UnitilsException - Exception in org.unitils.core
Exception type, used for all unrecoverable exceptions that occur in unitils.
UnitilsException() - Constructor for exception org.unitils.core.UnitilsException
 
UnitilsException(String) - Constructor for exception org.unitils.core.UnitilsException
 
UnitilsException(String, Throwable) - Constructor for exception org.unitils.core.UnitilsException
 
UnitilsException(Throwable) - Constructor for exception org.unitils.core.UnitilsException
 
UnitilsJUnit3 - Class in org.unitils
Base test class that will Unitils-enable your test.
UnitilsJUnit3() - Constructor for class org.unitils.UnitilsJUnit3
Creates a test without a name.
UnitilsJUnit3(String) - Constructor for class org.unitils.UnitilsJUnit3
Creates a test with the given name.
UnitilsJUnit4 - Class in org.unitils
Base test class that will Unitils-enable your test.
UnitilsJUnit4() - Constructor for class org.unitils.UnitilsJUnit4
 
UnitilsJUnit4TestClassRunner - Class in org.unitils
Custom test runner that will Unitils-enable your test.
UnitilsJUnit4TestClassRunner(Class<?>) - Constructor for class org.unitils.UnitilsJUnit4TestClassRunner
Creates a test runner that runs all test methods in the given class.
UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie - Class in org.unitils
Custom method roadie that invokes the unitils test listener methods at the apropriate moments.
UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie(Object, Method, TestMethod, RunNotifier, Description) - Constructor for class org.unitils.UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie
Creates a method roadie.
UnitilsParameterized - Class in org.unitils
Parameterized runner.
UnitilsParameterized(Class<?>) - Constructor for class org.unitils.UnitilsParameterized
Only called reflectively.
UnitilsParameterized.TestClassRunnerForParameters - Class in org.unitils
TestClassRunnerForParameters.
UnitilsParameterized.TestClassRunnerForParameters(Class<?>, List<Object[]>, int) - Constructor for class org.unitils.UnitilsParameterized.TestClassRunnerForParameters
 
UnitilsParameterized.UnitilsMethodValidator - Class in org.unitils
UnitilsMethodValidator.
UnitilsParameterized.UnitilsMethodValidator(TestClass) - Constructor for class org.unitils.UnitilsParameterized.UnitilsMethodValidator
 
unitilsTestListener - Variable in class org.unitils.core.junit.AfterTestMethodStatement
 
unitilsTestListener - Variable in class org.unitils.core.junit.AfterTestTearDownStatement
 
unitilsTestListener - Variable in class org.unitils.core.junit.BeforeTestClassStatement
 
unitilsTestListener - Variable in class org.unitils.core.junit.BeforeTestMethodStatement
 
unitilsTestListener - Variable in class org.unitils.core.junit.BeforeTestSetUpStatement
 
unitilsTestListener - Variable in class org.unitils.UnitilsBlockJUnit4ClassRunner
 
UnorderedCollectionDifference - Class in org.unitils.reflectionassert.difference
A class for holding the difference between all elements of two collections or arrays.
UnorderedCollectionDifference(String, Object, Object, List<?>, List<?>) - Constructor for class org.unitils.reflectionassert.difference.UnorderedCollectionDifference
Creates a difference.

V

validate() - Method in class org.unitils.UnitilsParameterized.TestClassRunnerForParameters
 
validateArgConstructor() - Method in class org.unitils.UnitilsParameterized.UnitilsMethodValidator
 
validateInstanceMethods() - Method in class org.unitils.UnitilsParameterized.UnitilsMethodValidator
 
validateMethodsForParameterizedRunner() - Method in class org.unitils.UnitilsParameterized.UnitilsMethodValidator
 
validateStaticMethods() - Method in class org.unitils.UnitilsParameterized.UnitilsMethodValidator
 
validateTestMethods(Class<? extends Annotation>, boolean) - Method in class org.unitils.UnitilsParameterized.UnitilsMethodValidator
 
valueOf(String) - Static method in enum org.unitils.core.util.StoredIdentifierCase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.reflectionassert.ReflectionComparatorMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.reflectionassert.report.impl.DefaultDifferenceReport.MatchType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.unitils.core.util.StoredIdentifierCase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.reflectionassert.ReflectionComparatorMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.reflectionassert.report.impl.DefaultDifferenceReport.MatchType
Returns an array containing the constants of this enum type, in the order they are declared.
verifyPackaging(Properties) - Method in class org.unitils.core.Unitils
Verifies that we're not working with a distribution that includes the necessary classes from spring, while spring is in the classpath anyway.
visit(Difference, A) - Method in interface org.unitils.reflectionassert.difference.DifferenceVisitor
Visits a simple difference.
visit(ObjectDifference, A) - Method in interface org.unitils.reflectionassert.difference.DifferenceVisitor
Visits an object difference.
visit(ClassDifference, A) - Method in interface org.unitils.reflectionassert.difference.DifferenceVisitor
Visits a class difference.
visit(MapDifference, A) - Method in interface org.unitils.reflectionassert.difference.DifferenceVisitor
Visits a map difference.
visit(CollectionDifference, A) - Method in interface org.unitils.reflectionassert.difference.DifferenceVisitor
Visits a collection difference.
visit(UnorderedCollectionDifference, A) - Method in interface org.unitils.reflectionassert.difference.DifferenceVisitor
Visits an unordered collection difference.
visit(Difference, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView.DifferenceFormatterVisitor
 
visit(ObjectDifference, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView.DifferenceFormatterVisitor
 
visit(ClassDifference, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView.DifferenceFormatterVisitor
 
visit(MapDifference, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView.DifferenceFormatterVisitor
 
visit(CollectionDifference, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView.DifferenceFormatterVisitor
 
visit(UnorderedCollectionDifference, String) - Method in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView.DifferenceFormatterVisitor
 
visit(Difference, String) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView.TreeDifferenceFormatterVisitor
 
visit(ObjectDifference, String) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView.TreeDifferenceFormatterVisitor
 
visit(ClassDifference, String) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView.TreeDifferenceFormatterVisitor
 
visit(MapDifference, String) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView.TreeDifferenceFormatterVisitor
 
visit(CollectionDifference, String) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView.TreeDifferenceFormatterVisitor
 
visit(UnorderedCollectionDifference, String) - Method in class org.unitils.reflectionassert.report.impl.TreeDifferenceView.TreeDifferenceFormatterVisitor
 
visit(Difference, String) - Method in class org.unitils.reflectionassert.util.InnerDifferenceFinder.InnerDifferenceVisitor
Returns null, there are no inner differences for a simple difference.
visit(ObjectDifference, String) - Method in class org.unitils.reflectionassert.util.InnerDifferenceFinder.InnerDifferenceVisitor
Returns the difference at the field with the given name.
visit(ClassDifference, String) - Method in class org.unitils.reflectionassert.util.InnerDifferenceFinder.InnerDifferenceVisitor
 
visit(MapDifference, String) - Method in class org.unitils.reflectionassert.util.InnerDifferenceFinder.InnerDifferenceVisitor
Returns the difference at the given key.
visit(CollectionDifference, String) - Method in class org.unitils.reflectionassert.util.InnerDifferenceFinder.InnerDifferenceVisitor
Returns the difference at the field with the given index.
visit(UnorderedCollectionDifference, String) - Method in class org.unitils.reflectionassert.util.InnerDifferenceFinder.InnerDifferenceVisitor
Returns the best matching difference at the field with the given index.
visit(Difference, Integer) - Method in class org.unitils.reflectionassert.util.MatchingScoreCalculator.MatchingScoreVisitor
 
visit(ObjectDifference, Integer) - Method in class org.unitils.reflectionassert.util.MatchingScoreCalculator.MatchingScoreVisitor
 
visit(ClassDifference, Integer) - Method in class org.unitils.reflectionassert.util.MatchingScoreCalculator.MatchingScoreVisitor
 
visit(MapDifference, Integer) - Method in class org.unitils.reflectionassert.util.MatchingScoreCalculator.MatchingScoreVisitor
 
visit(CollectionDifference, Integer) - Method in class org.unitils.reflectionassert.util.MatchingScoreCalculator.MatchingScoreVisitor
 
visit(UnorderedCollectionDifference, Integer) - Method in class org.unitils.reflectionassert.util.MatchingScoreCalculator.MatchingScoreVisitor
 

W

waitFor(File, int) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Waits for NFS to propagate a file creation, imposing a timeout.
write(byte[], OutputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes bytes from a byte[] to an OutputStream.
write(byte[], Writer) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes bytes from a byte[] to chars on a Writer using the default character encoding of the platform.
write(byte[], Writer, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes bytes from a byte[] to chars on a Writer using the specified character encoding.
write(char[], Writer) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes chars from a char[] to a Writer using the default character encoding of the platform.
write(char[], OutputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes chars from a char[] to bytes on an OutputStream.
write(char[], OutputStream, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes chars from a char[] to bytes on an OutputStream using the specified character encoding.
write(String, Writer) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes chars from a String to a Writer.
write(String, OutputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes chars from a String to bytes on an OutputStream using the default character encoding of the platform.
write(String, OutputStream, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes chars from a String to bytes on an OutputStream using the specified character encoding.
write(StringBuffer, Writer) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes chars from a StringBuffer to a Writer.
write(StringBuffer, OutputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes chars from a StringBuffer to bytes on an OutputStream using the default character encoding of the platform.
write(StringBuffer, OutputStream, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes chars from a StringBuffer to bytes on an OutputStream using the specified character encoding.
write(int) - Method in class org.unitils.thirdparty.org.apache.commons.io.NullWriter
Does nothing - output to /dev/null.
write(char[]) - Method in class org.unitils.thirdparty.org.apache.commons.io.NullWriter
Does nothing - output to /dev/null.
write(char[], int, int) - Method in class org.unitils.thirdparty.org.apache.commons.io.NullWriter
Does nothing - output to /dev/null.
write(String) - Method in class org.unitils.thirdparty.org.apache.commons.io.NullWriter
Does nothing - output to /dev/null.
write(String, int, int) - Method in class org.unitils.thirdparty.org.apache.commons.io.NullWriter
Does nothing - output to /dev/null.
write(int) - Method in class org.unitils.util.WriterOutputStream
 
writeByteArrayToFile(File, byte[]) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Writes a byte array to a file creating the file if it does not exist.
writeLines(File, String, Collection<?>) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeLines(File, String, Collection<?>, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Writes the toString() value of each item in a collection to the specified File line by line.
writeLines(Collection, String, OutputStream) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes the toString() value of each item in a collection to an OutputStream line by line, using the default character encoding of the platform and the specified line ending.
writeLines(Collection, String, OutputStream, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes the toString() value of each item in a collection to an OutputStream line by line, using the specified character encoding and the specified line ending.
writeLines(Collection, String, Writer) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Writes the toString() value of each item in a collection to a Writer line by line, using the specified line ending.
WriterOutputStream - Class in org.unitils.util
 
WriterOutputStream(Writer) - Constructor for class org.unitils.util.WriterOutputStream
 
writeStringToFile(File, String, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Writes a String to a file creating the file if it does not exist.
writeStringToFile(File, String) - Static method in class org.unitils.util.FileUtils
Writes the given string to the given file
A B C D E F G H I L M N O P Q R S T U V W 

Copyright © 2016. All Rights Reserved.