- 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.
- 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.
- 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
-
- 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
-
- 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
-
- 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.
- 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.