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

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.
activateTransactionIfNeeded() - Method in class org.unitils.database.DatabaseModule
 
activateTransactionIfNeeded(Object) - Method in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
 
activateTransactionIfNeeded(Object) - Method in interface org.unitils.database.transaction.UnitilsTransactionManager
 
addBehaviorDefiningInvocation(BehaviorDefiningInvocation) - Method in class org.unitils.mock.core.BehaviorDefiningInvocations
 
addBehaviorDefiningInvocation(BehaviorDefiningInvocation, BehaviorDefiningInvocations) - Method in class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler
 
addColumn(Column) - Method in class org.unitils.dbunit.dataset.Row
Adds a column to the row.
addColumnDifference(ColumnDifference) - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
Adds a difference for a column
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.
addMissingColumn(Column) - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
Adds a column that was not found in the actual row
addMissingRow(Row) - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
Adds a rows for which no other row was found in the actual table.
addMissingTable(Table) - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
Adds a table that was not found in the actual schema
addObservedMockInvocation(ObservedInvocation) - Method in class org.unitils.mock.core.Scenario
 
addPrimaryKeyColumn(Column) - Method in class org.unitils.dbunit.dataset.Row
Adds a column to the row.
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.
addRow(Row) - Method in class org.unitils.dbunit.dataset.Table
Adds a data set row
addRows(ITable, Table, List<String>) - Method in class org.unitils.dbunit.dataset.SchemaFactory
Adds the rows of the DbUnit table to the given table.
addTable(Table) - Method in class org.unitils.dbunit.dataset.Schema
Adds a table to the schema.
addTableDifference(TableDifference) - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
Adds a result of a table comparison
addTables(IDataSet, Schema) - Method in class org.unitils.dbunit.dataset.SchemaFactory
Adds the tables of the DbUnit dataset to the given schema.
addValueDifference(Object, Difference) - Method in class org.unitils.reflectionassert.difference.MapDifference
Adds a difference for the element at the given key.
afterClass() - Static method in class org.unitils.UnitilsJUnit4Test_TestClass1
 
afterClass() - Static method in class org.unitils.UnitilsJUnit4Test_TestClass2
 
AfterCreateMock - Annotation Type in org.unitils.easymock.annotation
Annotation that is called after a mock object has been created by the EasyMockModule
AfterCreateMock - Annotation Type in org.unitils.mock.annotation
Annotation for indicating that a method is to be called after a mock was created.
afterCreateTestObject(Object) - Method in class org.unitils.core.TestListener
Invoked before any of the test in a test class are run.
afterCreateTestObject(Object) - Method in class org.unitils.TracingTestListener
 
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
afterInit() - Method in class org.unitils.database.DatabaseModule
Initializes the spring support object
afterInit() - Method in class org.unitils.dbunit.DbUnitModule
No after initialization needed for this module
afterInit() - Method in class org.unitils.easymock.EasyMockModule
No after initialization needed for this module
afterInit() - Method in class org.unitils.inject.InjectModule
No after initialization needed for this module
afterInit() - Method in class org.unitils.io.IOModule
 
afterInit() - Method in class org.unitils.mock.MockModule
 
afterInit() - Method in class org.unitils.orm.common.OrmModule
 
afterInit() - Method in class org.unitils.orm.hibernate.HibernateModule
 
afterInit() - Method in class org.unitils.orm.jpa.JpaModule
 
afterInit() - Method in class org.unitils.spring.SpringModule
No after initialization needed for this module
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.
afterTestMethod(Object, Method, Throwable) - Method in class org.unitils.dbunit.DbUnitModule.DbUnitListener
 
afterTestMethod(Object, Method, Throwable) - Method in class org.unitils.easymock.EasyMockModule.EasyMockTestListener
After each test is executed this calls EasyMockModule.verify() to verify the recorded behavior of all created mocks.
afterTestMethod(Object, Method, Throwable) - Method in class org.unitils.inject.InjectModule.InjectTestListener
After test execution, if requested restore all values that were replaced in the static injection.
afterTestMethod(Object, Method, Throwable) - Method in class org.unitils.io.annotation.handler.TempDirAnnotationHandler
 
afterTestMethod(Object, Method, Throwable) - Method in class org.unitils.io.annotation.handler.TempFileAnnotationHandler
 
afterTestMethod(Object, Method, Throwable) - Method in class org.unitils.io.IOModule.IOTestListener
 
afterTestMethod(Object, Method, Throwable) - Method in class org.unitils.mock.MockModule.MockTestListener
 
afterTestMethod(TestContext) - Method in class org.unitils.spring.util.SpringUnitilsAdaptorTestExecutionListener
 
afterTestMethod(Object, Method, Throwable) - Method in class org.unitils.TracingTestListener
 
afterTestTearDown(Object, Method) - Method in class org.unitils.core.TestListener
Invoked after the test tear down (eg @After).
afterTestTearDown(Object, Method) - Method in class org.unitils.database.DatabaseModule.DatabaseTestListener
 
afterTestTearDown(TestContext) - Method in class org.unitils.spring.util.SpringUnitilsAdaptorTestExecutionListener
 
afterTestTearDown(Object, Method) - Method in class org.unitils.TracingTestListener
 
allDifferencesCachedResults - Variable in class org.unitils.reflectionassert.ReflectionComparator
 
allPostProcessingScripts - Variable in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
 
allUpdateScripts - Variable in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
 
alwaysMatchingBehaviorDefiningInvocations - Variable in class org.unitils.mock.core.MockObject
 
alwaysMatchingBehaviorDefiningInvocations - Variable in class org.unitils.mock.core.MockProxy
 
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
annotationClass - Variable in class org.unitils.util.AnnotationConfigLoader
The annotation class used for configuring the resource on a test object
AnnotationConfigLoader<A extends Annotation,CFG extends ResourceConfig> - Class in org.unitils.util
Loads the configuration of a resource that is configured on a test object, by reading class, method or field level annotations.
AnnotationConfigLoader(Class<A>) - Constructor for class org.unitils.util.AnnotationConfigLoader
Creates a new instance for the given annotation class
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
 
any(Class<T>) - Static method in class org.unitils.mock.ArgumentMatchers
 
AnyArgumentMatcher - Class in org.unitils.mock.argumentmatcher.impl
A matcher for checking whether an argument value is of a certain type.
AnyArgumentMatcher(Class<?>) - Constructor for class org.unitils.mock.argumentmatcher.impl.AnyArgumentMatcher
Creates a matcher for the given expected type.
anyBoolean() - Static method in class org.unitils.mock.ArgumentMatchers
 
anyByte() - Static method in class org.unitils.mock.ArgumentMatchers
 
anyChar() - Static method in class org.unitils.mock.ArgumentMatchers
 
anyDouble() - Static method in class org.unitils.mock.ArgumentMatchers
 
anyFloat() - Static method in class org.unitils.mock.ArgumentMatchers
 
anyInt() - Static method in class org.unitils.mock.ArgumentMatchers
 
anyLong() - Static method in class org.unitils.mock.ArgumentMatchers
 
anyShort() - Static method in class org.unitils.mock.ArgumentMatchers
 
append(char) - Method in class org.unitils.dbmaintainer.script.StatementBuilder
Append a character to the statement.
appendBestRowDifferences(TableDifference, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the best matching row differences of the given table difference to the result
appendColumnNames(Row, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the column names of the given row to the result
appendMissingRowDifferences(TableDifference, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the missing rows of the given table difference to the result
appendMissingTableDifferences(SchemaDifference, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the missing tables of the given schema difference to the result
appendRow(Row, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the values of the given row to the result
appendSchemaContent(Schema, Schema, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends all rows and tables of the actual schema to the result.
appendTableDifferences(SchemaDifference, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the table differences of the given schema difference to the result
appendTableName(Schema, Table, StringBuilder) - Method in class org.unitils.dbunit.util.DataSetAssert
Appends the schema and table name to the result
ApplicationContextFactory - Interface in org.unitils.spring.util
Factory for creating Spring ApplicationContexts.
applicationContextFactory - Variable in class org.unitils.spring.util.ApplicationContextManager
Factory for creating ApplicationContexts
ApplicationContextManager - Class in org.unitils.spring.util
A class for managing and creating Spring application contexts.
ApplicationContextManager(ApplicationContextFactory) - Constructor for class org.unitils.spring.util.ApplicationContextManager
Creates a new instance, using the given ApplicationContextFactory.
ArgumentMatcher - Annotation Type in org.unitils.mock.annotation
An annotation for indicating that a method is an argument matcher method.
ArgumentMatcher - Interface in org.unitils.mock.argumentmatcher
A matcher that can check whether a given argument matches certain criteria.
ArgumentMatcher.MatchResult - Enum in org.unitils.mock.argumentmatcher
 
ArgumentMatcherPositionFinder - Class in org.unitils.mock.argumentmatcher
Utility class for locating argument matchers in method invocations.
ArgumentMatcherPositionFinder() - Constructor for class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder
 
ArgumentMatcherPositionFinder.ArgumentMatcherValue - Class in org.unitils.mock.argumentmatcher
A value representing a found argument matcher invocation
ArgumentMatcherPositionFinder.ArgumentMatcherValue(Type) - Constructor for class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.ArgumentMatcherValue
 
ArgumentMatcherPositionFinder.MethodAnalyzer - Class in org.unitils.mock.argumentmatcher
Analyzer that passes the line nrs to the given interpreter.
ArgumentMatcherPositionFinder.MethodAnalyzer(MethodNode, ArgumentMatcherPositionFinder.MethodInterpreter) - Constructor for class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodAnalyzer
Creates an analyzer.
ArgumentMatcherPositionFinder.MethodInterpreter - Class in org.unitils.mock.argumentmatcher
Interpreter that implements the argument matcher finder behavior.
ArgumentMatcherPositionFinder.MethodInterpreter(Class<?>, String, String, String, int, int, int) - Constructor for class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
Creates an interpreter.
ArgumentMatcherRepository - Class in org.unitils.mock.argumentmatcher
A repository for holding the current set of argument matchers.
ArgumentMatcherRepository() - Constructor for class org.unitils.mock.argumentmatcher.ArgumentMatcherRepository
 
ArgumentMatchers - Class in org.unitils.mock
todo javadoc
ArgumentMatchers() - Constructor for class org.unitils.mock.ArgumentMatchers
 
argumentMatchers - Variable in class org.unitils.mock.core.BehaviorDefiningInvocation
 
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
 
assertCanExecute(MockBehavior, ProxyInvocation, BehaviorDefiningInvocation) - Method in class org.unitils.mock.core.MockProxy
Check whether the mock behavior can applied for this invocation
assertCanExecute(ProxyInvocation) - Method in class org.unitils.mock.mockbehavior.impl.DefaultValueReturningMockBehavior
Checks whether the mock behavior can be executed for the given invocation.
assertCanExecute(ProxyInvocation) - Method in class org.unitils.mock.mockbehavior.impl.ExceptionThrowingMockBehavior
Checks whether the mock behavior can be executed for the given invocation.
assertCanExecute(ProxyInvocation) - Method in class org.unitils.mock.mockbehavior.impl.OriginalBehaviorInvokingMockBehavior
Checks whether the mock behavior can be executed for the given invocation.
assertCanExecute(ProxyInvocation) - Method in class org.unitils.mock.mockbehavior.impl.StubMockBehavior
Stub behavior is always allowed.
assertCanExecute(ProxyInvocation) - Method in class org.unitils.mock.mockbehavior.impl.ValueReturningMockBehavior
Checks whether the mock behavior can be executed for the given invocation.
assertCanExecute(ProxyInvocation) - Method in interface org.unitils.mock.mockbehavior.ValidatableMockBehavior
Checks whether the mock behavior can be executed for the given invocation.
assertCountSqlResult(String, Long) - Static method in class org.unitils.database.sqlassert.SqlAssert
The SQL given should only return one row with one column, this column should be a number (preferred a count(*)).
assertCountSqlResult(String, DataSource, Long) - Static method in class org.unitils.database.sqlassert.SqlAssert
The SQL given should only return one row with one column, this column should be a number (preferred a count(*)).
assertDbContentAsExpected(Method, Object) - Method in class org.unitils.dbunit.DbUnitModule
Compares the contents of the expected DbUnitDataSet with the contents of the database.
assertEqualDbUnitDataSets(String, IDataSet, IDataSet) - Method in class org.unitils.dbunit.util.DataSetAssert
Asserts that the given expected DbUnit data set is equal to the actual DbUnit data set.
assertEqualSchemas(Schema, Schema) - Method in class org.unitils.dbunit.util.DataSetAssert
Asserts that the given expected schema is equal to the actual schema.
assertInvocation(TracingTestListener.Invocation, Class<?>, TracingTestListener.TestFramework...) - Method in class org.unitils.UnitilsInvocationTestBase
 
assertInvocationOrder(Class<?>, Class<?>) - Method in class org.unitils.UnitilsInvocationTestBase
 
assertInvoked() - Method in class org.unitils.mock.core.MockObject
Asserts that an invocation that matches the invocation following this call has been observed on this mock object during this test.
assertInvoked(BehaviorDefiningInvocation) - Method in class org.unitils.mock.core.Scenario
 
assertInvoked() - Method in interface org.unitils.mock.Mock
Asserts that an invocation that matches the invocation following this call has been observed on this mock object during this test.
assertInvokedInOrder(BehaviorDefiningInvocation) - Method in class org.unitils.mock.core.Scenario
 
assertInvokedInSequence() - Method in class org.unitils.mock.core.MockObject
Asserts that an invocation that matches the invocation following this call has been observed on this mock object during this test.
assertInvokedInSequence() - Method in interface org.unitils.mock.Mock
Asserts that an invocation that matches the invocation following this call has been observed on this mock object during this test.
AssertInvokedInSequenceVerifyingMatchingInvocationHandler - Class in org.unitils.mock.core.matching.impl
 
AssertInvokedInSequenceVerifyingMatchingInvocationHandler(Scenario, MockFactory) - Constructor for class org.unitils.mock.core.matching.impl.AssertInvokedInSequenceVerifyingMatchingInvocationHandler
 
AssertInvokedVerifyingMatchingInvocationHandler - Class in org.unitils.mock.core.matching.impl
 
AssertInvokedVerifyingMatchingInvocationHandler(Scenario, MockFactory) - Constructor for class org.unitils.mock.core.matching.impl.AssertInvokedVerifyingMatchingInvocationHandler
 
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.
assertMappingWithDatabaseConsistent(Object) - Method in class org.unitils.orm.hibernate.HibernateModule
Checks if the mapping of the Hibernate managed objects with the database is correct.
assertMappingWithDatabaseConsistent() - Static method in class org.unitils.orm.hibernate.HibernateUnitils
Checks if the mapping of the Hibernate managed objects with the database is still correct for the configurations that are loaded for the current test.
assertMappingWithDatabaseConsistent(Configuration, Session, Dialect) - Static method in class org.unitils.orm.hibernate.util.HibernateAssert
Checks if the mapping of the Hibernate managed objects with the database is still correct.
assertMappingWithDatabaseConsistent(Object) - Method in class org.unitils.orm.jpa.JpaModule
Checks if the mapping of the managed objects with the database is still correct.
assertMappingWithDatabaseConsistent() - Static method in class org.unitils.orm.jpa.JpaUnitils
Checks if the mapping of the JPA entities with the database is still correct for the configurations that are loaded for the current test.
assertMappingWithDatabaseConsistent(EntityManager, Object) - Method in interface org.unitils.orm.jpa.util.JpaProviderSupport
Checks if the mapping of the JPA entities with the database is still correct for the given EntityManager and provider specific configuration object
assertMappingWithDatabaseConsistent(EntityManager, Object) - Method in class org.unitils.orm.jpa.util.provider.hibernate.HibernateJpaProviderSupport
Checks if the mapping of the JPA entities with the database is still correct.
assertMappingWithDatabaseConsistent(EntityManager, Object) - Method in class org.unitils.orm.jpa.util.provider.openjpa.OpenJpaProviderSupport
 
assertMappingWithDatabaseConsistent(EntityManager, Object) - Method in class org.unitils.orm.jpa.util.provider.toplink.ToplinkJpaProviderSupport
 
assertMultipleRowSqlResult(String, String[]...) - Static method in class org.unitils.database.sqlassert.SqlAssert
To be succesfull the result of the SQL should return as many rows as the two dimensional arrey has, each row should be identical to the given parameter.
assertMultipleRowSqlResult(String, DataSource, String[]...) - Static method in class org.unitils.database.sqlassert.SqlAssert
To be successful the result of the SQL should return as many rows as the two dimensional array has, each row should be identical to the given parameter.
assertNoDuplicateIndexes(List<Script>) - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Asserts that, in the given list of database update scripts, there are no two indexed scripts with the same version.
assertNoMoreInvocations(StackTraceElement[]) - Method in class org.unitils.mock.core.Scenario
 
assertNoMoreInvocations() - Static method in class org.unitils.mock.MockUnitils
 
assertNoMoreInvocations() - Method in class org.unitils.UnitilsInvocationTestBase
 
assertNotExpectingInvocation() - Method in class org.unitils.mock.core.matching.MatchingInvocationBuilder
 
assertNotInvoked() - Method in class org.unitils.mock.core.MockObject
Asserts that no invocation that matches the invocation following this call has been observed on this mock object during this test.
assertNotInvoked(BehaviorDefiningInvocation) - Method in class org.unitils.mock.core.Scenario
 
assertNotInvoked() - Method in interface org.unitils.mock.Mock
Asserts that no invocation that matches the invocation following this call has been observed on this mock object during this test.
AssertNotInvokedVerifyingMatchingInvocationHandler - Class in org.unitils.mock.core.matching.impl
 
AssertNotInvokedVerifyingMatchingInvocationHandler(Scenario, MockFactory) - Constructor for class org.unitils.mock.core.matching.impl.AssertNotInvokedVerifyingMatchingInvocationHandler
 
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.
assertSingleRowSqlResult(String, String[]) - Static method in class org.unitils.database.sqlassert.SqlAssert
To be succesfull the result of the SQL should only return one row, this row should be identical to the given parameter.
assertSingleRowSqlResult(String, DataSource, String[]) - Static method in class org.unitils.database.sqlassert.SqlAssert
To be successful the result of the SQL should only return one row, this row should be identical to the given parameter.
AssertVerifyingMatchingInvocationHandler - Class in org.unitils.mock.core.matching.impl
 
AssertVerifyingMatchingInvocationHandler(Scenario, MockFactory) - Constructor for class org.unitils.mock.core.matching.impl.AssertVerifyingMatchingInvocationHandler
 
asSet(T...) - Static method in class org.unitils.util.CollectionUtils
Converts the given array of elements to a set.
autoCreateExecutedScriptsTable - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
True if the scripts table should be created automatically if it does not exist yet
available() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Return the number of bytes that can be read.

B

backSlashEscapingEnabled - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.InDoubleQuotesParsingState
Determines whether backslashes can be used to escape characters, e.g. \" for a double quote (= "")
backSlashEscapingEnabled - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.InSingleQuotesParsingState
Determines whether backslashes can be used to escape characters, e.g. \' for a single quote (= '')
backSlashEscapingEnabled - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.NormalParsingState
Determines whether backslashes can be used to escape characters, e.g. \" for a double quote (= "")
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
 
BaseDatabaseAccessor - Class in org.unitils.dbmaintainer.util
Base class for implementations that access the test database
BaseDatabaseAccessor() - Constructor for class org.unitils.dbmaintainer.util.BaseDatabaseAccessor
 
BaseDataSetLoadStrategy - Class in org.unitils.dbunit.datasetloadstrategy.impl
Base implementation of DataSetLoadStrategy.
BaseDataSetLoadStrategy() - Constructor for class org.unitils.dbunit.datasetloadstrategy.impl.BaseDataSetLoadStrategy
 
BaseParsingState - Class in org.unitils.dbmaintainer.script.parsingstate.impl
Base class for a parsing state.
BaseParsingState() - Constructor for class org.unitils.dbmaintainer.script.parsingstate.impl.BaseParsingState
 
beforeClass() - Static method in class org.unitils.UnitilsJUnit4Test_TestClass1
 
beforeClass() - Static method in class org.unitils.UnitilsJUnit4Test_TestClass2
 
beforeTestClass(Class<?>) - Method in class org.unitils.core.TestListener
Invoked before the generic class setup (e.g.
beforeTestClass(Class<?>) - Method in class org.unitils.TracingTestListener
 
beforeTestMethod(Object, Method) - Method in class org.unitils.core.TestListener
Invoked before the test but after the test setup (eg @Before) is run.
beforeTestMethod(Object, Method) - Method in class org.unitils.inject.InjectModule.InjectTestListener
Before executing a test method (i.e. after the fixture methods), the injection is performed, since objects to inject or targets are possibly instantiated during the fixture.
beforeTestMethod(TestContext) - Method in class org.unitils.spring.util.SpringUnitilsAdaptorTestExecutionListener
 
beforeTestMethod(Object, Method) - Method in class org.unitils.TracingTestListener
 
beforeTestSetUp(Object, Method) - Method in class org.unitils.core.TestListener
Invoked before the test setup (eg @Before) is run.
beforeTestSetUp(Object, Method) - Method in class org.unitils.database.DatabaseModule.DatabaseTestListener
 
beforeTestSetUp(Object, Method) - Method in class org.unitils.dbunit.DbUnitModule.DbUnitListener
 
beforeTestSetUp(Object, Method) - Method in class org.unitils.easymock.EasyMockModule.EasyMockTestListener
Before the test is executed this calls EasyMockModule.createAndInjectRegularMocksIntoTest(Object) to create and inject all mocks on the class.
beforeTestSetUp(Object, Method) - Method in class org.unitils.io.annotation.handler.FileContentAnnotationHandler
All fields that have an FileContent annotation will be handled before the setup of the test.
beforeTestSetUp(Object, Method) - Method in class org.unitils.io.annotation.handler.TempDirAnnotationHandler
 
beforeTestSetUp(Object, Method) - Method in class org.unitils.io.annotation.handler.TempFileAnnotationHandler
 
beforeTestSetUp(Object, Method) - Method in class org.unitils.io.IOModule.IOTestListener
 
beforeTestSetUp(Object, Method) - Method in class org.unitils.mock.MockModule.MockTestListener
 
beforeTestSetUp(Object, Method) - Method in class org.unitils.orm.common.OrmModule.OrmTestListener
 
beforeTestSetUp(Object, Method) - Method in class org.unitils.orm.jpa.JpaModule.JpaTestListener
 
beforeTestSetUp(Object, Method) - Method in class org.unitils.spring.SpringModule.SpringTestListener
 
beforeTestSetUp(TestContext) - Method in class org.unitils.spring.util.SpringUnitilsAdaptorTestExecutionListener
 
beforeTestSetUp(Object, Method) - Method in class org.unitils.TracingTestListener
 
BehaviorDefiningInvocation - Class in org.unitils.mock.core
 
BehaviorDefiningInvocation(ProxyInvocation, MockBehavior, List<ArgumentMatcher>) - Constructor for class org.unitils.mock.core.BehaviorDefiningInvocation
Creates a behavior defining invocation for the given prosy invocation.
behaviorDefiningInvocation - Variable in class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior
 
BehaviorDefiningInvocations - Class in org.unitils.mock.core
 
BehaviorDefiningInvocations(boolean) - Constructor for class org.unitils.mock.core.BehaviorDefiningInvocations
 
behaviorDefiningInvocations - Variable in class org.unitils.mock.core.BehaviorDefiningInvocations
 
behaviorDefiningInvocations - Variable in class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler
 
BehaviorDefiningMatchingInvocationHandler - Class in org.unitils.mock.core.matching.impl
 
BehaviorDefiningMatchingInvocationHandler(MockBehavior, BehaviorDefiningInvocations, MockFactory) - Constructor for class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler
 
BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior - Class in org.unitils.mock.core.matching.impl
 
BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior(Mock<?>, BehaviorDefiningInvocation) - Constructor for class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior
 
binaryOperation(AbstractInsnNode, Value, Value) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
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.
callAfterCreateMockMethods(Object, Object, String, Class<?>) - Method in class org.unitils.easymock.EasyMockModule
Calls all AfterCreateMock annotated methods on the test, passing the given mock.
callAfterCreateMockMethods(Object, Mock<?>, String) - Method in class org.unitils.mock.MockModule
Calls all AfterCreateMock annotated methods on the test, passing the given mock.
Calls - Enum in org.unitils.easymock.util
Possible values for allowing unexpected (non-recorded) method calls on mock objects.
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.
CglibProxyMethodInterceptor<T> - Class in org.unitils.mock.core.proxy
A cglib method intercepter that will delegate the invocations to the given invocation hanlder.
CglibProxyMethodInterceptor(String, Class<T>, ProxyInvocationHandler) - Constructor for class org.unitils.mock.core.proxy.CglibProxyMethodInterceptor
Creates an interceptor.
CglibProxyMethodInterceptor.CglibProxyInvocation - Class in org.unitils.mock.core.proxy
An invocation implementation that uses the cglib method proxy to be able to invoke the original behavior.
CglibProxyMethodInterceptor.CglibProxyInvocation(String, Method, List<Object>, StackTraceElement[], Object, MethodProxy) - Constructor for class org.unitils.mock.core.proxy.CglibProxyMethodInterceptor.CglibProxyInvocation
Creates an invocation.
chainedMocksPerName - Variable in class org.unitils.mock.core.MockObject
 
checkExecutedScriptsTable() - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
Checks if the version table and columns are available and if a record exists in which the version info is stored.
checksumColumnName - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
The name of the database column in which the checksum calculated on the script content is stored
checksumColumnSize - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
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
 
ClassPathXmlApplicationContextFactory - Class in org.unitils.spring.util
An ApplicationContextFactory that creates an instance of the type ClassPathXmlApplicationContext.
ClassPathXmlApplicationContextFactory() - Constructor for class org.unitils.spring.util.ClassPathXmlApplicationContextFactory
 
cleanDirectory(File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Clean a directory without deleting it.
CleanInsertLoadStrategy - Class in org.unitils.dbunit.datasetloadstrategy.impl
DataSetLoadStrategy that inserts a dataset, after removal of all data present in the tables specified in the dataset.
CleanInsertLoadStrategy() - Constructor for class org.unitils.dbunit.datasetloadstrategy.impl.CleanInsertLoadStrategy
 
cleanSchemas() - Method in class org.unitils.database.DatabaseModule
Cleans all configured schema's.
cleanSchemas() - Static method in class org.unitils.database.DatabaseUnitils
Cleans all configured schema's.
cleanSchemas() - Method in interface org.unitils.dbmaintainer.clean.DBCleaner
Delete data from the database schema, that could cause problems when performing updates.
cleanSchemas() - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBCleaner
Deletes all data from the database, except for the tables that have been configured as tablesToPreserve , and the table in which the database version is stored
cleanTable(String, DbSupport) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBCleaner
Deletes the data in the table with the given name.
cleanUp() - Method in class org.unitils.UnitilsInvocationTestBase
 
CLEANUP_AFTER_TEST - Static variable in class org.unitils.io.IOModule
 
cleanupAfterTest - Variable in class org.unitils.io.annotation.handler.TempDirAnnotationHandler
 
cleanupAfterTest - Variable in class org.unitils.io.annotation.handler.TempFileAnnotationHandler
 
clear() - Method in class org.unitils.dbmaintainer.script.StatementBuilder
Clear the statement.
clear() - Method in class org.unitils.mock.core.BehaviorDefiningInvocations
 
clearAllExecutedScripts() - Method in interface org.unitils.dbmaintainer.version.ExecutedScriptInfoSource
Clears all script executions that have been registered.
clearAllExecutedScripts() - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
Clears all script executions that have been registered.
clearSchemas() - Method in class org.unitils.database.DatabaseModule
Clears all configured schema's.
clearSchemas() - Static method in class org.unitils.database.DatabaseUnitils
Clears all configured schema's.
clearSchemas() - Method in interface org.unitils.dbmaintainer.clean.DBClearer
Clears the database schemas.
clearSchemas() - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Clears the database schemas.
cloneArray(Object, Map<Object, Object>) - Static method in class org.unitils.mock.core.proxy.CloneUtil
Clones the given array and all it's elements.
cloneFields(Class<?>, Object, Object, Map<Object, Object>) - Static method in class org.unitils.mock.core.proxy.CloneUtil
Clones all values in all fields of the given class and superclasses.
cloneObject(Object, Map<Object, Object>) - Static method in class org.unitils.mock.core.proxy.CloneUtil
Actual implementation of the cloning.
CloneUtil - Class in org.unitils.mock.core.proxy
Utility class for deep cloning objects.
CloneUtil() - Constructor for class org.unitils.mock.core.proxy.CloneUtil
 
close() - Method in class org.unitils.dbunit.util.DbUnitDatabaseConnection
Method that is invoked by DBUnit when the connection is no longer needed.
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
 
closeJdbcConnection() - Method in class org.unitils.dbunit.DbUnitModule
Closes (i.e. return to the pool) the JDBC Connection that is currently in use by the DbUnitDatabaseConnection
closeJdbcConnection() - Method in class org.unitils.dbunit.util.DbUnitDatabaseConnection
Closes the Connection that was last retrieved using the DbUnitDatabaseConnection.getConnection() method
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
 
Column - Class in org.unitils.dbunit.dataset
A column in a data set row
Column(String, DataType, Object) - Constructor for class org.unitils.dbunit.dataset.Column
Creates a value
ColumnDifference - Class in org.unitils.dbunit.dataset.comparison
The difference between 2 column values.
ColumnDifference(Column, Column) - Constructor for class org.unitils.dbunit.dataset.comparison.ColumnDifference
Creates a column difference.
commit(Object) - Method in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
Commits the transaction.
commit(Object) - Method in interface org.unitils.database.transaction.UnitilsTransactionManager
Commits the currently active transaction.
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.
commitTransaction(Object) - Method in class org.unitils.database.DatabaseModule
Commits the current transaction.
commitTransaction() - Static method in class org.unitils.database.DatabaseUnitils
Commits the current unitils transaction
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(Column) - Method in class org.unitils.dbunit.dataset.Column
Compares the column with the given actual column.
compare(Row) - Method in class org.unitils.dbunit.dataset.Row
Compares the row with the given actual row.
compare(Schema) - Method in class org.unitils.dbunit.dataset.Schema
Compares the schema with the given actual schema.
compare(Table) - Method in class org.unitils.dbunit.dataset.Table
Compares the table with the given actual table.
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.
compareColumns(List<Column>, Row, RowDifference) - Method in class org.unitils.dbunit.dataset.Row
Compares the given columns with the columns of the actual row.
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.
compareRows(List<Row>, Table, TableDifference) - Method in class org.unitils.dbunit.dataset.Table
Compares the given rows with the columns of the actual table.
compareTo(Script) - Method in class org.unitils.dbmaintainer.script.Script
Compares the given script to this script by comparing the versions.
compareTo(Version) - Method in class org.unitils.dbmaintainer.version.Version
Compares the given version to this version using the index values.
Configurable - Interface in org.unitils.core.util
 
configuration - Variable in class org.unitils.core.util.BaseConfigurable
 
configuration - Variable in class org.unitils.database.DatabaseModule
The configuration of Unitils
configuration - Variable in class org.unitils.dbmaintainer.util.BaseDatabaseAccessor
The unitils configuration
configuration - Variable in class org.unitils.dbunit.DbUnitModule
The unitils configuration
configuration - Variable in class org.unitils.io.IOModule
 
ConfigurationLoader - Class in org.unitils.core
Utility that loads the configuration of unitils.
ConfigurationLoader() - Constructor for class org.unitils.core.ConfigurationLoader
 
ConfiguredOrmPersistenceUnit<ORMPU,ORMCONFOBJ> - Class in org.unitils.orm.common.util
Value object that wraps a persistence unit object and an implementation specific configuration object
ConfiguredOrmPersistenceUnit(ORMPU, ORMCONFOBJ) - Constructor for class org.unitils.orm.common.util.ConfiguredOrmPersistenceUnit
Creates a new instance
configuredOrmPersistenceUnitCache - Variable in class org.unitils.orm.common.OrmModule
Cache for persistence units and its configuration.
ConfigUtils - Class in org.unitils.core.util
Class containing configuration related utilities
ConfigUtils() - Constructor for class org.unitils.core.util.ConfigUtils
 
constraintsDisabler - Variable in class org.unitils.dbmaintainer.DBMaintainer
Disabler of constraints
ConstraintsDisabler - Interface in org.unitils.dbmaintainer.structure
A task for disabling all foreign key, check and not-null constraints on a database schema.
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.
conversionStrategies - Variable in class org.unitils.io.filecontent.impl.DefaultFileContentReader
 
ConversionStrategy<T> - Interface in org.unitils.io.conversion
A conversion strategy converts the given input stream to the object specified (T).
convertContent(InputStream, String) - Method in interface org.unitils.io.conversion.ConversionStrategy
Converts the content of the given stream into the target type.
convertContent(InputStream, String) - Method in class org.unitils.io.conversion.impl.PropertiesConversionStrategy
 
convertContent(InputStream, String) - Method in class org.unitils.io.conversion.impl.StringConversionStrategy
 
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[]
convertToScriptNameScriptMap(Set<ExecutedScript>) - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
 
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.
copyOperation(AbstractInsnNode, Value) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
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.
createAlwaysMatchingBehaviorDefiningInvocations() - Method in class org.unitils.mock.core.MockObject
 
createAlwaysMatchingBehaviorDefiningMatchingInvocationHandler(MockBehavior) - Method in class org.unitils.mock.core.MockObject
 
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.
createAndInjectDummiesIntoTest(Object) - Method in class org.unitils.mock.MockModule
checks for the Dummy annotation on the testObject.
createAndInjectMocksIntoTest(Object) - Method in class org.unitils.easymock.EasyMockModule
 
createAndInjectMocksIntoTest(Object) - Method in class org.unitils.mock.MockModule
 
createAndInjectPartialMocksIntoTest(Object) - Method in class org.unitils.mock.MockModule
 
createAndInjectRegularMocksIntoTest(Object) - Method in class org.unitils.easymock.EasyMockModule
Creates and sets a mock for all RegularMock annotated fields.
createApplicationContext(List<String>) - Method in interface org.unitils.spring.util.ApplicationContextFactory
Create an ApplicationContext, in which the complete list of the given resources is loaded.
createApplicationContext(List<String>) - Method in class org.unitils.spring.util.ClassPathXmlApplicationContextFactory
Create an ClassPathXmlApplicationContext for the given locations on which refresh has not yet been called
createArgumentMatchers(ProxyInvocation) - Method in class org.unitils.mock.core.matching.MatchingInvocationBuilder
 
createArgumentMatcherValue(Value) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
createAssertInvokedInSequenceVerifyingMatchingInvocationHandler() - Method in class org.unitils.mock.core.MockObject
 
createAssertInvokedVerifyingMatchingInvocationHandler() - Method in class org.unitils.mock.core.MockObject
 
createAssertNotInvokedVerifyingMatchingInvocationHandler() - Method in class org.unitils.mock.core.MockObject
 
createChainedMock(ProxyInvocation) - Method in class org.unitils.mock.core.matching.impl.AssertVerifyingMatchingInvocationHandler
 
createChainedMock(ProxyInvocation, BehaviorDefiningInvocation) - Method in class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler
 
createChainedMock(String, Class<T>) - Method in interface org.unitils.mock.core.MockFactory
 
createChainedMock(String, Class<M>) - Method in class org.unitils.mock.core.MockObject
 
createContainerEntityManagerFactory(PersistenceUnitInfo, Map) - Method in class org.unitils.orm.jpa.util.provider.hibernate.UnitilsHibernatePersistenceProvider
 
createConversionStrategies(Properties) - Method in class org.unitils.io.filecontent.impl.DefaultFileContentReaderFactory
 
createConversionStrategies(Properties, String) - Method in class org.unitils.io.filecontent.impl.DefaultFileContentReaderFactory
 
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
 
createDataSet(File...) - Method in interface org.unitils.dbunit.datasetfactory.DataSetFactory
Creates a MultiSchemaDataSet using the given file.
createDataSet(File...) - Method in class org.unitils.dbunit.datasetfactory.impl.MultiSchemaXmlDataSetFactory
Creates a MultiSchemaDataSet using the given file.
createDataSource() - Method in interface org.unitils.database.config.DataSourceFactory
Creates a new DataSource
createDataSource() - Method in class org.unitils.database.config.PropertiesDataSourceFactory
 
createDataSource() - Method in class org.unitils.database.DatabaseModule
Creates a datasource by using the factory that is defined by the dataSourceFactory.className property
createDbUnitConnection(String) - Method in class org.unitils.dbunit.DbUnitModule
Creates a new instance of dbUnit's IDatabaseConnection
createDeepClone(T) - Static method in class org.unitils.mock.core.proxy.CloneUtil
Creates a deep clone of the given object.
createDetailedObservedInvocationsReport() - Method in class org.unitils.mock.core.Scenario
 
createDummy(Class<T>) - Static method in class org.unitils.mock.dummy.DummyObjectUtil
Creates the dummy proxy object.
createDummy(Class<T>, MockBehavior) - Static method in class org.unitils.mock.dummy.DummyObjectUtil
 
createDummy(Class<T>) - Static method in class org.unitils.mock.MockUnitils
 
createEnhancedClass(Class<T>, Class<?>...) - Static method in class org.unitils.mock.core.proxy.ProxyFactory
 
createEntityManagerFactoryBean(Object, JpaConfig) - Method in class org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader
 
createExecutedScriptsTable() - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
Creates the version table and inserts a version record.
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.
createFileContentReader(Properties) - Method in interface org.unitils.io.filecontent.FileContentReaderFactory
 
createFileContentReader(Properties) - Method in class org.unitils.io.filecontent.impl.DefaultFileContentReaderFactory
 
createFileContentReader() - Method in class org.unitils.io.IOModule
 
createFileResolvingStrategy(Properties) - Method in interface org.unitils.io.reader.FileResolvingStrategyFactory
 
createFileResolvingStrategy(Properties) - Method in class org.unitils.io.reader.impl.DefaultFileResolvingStrategyFactory
 
createFullReport() - Method in class org.unitils.mock.core.Scenario
 
createInBlockCommentParsingState() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
Factory method for the in-block comment (/ * comment * /) parsing state.
createIndexList(int) - Method in class org.unitils.reflectionassert.comparator.impl.LenientOrderCollectionComparator
 
createInDoubleQuotesParsingState() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
Factory method for the double quotes ("text") literal parsing state.
createInitializedOrUninitializedInstanceOfType(Class<T>) - Static method in class org.unitils.mock.core.proxy.ProxyFactory
Creates an instance of the given type.
createInitialParsingState(boolean) - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
Builds the initial parsing state.
createInLineCommentParsingState() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
Factory method for the in-line comment (-- comment) parsing state.
createInSingleQuotesParsingState() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
Factory method for the single quotes ('text') parsing state.
createInstanceForValues(Object, Class<?>, List<String>) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Creates an instance for the given values.
createInstanceForValues(Object, Class<?>, List<String>) - Method in class org.unitils.spring.util.ApplicationContextManager
Creates a new application context for the given locations.
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
createInstanceUsingClone(Object) - Static method in class org.unitils.mock.core.proxy.CloneUtil
If the given value is cloneable and the cloning succeeds, the clone is returned, else null is returned.
createInstanceUsingObjenesis(Object) - Static method in class org.unitils.mock.core.proxy.CloneUtil
Tries to create an instance of the same type as the given value using Objenesis.
createLargeValueName(Class<?>, Map<Class<?>, Integer>) - Method in class org.unitils.mock.report.impl.ProxyInvocationsReport
Creates a name to replace a large value.
createMatchingInvocationBuilder() - Method in class org.unitils.mock.core.MockObject
 
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
createMock(Class<T>, InvocationOrder, Calls, Order, Dates, Defaults) - Method in class org.unitils.easymock.EasyMockModule
todo javadoc

Creates an EasyMock mock instance of the given type (class/interface).

createMock(Class<T>) - Static method in class org.unitils.easymock.EasyMockUnitils
Creates a lenient mock object of the given type.
createMock(Class<T>, InvocationOrder, Calls, Order, Dates, Defaults) - Static method in class org.unitils.easymock.EasyMockUnitils
Creates a lenient mock object of the given type.
createMock(Object, String, Class<?>) - Method in class org.unitils.mock.MockModule
 
createMockProxy() - Method in class org.unitils.mock.core.MockObject
 
createMockProxy() - Method in class org.unitils.mock.core.PartialMockObject
 
createModulesRepository(Properties) - Method in class org.unitils.core.Unitils
Configures all unitils modules using the given Properties object, and stores them in a ModulesRepository.
createNormalParsingState() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
Factory method for the normal parsing state.
createNormalParsingState() - Method in class org.unitils.dbmaintainer.script.impl.OracleScriptParser
 
createObjectForField(Object, Field) - Method in class org.unitils.inject.InjectModule
Creates an objects of the given fields' declared type and assigns it to this field on the given testObject
createObservedInvocationsReport() - Method in class org.unitils.mock.core.Scenario
 
createOneTimeMatchingBehaviorDefiningInvocations() - Method in class org.unitils.mock.core.MockObject
 
createOneTimeMatchingBehaviorDefiningMatchingInvocationHandler(MockBehavior) - Method in class org.unitils.mock.core.MockObject
 
createOrmConfigLoader() - Method in class org.unitils.orm.common.OrmModule
 
createOrmConfigLoader() - Method in class org.unitils.orm.hibernate.HibernateModule
 
createOrmConfigLoader() - Method in class org.unitils.orm.jpa.JpaModule
 
createOrmPersistenceUnitLoader() - Method in class org.unitils.orm.common.OrmModule
 
createOrmPersistenceUnitLoader() - Method in class org.unitils.orm.hibernate.HibernateModule
 
createOrmPersistenceUnitLoader() - Method in class org.unitils.orm.jpa.JpaModule
 
createPartialMock(Object, String, Class<?>) - Method in class org.unitils.mock.MockModule
 
createProxy(String, ProxyInvocationHandler, Class<T>, Class<?>...) - Static method in class org.unitils.mock.core.proxy.ProxyFactory
Creates a proxy object for the given type.
createProxy(String, boolean, ProxyInvocationHandler, Class<T>, Class<?>...) - Static method in class org.unitils.mock.core.proxy.ProxyFactory
Creates a proxy object for the given type.
createReadingStrategy(Properties) - Method in class org.unitils.io.filecontent.impl.DefaultFileContentReaderFactory
 
createReadingStrategy(Properties) - Method in class org.unitils.io.reader.impl.FileReadingStrategyFactory
 
createReadingStrategy(Properties) - Method in interface org.unitils.io.reader.ReadingStrategyFactory
 
createRefectionComparator(ReflectionComparatorMode...) - Static method in class org.unitils.reflectionassert.ReflectionComparatorFactory
Creates a reflection comparator for the given modes.
createRegularMock(Class<T>, InvocationOrder, Calls) - Method in class org.unitils.easymock.EasyMockModule
Creates an EasyMock mock object of the given type.
createRegularMock(Class<T>) - Static method in class org.unitils.easymock.EasyMockUnitils
Creates a regular EasyMock mock object of the given type.
createRegularMock(Class<T>, InvocationOrder, Calls) - Static method in class org.unitils.easymock.EasyMockUnitils
Creates a regular EasyMock mock object of the given type.
createReport(Scenario) - Method in class org.unitils.mock.report.impl.DefaultScenarioReport
Creates a report.
createReport(List<ObservedInvocation>) - Method in class org.unitils.mock.report.impl.DetailedObservedInvocationsReport
Creates a string representation of the given scenario as described in the class javadoc.
createReport(List<ObservedInvocation>) - Method in class org.unitils.mock.report.impl.ObservedInvocationsReport
Creates a string representation of the given invocations as described in the class javadoc.
createReport(Object, List<ObservedInvocation>) - Method in class org.unitils.mock.report.impl.SuggestedAssertsReport
Creates a string representation of the given invocations.
createReport(Scenario) - Method in interface org.unitils.mock.report.ScenarioReport
Creates a report.
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.
createResourceConfig(HibernateSessionFactory, Method) - Method in class org.unitils.orm.hibernate.util.HibernateAnnotationConfigLoader
 
createResourceConfig(JpaEntityManagerFactory, Method) - Method in class org.unitils.orm.jpa.util.JpaAnnotationConfigLoader
 
createResourceConfig(A, Method) - Method in class org.unitils.util.AnnotationConfigLoader
Either the given configuring annotation or custom config method must not be null (may also both be not-null)
createScenario(Object) - Method in class org.unitils.mock.core.MockObject
 
createSchemaForDbUnitDataSet(String, IDataSet) - Method in class org.unitils.dbunit.dataset.SchemaFactory
Creates a data set schema for the given DbUnit dataset.
createSchemaForDbUnitDataSet(String, IDataSet, List<String>) - Method in class org.unitils.dbunit.dataset.SchemaFactory
Creates a data set schema for the given DbUnit dataset.
createScript(File, String) - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Creates a script object for the given script file
createScriptParser() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptRunner
Creates a script parser.
createSessionFactoryBean(Object, OrmConfig) - Method in class org.unitils.orm.hibernate.util.HibernateSessionFactoryLoader
 
createStatement() - Method in class org.unitils.dbmaintainer.script.impl.OracleScriptParser.OracleStatementBuilder
Overridden to remove carriage returns from statements.
createStatement() - Method in class org.unitils.dbmaintainer.script.StatementBuilder
Creates the resulting statement out of the given characters.
createStatementBuilder() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
Factory method for the statement builder.
createStatementBuilder() - Method in class org.unitils.dbmaintainer.script.impl.OracleScriptParser
Factory method for the statement builder.
createSuggestedAssertsReport() - Method in class org.unitils.mock.core.Scenario
 
createTableMetaData(String, Attributes) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
Creates meta data for a table with the given name containing columns for each of the attributes.
createTempDir(String) - Method in class org.unitils.io.IOModule
 
createTempDir(String) - Static method in class org.unitils.io.IOUnitils
Creates a temporary directory with the given name.
createTempDir(String) - Method in class org.unitils.io.temp.impl.DefaultTempService
 
createTempDir(String) - Method in interface org.unitils.io.temp.TempService
 
createTempDirForField(Object, Method, Field) - Method in class org.unitils.io.annotation.handler.TempDirAnnotationHandler
 
createTempFile(String) - Method in class org.unitils.io.IOModule
 
createTempFile(String) - Static method in class org.unitils.io.IOUnitils
Creates a temporary file with the given name.
createTempFile(String) - Method in class org.unitils.io.temp.impl.DefaultTempService
 
createTempFile(String) - Method in interface org.unitils.io.temp.TempService
 
createTempFileForField(Object, Method, Field) - Method in class org.unitils.io.annotation.handler.TempFileAnnotationHandler
 
createTempService() - Method in class org.unitils.io.IOModule
 
createTempService(Properties) - Method in class org.unitils.io.temp.impl.DefaultTempServiceFactory
 
createTempService(Properties) - Method in interface org.unitils.io.temp.TempServiceFactory
 
createTestedObjectsIfNull(Object) - Method in class org.unitils.inject.InjectModule
For all fields annotated with TestedObject that are still null after the test fixture, an object is created of the field's declared type and assigned to the field.
createTransactionDefinition(Object) - Method in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
Returns a TransactionDefinition object containing the necessary transaction parameters.
createUninitializedInstanceOfType(Class<T>) - Static method in class org.unitils.mock.core.proxy.ProxyFactory
Creates an instance of the given type.
createUninitializedProxy(String, ProxyInvocationHandler, Class<T>, Class<?>...) - Static method in class org.unitils.mock.core.proxy.ProxyFactory
Creates a proxy object for the given type.
createVersion(List<Long>, File) - Method in class org.unitils.dbmaintainer.script.Script
Creates a version for the given script file.
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.
createXMLReader() - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader
Factory method for creating the SAX xml reader.
currentChar - Variable in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
The current parsed character
currentIndex - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
currentLineNr - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
currentMatcherMethod - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
currentMockName - Variable in class org.unitils.mock.core.matching.MatchingInvocationBuilder
 
currentParsingState - Variable in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
The current state.
CUSTOM_CONVERSION_STRATEGY_KEY - Static variable in class org.unitils.io.filecontent.impl.DefaultFileContentReaderFactory
 

D

DatabaseAccessing - Interface in org.unitils.dbmaintainer.util
Task that can be performed on a database.
DatabaseModule - Class in org.unitils.database
Module that provides support for database testing: Creation of a datasource that connects to the test database, support for executing tests in a transaction and automatic maintenance of the test database.
DatabaseModule() - Constructor for class org.unitils.database.DatabaseModule
 
DatabaseModule.DatabaseTestListener - Class in org.unitils.database
The TestListener for this module
DatabaseModule.DatabaseTestListener() - Constructor for class org.unitils.database.DatabaseModule.DatabaseTestListener
 
DatabaseModuleConfigUtils - Class in org.unitils.dbmaintainer.util
Class containing configuration utility methods specifically for the DatabaseModule and related modules
DatabaseModuleConfigUtils() - Constructor for class org.unitils.dbmaintainer.util.DatabaseModuleConfigUtils
 
DatabaseUnitils - Class in org.unitils.database
Class providing access to the functionality of the database module using static methods.
DatabaseUnitils() - Constructor for class org.unitils.database.DatabaseUnitils
 
DataSet - Annotation Type in org.unitils.dbunit.annotation
Annotation indicating that a data set should be loaded before the test run.
DataSetAssert - Class in org.unitils.dbunit.util
Assert class that offers assert methods for testing things that are specific to DbUnit.
DataSetAssert() - Constructor for class org.unitils.dbunit.util.DataSetAssert
 
DataSetFactory - Interface in org.unitils.dbunit.datasetfactory
Factory for creating DbUnit data sets.
DataSetLoadStrategy - Interface in org.unitils.dbunit.datasetloadstrategy
Defines the contract for implementations that specify an operation that needs to be executed on the database, given a DbUnit dataset.
DataSetResolver - Interface in org.unitils.dbunit.datasetfactory
Resolves the location for a data set with a certain name.
dataSetStructureGenerator - Variable in class org.unitils.dbmaintainer.DBMaintainer
Database DTD generator
DataSetStructureGenerator - Interface in org.unitils.dbmaintainer.structure
Generator for structure files, such as dtd or xml schema, for a DbUnit flat-xml data set file.
dataSource - Variable in class org.unitils.database.DatabaseModule
The datasources with the name as key
DataSourceFactory - Interface in org.unitils.database.config
Defines the contract of a factory that can provide an instance of a test DataSource.
Dates - Enum in org.unitils.easymock.util
Possible values for checking arguments with date values.
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.
DBCleaner - Interface in org.unitils.dbmaintainer.clean
Defines the contract for implementations that delete data from the database, that could cause problems when performing updates to the database, such as adding not null columns or foreign key constraints.
dbCleaner - Variable in class org.unitils.dbmaintainer.DBMaintainer
Cleaner of the database (deletes all data from all tables before updating
DBClearer - Interface in org.unitils.dbmaintainer.clean
Defines the contract for implementations that clear a database schema, so that it can for instance be recreated from scratch by the DBMaintainer
dbClearer - Variable in class org.unitils.dbmaintainer.DBMaintainer
Clearer of the database (removed all tables, sequences, ...) before updating
DBMaintainer - Class in org.unitils.dbmaintainer
A class for performing automatic maintenance of a database.
DBMaintainer() - Constructor for class org.unitils.dbmaintainer.DBMaintainer
Default constructor for testing.
DBMaintainer(Properties, SQLHandler) - Constructor for class org.unitils.dbmaintainer.DBMaintainer
Create a new instance of DBMaintainer, The concrete implementations of all helper classes are derived from the given Configuration object.
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
 
dbSupports - Variable in class org.unitils.dbmaintainer.util.BaseDatabaseAccessor
DbSupport for all schemas
DbUnitDatabaseConnection - Class in org.unitils.dbunit.util
Implementation of DBUnits IDatabaseConnection interface.
DbUnitDatabaseConnection(DataSource, String) - Constructor for class org.unitils.dbunit.util.DbUnitDatabaseConnection
Creates a new instance that wraps the given DataSource
dbUnitDatabaseConnections - Variable in class org.unitils.dbunit.DbUnitModule
Objects that DbUnit uses to connect to the database and to cache some database metadata.
DbUnitModule - Class in org.unitils.dbunit
Module that provides support for managing database test data using DBUnit.
DbUnitModule() - Constructor for class org.unitils.dbunit.DbUnitModule
 
DbUnitModule.DbUnitListener - Class in org.unitils.dbunit
Test listener that is called while the test framework is running tests
DbUnitModule.DbUnitListener() - Constructor for class org.unitils.dbunit.DbUnitModule.DbUnitListener
 
DbUnitUnitils - Class in org.unitils.dbunit
Class providing access to the functionality of the dbunit module using static methods.
DbUnitUnitils() - Constructor for class org.unitils.dbunit.DbUnitUnitils
 
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_CONVERSION_STRATEGY_KEY - Static variable in class org.unitils.io.filecontent.impl.DefaultFileContentReaderFactory
 
DEFAULT_ENUM_VALUE_NAME - Static variable in class org.unitils.util.ModuleUtils
The default name of the default enum value.
DEFAULT_FILE_ENCODING - Static variable in class org.unitils.io.filecontent.impl.DefaultFileContentReaderFactory
 
DEFAULT_PROPERTIES_FILE_NAME - Static variable in class org.unitils.core.ConfigurationLoader
Name of the fixed configuration file that contains all defaults
defaultAnnotationPropertyValues - Variable in class org.unitils.database.DatabaseModule
Map holding the default configuration of the database module annotations
defaultAnnotationPropertyValues - Variable in class org.unitils.dbunit.DbUnitModule
Map holding the default configuration of the dbunit module annotations
DefaultArgumentMatcher - Class in org.unitils.mock.argumentmatcher.impl
A matcher for checking whether an argument equals a given value.
DefaultArgumentMatcher(Object) - Constructor for class org.unitils.mock.argumentmatcher.impl.DefaultArgumentMatcher
Creates a matcher for the given value.
DefaultConstraintsDisabler - Class in org.unitils.dbmaintainer.structure.impl
Default implementation of ConstraintsDisabler.
DefaultConstraintsDisabler() - Constructor for class org.unitils.dbmaintainer.structure.impl.DefaultConstraintsDisabler
 
DefaultDataSetResolver - Class in org.unitils.dbunit.datasetfactory.impl
Resolves the location for a data set with a certain name.
DefaultDataSetResolver() - Constructor for class org.unitils.dbunit.datasetfactory.impl.DefaultDataSetResolver
 
DefaultDBCleaner - Class in org.unitils.dbmaintainer.clean.impl
Implementation of DBCleaner.
DefaultDBCleaner() - Constructor for class org.unitils.dbmaintainer.clean.impl.DefaultDBCleaner
 
DefaultDBClearer - Class in org.unitils.dbmaintainer.clean.impl
Implementation of DBClearer.
DefaultDBClearer() - Constructor for class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
 
defaultDbSupport - Variable in class org.unitils.dbmaintainer.util.BaseDatabaseAccessor
DbSupport for the default schema
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
 
defaultEncoding - Variable in class org.unitils.io.filecontent.impl.DefaultFileContentReader
 
DefaultExecutedScriptInfoSource - Class in org.unitils.dbmaintainer.version.impl
Implementation of VersionSource that stores the version in the database.
DefaultExecutedScriptInfoSource() - Constructor for class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
DefaultFileContentReader - Class in org.unitils.io.filecontent.impl
 
DefaultFileContentReader(ReadingStrategy, List<ConversionStrategy<?>>, String) - Constructor for class org.unitils.io.filecontent.impl.DefaultFileContentReader
 
DefaultFileContentReaderFactory - Class in org.unitils.io.filecontent.impl
 
DefaultFileContentReaderFactory() - Constructor for class org.unitils.io.filecontent.impl.DefaultFileContentReaderFactory
 
DefaultFileResolvingStrategy - Class in org.unitils.io.reader.impl
 
DefaultFileResolvingStrategy(FileResolver) - Constructor for class org.unitils.io.reader.impl.DefaultFileResolvingStrategy
 
DefaultFileResolvingStrategyFactory - Class in org.unitils.io.reader.impl
 
DefaultFileResolvingStrategyFactory() - Constructor for class org.unitils.io.reader.impl.DefaultFileResolvingStrategyFactory
 
Defaults - Enum in org.unitils.easymock.util
Possible values for checking arguments with default values.
DefaultScenarioReport - Class in org.unitils.mock.report.impl
Creates a report of the given scenario.
DefaultScenarioReport() - Constructor for class org.unitils.mock.report.impl.DefaultScenarioReport
 
defaultSchemaName - Variable in class org.unitils.dbunit.datasetfactory.impl.MultiSchemaXmlDataSetFactory
The schema name to use when no name was explicitly specified.
DefaultScriptParser - Class in org.unitils.dbmaintainer.script.impl
A class for parsing statements out of sql scripts.
DefaultScriptParser() - Constructor for class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
 
DefaultScriptRunner - Class in org.unitils.dbmaintainer.script.impl
Default implementation of a script runner.
DefaultScriptRunner() - Constructor for class org.unitils.dbmaintainer.script.impl.DefaultScriptRunner
 
DefaultScriptSource - Class in org.unitils.dbmaintainer.script.impl
Implementation of ScriptSource that reads script files from the filesystem.
DefaultScriptSource() - Constructor for class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
 
DefaultSequenceUpdater - Class in org.unitils.dbmaintainer.structure.impl
Implementation of SequenceUpdater.
DefaultSequenceUpdater() - Constructor for class org.unitils.dbmaintainer.structure.impl.DefaultSequenceUpdater
 
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
DefaultTempService - Class in org.unitils.io.temp.impl
 
DefaultTempService(File) - Constructor for class org.unitils.io.temp.impl.DefaultTempService
 
DefaultTempServiceFactory - Class in org.unitils.io.temp.impl
 
DefaultTempServiceFactory() - Constructor for class org.unitils.io.temp.impl.DefaultTempServiceFactory
 
DefaultUnitilsTransactionManager - Class in org.unitils.database.transaction.impl
Implements transactions for unit tests, by delegating to a spring PlatformTransactionManager.
DefaultUnitilsTransactionManager() - Constructor for class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
 
DefaultValueReturningMockBehavior - Class in org.unitils.mock.mockbehavior.impl
Mock behavior that returns a default value.
DefaultValueReturningMockBehavior() - Constructor for class org.unitils.mock.mockbehavior.impl.DefaultValueReturningMockBehavior
 
definingMethodName - Variable in class org.unitils.mock.core.matching.MatchingInvocationBuilder
 
deleteDirectory(File) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Recursively delete a directory.
deleteTempDirForField(Object, Field) - Method in class org.unitils.io.annotation.handler.TempDirAnnotationHandler
 
deleteTempFileForField(Object, Field) - Method in class org.unitils.io.annotation.handler.TempFileAnnotationHandler
 
deleteTempFileOrDir(File) - Method in class org.unitils.io.IOModule
 
deleteTempFileOrDir(File) - Static method in class org.unitils.io.IOUnitils
Deletes the given file or directory.
deleteTempFileOrDir(File) - Method in class org.unitils.io.temp.impl.DefaultTempService
 
deleteTempFileOrDir(File) - Method in interface org.unitils.io.temp.TempService
 
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.
DetailedObservedInvocationsReport - Class in org.unitils.mock.report.impl
A view that displays the details of the observed invocations.
DetailedObservedInvocationsReport(Object) - Constructor for class org.unitils.mock.report.impl.DetailedObservedInvocationsReport
 
determineConversionStrategy(Class<?>) - Method in class org.unitils.io.filecontent.impl.DefaultFileContentReader
 
determineEncoding(FileContent) - Method in class org.unitils.io.annotation.handler.FileContentAnnotationHandler
 
determineFileName(FileContent) - Method in class org.unitils.io.annotation.handler.FileContentAnnotationHandler
 
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.HsqldbDbSupport
Disables all check and unique constraints on all tables in the schema
disableConstraints() - Method in class org.unitils.database.DatabaseModule
Disables all foreigh key and not-null constraints on the configured schema's.
disableConstraints() - Static method in class org.unitils.database.DatabaseUnitils
Disables all foreign key and not-null constraints on the configured schema's.
disableConstraints() - Method in interface org.unitils.dbmaintainer.structure.ConstraintsDisabler
Disables all constraints of the database schemas.
disableConstraints() - Method in class org.unitils.dbmaintainer.structure.impl.DefaultConstraintsDisabler
Disable every foreign key or not-null constraint
disableConstraintsEnabled - Variable in class org.unitils.dbmaintainer.DBMaintainer
Indicates if foreign key and not null constraints should removed after updating the database structure
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.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
 
disableReferentialConstraints(DbSupport) - Method in class org.unitils.dbmaintainer.structure.impl.DefaultConstraintsDisabler
Disables all referential constraints (e.g. foreign keys) on all tables in the schema
disableValidation(SAXParserFactory) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader
Disables validation on the given sax parser factory.
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.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
 
disableValueConstraints(DbSupport) - Method in class org.unitils.dbmaintainer.structure.impl.DefaultConstraintsDisabler
Disables all value constraints (e.g. not null) on all tables in the schema
doClearAllExecutedScripts() - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
doExecute(DbUnitDatabaseConnection, IDataSet) - Method in class org.unitils.dbunit.datasetloadstrategy.impl.BaseDataSetLoadStrategy
Executes this DataSetLoadStrategy.
doExecute(DbUnitDatabaseConnection, IDataSet) - Method in class org.unitils.dbunit.datasetloadstrategy.impl.CleanInsertLoadStrategy
Executes this DataSetLoadStrategy.
doExecute(DbUnitDatabaseConnection, IDataSet) - Method in class org.unitils.dbunit.datasetloadstrategy.impl.InsertLoadStrategy
Executes this DataSetLoadStrategy.
doExecute(DbUnitDatabaseConnection, IDataSet) - Method in class org.unitils.dbunit.datasetloadstrategy.impl.RefreshLoadStrategy
Executes this DataSetLoadStrategy.
doExecute(DbUnitDatabaseConnection, IDataSet) - Method in class org.unitils.dbunit.datasetloadstrategy.impl.UpdateLoadStrategy
 
doGetActivePersistenceContext(Object) - Method in class org.unitils.orm.common.OrmModule
Implementations of this method must return the persistence context object that is associated with the current transaction, if any.
doGetActivePersistenceContext(Object) - Method in class org.unitils.orm.hibernate.HibernateModule
 
doGetActivePersistenceContext(Object) - Method in class org.unitils.orm.jpa.JpaModule
 
doGetExecutedScripts() - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
Precondition: The table dbmaintain_scripts must exist
doGetPersistenceContext(Object) - Method in class org.unitils.orm.common.OrmModule
Implementations of this method must return a persistence context object, and must be associated with the current transaction active in unitils.
doGetPersistenceContext(Object) - Method in class org.unitils.orm.hibernate.HibernateModule
 
doGetPersistenceContext(Object) - Method in class org.unitils.orm.jpa.JpaModule
 
doInit(Properties) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBCleaner
Configures this object.
doInit(Properties) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Initializes the the DBClearer.
doInit(Properties) - Method in class org.unitils.dbmaintainer.structure.impl.DefaultSequenceUpdater
Initializes the lowest acceptable sequence value using the given configuration object
doInit(Properties) - Method in class org.unitils.dbmaintainer.structure.impl.DtdDataSetStructureGenerator
Initializes the generator by retrieving the name for the DTD file.
doInit(Properties) - Method in class org.unitils.dbmaintainer.structure.impl.XsdDataSetStructureGenerator
Initializes the generator.
doInit(Properties) - Method in class org.unitils.dbmaintainer.util.BaseDatabaseAccessor
Allows subclasses to perform some extra configuration using the given configuration.
doInit(Properties) - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
Initializes the name of the version table and its columns using the given configuration.
doRegisterExecutedScript(ExecutedScript) - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
Registers the fact that the given script has been executed on the database Precondition: The table dbmaintain_scripts must exist
doSaveExecutedScript(ExecutedScript) - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
Saves the given registered script Precondition: The table dbmaintain_scripts must exist
doStartTransaction(Object, UnitilsTransactionManagementConfiguration) - Method in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
 
doUpdateExecutedScript(ExecutedScript) - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
Updates the given registered script Precondition: The table dbmaintain_scripts must exist
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.
dropMaterializedViews(DbSupport) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Drops all materialized views.
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.
dropSequences(DbSupport) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Drops all sequences
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.
dropSynonyms(DbSupport) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Drops all synonyms
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.
dropTables(DbSupport) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Drops all tables.
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.
dropTriggers(DbSupport) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Drops all triggers
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.
dropTypes(DbSupport) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Drops all types.
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.
dropViews(DbSupport) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Drops all views.
DtdDataSetStructureGenerator - Class in org.unitils.dbmaintainer.structure.impl
Implementation of DataSetStructureGenerator for the DbUnit FlatXmlDataSet XML test data files format

todo test and fix for hsqldb (see sample project)

DtdDataSetStructureGenerator() - Constructor for class org.unitils.dbmaintainer.structure.impl.DtdDataSetStructureGenerator
 
Dummy - Annotation Type in org.unitils.mock.annotation
Annotation that can be used on fields to create dummy objects for these fields.
DummyObject - Interface in org.unitils.mock.dummy
 
DummyObjectUtil - Class in org.unitils.mock.dummy
Class for handling the dummy object behavior.
DummyObjectUtil() - Constructor for class org.unitils.mock.dummy.DummyObjectUtil
 
DummyObjectUtil.DummyObjectInvocationHandler - Class in org.unitils.mock.dummy
Invocation handler for the dummy proxy object that will return default values for every invocation.
DummyObjectUtil.DummyObjectInvocationHandler(Class<?>, MockBehavior) - Constructor for class org.unitils.mock.dummy.DummyObjectUtil.DummyObjectInvocationHandler
 
DummyValueReturningMockBehavior - Class in org.unitils.mock.mockbehavior.impl
Mock behavior that returns a default value.
DummyValueReturningMockBehavior() - Constructor for class org.unitils.mock.mockbehavior.impl.DummyValueReturningMockBehavior
 

E

EasyMockModule - Class in org.unitils.easymock
Module for testing with mock objects using EasyMock.
EasyMockModule() - Constructor for class org.unitils.easymock.EasyMockModule
 
EasyMockModule.EasyMockTestListener - Class in org.unitils.easymock
Test listener that handles the mock creation and injection.
EasyMockModule.EasyMockTestListener() - Constructor for class org.unitils.easymock.EasyMockModule.EasyMockTestListener
 
EasyMockUnitils - Class in org.unitils.easymock
Utility facade for handling EasyMock things such as replay or manually creating a mock.
EasyMockUnitils() - Constructor for class org.unitils.easymock.EasyMockUnitils
 
EMPTY_FILE_ARRAY - Static variable in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
An empty array of type File.
endTransactionForTestMethod(Object, Method) - Method in class org.unitils.database.DatabaseModule
Commits or rollbacks the current transaction, if transactions are enabled and a transactionManager is active for the given testObject
eq(T) - Static method in class org.unitils.mock.ArgumentMatchers
 
equals(Object) - Method in class org.unitils.dbmaintainer.script.ExecutedScript
 
equals(Object) - Method in class org.unitils.dbmaintainer.script.Script
 
equals(Object) - Method in class org.unitils.dbmaintainer.version.Version
 
equals(Object) - Method in class org.unitils.orm.common.util.OrmConfig
 
equals(Object) - Method in class org.unitils.orm.jpa.util.JpaConfig
 
equals(Object) - Method in class org.unitils.TracingTestListener.Call
 
EqualsArgumentMatcher - Class in org.unitils.mock.argumentmatcher.impl
A matcher for checking whether an argument equals a given value.
EqualsArgumentMatcher(Object) - Constructor for class org.unitils.mock.argumentmatcher.impl.EqualsArgumentMatcher
Creates a matcher for the given value.
error(SAXParseException) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
Overriden to rethrow exception.
errorInIndexedScriptDuringLastUpdate(Set<ExecutedScript>) - Method in class org.unitils.dbmaintainer.DBMaintainer
 
escaping - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.InDoubleQuotesParsingState
True if the next character should be escaped
escaping - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.InSingleQuotesParsingState
True if the next character should be escaped
escaping - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.NormalParsingState
True if the next character should be escaped
ExceptionThrowingMockBehavior - Class in org.unitils.mock.mockbehavior.impl
Mock behavior that throws a given exception.
ExceptionThrowingMockBehavior(Throwable) - Constructor for class org.unitils.mock.mockbehavior.impl.ExceptionThrowingMockBehavior
Creates the throwing behavior for the given exception.
execute(ScriptContentHandle) - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptRunner
Executes the given script.
execute(ScriptContentHandle) - Method in interface org.unitils.dbmaintainer.script.ScriptRunner
Executes the given script
execute(DbUnitDatabaseConnection, IDataSet) - Method in interface org.unitils.dbunit.datasetloadstrategy.DataSetLoadStrategy
Executes this DataSetLoadStrategy.
execute(DbUnitDatabaseConnection, IDataSet) - Method in class org.unitils.dbunit.datasetloadstrategy.impl.BaseDataSetLoadStrategy
Executes this DataSetLoadStrategy.
execute(ProxyInvocation) - Method in class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior
 
execute(ProxyInvocation) - Method in class org.unitils.mock.mockbehavior.impl.DefaultValueReturningMockBehavior
Executes the mock behavior.
execute(ProxyInvocation) - Method in class org.unitils.mock.mockbehavior.impl.DummyValueReturningMockBehavior
Executes the mock behavior.
execute(ProxyInvocation) - Method in class org.unitils.mock.mockbehavior.impl.ExceptionThrowingMockBehavior
Executes the mock behavior.
execute(ProxyInvocation) - Method in class org.unitils.mock.mockbehavior.impl.NoopMockBehavior
Empty mock behavior.
execute(ProxyInvocation) - Method in class org.unitils.mock.mockbehavior.impl.OriginalBehaviorInvokingMockBehavior
Executes the mock behavior.
execute(ProxyInvocation) - Method in class org.unitils.mock.mockbehavior.impl.ValueReturningMockBehavior
Executes the mock behavior.
execute(ProxyInvocation) - Method in interface org.unitils.mock.mockbehavior.MockBehavior
Executes the mock behavior.
executedAtColumnName - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
The name of the database column in which the script execution timestamp is stored
executedAtColumnSize - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
ExecutedScript - Class in org.unitils.dbmaintainer.script
 
ExecutedScript(Script, Date, Boolean) - Constructor for class org.unitils.dbmaintainer.script.ExecutedScript
 
ExecutedScriptInfoSource - Interface in org.unitils.dbmaintainer.version
Interface that enables registering which scripts were executed on the database and retrieving this information afterwards.
executedScripts - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
executedScriptsTableName - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
The name of the database table in which the executed script info is stored
executePostProcessingScripts(List<Script>) - Method in class org.unitils.dbmaintainer.DBMaintainer
Executes the given post processing scripts on the database.
executeQuery(String) - Method in class org.unitils.core.dbsupport.DefaultSQLHandler
 
executeQuery(String) - Method in interface org.unitils.core.dbsupport.SQLHandler
Executes the given query.
executeScripts(List<Script>) - Method in class org.unitils.dbmaintainer.DBMaintainer
Executes the given scripts and updates the database version and state appropriatly.
executeUpdate(String) - Method in class org.unitils.core.dbsupport.DefaultSQLHandler
 
executeUpdate(String) - Method in interface org.unitils.core.dbsupport.SQLHandler
Executes the given statement.
executeUpdate(String, DataSource) - Static method in class org.unitils.database.SQLUnitils
Executes the given update 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.
executeUpdateQuietly(String, DataSource) - Static method in class org.unitils.database.SQLUnitils
Executes the given statement ignoring all exceptions.
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.
ExpectedDataSet - Annotation Type in org.unitils.dbunit.annotation
Annotation indicating that after having executed a test method, the contents of the unit test database should be equal to the contents of a data set.
expectExceptionInMethod(TracingTestListener.Invocation, boolean) - Method in class org.unitils.TracingTestListener
 
extractIndex(String) - Method in class org.unitils.dbmaintainer.script.Script
Extracts the index part out of a given file name.
extractIndexes(String) - Method in class org.unitils.dbmaintainer.version.Version
Extracts the indexes out of the given string as followes: 1.x.2.x => 1, null, 2, null

F

FileContent - Annotation Type in org.unitils.io.annotation
Annotation for loading the contents of a file into a field.
FileContentAnnotationHandler - Class in org.unitils.io.annotation.handler
Implements the behavior of the FileContent annotation.
FileContentAnnotationHandler(FileContentReader) - Constructor for class org.unitils.io.annotation.handler.FileContentAnnotationHandler
 
fileContentAnnotationHandler - Variable in class org.unitils.io.IOModule.IOTestListener
 
FileContentReader - Interface in org.unitils.io.filecontent
 
fileContentReader - Variable in class org.unitils.io.IOModule
 
FileContentReaderFactory - Interface in org.unitils.io.filecontent
 
fileLastModifiedAtColumnName - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
The name of the database column in which the file last modification timestamp is stored
fileNameColumnName - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
The name of the database column in which the script name is stored
fileNameColumnSize - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
FileReadingStrategy - Class in org.unitils.io.reader.impl
 
FileReadingStrategy(FileResolvingStrategy) - Constructor for class org.unitils.io.reader.impl.FileReadingStrategy
 
FileReadingStrategyFactory - Class in org.unitils.io.reader.impl
 
FileReadingStrategyFactory() - Constructor for class org.unitils.io.reader.impl.FileReadingStrategyFactory
 
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.
fileResolver - Variable in class org.unitils.dbunit.datasetfactory.impl.DefaultDataSetResolver
 
fileResolver - Variable in class org.unitils.io.reader.impl.DefaultFileResolvingStrategy
 
FileResolvingStrategy - Interface in org.unitils.io.reader
 
fileResolvingStrategy - Variable in class org.unitils.io.reader.impl.FileReadingStrategy
 
FileResolvingStrategyFactory - Interface in org.unitils.io.reader
 
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.
findArgumentMatcherIndexes(ClassNode, MethodNode, Class<?>, String, Method, int, int, int) - Static method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder
Locates the argument matchers for the method invocation on the given line.
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
 
Flushable - Interface in org.unitils.database.util
Marks a module as being flushable.
flushDatabaseUpdates(Object) - Method in class org.unitils.database.DatabaseModule
Flushes all pending updates to the database.
flushDatabaseUpdates() - Static method in class org.unitils.database.DatabaseUnitils
Flushes all pending updates to the database.
flushDatabaseUpdates(Object) - Method in interface org.unitils.database.util.Flushable
Flush all cached database operations.
flushDatabaseUpdates(Object) - Method in class org.unitils.orm.common.OrmModule
Flushes all pending updates to the database.
flushDatabaseUpdates() - Static method in class org.unitils.orm.hibernate.HibernateUnitils
Flushes all pending Hibernate updates to the database.
flushDatabaseUpdates() - Static method in class org.unitils.orm.jpa.JpaUnitils
Flushes all pending entity manager updates to the database.
flushOrmPersistenceContext(ORM_PERSISTENCE_CONTEXT) - Method in class org.unitils.orm.common.OrmModule
Flushes all pending update, using the given active persistence context
flushOrmPersistenceContext(Session) - Method in class org.unitils.orm.hibernate.HibernateModule
 
flushOrmPersistenceContext(EntityManager) - Method in class org.unitils.orm.jpa.JpaModule
 
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.
formatBehaviorDetails(ObservedInvocation) - Method in class org.unitils.mock.report.impl.DetailedObservedInvocationsReport
Creates a string representation of the behavior details of the given invocation.
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
 
formatInvocationIndex(int, int) - Method in class org.unitils.mock.report.impl.ProxyInvocationsReport
Formats the invocation number, and adds spaces to make sure everything is formatted nicely on the same line width.
formatInvokedAt(ProxyInvocation) - Method in class org.unitils.mock.report.impl.DetailedObservedInvocationsReport
Creates a string representation of the details of the given invocation.
formatInvokedAt(ProxyInvocation) - Method in class org.unitils.mock.report.impl.ProxyInvocationsReport
Creates a string representation of the details of the given invocation.
formatJavaLang(Object, StringBuilder, Class<?>) - Method in class org.unitils.core.util.ObjectFormatter
 
formatLargeObjects(List<ProxyInvocationsReport.FormattedObject>) - Method in class org.unitils.mock.report.impl.DetailedObservedInvocationsReport
Format the values that were to long to be displayed inline
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
 
formatMockName(ObservedInvocation) - Method in class org.unitils.mock.report.impl.ObservedInvocationsReport
 
formatMockName(ObservedInvocation) - Method in class org.unitils.mock.report.impl.SuggestedAssertsReport
 
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.mock.report.impl.ProxyInvocationsReport
 
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
 
formatObservedInvocation(ObservedInvocation, List<ProxyInvocationsReport.FormattedObject>, Map<Object, ProxyInvocationsReport.FormattedObject>, Map<Class<?>, Integer>) - Method in class org.unitils.mock.report.impl.ObservedInvocationsReport
Creates a string representation of the given invocation.
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
 
formatValue(Object, Object, Class<?>, List<ProxyInvocationsReport.FormattedObject>, Map<Object, ProxyInvocationsReport.FormattedObject>, Map<Class<?>, Integer>) - Method in class org.unitils.mock.report.impl.ProxyInvocationsReport
Formats the given value.
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
 
fromLineNr - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
fromScratchEnabled - Variable in class org.unitils.dbmaintainer.DBMaintainer
Indicates whether updating the database from scratch is enabled.

G

generateDatabaseSchemaXsd(DbSupport, File) - Method in class org.unitils.dbmaintainer.structure.impl.XsdDataSetStructureGenerator
Generates an XSD for the database schema of the given db support.
generateDatasetDefinition() - Method in class org.unitils.database.DatabaseModule
Generates a definition file that defines the structure of dataset's, i.e. a XSD of DTD that describes the structure of the database.
generateDatasetDefinition() - Static method in class org.unitils.database.DatabaseUnitils
Generates a definition file that defines the structure of dataset's, i.e. a XSD of DTD that describes the structure of the database.
generateDataSetStructure() - Method in interface org.unitils.dbmaintainer.structure.DataSetStructureGenerator
Generates the data set structure files, eg DTD or XSD
generateDataSetStructure() - Method in class org.unitils.dbmaintainer.structure.impl.DtdDataSetStructureGenerator
Generates the DTD, and writes it to the file specified by the property DtdDataSetStructureGenerator.PROPKEY_DTD_FILENAME.
generateDataSetStructure() - Method in class org.unitils.dbmaintainer.structure.impl.XsdDataSetStructureGenerator
Generates the XSDs, and writes them to the target directory specified by the property XsdDataSetStructureGenerator.PROPKEY_XSD_DIR_NAME.
generateDataSetXsd(File) - Method in class org.unitils.dbmaintainer.structure.impl.XsdDataSetStructureGenerator
Generates a general dataset xsd that will refer to database schema specific dataset XSDs.
generateDtdContent() - Method in class org.unitils.dbmaintainer.structure.impl.DtdDataSetStructureGenerator
Generates the actual content of the DTD file as an in-memory string.
generateErrorMessage(SchemaDifference) - Method in class org.unitils.dbunit.util.DataSetAssert
Formats the assertion failed message for the given difference.
getActivePersistenceContext(Object) - Method in class org.unitils.orm.common.OrmModule
The currently active persistence context, if any.
getActualColumn() - Method in class org.unitils.dbunit.dataset.comparison.ColumnDifference
 
getActualDataSet(String) - Method in class org.unitils.dbunit.DbUnitModule
Gets the actual data set for the given schema.
getActualRow() - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
getActualSchema() - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
 
getActualTable() - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
 
getAllFields(Class<?>) - Static method in class org.unitils.util.ReflectionUtils
Gets all fields 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.
getAllUpdateScripts() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Gets a list of all available update scripts.
getAllUpdateScripts() - Method in interface org.unitils.dbmaintainer.script.ScriptSource
 
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.
getAnnotationValues(SpringApplicationContext) - Method in class org.unitils.spring.util.ApplicationContextManager
Gets the locations that are specified for the given SpringApplicationContext annotation.
getApplicationContext(Object) - Method in class org.unitils.spring.SpringModule
Gets the application context for this test.
getApplicationContext(Object) - Method in class org.unitils.spring.util.ApplicationContextManager
Gets the application context for the given test as described in the class javadoc.
getArgumentMatcherIndexes(ProxyInvocation, int, int, int) - Static method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder
Locates the argument matchers for the given proxy method invocation.
getArgumentMatcherIndexes(Class<?>, String, Method, int, int, int) - Static method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder
Locates the argument matchers for the method invocation on the given line.
getArgumentMatcherIndexes(MethodInsnNode, List) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
getArgumentMatchers() - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherRepository
 
getArguments() - Method in class org.unitils.mock.core.proxy.ProxyInvocation
 
getArgumentsAtInvocationTime() - Method in class org.unitils.mock.core.proxy.ProxyInvocation
The arguments at the time that they were used.
getAssertInvokedErrorMessage(ProxyInvocation, StackTraceElement) - Method in class org.unitils.mock.core.Scenario
 
getAssertLocationIndication(StackTraceElement) - Method in class org.unitils.mock.core.Scenario
 
getAssertNotInvokedErrorMessage(ProxyInvocation, ObservedInvocation, StackTraceElement[]) - Method in class org.unitils.mock.core.Scenario
 
getBehaviorDefiningInvocation() - Method in class org.unitils.mock.core.ObservedInvocation
 
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.
getBestRowDifference(Row) - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
 
getBestRowDifferences() - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
 
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.
getCachedDifference(Object, boolean) - Method in class org.unitils.reflectionassert.ReflectionComparator
 
getCallList() - Method in class org.unitils.TracingTestListener
 
getCallListAsString() - Method in class org.unitils.TracingTestListener
 
getCastedValue(DataType) - Method in class org.unitils.dbunit.dataset.Column
Gets the value casted to the given type.
getCheckSum() - Method in class org.unitils.dbmaintainer.script.Script
 
getCheckSum() - Method in class org.unitils.dbmaintainer.script.ScriptContentHandle
 
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
 
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.
getColumn() - Method in class org.unitils.dbunit.dataset.comparison.ColumnDifference
 
getColumn(String) - Method in class org.unitils.dbunit.dataset.Row
Gets the column for the given name.
getColumnDifference(String) - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
getColumnDifferences() - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
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.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.
getColumns() - Method in class org.unitils.dbunit.dataset.Row
 
getComparatorChain(Set<ReflectionComparatorMode>) - Static method in class org.unitils.reflectionassert.ReflectionComparatorFactory
Creates a comparator chain for the given modes.
getConfigFiles() - Method in class org.unitils.orm.common.util.OrmConfig
 
getConfigMethod() - Method in class org.unitils.orm.common.util.OrmConfig
 
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.
getConfigurationObject(Object) - Method in class org.unitils.orm.common.OrmModule
Returns the ORM implementation specific configuration object.
getConfigurationObjectClass() - Method in class org.unitils.orm.hibernate.HibernateModule
 
getConfigurationObjectClass() - Method in class org.unitils.orm.hibernate.util.HibernateSessionFactoryLoader
 
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.
getConfiguredDatabaseTaskInstance(Class<T>) - Method in class org.unitils.database.DatabaseModule
 
getConfiguredDatabaseTaskInstance(Class<T>, Properties, SQLHandler) - Static method in class org.unitils.dbmaintainer.util.DatabaseModuleConfigUtils
Retrieves 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.
getConfiguredOrmPersistenceUnit(Object, ORMCFG) - Method in interface org.unitils.orm.common.util.OrmPersistenceUnitLoader
 
getConfiguredOrmPersistenceUnit(Object, OrmConfig) - Method in class org.unitils.orm.hibernate.util.HibernateSessionFactoryLoader
 
getConfiguredOrmPersistenceUnit(Object, JpaConfig) - Method in class org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader
 
getConfiguredPersistenceUnit(Object) - Method in class org.unitils.orm.common.OrmModule
Returns a wrapper for the persistence unit and any implementation specific configuration object for the given test object.
getConfiguredPersistenceUnit(Object) - Method in interface org.unitils.orm.common.spring.OrmSpringSupport
 
getConfiguredPersistenceUnit(Object) - Method in class org.unitils.orm.hibernate.util.HibernateSpringSupport
 
getConfiguredPersistenceUnit(Object) - Method in class org.unitils.orm.jpa.util.spring.JpaSpringSupport
 
getConnection() - Method in class org.unitils.dbunit.util.DbUnitDatabaseConnection
Returns a Connection that can be used by DBUnit.
getCreateExecutedScriptsTableStatement() - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
getCurrentScenario() - Static method in class org.unitils.mock.core.MockObject
 
getCurrentTestMethod() - Method in class org.unitils.UnitilsJUnit3
Gets the method that has the same name as the current test.
getCurrentThrowable() - Method in class org.unitils.TracingTestListener
 
getCustomConfigMethod(Class<?>) - Method in class org.unitils.util.AnnotationConfigLoader
 
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.
getDatabaseDialect(Configuration) - Method in class org.unitils.orm.hibernate.HibernateModule
Gets the database dialect from the given Hibernate ConfigurationgetDatabaseModule() - Method in class org.unitils.dbunit.DbUnitModule
 
getDatabaseModule() - Method in class org.unitils.orm.common.OrmModule
 
getDatabaseModule() - Method in class org.unitils.orm.hibernate.util.HibernateSessionFactoryLoader
 
getDatabaseModule() - Method in class org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader
 
getDatabaseModule() - Method in class org.unitils.spring.SpringModule
 
getDataSet(Method, Object) - Method in class org.unitils.dbunit.DbUnitModule
Using the values of the method-level or class-level DataSet annotations, returns the data set for the given test method.
getDataSet(Class<?>, String[], DataSetFactory) - Method in class org.unitils.dbunit.DbUnitModule
Creates the dataset for the given file.
getDataSetFactory(Class<? extends Annotation>, Method, Class) - Method in class org.unitils.dbunit.DbUnitModule
Get the configured DataSetFactory for the given method
getDataSetFactory(Class<? extends DataSetFactory>) - Method in class org.unitils.dbunit.DbUnitModule
Creates and initializes a data set factory of the given type.
getDataSetFileExtension() - Method in interface org.unitils.dbunit.datasetfactory.DataSetFactory
 
getDataSetFileExtension() - Method in class org.unitils.dbunit.datasetfactory.impl.MultiSchemaXmlDataSetFactory
 
getDataSetForSchema(String) - Method in class org.unitils.dbunit.util.MultiSchemaDataSet
Returns the dbunit IDataSet for the given schema name, if any
getDataSetLoadStrategy(Method, Class) - Method in class org.unitils.dbunit.DbUnitModule
Creates the DbUnit dataset operation for loading a data set for the given method.
getDataSetResolver() - Method in class org.unitils.dbunit.DbUnitModule
 
getDataSource() - Method in class org.unitils.core.dbsupport.DefaultSQLHandler
 
getDataSource() - Method in interface org.unitils.core.dbsupport.SQLHandler
 
getDataSource() - Method in class org.unitils.database.DatabaseModule
 
getDataSource() - Static method in class org.unitils.database.DatabaseUnitils
Returns the DataSource that connects to the test database
getDataSource() - Method in class org.unitils.orm.hibernate.HibernateModule
 
getDataSource() - Method in class org.unitils.orm.hibernate.util.HibernateSessionFactoryLoader
 
getDataSource() - Method in class org.unitils.orm.jpa.JpaModule
 
getDataSource() - Method in class org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader
 
getDataSourceAndActivateTransactionIfNeeded() - Method in class org.unitils.database.DatabaseModule
Returns the DataSource that provides connection to the unit test database.
getDbSupport(Properties, SQLHandler, String) - Static method in class org.unitils.core.dbsupport.DbSupportFactory
Returns the dbms specific DbSupport as configured in the given Configuration.
getDbSupport(String) - Method in class org.unitils.dbmaintainer.util.BaseDatabaseAccessor
Gets the db support for the given schema.
getDbSupports(Properties, SQLHandler) - Static method in class org.unitils.core.dbsupport.DbSupportFactory
Returns the dbms specific DbSupport instances for all configured schemas.
getDbUnitDatabaseConnection(String) - Method in class org.unitils.dbunit.DbUnitModule
Gets the DbUnit connection or creates one if it does not exist yet.
getDefaultDataSetFactory() - Method in class org.unitils.dbunit.DbUnitModule
 
getDefaultDataSetFileName(Class<?>, String) - Method in class org.unitils.dbunit.DbUnitModule
Gets the name of the default testdata file at class level The default name is constructed as follows: 'classname without packagename'.xml
getDefaultDataSetLoadStrategy() - Method in class org.unitils.dbunit.DbUnitModule
 
getDefaultDbSupport(Properties, SQLHandler) - Static method in class org.unitils.core.dbsupport.DbSupportFactory
Returns the dbms specific DbSupport as configured in the given Configuration for the default schema.
getDefaultDbSupport() - Method in class org.unitils.dbunit.DbUnitModule
 
getDefaultExpectedDataSetFileName(Method, Class<?>, String) - Method in class org.unitils.dbunit.DbUnitModule
Gets the name of the expected dataset file.
getDefaultFileExtension() - Method in interface org.unitils.io.conversion.ConversionStrategy
 
getDefaultFileExtension() - Method in class org.unitils.io.conversion.impl.PropertiesConversionStrategy
 
getDefaultFileExtension() - Method in class org.unitils.io.conversion.impl.StringConversionStrategy
 
getDefaultFileName(String, Class<?>) - Method in class org.unitils.core.util.FileResolver
The default name is constructed as follows: 'classname without packagename'.'
getDefaultInputStream(String, Class<?>) - Method in class org.unitils.io.reader.impl.FileReadingStrategy
 
getDefaultInputStream(String, Class<?>) - Method in interface org.unitils.io.reader.ReadingStrategy
 
getDefaultMockBehavior(ProxyInvocation) - Method in class org.unitils.mock.core.MockProxy
 
getDefaultMockBehavior(ProxyInvocation) - Method in class org.unitils.mock.core.PartialMockProxy
 
getDefaultSqlHandler() - Method in class org.unitils.database.DatabaseModule
 
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
getEntityManager() - Static method in class org.unitils.orm.jpa.JpaUnitils
 
getEntityManagerFactory() - Static method in class org.unitils.orm.jpa.JpaUnitils
 
getEntityManagerFactoryBean(Object) - Method in class org.unitils.orm.jpa.util.spring.JpaSpringSupport
 
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.
getExecutedAt() - Method in class org.unitils.dbmaintainer.script.ExecutedScript
 
getExecutedScripts() - Method in interface org.unitils.dbmaintainer.version.ExecutedScriptInfoSource
 
getExecutedScripts() - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
getExpectedDataSet(Method, Object) - Method in class org.unitils.dbunit.DbUnitModule
Returns the MultiSchemaDataSet that represents the state of a number of database tables after the given Method has been executed.
getFailureCount() - Method in interface org.unitils.TestExecutor
 
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
 
getFieldName(Object, Object) - Method in class org.unitils.mock.report.impl.SuggestedAssertsReport
Checks whether the given argument value is a value of a field in the test object and, if so, returns the name of that field.
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.
getFieldType() - Method in class org.unitils.inject.util.ValueToRestore
 
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
getFieldValuesAndNames(Object) - Method in class org.unitils.mock.report.impl.ProxyInvocationsReport
Gets all the field values in the given test object with their corresponding field names.
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.
getFileLastModifiedAt() - Method in class org.unitils.dbmaintainer.script.Script
 
getFileName() - Method in class org.unitils.dbmaintainer.script.Script
 
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.
getHexPresentation(byte[]) - Method in class org.unitils.dbmaintainer.script.ScriptContentHandle
 
getHibernateConfiguration() - Method in class org.unitils.orm.jpa.util.provider.hibernate.UnitilsHibernatePersistenceProvider
Should not be used until after creating the EntityManagerFactory using UnitilsHibernatePersistenceProvider.createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo, java.util.Map)
getHibernateDatabaseDialect(Ejb3Configuration) - Method in class org.unitils.orm.jpa.util.provider.hibernate.HibernateJpaProviderSupport
Gets the database dialect from the Hibernate Ejb3ConfigurationgetHibernateModule() - Method in class org.unitils.orm.hibernate.util.HibernateSessionFactoryLoader
 
getHighestExecutedScriptVersion(Set<ExecutedScript>) - Method in class org.unitils.dbmaintainer.DBMaintainer
 
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.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.
getIgnoreCount() - Method in interface org.unitils.TestExecutor
 
getIncrementalScripts() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
 
getIndexes() - Method in class org.unitils.dbmaintainer.version.Version
An empty list if no version is defined.
getIndexesString() - Method in class org.unitils.dbmaintainer.version.Version
Gets a string representation of the indexes as followes: 1, null, 2, null => 1.x.2.x
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)
getInputStream(String, Class<?>) - Method in class org.unitils.io.reader.impl.FileReadingStrategy
 
getInputStream(String, Class<?>) - Method in interface org.unitils.io.reader.ReadingStrategy
 
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() - Static method in class org.unitils.mock.argumentmatcher.ArgumentMatcherRepository
 
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
Recursive implementation of AnnotatedInstanceManager.getInstance(Object).
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.
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.
getInvocationLineNr(Class<?>) - Static method in class org.unitils.mock.core.proxy.StackTraceUtils
 
getInvocationStackTrace(Class<?>) - Static method in class org.unitils.mock.core.proxy.StackTraceUtils
 
getInvocationStackTrace(Class<?>, boolean) - Static method in class org.unitils.mock.core.proxy.StackTraceUtils
 
getInvokedAt() - Method in class org.unitils.mock.core.proxy.ProxyInvocation
 
getInvokedAtTrace() - Method in class org.unitils.mock.core.proxy.ProxyInvocation
 
getInvokedOutOfOrderErrorMessage(ObservedInvocation, ObservedInvocation, StackTraceElement) - Method in class org.unitils.mock.core.Scenario
 
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.
getItemAsLong(String, DataSource) - Static method in class org.unitils.database.SQLUnitils
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.
getItemAsString(String, DataSource, Integer) - Static method in class org.unitils.database.sqlassert.SqlAssert
Returns the value extracted from the result of the given query.
getItemAsString(String, DataSource) - Static method in class org.unitils.database.SQLUnitils
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.
getItemsAsStringSet(String, DataSource) - Static method in class org.unitils.database.SQLUnitils
Returns the items extracted from the result of the given query.
getItemsToPreserve(String, boolean) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBCleaner
Gets the list of items to preserve.
getItemsToPreserve(String) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Gets the list of items to preserve per schema.
getJpaModule() - Method in class org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader
 
getJpaModule() - Method in class org.unitils.orm.jpa.util.spring.JpaSpringSupport
 
getJpaProviderSupport() - Method in class org.unitils.orm.jpa.JpaModule
 
getJpaProviderSupport() - Method in class org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader
 
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.
getLength() - Method in class org.unitils.dbmaintainer.script.StatementBuilder
Returns the length (character count) of the statement.
getLineNumber() - Method in class org.unitils.mock.core.proxy.ProxyInvocation
 
getLoadTimeWeaver() - Method in interface org.unitils.orm.jpa.util.JpaProviderSupport
If necessary for this JPA provider, return an instance of spring's LoadTimeWeaver interface, that will be set on the LocalContainerEntityManagerFactoryBean before creating the EntityManagerFactory
getLoadTimeWeaver() - Method in class org.unitils.orm.jpa.util.provider.hibernate.HibernateJpaProviderSupport
 
getLoadTimeWeaver() - Method in class org.unitils.orm.jpa.util.provider.openjpa.OpenJpaProviderSupport
 
getLoadTimeWeaver() - Method in class org.unitils.orm.jpa.util.provider.toplink.ToplinkJpaProviderSupport
 
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.
getMatchingBehaviorDefiningInvocation(ProxyInvocation) - Method in class org.unitils.mock.core.BehaviorDefiningInvocations
First we find all behavior defining invocations that have matching argument matchers and take the one with the highest matching score (identity match scores higher than an equals match).
getMatchingBehaviorDefiningInvocation(ProxyInvocation) - Method in class org.unitils.mock.core.MockProxy
 
getMatchingInvocationBuilder() - Method in class org.unitils.mock.core.MockObject
 
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.
getMatchInvocationEndLineNr() - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherRepository
 
getMatchInvocationIndex() - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherRepository
 
getMatchInvocationStartLineNr() - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherRepository
 
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.
getMaterializedViewsToPreserve() - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Gets the list of all materialized views to preserve per schema.
getMessage() - Method in class org.unitils.reflectionassert.difference.Difference
Gets the message indicating the kind of difference.
getMethod(MethodInsnNode) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
Finds a method using the ASM method node
getMethod() - Method in class org.unitils.mock.core.proxy.ProxyInvocation
 
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
getMissingColumns() - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
getMissingRows() - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
 
getMissingTables() - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
 
getMock() - Method in class org.unitils.mock.core.MockObject
Returns the mock proxy instance.
getMock() - Method in interface org.unitils.mock.Mock
Gets the mock proxy instance.
getMockBehavior() - Method in class org.unitils.mock.core.BehaviorDefiningInvocation
 
getMockBehavior() - Method in class org.unitils.mock.core.ObservedInvocation
 
getMockedClass(Field) - Method in class org.unitils.mock.MockModule
 
getMockedType() - Method in class org.unitils.mock.core.MockObject
 
getMockName() - Method in class org.unitils.mock.core.proxy.CglibProxyMethodInterceptor
 
getMockName() - Method in class org.unitils.mock.core.proxy.ProxyInvocation
 
getMockName(Object) - Static method in class org.unitils.mock.core.proxy.ProxyUtils
note: don't remove, used through reflection from ObjectFormatter
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.
getMultiSchemaDataSet() - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
Gets the result data set.
getName() - Method in class org.unitils.dbunit.dataset.Column
 
getName() - Method in class org.unitils.dbunit.dataset.Schema
 
getName() - Method in class org.unitils.dbunit.dataset.Table
 
getName() - Method in class org.unitils.mock.core.MockObject
 
getName() - Method in class org.unitils.mock.report.impl.ProxyInvocationsReport.FormattedObject
 
getNativeConnection(Connection) - Method in class org.unitils.dbunit.util.DbUnitDatabaseConnection
 
getNewDataSource() - Method in class org.unitils.database.config.PropertiesDataSourceFactory
Returns a concrete instance of BasicDataSource.
getNewScripts(Version, Set<ExecutedScript>) - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Returns a list of scripts with a higher version or whose contents were changed.
getNewScripts(Version, Set<ExecutedScript>) - Method in interface org.unitils.dbmaintainer.script.ScriptSource
Returns a list of scripts including the ones that: have a higher version than the given version are unversioned, and they weren't yet applied on the database are unversioned, and their contents differ from the one currently applied to the database

The scripts are returned in the order in which they should be executed.

getNextParsingState(char, char, char, StatementBuilder) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.BaseParsingState
Determines the next state.
getNextParsingState(char, char, char, StatementBuilder) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.InBlockCommentParsingState
Determines whether the end of the block comment is reached.
getNextParsingState(char, char, char, StatementBuilder) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.InDoubleQuotesParsingState
Determines whether the end of the literal is reached.
getNextParsingState(char, char, char, StatementBuilder) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.InLineCommentParsingState
Determines whether the end of the line comment is reached.
getNextParsingState(char, char, char, StatementBuilder) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.InSingleQuotesParsingState
Determines whether the end of the literal is reached.
getNextParsingState(char, char, char, StatementBuilder) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.NormalParsingState
Determines the next state.
getNextParsingState(char, char, char, StatementBuilder) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.OracleNormalParsingState
Overridden to also correctly identify the starting of PL/SQL code blocks and to handle slashes / to end a statement.
getNextStatement() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
Parses the next statement out of the given script stream.
getNextStatement() - Method in interface org.unitils.dbmaintainer.script.ScriptParser
Gets the next statement out of the given script stream.
getNextStatementImpl() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
Actual implementation of getNextStatement.
getNoMoreInvocationsErrorMessage(List<ObservedInvocation>, StackTraceElement) - Method in class org.unitils.mock.core.Scenario
 
getNotNullColummnNames(String) - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Returns the names of all columns that have a 'not-null' constraint on them.
getNrOfArgumentMacherValues(List<Value>) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
getNrOfNotNullArguments() - Method in class org.unitils.mock.core.proxy.ProxyInvocation
 
getObject() - Method in class org.unitils.database.UnitilsDataSourceFactoryBean
Gets the data source instance.
getObjectToInject() - Method in interface org.unitils.core.util.ObjectToInjectHolder
 
getObjectToInject(Object, Field) - Method in class org.unitils.inject.InjectModule
Gets the value from the given field.
getObjectToInject() - Method in class org.unitils.mock.core.MockObject
Returns the mock proxy instance.
getObjectToInjectType(Field) - Method in interface org.unitils.core.util.ObjectToInjectHolder
Gets the type of the object to inject.
getObjectToInjectType(Object, Field) - Method in class org.unitils.inject.InjectModule
Gets the type of the given field.
getObjectToInjectType(Field) - Method in class org.unitils.mock.core.MockObject
 
getObjectType() - Method in class org.unitils.database.UnitilsDataSourceFactoryBean
Gets the type of the object provided by this FactoryBean, i.e.
getObservedInvocations() - Method in class org.unitils.mock.core.Scenario
 
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
 
getOrmConfigurationObject() - Method in class org.unitils.orm.common.util.ConfiguredOrmPersistenceUnit
 
getOrmPersistenceUnit() - Method in class org.unitils.orm.common.util.ConfiguredOrmPersistenceUnit
 
getOrmSpringSupportImplClassName() - Method in class org.unitils.orm.common.OrmModule
 
getOrmSpringSupportImplClassName() - Method in class org.unitils.orm.hibernate.HibernateModule
 
getOrmSpringSupportImplClassName() - Method in class org.unitils.orm.jpa.JpaModule
 
getPathPrefix() - Method in class org.unitils.core.util.FileResolver
 
getPersistenceContext(Object) - Method in class org.unitils.orm.common.OrmModule
Returns an implementation specific persistence context, which is associated with the current transaction.
getPersistenceProvider() - Method in class org.unitils.orm.jpa.util.provider.hibernate.UnitilsHibernateJpaVendorAdapter
 
getPersistenceUnit(Object) - Method in class org.unitils.orm.common.OrmModule
Returns a configured ORM persistence unit for the given test object.
getPersistenceUnitClass() - Method in class org.unitils.orm.common.OrmModule
 
getPersistenceUnitClass() - Method in class org.unitils.orm.hibernate.HibernateModule
 
getPersistenceUnitClass() - Method in class org.unitils.orm.jpa.JpaModule
 
getPersistenceUnitConfig(Object) - Method in class org.unitils.orm.common.OrmModule
 
getPersistenceUnitConfigAnnotationClass() - Method in class org.unitils.orm.common.OrmModule
 
getPersistenceUnitConfigAnnotationClass() - Method in class org.unitils.orm.hibernate.HibernateModule
 
getPersistenceUnitConfigAnnotationClass() - Method in class org.unitils.orm.jpa.JpaModule
 
getPersistenceUnitName() - Method in class org.unitils.orm.jpa.util.JpaConfig
 
getPosition() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Return the current position.
getPostProcessingScripts() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Gets the configured post-processing script files and verfies that they on the file system.
getPostProcessingScripts() - Method in interface org.unitils.dbmaintainer.script.ScriptSource
Gets a list of all post processing scripts.
getPreference() - Method in interface org.unitils.database.transaction.impl.UnitilsTransactionManagementConfiguration
 
getPrimaryKeyColumnNames(String) - Method in class org.unitils.core.dbsupport.DerbyDbSupport
Gets the names of all primary columns of the given table.
getPrimaryKeyColumnNames(ITable) - Method in class org.unitils.dbunit.dataset.SchemaFactory
Gets the primary key column names for the given DbUnit table.
getPrimaryKeyColumns() - Method in class org.unitils.dbunit.dataset.Row
 
getProperties() - Method in class org.unitils.core.config.UnitilsConfiguration
 
getProperty() - Method in class org.unitils.inject.util.ValueToRestore
 
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.
getPropertyAccessType() - Method in class org.unitils.inject.util.ValueToRestore
 
getPropertyName(Method) - Static method in class org.unitils.util.ReflectionUtils
Gets the name of the field for the given setter method.
getProviderSpecificConfigurationObject(PersistenceProvider) - Method in interface org.unitils.orm.jpa.util.JpaProviderSupport
 
getProviderSpecificConfigurationObject(PersistenceProvider) - Method in class org.unitils.orm.jpa.util.provider.hibernate.HibernateJpaProviderSupport
 
getProviderSpecificConfigurationObject(PersistenceProvider) - Method in class org.unitils.orm.jpa.util.provider.openjpa.OpenJpaProviderSupport
 
getProviderSpecificConfigurationObject(PersistenceProvider) - Method in class org.unitils.orm.jpa.util.provider.toplink.ToplinkJpaProviderSupport
 
getProxiedMethodStackTrace() - Static method in class org.unitils.mock.core.proxy.ProxyUtils
First finds a trace element in which a cglib proxy method was invoked.
getProxiedType() - Method in class org.unitils.mock.core.proxy.CglibProxyMethodInterceptor
 
getProxiedTypeIfProxy(Object) - Static method in class org.unitils.mock.core.proxy.ProxyUtils
 
getProxy() - Method in class org.unitils.mock.core.MockProxy
 
getProxy() - Method in class org.unitils.mock.core.proxy.ProxyInvocation
 
getProxyUtilsClass() - Method in class org.unitils.core.util.ObjectFormatter
 
getRepresentation() - Method in class org.unitils.mock.report.impl.ProxyInvocationsReport.FormattedObject
 
getResourceConfig(Class<?>) - Method in class org.unitils.util.AnnotationConfigLoader
 
getResult() - Method in class org.unitils.mock.core.ObservedInvocation
 
getResultArgumentMatcherIndexes() - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
Gets the result after the analysis was performed.
getResultAtInvocationTime() - Method in class org.unitils.mock.core.ObservedInvocation
 
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.
getRootTempDir(Properties) - Method in class org.unitils.io.temp.impl.DefaultTempServiceFactory
 
getRow() - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
getRows() - Method in class org.unitils.dbunit.dataset.Table
 
getRowValues(Column[], Attributes) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
Gets the attribute values corresponding to each of the given columns.
getRunCount() - Method in interface org.unitils.TestExecutor
 
getScenario(Object) - Method in class org.unitils.mock.core.MockObject
 
getSchema() - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
 
getSchema() - Method in class org.unitils.dbunit.util.DbUnitDatabaseConnection
 
getSchemaName() - Method in class org.unitils.core.dbsupport.DbSupport
Gets the schema name.
getSchemaNames() - Method in class org.unitils.dbunit.util.MultiSchemaDataSet
 
getSchemasToPreserve(Properties) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Gets the list of all schemas to preserve.
getScore() - Method in enum org.unitils.mock.argumentmatcher.ArgumentMatcher.MatchResult
 
getScript() - Method in class org.unitils.dbmaintainer.script.ExecutedScript
 
getScriptContentHandle() - Method in class org.unitils.dbmaintainer.script.Script
 
getScriptDigest() - Method in class org.unitils.dbmaintainer.script.ScriptContentHandle
 
getScriptExtensions() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Gets the configured extensions for the script files.
getScriptIndex() - Method in class org.unitils.dbmaintainer.version.Version
Gets the last index in the list.
getScriptInputStream() - Method in class org.unitils.dbmaintainer.script.ScriptContentHandle
 
getScriptInputStream() - Method in class org.unitils.dbmaintainer.script.ScriptContentHandle.StringScriptContentHandle
Opens a stream to the content of the script.
getScriptInputStream() - Method in class org.unitils.dbmaintainer.script.ScriptContentHandle.UrlScriptContentHandle
Opens a stream to the content of the script.
getScriptsAt(List<Script>, String, String) - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Adds all scripts available in the given directory or one of its subdirectories to the given List of files
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.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.
getSequencesToPreserve() - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Gets the list of all sequences to preserve per 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.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.
getSession() - Static method in class org.unitils.orm.hibernate.HibernateUnitils
 
getSessionFactory() - Static method in class org.unitils.orm.hibernate.HibernateUnitils
 
getSessionFactoryBean(Object) - Method in class org.unitils.orm.hibernate.util.HibernateSpringSupport
 
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'.'
getSituatedErrorMessage(Class<? extends Annotation>, Field, String) - Method in class org.unitils.inject.InjectModule
Given the errorDescription, returns a situated error message, i.e. specifying the annotated field and the annotation type that was used.
getSize() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Return the size this InputStream emulates.
getSpringBean(Object, String) - Method in class org.unitils.spring.SpringModule
Gets the spring bean with the given name.
getSpringBeanByType(Object, Class<T>) - Method in class org.unitils.spring.SpringModule
Gets the spring bean with the given type.
getSpringJpaVendorAdaptor() - Method in interface org.unitils.orm.jpa.util.JpaProviderSupport
 
getSpringJpaVendorAdaptor() - Method in class org.unitils.orm.jpa.util.provider.hibernate.HibernateJpaProviderSupport
 
getSpringJpaVendorAdaptor() - Method in class org.unitils.orm.jpa.util.provider.openjpa.OpenJpaProviderSupport
 
getSpringJpaVendorAdaptor() - Method in class org.unitils.orm.jpa.util.provider.toplink.ToplinkJpaProviderSupport
 
getSpringModule() - Method in class org.unitils.orm.hibernate.util.HibernateSpringSupport
 
getSpringModule() - Method in class org.unitils.orm.jpa.util.spring.JpaSpringSupport
 
getSpringPlatformTransactionManager(Object) - Method in interface org.unitils.database.transaction.impl.UnitilsTransactionManagementConfiguration
Returns a PlatformTransactionManager that can provide transactional behavior for the given test object.
getSQLHandler() - Method in class org.unitils.core.dbsupport.DbSupport
Gets the sql handler.
getStackTraceStartingFrom(StackTraceElement[], int) - Static method in class org.unitils.mock.core.proxy.StackTraceUtils
 
getState() - Method in class org.unitils.easymock.util.LenientMocksControl
Overriden to be able to replace the record behavior that going to record all method invocations.
getStoredIdentifierCase() - Method in class org.unitils.core.dbsupport.DbSupport
Gets the stored identifier case.
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) - 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.
getSuggestedArgument(Object) - Method in class org.unitils.mock.report.impl.SuggestedAssertsReport
Creates an appropriate value so that the assert statement will be able to match the given argument value that was observed in the scenario.
getSuggestedAssertStatement(Object, ObservedInvocation) - Method in class org.unitils.mock.report.impl.SuggestedAssertsReport
Creates an assert statement for the given method invocation and arguments.
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.
getSynonymsToPreserve() - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Gets the list of all synonym to preserve per schema.
getTable() - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
 
getTable(String) - Method in class org.unitils.dbunit.dataset.Schema
Gets the table for the given name.
getTableDifferences() - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
 
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.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.
getTableNames() - Method in class org.unitils.dbunit.dataset.Schema
 
getTables() - Method in class org.unitils.dbunit.dataset.Schema
 
getTablesToPreserve() - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Gets the list of all tables to preserve per schema.
getTarget(Object, Field) - Method in class org.unitils.inject.InjectModule
 
getTargetClass() - Method in class org.unitils.inject.util.ValueToRestore
 
getTargets(Class<? extends Annotation>, Field, String, Object) - Method in class org.unitils.inject.InjectModule
Returns the target(s) for the injection, given the specified name of the target and the test object.
getTargetType() - Method in interface org.unitils.io.conversion.ConversionStrategy
 
getTargetType() - Method in class org.unitils.io.conversion.impl.PropertiesConversionStrategy
 
getTargetType() - Method in class org.unitils.io.conversion.impl.StringConversionStrategy
 
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.database.DatabaseModule
 
getTestListener() - Method in class org.unitils.dbunit.DbUnitModule
 
getTestListener() - Method in class org.unitils.easymock.EasyMockModule
Creates the listener for plugging in the behavior of this module into the test runs.
getTestListener() - Method in class org.unitils.inject.InjectModule
 
getTestListener() - Method in class org.unitils.io.IOModule
 
getTestListener() - Method in class org.unitils.mock.MockModule
Creates the listener for plugging in the behavior of this module into the test runs.
getTestListener() - Method in class org.unitils.orm.hibernate.HibernateModule
 
getTestListener() - Method in class org.unitils.orm.jpa.JpaModule
 
getTestListener() - Method in class org.unitils.spring.SpringModule
 
getTestListener() - Method in class org.unitils.spring.util.SpringUnitilsAdaptorTestExecutionListener
 
getTestListener() - Method in class org.unitils.UnitilsJUnit3
 
getTestListener() - Method in class org.unitils.UnitilsJUnit4TestClassRunner
 
getTestListener() - Method in class org.unitils.UnitilsTestNG
 
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
 
getTestObject() - Method in class org.unitils.database.DatabaseModule
 
getTestObject() - Method in class org.unitils.mock.core.Scenario
 
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.
getTrailingSeparatorCharsToRemove() - Method in class org.unitils.dbmaintainer.script.impl.OracleScriptParser.OracleStatementBuilder
Overridden to add a forward slash (/) as a separator.
getTrailingSeparatorCharsToRemove() - Method in class org.unitils.dbmaintainer.script.StatementBuilder
Returns the characters that should be removed from the statements.
getTransactionalDataSource(DataSource) - Method in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
Returns the given datasource, wrapped in a spring TransactionAwareDataSourceProxy
getTransactionalDataSource(DataSource) - Method in interface org.unitils.database.transaction.UnitilsTransactionManager
Wraps the given DataSource in a transactional proxy.
getTransactionalDataSourceAndActivateTransactionIfNeeded(Object) - Method in class org.unitils.database.DatabaseModule
Returns the DataSource that provides connection to the unit test database.
getTransactionManagementConfiguration(Object) - Method in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
 
getTransactionManager() - Method in class org.unitils.database.DatabaseModule
Returns the transaction manager or creates one if it does not exist yet.
getTransactionMode(Object, Method) - Method in class org.unitils.database.DatabaseModule
 
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.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.
getTriggersToPreserve() - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Gets the list of all triggers to preserve per schema.
getType() - Method in class org.unitils.dbunit.dataset.Column
 
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.
getTypesToPreserve() - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Gets the list of all types to preserve per schema.
getUnitils() - Method in class org.unitils.spring.util.SpringUnitilsAdaptorTestExecutionListener
Returns the default singleton instance of Unitils
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
getUnitils() - Method in class org.unitils.UnitilsTestNG
Returns the default singleton instance of Unitils
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.
getValidMockBehavior(ProxyInvocation, BehaviorDefiningInvocation) - Method in class org.unitils.mock.core.MockProxy
 
getValue() - Method in class org.unitils.dbunit.dataset.Column
 
getValue() - Method in class org.unitils.inject.util.ValueToRestore
 
getValue(Value, Value...) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
getValue(Value, List<Value>) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
getValueDifferences() - Method in class org.unitils.reflectionassert.difference.MapDifference
Gets all element differences per key.
getVersion() - Method in class org.unitils.dbmaintainer.script.Script
 
getVersionFromPath(String) - Method in class org.unitils.dbmaintainer.script.Script
 
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.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.
getViewsToPreserve() - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Gets the list of all views to preserve per schema.

H

handledMethodInsnNodes - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
handleInvocation(ProxyInvocation, List<ArgumentMatcher>) - Method in class org.unitils.mock.core.matching.impl.AssertVerifyingMatchingInvocationHandler
 
handleInvocation(ProxyInvocation, List<ArgumentMatcher>) - Method in class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler
 
handleInvocation(ProxyInvocation) - Method in class org.unitils.mock.core.matching.MatchingInvocationBuilder.InvocationHandler
 
handleInvocation(ProxyInvocation, List<ArgumentMatcher>) - Method in interface org.unitils.mock.core.matching.MatchingInvocationHandler
 
handleInvocation(ProxyInvocation) - Method in class org.unitils.mock.core.MockProxy.InvocationHandler
 
handleInvocation(ProxyInvocation) - Method in interface org.unitils.mock.core.proxy.ProxyInvocationHandler
Handles the given method invocation of the proxy.
handleInvocation(ProxyInvocation) - Method in class org.unitils.mock.dummy.DummyObjectUtil.DummyObjectInvocationHandler
Handles the given method invocation of the dummy object.
handleMockInvocation(ProxyInvocation) - Method in class org.unitils.mock.core.MockProxy
 
handleNextChar(char, char, char, StatementBuilder) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.BaseParsingState
Handles the next character by adding it to the statement builder.
handleNextChar(char, char, char, StatementBuilder) - Method in interface org.unitils.dbmaintainer.script.parsingstate.ParsingState
Handles the next character in the script.
handleProxyInvocation(ProxyInvocation, MatchingInvocationHandler) - Method in class org.unitils.mock.core.matching.MatchingInvocationBuilder
 
hasApplicationContext(Object) - Method in class org.unitils.spring.util.ApplicationContextManager
Checks whether the given test object has an application context linked to it.
hasClassMethodOrFieldLevelAnnotation(Class<?>, Class<? extends Annotation>) - Static method in class org.unitils.util.AnnotationUtils
 
hasDifferentPrimaryKeyColumns(Row) - Method in class org.unitils.dbunit.dataset.Row
 
hashCode() - Method in class org.unitils.dbmaintainer.script.ExecutedScript
 
hashCode() - Method in class org.unitils.dbmaintainer.script.Script
 
hashCode() - Method in class org.unitils.dbmaintainer.version.Version
 
hashCode() - Method in class org.unitils.orm.common.util.OrmConfig
 
hashCode() - Method in class org.unitils.orm.jpa.util.JpaConfig
 
hashCode() - Method in class org.unitils.TracingTestListener.Call
 
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
Recursive implementation of AnnotatedInstanceManager.hasInstance(Object).
hasMockBehavior() - Method in class org.unitils.mock.core.ObservedInvocation
 
HIBERNATE_PROXY_COMPARATOR - Static variable in class org.unitils.reflectionassert.ReflectionComparatorFactory
The HibernateProxyComparator singleton insance
HibernateAnnotationConfigLoader - Class in org.unitils.orm.hibernate.util
 
HibernateAnnotationConfigLoader() - Constructor for class org.unitils.orm.hibernate.util.HibernateAnnotationConfigLoader
 
HibernateAssert - Class in org.unitils.orm.hibernate.util
Assert class that offers assert methods for testing things that are specific to Hibernate.
HibernateAssert() - Constructor for class org.unitils.orm.hibernate.util.HibernateAssert
 
HibernateJpaProviderSupport - Class in org.unitils.orm.jpa.util.provider.hibernate
Implementation of JpaProviderSupport for hibernate JPA
HibernateJpaProviderSupport() - Constructor for class org.unitils.orm.jpa.util.provider.hibernate.HibernateJpaProviderSupport
 
HibernateModule - Class in org.unitils.orm.hibernate
Module providing support for unit tests for code that uses Hibernate.
HibernateModule() - Constructor for class org.unitils.orm.hibernate.HibernateModule
 
HibernateModule.HibernateTestListener - Class in org.unitils.orm.hibernate
The TestListener for this module
HibernateModule.HibernateTestListener() - Constructor for class org.unitils.orm.hibernate.HibernateModule.HibernateTestListener
 
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
 
HibernateSessionFactory - Annotation Type in org.unitils.orm.hibernate.annotation
Annotation that can be used for configuring a hibernate SessionFactory on a test class.
HibernateSessionFactoryLoader - Class in org.unitils.orm.hibernate.util
 
HibernateSessionFactoryLoader() - Constructor for class org.unitils.orm.hibernate.util.HibernateSessionFactoryLoader
 
HibernateSpringSupport - Class in org.unitils.orm.hibernate.util
A support class containing Hibernate and HibernateModule related actions for the SpringModule.
HibernateSpringSupport() - Constructor for class org.unitils.orm.hibernate.util.HibernateSpringSupport
 
HibernateUnitils - Class in org.unitils.orm.hibernate
Utility facade for handling Hibernate related stuff such as asserting whether the mappings correspond to the actual structure of the database.
HibernateUnitils() - Constructor for class org.unitils.orm.hibernate.HibernateUnitils
 
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
 
InBlockCommentParsingState - Class in org.unitils.dbmaintainer.script.parsingstate.impl
A state for parsing an in-block comment (/ * comment * /) part of a script.
InBlockCommentParsingState() - Constructor for class org.unitils.dbmaintainer.script.parsingstate.impl.InBlockCommentParsingState
 
inBlockCommentParsingState - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.NormalParsingState
The in a block comment (/ * comment * /) state.
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.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.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.
index - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
InDoubleQuotesParsingState - Class in org.unitils.dbmaintainer.script.parsingstate.impl
A state for parsing double quotes ("text") literal part of a script.
InDoubleQuotesParsingState() - Constructor for class org.unitils.dbmaintainer.script.parsingstate.impl.InDoubleQuotesParsingState
 
inDoubleQuotesParsingState - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.NormalParsingState
The in double quotes ("text") state.
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
init(Properties) - Method in class org.unitils.database.config.PropertiesDataSourceFactory
Initializes itself using the properties in the given Properties object.
init(Properties) - Method in class org.unitils.database.DatabaseModule
Initializes this module using the given Configuration
init(Set<UnitilsTransactionManagementConfiguration>) - Method in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
 
init(Set<UnitilsTransactionManagementConfiguration>) - Method in interface org.unitils.database.transaction.UnitilsTransactionManager
Initialize the transaction manager
init(Properties, Reader) - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
Initializes the parser with the given configuration settings.
init(ParsingState) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.InBlockCommentParsingState
Initializes the state with the normal parsing state, that should be returned when the comment end is reached..
init(ParsingState, boolean) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.InDoubleQuotesParsingState
Initializes the state with the normal parsing state, that should be returned when the end of the literal is reached.
init(ParsingState) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.InLineCommentParsingState
Initializes the state with the normal parsing state, that should be returned when the comment end is reached..
init(ParsingState, boolean) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.InSingleQuotesParsingState
Initializes the state with the normal parsing state, that should be returned when the end of the literal is reached..
init(ParsingState, ParsingState, ParsingState, ParsingState, boolean) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.NormalParsingState
Initializes the state with the given parsing states.
init(Properties, Reader) - Method in interface org.unitils.dbmaintainer.script.ScriptParser
Initializes the parser with the given configuration settings.
init(Properties, SQLHandler) - Method in class org.unitils.dbmaintainer.util.BaseDatabaseAccessor
Initializes the database operation class with the given Properties, DataSource.
init(Properties, SQLHandler) - Method in interface org.unitils.dbmaintainer.util.DatabaseAccessing
Initializes the database operation class with the given Properties, SQLHandler.
init(Properties, String) - Method in interface org.unitils.dbunit.datasetfactory.DataSetFactory
Initializes this DataSetFactory
init(Properties) - Method in class org.unitils.dbunit.datasetfactory.impl.DefaultDataSetResolver
Initializes the resolver with the given configuration.
init(Properties, String) - Method in class org.unitils.dbunit.datasetfactory.impl.MultiSchemaXmlDataSetFactory
Initializes this DataSetFactory
init(Properties) - Method in class org.unitils.dbunit.DbUnitModule
Initializes the DbUnitModule using the given Configuration
init(Properties) - Method in class org.unitils.easymock.EasyMockModule
Initializes the module
init(Properties) - Method in class org.unitils.inject.InjectModule
Initializes this module using the given configuration.
init(Properties) - Method in class org.unitils.io.IOModule
 
init(Properties) - Method in class org.unitils.mock.MockModule
 
init(Properties) - Method in class org.unitils.orm.common.OrmModule
 
init(Properties) - Method in class org.unitils.orm.hibernate.HibernateModule
 
init(Properties) - Method in class org.unitils.orm.jpa.JpaModule
 
init(Properties) - Method in class org.unitils.spring.SpringModule
Initializes this module using the given configuration
init() - Method in class org.unitils.UnitilsInvocationTestBase
Sets up the test installing the tracing test listener that will record all method invocations during the test.
initialParsingState - Variable in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
The starting state.
initOrmSpringSupport() - Method in class org.unitils.orm.common.OrmModule
Creates an instance of OrmSpringSupport, that implements the dependency to the SpringModule.
initSingletonInstance() - Static method in class org.unitils.core.Unitils
Initializes the singleton instance to the default value, loading the configuration using the ConfigurationLoader
inject(Object, Field) - Method in class org.unitils.inject.InjectModule
Injects the fieldToInject.
injectAll(Object) - Method in class org.unitils.inject.InjectModule
Injects all fields that are annotated with InjectInto.
injectAllByType(Object) - Method in class org.unitils.inject.InjectModule
Auto-injects all fields that are annotated with InjectIntoByType
injectAllStatic(Object) - Method in class org.unitils.inject.InjectModule
Injects all fields that are annotated with InjectIntoStatic.
injectAllStaticByType(Object) - Method in class org.unitils.inject.InjectModule
Auto-injects all fields that are annotated with InjectIntoStaticByType
injectApplicationContext(Object) - Method in class org.unitils.spring.SpringModule
Gets the application context for this class and sets it on the fields and setter methods that are annotated with SpringApplicationContext.
injectByType(Object, Field) - Method in class org.unitils.inject.InjectModule
Auto-injects the fieldToInject by trying to match the fields declared type with a property of the target.
injectDataSource(Object) - Method in class org.unitils.database.DatabaseModule
Assigns the TestDataSource to every field annotated with TestDataSource and calls all methods annotated with TestDataSource
injectEntityManager(Object, Object) - Method in class org.unitils.orm.jpa.JpaModule
Injects the currently active JPA EntityManager into all fields and methods that are annotated with javax.persistence.PersistenceContext
injectEntityManagerFactory(Object, Object) - Method in class org.unitils.orm.jpa.JpaModule
Injects the JPA EntityManagerFactory into all fields and methods that are annotated with javax.persistence.PersistenceUnit
injectEntityManagerInto(Object) - Static method in class org.unitils.orm.jpa.JpaUnitils
For the given target object, injects the active, transactional EntityManager into fields or methods annotated with javax.persistence.PersistenceContext
InjectInto - Annotation Type in org.unitils.inject.annotation
Annotation indicating that the the InjectModule should try to inject the object assigned to the annotated field to the object defined by the target attribute (or the object(s) assigned to the field annotated with TestedObject.
injectInto(Object, Object, String) - Static method in class org.unitils.inject.util.InjectionUtils
Explicit injection of the objectToInject into the specified property of the target.
injectIntoAnnotated(Object, Object, Class<? extends Annotation>) - Static method in class org.unitils.inject.util.InjectionUtils
 
injectIntoAnnotatedFields(Object, Object, Class<? extends Annotation>) - Static method in class org.unitils.inject.util.InjectionUtils
 
injectIntoAnnotatedMethods(Object, Object, Class<? extends Annotation>) - Static method in class org.unitils.inject.util.InjectionUtils
 
InjectIntoByType - Annotation Type in org.unitils.inject.annotation
Annotation indicating that the the InjectModule should try to inject the object assigned to the annotated field to the object defined by the target attribute (or the object(s) assigned to the field annotated with TestedObject.
injectIntoByType(Object, Type, Object, PropertyAccess) - Static method in class org.unitils.inject.util.InjectionUtils
Performs auto-injection by type of the objectToInject on the target object.
InjectIntoStatic - Annotation Type in org.unitils.inject.annotation
Annotation indicating that the the InjectModule should try to inject the object assigned to the annotated field to a static property of the class defined by the target attribute.
injectIntoStatic(Object, Class<?>, String) - Static method in class org.unitils.inject.util.InjectionUtils
Explicit injection of the objectToInject into the specified static property of the target class.
InjectIntoStaticByType - Annotation Type in org.unitils.inject.annotation
Annotation indicating that the InjectModule should try to inject the object assigned to the annotated field to a static property of the class defined by the target attribute.
injectIntoStaticByType(Object, Type, Class<?>, PropertyAccess) - Static method in class org.unitils.inject.util.InjectionUtils
Performs auto-injection by type of the objectToInject into the target class.
InjectionUtils - Class in org.unitils.inject.util
Class containing static methods that implement explicit injection using OGNL expressions, and auto-injection by type.
InjectionUtils() - Constructor for class org.unitils.inject.util.InjectionUtils
 
injectJpaResourcesInto(Object, Object) - Method in class org.unitils.orm.jpa.JpaModule
Injects the EntityManagerFactory and currently active EntityManager into fields or methods of the given target object annotated with javax.persistence.PersistenceUnit or javax.persistence.PersistenceContext, respectively.
injectJpaResourcesIntoTestObject(Object) - Method in class org.unitils.orm.jpa.JpaModule
Injects the currently configured EntityManagerFactory and currently active EntityManager into fields or methods or the test object annotated with javax.persistence.PersistenceUnit or javax.persistence.PersistenceContext, respectively.
injectMock(Object, Field, Mock<?>) - Method in class org.unitils.mock.MockModule
 
InjectModule - Class in org.unitils.inject
Module for injecting annotated objects into other objects.
InjectModule() - Constructor for class org.unitils.inject.InjectModule
 
InjectModule.InjectTestListener - Class in org.unitils.inject
The TestListener for this module
InjectModule.InjectTestListener() - Constructor for class org.unitils.inject.InjectModule.InjectTestListener
 
injectObjects(Object) - Method in class org.unitils.inject.InjectModule
Performs all supported kinds of injection on the given object's fields
injectOrmPersistenceUnitIntoTestObject(Object) - Method in class org.unitils.orm.common.OrmModule
Injects the persistence unit object into all fields and methods that are annotated with the annotation defined by OrmModule.getPersistenceUnitConfigAnnotationClass()
injectSpringBeans(Object) - Method in class org.unitils.spring.SpringModule
Injects spring beans into all fields that are annotated with SpringBean.
injectSpringBeansByName(Object) - Method in class org.unitils.spring.SpringModule
Injects spring beans into all fields that are annotated with SpringBeanByName.
injectSpringBeansByType(Object) - Method in class org.unitils.spring.SpringModule
Injects spring beans into all fields methods that are annotated with SpringBeanByType.
injectStatic(Object, Field) - Method in class org.unitils.inject.InjectModule
Injects the fieldToAutoInjectStatic into the specified target class.
injectStaticByType(Object, Field) - Method in class org.unitils.inject.InjectModule
Auto-injects the fieldToInject by trying to match the fields declared type with a property of the target class.
InLineCommentParsingState - Class in org.unitils.dbmaintainer.script.parsingstate.impl
A state for parsing an in-line comment (-- comment) part of a script.
InLineCommentParsingState() - Constructor for class org.unitils.dbmaintainer.script.parsingstate.impl.InLineCommentParsingState
 
inLineCommentParsingState - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.NormalParsingState
The in an in-line comment (-- comment) state.
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
 
insertDataSet(Method, Object) - Method in class org.unitils.dbunit.DbUnitModule
This method will first try to load a method level defined dataset.
insertDataSet(Class<?>, String...) - Method in class org.unitils.dbunit.DbUnitModule
Inserts the dataset consisting of the given list of files into the database
insertDataSet(File) - Method in class org.unitils.dbunit.DbUnitModule
Inserts the test data coming from the given DbUnit dataset file using the default DataSetLoadStrategy and DataSetFactory class.
insertDataSet(File, Class<? extends DataSetFactory>, Class<? extends DataSetLoadStrategy>) - Method in class org.unitils.dbunit.DbUnitModule
Inserts the test data coming from the given DbUnit dataset file.
insertDataSet(MultiSchemaDataSet, DataSetLoadStrategy) - Method in class org.unitils.dbunit.DbUnitModule
Loads the given multi schema dataset into the database, using the given loadstrategy
insertDataSet(String...) - Static method in class org.unitils.dbunit.DbUnitUnitils
Inserts the dataset consisting of the given list of files into the database
insertDataSet(File) - Static method in class org.unitils.dbunit.DbUnitUnitils
Inserts the test data coming from the given DbUnit dataset file, using the default DataSetLoadStrategy and DataSetFactory class.
insertDataSet(File, Class<? extends DataSetFactory>, Class<? extends DataSetLoadStrategy>) - Static method in class org.unitils.dbunit.DbUnitUnitils
Inserts the test data coming from the given DbUnit dataset file.
insertDefaultDataSet(Class<?>) - Method in class org.unitils.dbunit.DbUnitModule
Inserts the default dataset for the given test class into the database
insertDefaultDataSet() - Static method in class org.unitils.dbunit.DbUnitUnitils
Inserts the default dataset for the given test class into the database
InsertLoadStrategy - Class in org.unitils.dbunit.datasetloadstrategy.impl
DataSetLoadStrategy that inserts the contents of the dataset into the database.
InsertLoadStrategy() - Constructor for class org.unitils.dbunit.datasetloadstrategy.impl.InsertLoadStrategy
 
InSingleQuotesParsingState - Class in org.unitils.dbmaintainer.script.parsingstate.impl
A state for parsing single quotes ('text') part of a script.
InSingleQuotesParsingState() - Constructor for class org.unitils.dbmaintainer.script.parsingstate.impl.InSingleQuotesParsingState
 
inSingleQuotesParsingState - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.NormalParsingState
The in single quotes ('text') state.
installChain() - Method in class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior
 
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
instructionAlreadyHandled(MethodInsnNode) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
instructionOutOfRange() - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
intercept(Object, Method, Object[], MethodProxy) - Method in class org.unitils.mock.core.proxy.CglibProxyMethodInterceptor
Intercepts the method call by wrapping the invocation in a CglibProxyMethodInterceptor.CglibProxyInvocation and delegating the handling to the invocation handler.
interpretedClass - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
interpretedMethodName - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
invalidateApplicationContext(Class<?>...) - Method in class org.unitils.spring.SpringModule
Forces the reloading of the application context the next time that it is requested.
invalidateApplicationContext(Class<?>...) - Static method in class org.unitils.spring.SpringUnitils
Forces the reloading of the application context the next time that it is requested.
invalidateApplicationContext(Class<?>...) - Method in class org.unitils.spring.util.ApplicationContextManager
Forces the reloading of the application context the next time that it is requested.
invalidateInstance(Class<?>...) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Forces the recreation of the instance the next time that it is requested.
InvocationOrder - Enum in org.unitils.easymock.util
Possible values for checking the order of method invocation on the mock.
invocationVerificationStatuses - Variable in class org.unitils.mock.core.Scenario
 
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).
invokedAt - Variable in class org.unitils.mock.core.matching.MatchingInvocationBuilder
 
invokedMethodDescriptor - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
invokedMethodName - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
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
invokeOriginalBehavior() - Method in class org.unitils.mock.core.proxy.CglibProxyMethodInterceptor.CglibProxyInvocation
Invokes the original behavior by calling the method proxy.
invokeOriginalBehavior() - Method in class org.unitils.mock.core.proxy.ProxyInvocation
Calls the actual method that was proxied using the same arguments.
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.
IOModule - Class in org.unitils.io
 
IOModule() - Constructor for class org.unitils.io.IOModule
 
IOModule.IOTestListener - Class in org.unitils.io
 
IOModule.IOTestListener(FileContentAnnotationHandler, TempFileAnnotationHandler, TempDirAnnotationHandler) - Constructor for class org.unitils.io.IOModule.IOTestListener
 
IOUnitils - Class in org.unitils.io
 
IOUnitils() - Constructor for class org.unitils.io.IOUnitils
 
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.
isApplicableFor(Object) - Method in interface org.unitils.database.transaction.impl.UnitilsTransactionManagementConfiguration
 
isApplicableFor(TracingTestListener.TestFramework[]) - Method in class org.unitils.UnitilsInvocationTestBase
 
isApplicationContextConfiguredFor(Object) - Method in class org.unitils.spring.SpringModule
 
isArgumentMatcherMethod(Method) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
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.
isBetterMatch(RowDifference) - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
isChainedMock() - Method in class org.unitils.mock.core.matching.MatchingInvocationBuilder
 
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
 
isConfiguringAnnotation(HibernateSessionFactory) - Method in class org.unitils.orm.hibernate.util.HibernateAnnotationConfigLoader
 
isConfiguringAnnotation(JpaEntityManagerFactory) - Method in class org.unitils.orm.jpa.util.JpaAnnotationConfigLoader
 
isConfiguringAnnotation(A) - Method in class org.unitils.util.AnnotationConfigLoader
 
isCustomConfigMethod(Method) - Method in class org.unitils.orm.hibernate.util.HibernateAnnotationConfigLoader
 
isCustomConfigMethod(Method) - Method in class org.unitils.orm.jpa.util.JpaAnnotationConfigLoader
 
isCustomConfigMethod(Method) - Method in class org.unitils.util.AnnotationConfigLoader
 
isCustomCreateMethod(Method) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Checks whether the given method is a custom create method.
isDatabaseModuleEnabled() - Method in class org.unitils.spring.SpringModule
 
isDataSourceLoaded() - Method in class org.unitils.database.DatabaseModule
 
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
 
isEmpty(String, DataSource) - Static method in class org.unitils.database.SQLUnitils
Utility method to check whether the given table is empty.
isEmpty() - Method in class org.unitils.dbunit.dataset.Table
 
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
 
isExecutable() - Method in class org.unitils.dbmaintainer.script.StatementBuilder
 
isExecutedScriptsTableValid() - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
Checks if the version table and columns are available and if a record exists in which the version info is stored.
isExistingIndexedScriptModified(Version, Set<ExecutedScript>) - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Returns true if one or more scripts that have a version index equal to or lower than the index specified by the given version object has been modified since the timestamp specfied by the given version.
isExistingIndexedScriptModified(Version, Set<ExecutedScript>) - Method in interface org.unitils.dbmaintainer.script.ScriptSource
Returns true if one or more scripts that have a version index equal to or lower than the index specified by the given version object has been modified since the timestamp specfied by the given version.
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
 
isFromScratchUpdateRecommended() - Method in interface org.unitils.dbmaintainer.version.ExecutedScriptInfoSource
This method returns whether a from scratch update is recommended: It will return true if the database is in it's initial state (i.e. no scripts were executed yet) and the autoCreateExecutedScriptsTable property is set to true.
isFromScratchUpdateRecommended() - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
This method returns whether a from scratch update is recommended: It will return true if the database is in it's initial state (i.e. the dbmaintain_scripts table doesn't exist yet or is invalid) and the autoCreateExecutedScriptsTable property is set to true.
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.
isImmutable(Object) - Static method in class org.unitils.mock.core.proxy.CloneUtil
 
isIncremental() - Method in class org.unitils.dbmaintainer.script.Script
 
isInvokedMethod(MethodInsnNode) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
isItemToPreserve(String, Set<String>) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBCleaner
Checks whether the given item is one of the items to preserve.
isItemToPreserve(String, Set<String>) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Checks whether the given item is one of the items to preserve.
isJdkClass(Object) - Static method in class org.unitils.mock.core.proxy.CloneUtil
 
isMatch() - Method in class org.unitils.dbunit.dataset.comparison.RowDifference
 
isMatch() - Method in class org.unitils.dbunit.dataset.comparison.SchemaDifference
 
isMatch() - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
 
isMatcherMethod(Method) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
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.
isNull(Class<T>) - Static method in class org.unitils.mock.ArgumentMatchers
 
isPersistenceUnitConfiguredFor(Object) - Method in class org.unitils.orm.common.OrmModule
Indicates whether an ORM persistence unit has been configured for the given testObject.
isPersistenceUnitConfiguredInSpring(Object) - Method in interface org.unitils.orm.common.spring.OrmSpringSupport
 
isPersistenceUnitConfiguredInSpring(Object) - Method in class org.unitils.orm.hibernate.util.HibernateSpringSupport
 
isPersistenceUnitConfiguredInSpring(Object) - Method in class org.unitils.orm.jpa.util.spring.JpaSpringSupport
 
isPostProcessingScript(Script) - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
 
isPrefixWithPackageName() - Method in class org.unitils.core.util.FileResolver
 
isProxy(Object) - Static method in class org.unitils.mock.core.proxy.ProxyUtils
 
isProxyClassName(String) - Static method in class org.unitils.mock.core.proxy.ProxyUtils
 
isScriptContentEqualTo(Script, boolean) - Method in class org.unitils.dbmaintainer.script.Script
 
isScriptFile(File) - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Indicates if the given file is a database update script file
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.
isSingleton() - Method in class org.unitils.database.UnitilsDataSourceFactoryBean
 
isSpringModuleEnabled() - Method in class org.unitils.orm.common.OrmModule
Verifies whether the SpringModule is enabled.
isStartOfCodeStatement(StringBuilder) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.OracleNormalParsingState
Checks whether the statment contains the starting letters of a code statement (eg CREATE PACKAGE).
isSucceeded() - Method in class org.unitils.dbmaintainer.script.ExecutedScript
 
isToStringMethod(Method) - Static method in class org.unitils.util.MethodUtils
 
isTransactionalResourceAvailable(Object) - Method in interface org.unitils.database.transaction.impl.UnitilsTransactionManagementConfiguration
 
isTransactionsEnabled(Object, Method) - Method in class org.unitils.database.DatabaseModule
 
isUninitialized(Object) - Static method in class org.unitils.reflectionassert.util.HibernateUtil
Checks whether the given proxy object has been loaded.
itemToPreserveExists(String, Set<String>) - Method in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Checks whether the given item to preserve is one of the items.

J

JpaAnnotationConfigLoader - Class in org.unitils.orm.jpa.util
AnnotationConfigLoader that looks an EntityManagerFactory configured using JpaEntityManagerFactory anntations.
JpaAnnotationConfigLoader() - Constructor for class org.unitils.orm.jpa.util.JpaAnnotationConfigLoader
 
JpaConfig - Class in org.unitils.orm.jpa.util
Value object representing a test object's configuration of a JPA EntityManagerFactory
JpaConfig(String, String, Method) - Constructor for class org.unitils.orm.jpa.util.JpaConfig
Creates a new instance
JpaEntityManagerFactory - Annotation Type in org.unitils.orm.jpa.annotation
This annotation can be used in three different ways: If the persistenceUnit and optionally the configFile attributes are specified, its goal is to specify EntityManagerFactory configuration parameters.
JpaEntityManagerFactoryLoader - Class in org.unitils.orm.jpa.util
Loads an EntityManagerFactory given a JpaConfig object
JpaEntityManagerFactoryLoader() - Constructor for class org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader
 
JpaModule - Class in org.unitils.orm.jpa
Module providing support for unit tests for code that uses JPA.
JpaModule() - Constructor for class org.unitils.orm.jpa.JpaModule
Constructor for JpaModule.
JpaModule.JpaTestListener - Class in org.unitils.orm.jpa
The TestListener for this module
JpaModule.JpaTestListener() - Constructor for class org.unitils.orm.jpa.JpaModule.JpaTestListener
 
jpaProviderSupport - Variable in class org.unitils.orm.jpa.JpaModule
Implements provider specific operations
JpaProviderSupport - Interface in org.unitils.orm.jpa.util
Defines the contract for implementations that implement any provider specific operations that unitils needs to implement the JpaModules functionality.
JpaSpringSupport - Class in org.unitils.orm.jpa.util.spring
Implementation of OrmSpringSupport for JPA.
JpaSpringSupport() - Constructor for class org.unitils.orm.jpa.util.spring.JpaSpringSupport
 
JpaUnitils - Class in org.unitils.orm.jpa
Utility facade for handling JPA related stuff such as asserting whether the mappings correspond to the actual structure of the database.
JpaUnitils() - Constructor for class org.unitils.orm.jpa.JpaUnitils
 

K

keepRetryingAfterError - Variable in class org.unitils.dbmaintainer.DBMaintainer
Indicates whether a from scratch update should be performed when the previous update failed, but none of the scripts were modified since that last update.

L

lenEq(T) - Static method in class org.unitils.easymock.EasyMockUnitils
Expects the given object argument but uses a reflection argument matcher to compare the given value with the actual value during the test.
lenEq(T) - Static method in class org.unitils.mock.ArgumentMatchers
 
LenEqArgumentMatcher - Class in org.unitils.mock.argumentmatcher.impl
A matcher for checking whether an argument equals a given value.
LenEqArgumentMatcher(Object) - Constructor for class org.unitils.mock.argumentmatcher.impl.LenEqArgumentMatcher
Creates a matcher for the given value.
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
 
LenientMocksControl - Class in org.unitils.easymock.util
An EasyMock mock control that uses the reflection argument matcher for all arguments of a method invocation.
LenientMocksControl(ReflectionComparatorMode...) - Constructor for class org.unitils.easymock.util.LenientMocksControl
Creates a default (no default returns and no order checking) mock control.
LenientMocksControl(MocksControl.MockType, ReflectionComparatorMode...) - Constructor for class org.unitils.easymock.util.LenientMocksControl
Creates a mock control.
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.
lineBuffer - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.OracleNormalParsingState
Contains the current line
loadAllScripts() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
 
loadAndOrganizeAllScripts() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Loads all scripts and organizes them: Splits them into update and postprocessing scripts, sorts them in their execution order, and makes sure there are no 2 update or postprocessing scripts with the same index.
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
 
loadResourceConfig(Object) - Method in class org.unitils.util.AnnotationConfigLoader
Loads the resource configuration for the given test object
loadSystemProperties(Properties) - Method in class org.unitils.core.ConfigurationLoader
Load the environment properties.
logDetailedObservedScenario() - Static method in class org.unitils.mock.MockUnitils
 
logFullScenarioReport() - Static method in class org.unitils.mock.MockUnitils
 
logObservedScenario() - Static method in class org.unitils.mock.MockUnitils
 
logSuggestedAsserts() - Static method in class org.unitils.mock.MockUnitils
 
lowestAcceptableSequenceValue - Variable in class org.unitils.dbmaintainer.structure.impl.DefaultSequenceUpdater
 

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.
matches(String, StringBuilder) - Method in class org.unitils.dbmaintainer.script.parsingstate.impl.OracleNormalParsingState
Utility method to check whether the given statement starts with the letters of the given text.
matches(Object) - Method in class org.unitils.easymock.util.ReflectionArgumentMatcher
Checks whether the given actual value is equal to the expected value.
matches(Object, Object) - Method in interface org.unitils.mock.argumentmatcher.ArgumentMatcher
Returns true if the given object matches this object's expected argument, false otherwise.
matches(Object, Object) - Method in class org.unitils.mock.argumentmatcher.impl.AnyArgumentMatcher
Returns true if the given argument is of the expected type, false otherwise.
matches(Object, Object) - Method in class org.unitils.mock.argumentmatcher.impl.DefaultArgumentMatcher
Returns true if the given object matches the expected argument, false otherwise.
matches(Object, Object) - Method in class org.unitils.mock.argumentmatcher.impl.EqualsArgumentMatcher
Returns true if the given object matches the expected argument, false otherwise.
matches(Object, Object) - Method in class org.unitils.mock.argumentmatcher.impl.LenEqArgumentMatcher
Returns true if the given object matches the expected argument, false otherwise.
matches(Object, Object) - Method in class org.unitils.mock.argumentmatcher.impl.NotNullArgumentMatcher
Returns true if the given object is not null, false otherwise.
matches(Object, Object) - Method in class org.unitils.mock.argumentmatcher.impl.NullArgumentMatcher
Returns true if the given object is not null, false otherwise.
matches(Object, Object) - Method in class org.unitils.mock.argumentmatcher.impl.RefEqArgumentMatcher
Returns true if the given object matches the expected argument, false otherwise.
matches(Object, Object) - Method in class org.unitils.mock.argumentmatcher.impl.SameArgumentMatcher
Returns true if the given object matches the expected argument, false otherwise.
matches(ProxyInvocation) - Method in class org.unitils.mock.core.BehaviorDefiningInvocation
Returns whether or not the given ProxyInvocation matches this object's predefined Method and arguments.
MatchingInvocationBuilder - Class in org.unitils.mock.core.matching
 
MatchingInvocationBuilder() - Constructor for class org.unitils.mock.core.matching.MatchingInvocationBuilder
 
matchingInvocationBuilder - Variable in class org.unitils.mock.core.MockProxy
 
MatchingInvocationBuilder.InvocationHandler - Class in org.unitils.mock.core.matching
 
MatchingInvocationBuilder.InvocationHandler(MatchingInvocationHandler) - Constructor for class org.unitils.mock.core.matching.MatchingInvocationBuilder.InvocationHandler
 
matchingInvocationBuilderThreadLocal - Static variable in class org.unitils.mock.core.MockObject
 
matchingInvocationHandler - Variable in class org.unitils.mock.core.matching.MatchingInvocationBuilder
 
MatchingInvocationHandler - Interface in org.unitils.mock.core.matching
 
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
MatchStatement - Annotation Type in org.unitils.mock.annotation
 
materializedViewsToPreserve - Variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Names of materialized views that should not be dropped per schema.
MAX_INLINE_PARAMETER_LENGTH - Static variable in class org.unitils.mock.report.impl.ProxyInvocationsReport
The maximum length of an inline value
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
 
merge(Value, Value) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
Merges two values.
methodInterpreter - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodAnalyzer
 
methodNode - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodAnalyzer
 
MethodUtils - Class in org.unitils.util
 
MethodUtils() - Constructor for class org.unitils.util.MethodUtils
 
Mock - Annotation Type in org.unitils.easymock.annotation
Annotation indicating that a lenient mock object (see LenientMocksControl should be created and set intp the annotated field.
mock - Variable in class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior
 
Mock<T> - Interface in org.unitils.mock
Declares the contract for a controller object that enables defining the behavior of methods of a mock object, or for performing assert statements that verify that certain calls were effectively made.
MOCK_NAME_CHAIN_SEPARATOR - Static variable in class org.unitils.core.util.ObjectFormatter
 
mockBehavior - Variable in class org.unitils.mock.core.BehaviorDefiningInvocation
 
mockBehavior - Variable in class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler
 
MockBehavior - Interface in org.unitils.mock.mockbehavior
Behavior for a mock instance.
mockedType - Variable in class org.unitils.mock.core.MockObject
 
mockFactory - Variable in class org.unitils.mock.core.matching.impl.AssertVerifyingMatchingInvocationHandler
 
mockFactory - Variable in class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler
 
MockFactory - Interface in org.unitils.mock.core
 
MockModule - Class in org.unitils.mock
Module for testing with mock objects.
MockModule() - Constructor for class org.unitils.mock.MockModule
 
MockModule.MockTestListener - Class in org.unitils.mock
Test listener that handles the scenario and mock creation, and makes sure a final syntax check is performed after each test and that scenario reports are logged if required.
MockModule.MockTestListener() - Constructor for class org.unitils.mock.MockModule.MockTestListener
 
MockObject<T> - Class in org.unitils.mock.core
Implementation of a Mock.
MockObject(Class<?>, Object) - Constructor for class org.unitils.mock.core.MockObject
Creates a mock of the given type with un-capitalized type name + Mock as name, e.g. myServiceMock.
MockObject(String, Class<?>, Object) - Constructor for class org.unitils.mock.core.MockObject
Creates a mock of the given type.
mockProxy - Variable in class org.unitils.mock.core.MockObject
 
MockProxy<T> - Class in org.unitils.mock.core
 
MockProxy(String, Class<T>, BehaviorDefiningInvocations, BehaviorDefiningInvocations, Scenario, MatchingInvocationBuilder) - Constructor for class org.unitils.mock.core.MockProxy
 
MockProxy.InvocationHandler - Class in org.unitils.mock.core
 
MockProxy.InvocationHandler() - Constructor for class org.unitils.mock.core.MockProxy.InvocationHandler
 
MockUnitils - Class in org.unitils.mock
 
MockUnitils() - Constructor for class org.unitils.mock.MockUnitils
 
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.
MultiSchemaDataSet - Class in org.unitils.dbunit.util
Represents a DbUnit dataset that may contain data for multiple database schema's.
MultiSchemaDataSet() - Constructor for class org.unitils.dbunit.util.MultiSchemaDataSet
 
MultiSchemaXmlDataSetFactory - Class in org.unitils.dbunit.datasetfactory.impl
A data set factory that can handle data set definitions for multiple database schemas.
MultiSchemaXmlDataSetFactory() - Constructor for class org.unitils.dbunit.datasetfactory.impl.MultiSchemaXmlDataSetFactory
 
MultiSchemaXmlDataSetReader - Class in org.unitils.dbunit.util
A reader for DbUnit xml datasets that creates a new ITable instance for each element (row).
MultiSchemaXmlDataSetReader(String) - Constructor for class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader
Creates a data set reader.
MultiSchemaXmlDataSetReader.DataSetContentHandler - Class in org.unitils.dbunit.util
The xml content handler that is going to create the data sets.
MultiSchemaXmlDataSetReader.DataSetContentHandler(String) - Constructor for class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
Creates a data set SAX content handler
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

name - Variable in class org.unitils.mock.core.MockObject
 
naryOperation(AbstractInsnNode, List) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
Handles an instruction of a method call.
newControlFlowEdge(int, int) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodAnalyzer
Overridden to handle the line number instructions.
NoopMockBehavior - Class in org.unitils.mock.mockbehavior.impl
Mock behavior that does nothing.
NoopMockBehavior() - Constructor for class org.unitils.mock.mockbehavior.impl.NoopMockBehavior
 
normalParsingState - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.InBlockCommentParsingState
The normal parsing state, that should be returned when the comment end is reached.
normalParsingState - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.InDoubleQuotesParsingState
The normal parsing state, that should be returned when the quote end is reached.
normalParsingState - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.InLineCommentParsingState
The normal parsing state, that should be returned when the comment end is reached.
normalParsingState - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.InSingleQuotesParsingState
The normal, not in quotes, not in comment state.
NormalParsingState - Class in org.unitils.dbmaintainer.script.parsingstate.impl
The default initial parsing state that is able to recognize the beginning of line comments, block comments, single and double quote literals and the ending of a statment.
NormalParsingState() - Constructor for class org.unitils.dbmaintainer.script.parsingstate.impl.NormalParsingState
 
notNull(Class<T>) - Static method in class org.unitils.mock.ArgumentMatchers
 
NotNullArgumentMatcher - Class in org.unitils.mock.argumentmatcher.impl
A matcher that will check whether an argument is not null.
NotNullArgumentMatcher() - Constructor for class org.unitils.mock.argumentmatcher.impl.NotNullArgumentMatcher
 
NULL_WRITER - Static variable in class org.unitils.thirdparty.org.apache.commons.io.NullWriter
A singleton.
NullArgumentMatcher - Class in org.unitils.mock.argumentmatcher.impl
A matcher that will check whether an argument is null.
NullArgumentMatcher() - Constructor for class org.unitils.mock.argumentmatcher.impl.NullArgumentMatcher
 
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
OBJECT_FORMATTER_MAX_NR_ARRAY_OR_COLLECTION_ELEMENTS - Static variable in class org.unitils.mock.report.impl.ProxyInvocationsReport
The maximum nr of elements for arrays and collections to display in the reports
OBJECT_FORMATTER_MAX_RECURSION_DEPT - Static variable in class org.unitils.mock.report.impl.ProxyInvocationsReport
The maximum depth (child objects) of objects to display in the reports.
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.mock.report.impl.ProxyInvocationsReport
 
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.
ObservedInvocation - Class in org.unitils.mock.core
 
ObservedInvocation(ProxyInvocation, BehaviorDefiningInvocation, MockBehavior) - Constructor for class org.unitils.mock.core.ObservedInvocation
Creates a observed invocation for the given prosy invocation.
observedInvocations - Variable in class org.unitils.mock.core.Scenario
 
ObservedInvocationsReport - Class in org.unitils.mock.report.impl
A view that displays the observed invocations and the location where they were invoked.
ObservedInvocationsReport(Object) - Constructor for class org.unitils.mock.report.impl.ObservedInvocationsReport
 
oncePerforms(MockBehavior) - Method in class org.unitils.mock.core.MockObject
Defines behavior for this mock so that will be performed when the invocation following this call matches the observed behavior.
oncePerforms(MockBehavior) - Method in interface org.unitils.mock.Mock
Defines behavior for this mock so that will be performed when the invocation following this call matches the observed behavior.
onceRaises(Throwable) - Method in class org.unitils.mock.core.MockObject
Defines behavior for this mock so that it raises the given exception when the invocation following this call matches the observed behavior.
onceRaises(Class<? extends Throwable>) - Method in class org.unitils.mock.core.MockObject
Defines behavior for this mock so that it raises an instance of the given exception class when the invocation following this call matches the observed behavior.
onceRaises(Throwable) - Method in interface org.unitils.mock.Mock
Defines behavior for this mock so that it raises an instance of the given exception class when the invocation following this call matches the observed behavior.
onceRaises(Class<? extends Throwable>) - Method in interface org.unitils.mock.Mock
Defines behavior for this mock so that it raises an instance of the given exception class when the invocation following this call matches the observed behavior.
onceReturns(Object) - Method in class org.unitils.mock.core.MockObject
Defines behavior for this mock so that it will return the given value when the invocation following this call matches the observed behavior.
onceReturns(Object) - Method in interface org.unitils.mock.Mock
Defines behavior for this mock so that it will return the given value when the invocation following this call matches the observed behavior.
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.
oneTimeMatchingBehaviorDefiningInvocations - Variable in class org.unitils.mock.core.MockObject
 
oneTimeMatchingBehaviorDefiningInvocations - Variable in class org.unitils.mock.core.MockProxy
 
OpenJpaProviderSupport - Class in org.unitils.orm.jpa.util.provider.openjpa
Implementation of JpaProviderSupport for Oracle Toplink JPA
OpenJpaProviderSupport() - Constructor for class org.unitils.orm.jpa.util.provider.openjpa.OpenJpaProviderSupport
 
openScriptContentReader() - Method in class org.unitils.dbmaintainer.script.ScriptContentHandle
Opens a stream to the content of the script.
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.
OracleNormalParsingState - Class in org.unitils.dbmaintainer.script.parsingstate.impl
The initial state for Oracle.
OracleNormalParsingState() - Constructor for class org.unitils.dbmaintainer.script.parsingstate.impl.OracleNormalParsingState
 
OracleScriptParser - Class in org.unitils.dbmaintainer.script.impl
A parser that can handle Oracle specific things like PL/SQL and a forward slash (/) as separator.
OracleScriptParser() - Constructor for class org.unitils.dbmaintainer.script.impl.OracleScriptParser
 
OracleScriptParser.OracleStatementBuilder - Class in org.unitils.dbmaintainer.script.impl
A statement builder with special handling for Oracle
OracleScriptParser.OracleStatementBuilder() - Constructor for class org.unitils.dbmaintainer.script.impl.OracleScriptParser.OracleStatementBuilder
 
Order - Enum in org.unitils.easymock.util
 
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.util - package org.unitils.core.util
 
org.unitils.database - package org.unitils.database
 
org.unitils.database.annotations - package org.unitils.database.annotations
 
org.unitils.database.config - package org.unitils.database.config
 
org.unitils.database.sqlassert - package org.unitils.database.sqlassert
 
org.unitils.database.transaction - package org.unitils.database.transaction
 
org.unitils.database.transaction.impl - package org.unitils.database.transaction.impl
 
org.unitils.database.util - package org.unitils.database.util
 
org.unitils.dbmaintainer - package org.unitils.dbmaintainer
 
org.unitils.dbmaintainer.clean - package org.unitils.dbmaintainer.clean
 
org.unitils.dbmaintainer.clean.impl - package org.unitils.dbmaintainer.clean.impl
 
org.unitils.dbmaintainer.script - package org.unitils.dbmaintainer.script
 
org.unitils.dbmaintainer.script.impl - package org.unitils.dbmaintainer.script.impl
 
org.unitils.dbmaintainer.script.parsingstate - package org.unitils.dbmaintainer.script.parsingstate
 
org.unitils.dbmaintainer.script.parsingstate.impl - package org.unitils.dbmaintainer.script.parsingstate.impl
 
org.unitils.dbmaintainer.structure - package org.unitils.dbmaintainer.structure
 
org.unitils.dbmaintainer.structure.impl - package org.unitils.dbmaintainer.structure.impl
 
org.unitils.dbmaintainer.util - package org.unitils.dbmaintainer.util
 
org.unitils.dbmaintainer.version - package org.unitils.dbmaintainer.version
 
org.unitils.dbmaintainer.version.impl - package org.unitils.dbmaintainer.version.impl
 
org.unitils.dbunit - package org.unitils.dbunit
 
org.unitils.dbunit.annotation - package org.unitils.dbunit.annotation
 
org.unitils.dbunit.dataset - package org.unitils.dbunit.dataset
 
org.unitils.dbunit.dataset.comparison - package org.unitils.dbunit.dataset.comparison
 
org.unitils.dbunit.datasetfactory - package org.unitils.dbunit.datasetfactory
 
org.unitils.dbunit.datasetfactory.impl - package org.unitils.dbunit.datasetfactory.impl
 
org.unitils.dbunit.datasetloadstrategy - package org.unitils.dbunit.datasetloadstrategy
 
org.unitils.dbunit.datasetloadstrategy.impl - package org.unitils.dbunit.datasetloadstrategy.impl
 
org.unitils.dbunit.util - package org.unitils.dbunit.util
 
org.unitils.easymock - package org.unitils.easymock
 
org.unitils.easymock.annotation - package org.unitils.easymock.annotation
 
org.unitils.easymock.util - package org.unitils.easymock.util
 
org.unitils.inject - package org.unitils.inject
 
org.unitils.inject.annotation - package org.unitils.inject.annotation
 
org.unitils.inject.util - package org.unitils.inject.util
 
org.unitils.io - package org.unitils.io
 
org.unitils.io.annotation - package org.unitils.io.annotation
 
org.unitils.io.annotation.handler - package org.unitils.io.annotation.handler
 
org.unitils.io.conversion - package org.unitils.io.conversion
 
org.unitils.io.conversion.impl - package org.unitils.io.conversion.impl
 
org.unitils.io.filecontent - package org.unitils.io.filecontent
 
org.unitils.io.filecontent.impl - package org.unitils.io.filecontent.impl
 
org.unitils.io.reader - package org.unitils.io.reader
 
org.unitils.io.reader.impl - package org.unitils.io.reader.impl
 
org.unitils.io.temp - package org.unitils.io.temp
 
org.unitils.io.temp.impl - package org.unitils.io.temp.impl
 
org.unitils.mock - package org.unitils.mock
 
org.unitils.mock.annotation - package org.unitils.mock.annotation
 
org.unitils.mock.argumentmatcher - package org.unitils.mock.argumentmatcher
 
org.unitils.mock.argumentmatcher.impl - package org.unitils.mock.argumentmatcher.impl
 
org.unitils.mock.core - package org.unitils.mock.core
 
org.unitils.mock.core.matching - package org.unitils.mock.core.matching
 
org.unitils.mock.core.matching.impl - package org.unitils.mock.core.matching.impl
 
org.unitils.mock.core.proxy - package org.unitils.mock.core.proxy
 
org.unitils.mock.dummy - package org.unitils.mock.dummy
 
org.unitils.mock.mockbehavior - package org.unitils.mock.mockbehavior
 
org.unitils.mock.mockbehavior.impl - package org.unitils.mock.mockbehavior.impl
 
org.unitils.mock.report - package org.unitils.mock.report
 
org.unitils.mock.report.impl - package org.unitils.mock.report.impl
 
org.unitils.orm.common - package org.unitils.orm.common
 
org.unitils.orm.common.spring - package org.unitils.orm.common.spring
 
org.unitils.orm.common.util - package org.unitils.orm.common.util
 
org.unitils.orm.hibernate - package org.unitils.orm.hibernate
 
org.unitils.orm.hibernate.annotation - package org.unitils.orm.hibernate.annotation
 
org.unitils.orm.hibernate.util - package org.unitils.orm.hibernate.util
 
org.unitils.orm.jpa - package org.unitils.orm.jpa
 
org.unitils.orm.jpa.annotation - package org.unitils.orm.jpa.annotation
 
org.unitils.orm.jpa.util - package org.unitils.orm.jpa.util
 
org.unitils.orm.jpa.util.provider.hibernate - package org.unitils.orm.jpa.util.provider.hibernate
 
org.unitils.orm.jpa.util.provider.openjpa - package org.unitils.orm.jpa.util.provider.openjpa
 
org.unitils.orm.jpa.util.provider.toplink - package org.unitils.orm.jpa.util.provider.toplink
 
org.unitils.orm.jpa.util.spring - package org.unitils.orm.jpa.util.spring
 
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.spring - package org.unitils.spring
 
org.unitils.spring.annotation - package org.unitils.spring.annotation
 
org.unitils.spring.util - package org.unitils.spring.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
 
OriginalBehaviorInvokingMockBehavior - Class in org.unitils.mock.mockbehavior.impl
Mock behavior that, instead of mocking the method invocation, performs the actual behavior of the mocked class.
OriginalBehaviorInvokingMockBehavior() - Constructor for class org.unitils.mock.mockbehavior.impl.OriginalBehaviorInvokingMockBehavior
 
originalMockBehavior - Variable in class org.unitils.mock.core.matching.impl.BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior
 
OrmConfig - Class in org.unitils.orm.common.util
Object wrapping all configuration needed for defining a persistence unit for a test object
OrmConfig(Set<String>, Method) - Constructor for class org.unitils.orm.common.util.OrmConfig
Creates a new instance
OrmModule<ORM_PERSISTENCE_UNIT,ORM_PERSISTENCE_CONTEXT,PROVIDER_CONFIGURATION_OBJECT,PERSISTENCE_UNIT_CONFIG_ANNOTATION extends Annotation,ORM_CONFIG extends OrmConfig,ORM_PERSISTENCE_UNIT_CONFIG_LOADER extends ResourceConfigLoader<ORM_CONFIG>> - Class in org.unitils.orm.common
Base module defining common behavior for a module that provides object relational mapping support for tests.
OrmModule() - Constructor for class org.unitils.orm.common.OrmModule
 
OrmModule.OrmTestListener - Class in org.unitils.orm.common
The TestListener for this module
OrmModule.OrmTestListener() - Constructor for class org.unitils.orm.common.OrmModule.OrmTestListener
 
ormPersistenceUnitLoader - Variable in class org.unitils.orm.common.OrmModule
Class that loads the persistence unit, given an object extending OrmConfig
OrmPersistenceUnitLoader<ORMPU,ORMCONFOBJ,ORMCFG extends OrmConfig> - Interface in org.unitils.orm.common.util
Defines the contract for implementations that can load a persistence unit given a persistence unit configuration object.
ormSpringSupport - Variable in class org.unitils.orm.common.OrmModule
Support class that enables getting a configured persistence unit from a spring ApplicationContext configured in unitils.
OrmSpringSupport<ORMPU,ORMCONFOBJ> - Interface in org.unitils.orm.common.spring
Defines the contract for implementations that retrieve an ORM persistence unit from the spring ApplicationContext that is configured for this class (if any)
outputtingUnorderedCollectionDifference - Variable in class org.unitils.reflectionassert.report.impl.DefaultDifferenceView
True when an unordered collection is being formatted.

P

parsingCodeBlock - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.OracleNormalParsingState
True if a code block is being parsed
ParsingState - Interface in org.unitils.dbmaintainer.script.parsingstate
A state of a parser that can handle a character and knows when the state ends and is transfered to another state.
PartialMock<T> - Interface in org.unitils.mock
Declares the contract for a controller object that enables defining the behavior of methods of a partial mock object, or for performing assert statements that verify that certain calls were effectively made.
PartialMockObject<T> - Class in org.unitils.mock.core
Implementation of a PartialMock.
PartialMockObject(Object, Object) - Constructor for class org.unitils.mock.core.PartialMockObject
Creates a mock of the same type as the given mock prototype with un-capitalized type name + Mock as name, e.g. myServiceMock.
PartialMockObject(String, Object, Object) - Constructor for class org.unitils.mock.core.PartialMockObject
Creates a mock of the same type as the given mock prototype with the given name.
PartialMockObject(Class<?>, Object) - Constructor for class org.unitils.mock.core.PartialMockObject
Creates a mock of the given type with un-capitalized type name + Mock as name, e.g. myServiceMock.
PartialMockObject(String, Class<?>, Object) - Constructor for class org.unitils.mock.core.PartialMockObject
Creates a mock of the given type for the given scenario.
PartialMockProxy<T> - Class in org.unitils.mock.core
 
PartialMockProxy(String, Class<T>, BehaviorDefiningInvocations, BehaviorDefiningInvocations, Scenario, MatchingInvocationBuilder) - Constructor for class org.unitils.mock.core.PartialMockProxy
 
PATH_PREFIX_PROPERTY - Static variable in class org.unitils.io.reader.impl.DefaultFileResolvingStrategyFactory
 
pathPrefix - Variable in class org.unitils.core.util.FileResolver
 
performAssertion(Scenario, BehaviorDefiningInvocation) - Method in class org.unitils.mock.core.matching.impl.AssertInvokedInSequenceVerifyingMatchingInvocationHandler
 
performAssertion(Scenario, BehaviorDefiningInvocation) - Method in class org.unitils.mock.core.matching.impl.AssertInvokedVerifyingMatchingInvocationHandler
 
performAssertion(Scenario, BehaviorDefiningInvocation) - Method in class org.unitils.mock.core.matching.impl.AssertNotInvokedVerifyingMatchingInvocationHandler
 
performAssertion(Scenario, BehaviorDefiningInvocation) - Method in class org.unitils.mock.core.matching.impl.AssertVerifyingMatchingInvocationHandler
 
performChainedAssertion(Mock<?>) - Method in class org.unitils.mock.core.matching.impl.AssertInvokedInSequenceVerifyingMatchingInvocationHandler
 
performChainedAssertion(Mock<?>) - Method in class org.unitils.mock.core.matching.impl.AssertInvokedVerifyingMatchingInvocationHandler
 
performChainedAssertion(Mock<?>) - Method in class org.unitils.mock.core.matching.impl.AssertNotInvokedVerifyingMatchingInvocationHandler
 
performChainedAssertion(Mock<?>) - Method in class org.unitils.mock.core.matching.impl.AssertVerifyingMatchingInvocationHandler
 
performs(MockBehavior) - Method in class org.unitils.mock.core.MockObject
Defines behavior for this mock so that will be performed when the invocation following this call matches the observed behavior.
performs(MockBehavior) - Method in interface org.unitils.mock.Mock
Defines behavior for this mock so that will be performed when the invocation following this call matches the observed behavior.
persistenceUnitConfigLoader - Variable in class org.unitils.orm.common.OrmModule
Class that loads the persistence unit configuration
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.
postProcessConfiguration(Configuration) - Method in class org.unitils.orm.hibernate.util.UnitilsLocalSessionFactoryBean
 
PREFIX_WITH_PACKAGE_NAME_PROPERTY - Static variable in class org.unitils.io.reader.impl.DefaultFileResolvingStrategyFactory
 
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
 
prepareTestInstance(TestContext) - Method in class org.unitils.spring.util.SpringUnitilsAdaptorTestExecutionListener
 
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.
PropertiesConversionStrategy - Class in org.unitils.io.conversion.impl
This conversion strategy will try to convert the input stream into a Properties.
PropertiesConversionStrategy() - Constructor for class org.unitils.io.conversion.impl.PropertiesConversionStrategy
 
PropertiesDataSourceFactory - Class in org.unitils.database.config
A DataSourceFactory that loads the necessary information from a properties file.
PropertiesDataSourceFactory() - Constructor for class org.unitils.database.config.PropertiesDataSourceFactory
 
PropertiesReader - Class in org.unitils.core.util
 
PropertiesReader() - Constructor for class org.unitils.core.util.PropertiesReader
 
PROPERTY_AUTO_CREATE_EXECUTED_SCRIPTS_TABLE - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_CHECKSUM_COLUMN_NAME - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_CHECKSUM_COLUMN_SIZE - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_EXECUTED_AT_COLUMN_NAME - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_EXECUTED_AT_COLUMN_SIZE - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_EXECUTED_SCRIPTS_TABLE_NAME - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_FILE_LAST_MODIFIED_AT_COLUMN_NAME - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_FILE_NAME_COLUMN_NAME - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_FILE_NAME_COLUMN_SIZE - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_SCRIPT_VERSION_COLUMN_NAME - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_SCRIPT_VERSION_COLUMN_SIZE - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_SUCCEEDED_COLUMN_NAME - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_TIMESTAMP_FORMAT - Static variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
PROPERTY_UPDATEDATABASESCHEMA_ENABLED - Static variable in class org.unitils.database.DatabaseModule
Property indicating if the database schema should be updated before performing the tests
PROPERTY_WRAP_DATASOURCE_IN_TRANSACTIONAL_PROXY - Static variable in class org.unitils.database.DatabaseModule
Property indicating whether the datasource injected onto test fields annotated with @TestDataSource or retrieved using DatabaseModule.getTransactionalDataSourceAndActivateTransactionIfNeeded(Object) must be wrapped in a transactional proxy
PropertyAccess - Enum in org.unitils.inject.util
The type of accessing properties: by field or by setter.
PropertyUtils - Class in org.unitils.util
Utilities for working with property files.
PropertyUtils() - Constructor for class org.unitils.util.PropertyUtils
 
PROPKEY_APPLICATION_CONTEXT_FACTORY_CLASS_NAME - Static variable in class org.unitils.spring.SpringModule
 
PROPKEY_AUTO_VERIFY_AFTER_TEST_ENABLED - Static variable in class org.unitils.easymock.EasyMockModule
 
PROPKEY_BACKSLASH_ESCAPING_ENABLED - Static variable in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
Property indicating if the characters can be escaped by using backslashes.
PROPKEY_CLEAR_DB_CODE_ENABLED - Static variable in class org.unitils.dbmaintainer.DBMaintainer
Property indicating if database code should be cleared before installing a new version of the code or when updating the database from scratch
PROPKEY_CONFIGURATION_CLASS_NAME - Static variable in class org.unitils.orm.hibernate.HibernateModule
 
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_DATA_SET_PATH_PREFIX - Static variable in class org.unitils.dbunit.datasetfactory.impl.DefaultDataSetResolver
 
PROPKEY_DATABASE_DIALECT - Static variable in class org.unitils.core.dbsupport.DbSupportFactory
Property key of the SQL dialect of the underlying DBMS implementation
PROPKEY_DATABASE_DIALECT - Static variable in class org.unitils.dbmaintainer.util.DatabaseModuleConfigUtils
Property key of the SQL dialect of the underlying DBMS implementation
PROPKEY_DATABASE_SCHEMA_NAMES - Static variable in class org.unitils.core.dbsupport.DbSupportFactory
Property key for the database schema names
PROPKEY_DATASOURCE_DRIVERCLASSNAME - Static variable in class org.unitils.database.config.PropertiesDataSourceFactory
 
PROPKEY_DATASOURCE_PASSWORD - Static variable in class org.unitils.database.config.PropertiesDataSourceFactory
 
PROPKEY_DATASOURCE_URL - Static variable in class org.unitils.database.config.PropertiesDataSourceFactory
 
PROPKEY_DATASOURCE_USERNAME - Static variable in class org.unitils.database.config.PropertiesDataSourceFactory
 
PROPKEY_DB_CLEANER_ENABLED - Static variable in class org.unitils.dbmaintainer.DBMaintainer
Property indicating if deleting all data from all tables before updating is enabled
PROPKEY_DISABLE_CONSTRAINTS_ENABLED - Static variable in class org.unitils.dbmaintainer.DBMaintainer
Property indicating if the database constraints should org disabled after updating the database
PROPKEY_DTD_FILENAME - Static variable in class org.unitils.dbmaintainer.structure.impl.DtdDataSetStructureGenerator
 
PROPKEY_FROM_SCRATCH_ENABLED - Static variable in class org.unitils.dbmaintainer.DBMaintainer
Property indicating if updating the database from scratch is enabled
PROPKEY_GENERATE_DATA_SET_STRUCTURE_ENABLED - Static variable in class org.unitils.dbmaintainer.DBMaintainer
Property that indicates if a data set DTD or XSD is to be generated or not
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_KEEP_RETRYING_AFTER_ERROR_ENABLED - Static variable in class org.unitils.dbmaintainer.DBMaintainer
Property indicating if an retry of an update should only be performed when changes to script files were made
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_LOWEST_ACCEPTABLE_SEQUENCE_VALUE - Static variable in class org.unitils.dbmaintainer.structure.impl.DefaultSequenceUpdater
 
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_PERSISTENCE_PROVIDER - Static variable in class org.unitils.orm.jpa.JpaModule
 
PROPKEY_POSTPROCESSINGSCRIPT_DIRNAME - Static variable in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Property key for the directory in which the code script files are located
PROPKEY_PREFIX_WITH_PACKAGE_NAME - Static variable in class org.unitils.dbunit.datasetfactory.impl.DefaultDataSetResolver
 
PROPKEY_PRESERVE_DATA_SCHEMAS - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBCleaner
Property key for schemas in which none of the tables should be cleaned
PROPKEY_PRESERVE_DATA_TABLES - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBCleaner
Property key for the tables that should not be cleaned
PROPKEY_PRESERVE_MATERIALIZED_VIEWS - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
The key of the property that specifies which materialized views should not be dropped
PROPKEY_PRESERVE_SCHEMAS - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
The key of the property that specifies of which schemas nothing should be dropped
PROPKEY_PRESERVE_SEQUENCES - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
The key of the property that specifies which sequences should not be dropped
PROPKEY_PRESERVE_SYNONYMS - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
The key of the property that specifies which synonyms should not be dropped
PROPKEY_PRESERVE_TABLES - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBCleaner
Property that specifies which tables should not be dropped (should also not be cleaned)
PROPKEY_PRESERVE_TABLES - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
The key of the property that specifies which tables should not be dropped
PROPKEY_PRESERVE_TRIGGERS - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
The key of the property that specifies which triggers should not be dropped
PROPKEY_PRESERVE_TYPES - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
The key of the property that specifies which types should not be dropped
PROPKEY_PRESERVE_VIEWS - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
The key of the property that specifies which views should not be dropped
PROPKEY_SCRIPT_EXTENSIONS - Static variable in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Property key for the extension of the script files
PROPKEY_SCRIPT_LOCATIONS - Static variable in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
Property key for the directory in which the script files are located
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)
PROPKEY_UPDATE_SEQUENCES_ENABLED - Static variable in class org.unitils.dbmaintainer.DBMaintainer
Property indicating if the database constraints should org disabled after updating the database
PROPKEY_USESCRIPTFILELASTMODIFICATIONDATES - Static variable in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
 
PROPKEY_VERSION_TABLE_NAME - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBCleaner
The key of the property that specifies the name of the datase table in which the DB version is stored.
PROPKEY_VERSION_TABLE_NAME - Static variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
The key of the property that specifies the name of the datase table in which the DB version is stored.
PROPKEY_XSD_COMPLEX_TYPE_SUFFIX - Static variable in class org.unitils.dbmaintainer.structure.impl.XsdDataSetStructureGenerator
 
PROPKEY_XSD_DIR_NAME - Static variable in class org.unitils.dbmaintainer.structure.impl.XsdDataSetStructureGenerator
 
proxy - Variable in class org.unitils.mock.core.MockProxy
 
ProxyFactory - Class in org.unitils.mock.core.proxy
Utility class to create and work with proxy objects.
ProxyFactory() - Constructor for class org.unitils.mock.core.proxy.ProxyFactory
 
ProxyInvocation - Class in org.unitils.mock.core.proxy
An invocation of a proxy method.
ProxyInvocation(String, Object, Method, List<Object>, StackTraceElement[]) - Constructor for class org.unitils.mock.core.proxy.ProxyInvocation
Creates an invocation.
ProxyInvocation(ProxyInvocation) - Constructor for class org.unitils.mock.core.proxy.ProxyInvocation
Creates a copy of the given proxy invocation.
ProxyInvocationHandler - Interface in org.unitils.mock.core.proxy
A class for handling method invocations of a proxy.
ProxyInvocationsReport - Class in org.unitils.mock.report.impl
A base class for reports about proxy invocations.
ProxyInvocationsReport(Object) - Constructor for class org.unitils.mock.report.impl.ProxyInvocationsReport
 
ProxyInvocationsReport.FormattedObject - Class in org.unitils.mock.report.impl
Class for representing a value that was too large to be displayed inline.
ProxyInvocationsReport.FormattedObject(String, String) - Constructor for class org.unitils.mock.report.impl.ProxyInvocationsReport.FormattedObject
Creates a large value
ProxyUtils - Class in org.unitils.mock.core.proxy
Utility class to create and work with proxy objects.
ProxyUtils() - Constructor for class org.unitils.mock.core.proxy.ProxyUtils
 

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

raises(Throwable) - Method in class org.unitils.mock.core.MockObject
Defines behavior for this mock so that it raises the given exception when the invocation following this call matches the observed behavior.
raises(Class<? extends Throwable>) - Method in class org.unitils.mock.core.MockObject
Defines behavior for this mock so that it raises the given exception when the invocation following this call matches the observed behavior.
raises(Throwable) - Method in interface org.unitils.mock.Mock
Defines behavior for this mock so that it raises the given exception when the invocation following this call matches the observed behavior.
raises(Class<? extends Throwable>) - Method in interface org.unitils.mock.Mock
Defines behavior for this mock so that it raises an instance of the given exception class when the invocation following this call matches the observed behavior.
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
 
readClass(Class<?>) - Static method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder
Uses ASM to read the byte code of the given class.
readDataSetXml(File...) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader
Parses the datasets from the given files.
ReaderInputStream - Class in org.unitils.util
Wrapper that makes an Reader available as an InputStream
ReaderInputStream(Reader) - Constructor for class org.unitils.util.ReaderInputStream
 
readFileContent(String, Class<T>, String, Class<?>) - Method in interface org.unitils.io.filecontent.FileContentReader
 
readFileContent(String, Class<T>, String, Class<?>) - Method in class org.unitils.io.filecontent.impl.DefaultFileContentReader
 
readFileContent(String, Class<T>, String, Class<?>) - Method in class org.unitils.io.IOModule
 
readFileContent(Class<T>, Object) - Static method in class org.unitils.io.IOUnitils
Loads the content of 'test-class'.'
readFileContent(Class<T>, String, Object) - Static method in class org.unitils.io.IOUnitils
Loads the content of 'test-class'.'
readFileContent(String, Class<T>, Object) - Static method in class org.unitils.io.IOUnitils
Loads the content of the file with the given name and converts it to the given target type using the default encoding.
readFileContent(String, Class<T>, String, Object) - Static method in class org.unitils.io.IOUnitils
Loads the content of the file with the given name and converts it to the given target type.
readFileContentForField(Object, Field) - Method in class org.unitils.io.annotation.handler.FileContentAnnotationHandler
Does the actual content reading and injection for the given field.
readFileToString(File, String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.FileUtils
Reads the contents of a file into a String.
readingStrategy - Variable in class org.unitils.io.filecontent.impl.DefaultFileContentReader
 
ReadingStrategy - Interface in org.unitils.io.reader
 
ReadingStrategyFactory - Interface in org.unitils.io.reader
 
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.
readScript() - Method in class org.unitils.dbmaintainer.script.ScriptContentHandle
 
refEq(T, ReflectionComparatorMode...) - Static method in class org.unitils.easymock.EasyMockUnitils
Expects the given object argument but uses a reflection argument matcher with the given comparator modes to compare the given value with the actual value during the test.
refEq(T) - Static method in class org.unitils.mock.ArgumentMatchers
 
RefEqArgumentMatcher - Class in org.unitils.mock.argumentmatcher.impl
A matcher for checking whether an argument equals a given value.
RefEqArgumentMatcher(Object) - Constructor for class org.unitils.mock.argumentmatcher.impl.RefEqArgumentMatcher
Creates a matcher for the given value.
ReflectionArgumentMatcher<T> - Class in org.unitils.easymock.util
An easy mock argument matcher to check whether 2 objects are equal by comparing all fields of the objects using reflection.
ReflectionArgumentMatcher(T, ReflectionComparatorMode...) - Constructor for class org.unitils.easymock.util.ReflectionArgumentMatcher
Creates a matcher for the expected argument value.
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
 
RefreshLoadStrategy - Class in org.unitils.dbunit.datasetloadstrategy.impl
DataSetLoadStrategy that 'refreshes' the contents of the database with the contents of the dataset.
RefreshLoadStrategy() - Constructor for class org.unitils.dbunit.datasetloadstrategy.impl.RefreshLoadStrategy
 
registerArgumentMatcher(ArgumentMatcher, int) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherRepository
Registers an argument matcher at the given line nr.
registerArgumentMatcher(ArgumentMatcher) - Static method in class org.unitils.mock.ArgumentMatchers
 
registerEndOfMatchingInvocation(int, String) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherRepository
Stops the registering of argument matchers.
registerExecutedScript(ExecutedScript) - Method in interface org.unitils.dbmaintainer.version.ExecutedScriptInfoSource
Registers the fact that the given script has been executed on the database
registerExecutedScript(ExecutedScript) - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
Registers the fact that the given script has been executed on the database
registerInstance(Class<?>, T) - Method in class org.unitils.core.util.AnnotatedInstanceManager
Registers an instance for a given class.
registerListenerInvocation(TracingTestListener.ListenerInvocation, Class<?>, Object, Method, Throwable) - Method in class org.unitils.TracingTestListener
 
registerStartOfMatchingInvocation(int) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherRepository
From the moment that this method is called until ArgumentMatcherRepository.registerEndOfMatchingInvocation(int, java.lang.String) has been called, argument matchers can be registered.
registerTestInvocation(TracingTestListener.TestInvocation, String) - Method in class org.unitils.spring.SpringUnitilsJUnit38TestBase
Records an invocation.
registerTestInvocation(TracingTestListener.TestInvocation, Class<?>, String) - Static method in class org.unitils.spring.SpringUnitilsJUnit4TestBase
Records an invocation.
registerTestInvocation(TracingTestListener.TestInvocation, Class<?>, String) - Method in class org.unitils.TracingTestListener
 
registerTestInvocation(TracingTestListener.TestInvocation, String) - Method in class org.unitils.UnitilsJUnit3TestBase
Records an invocation.
registerTestInvocation(TracingTestListener.TestInvocation, Class<?>, String) - Static method in class org.unitils.UnitilsJUnit4TestBase
Records an invocation.
registerTransactionManagementConfiguration(UnitilsTransactionManagementConfiguration) - Method in class org.unitils.database.DatabaseModule
 
RegularMock - Annotation Type in org.unitils.easymock.annotation
Annotation indicating that a regular EasyMock mock object should be created and set in the annotated field.
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.
removeWhenUsed - Variable in class org.unitils.mock.core.BehaviorDefiningInvocations
 
replay() - Method in class org.unitils.easymock.EasyMockModule
Replays all mock controls.
replay() - Static method in class org.unitils.easymock.EasyMockUnitils
Unit tests should call this method after having set their recorded expected behavior on the mock objects.
reset() - Method in class org.unitils.easymock.EasyMockModule
Resets all mock controls.
reset() - Static method in class org.unitils.easymock.EasyMockUnitils
 
reset() - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherRepository
Clears the current argument matchers.
reset() - Method in class org.unitils.mock.core.matching.MatchingInvocationBuilder
 
reset() - Method in class org.unitils.mock.core.Scenario
 
reset() - Method in class org.unitils.thirdparty.org.apache.commons.io.NullInputStream
Reset the stream to the point when mark was last called.
resetBehavior() - Method in class org.unitils.mock.core.MockObject
Removes all behavior defined for this mock.
resetBehavior() - Method in interface org.unitils.mock.Mock
Removes all behavior defined for this mock.
resetDatabaseState() - Method in class org.unitils.database.DatabaseModule
Updates the database version to the current version, without issuing any other update to the database.
resetDatabaseState(SQLHandler) - Method in class org.unitils.database.DatabaseModule
Updates the database version to the current version, without issuing any other updates to the database.
resetDatabaseState() - Static method in class org.unitils.database.DatabaseUnitils
Updates the database version to the current version, without issuing any other updates to the database.
resetDatabaseState() - Method in class org.unitils.dbmaintainer.DBMaintainer
Updates the database version to the current version of the update scripts, without changing anything else in the database.
resolve(Class<?>, String) - Method in interface org.unitils.dbunit.datasetfactory.DataSetResolver
Resolves the location for a data set with a certain name.
resolve(Class<?>, String) - Method in class org.unitils.dbunit.datasetfactory.impl.DefaultDataSetResolver
Resolves the location for a data set with a certain name.
resolveDefaultFileName(String, Class<?>) - Method in class org.unitils.core.util.FileResolver
Resolves the location for a file with the default name: 'classname'.'
resolveDefaultFileName(String, Class<?>) - Method in interface org.unitils.io.reader.FileResolvingStrategy
Resolves the location for a file with the default name: 'classname'.'
resolveDefaultFileName(String, Class<?>) - Method in class org.unitils.io.reader.impl.DefaultFileResolvingStrategy
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.
resolveFileName(String, Class<?>) - Method in interface org.unitils.io.reader.FileResolvingStrategy
Resolves the location for a file with a certain name.
resolveFileName(String, Class<?>) - Method in class org.unitils.io.reader.impl.DefaultFileResolvingStrategy
Resolves the location for a file with a certain name.
resolveNumber(Class<?>) - Method in class org.unitils.mock.mockbehavior.impl.DefaultValueReturningMockBehavior
Checking for the default java implementations of Number, this avoids class cast exceptions when using them
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
restore(ValueToRestore) - Method in class org.unitils.inject.InjectModule
Restores the given value.
Restore - Enum in org.unitils.inject.util
The type of accessing properties: by field or by setter.
restoreOrginalTestListener() - Static method in class org.unitils.UnitilsInvocationTestBase
 
restoreStaticInjectedObjects() - Method in class org.unitils.inject.InjectModule
Restores the values that were stored using InjectModule.storeValueToRestoreAfterTest(Class, String, Class, org.unitils.inject.util.PropertyAccess, Object, org.unitils.inject.util.Restore).
resultArgumentMatcherIndexes - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
returns(Object) - Method in class org.unitils.mock.core.MockObject
Defines behavior for this mock so that it will return the given value when the invocation following this call matches the observed behavior.
returns(Object) - Method in interface org.unitils.mock.Mock
Defines behavior for this mock so that it will return the given value when the invocation following this call matches the observed behavior.
rollback(Object) - Method in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
Rolls back the transaction.
rollback(Object) - Method in interface org.unitils.database.transaction.UnitilsTransactionManager
Rolls back the currently active transaction.
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.
rollbackTransaction(Object) - Method in class org.unitils.database.DatabaseModule
Performs a rollback of the current transaction
rollbackTransaction() - Static method in class org.unitils.database.DatabaseUnitils
Performs a rollback of the current unitils transaction
ROOT_TEMP_DIR - Static variable in class org.unitils.io.temp.impl.DefaultTempServiceFactory
 
rootTempDir - Variable in class org.unitils.io.temp.impl.DefaultTempService
 
Row - Class in org.unitils.dbunit.dataset
A data set row
Row() - Constructor for class org.unitils.dbunit.dataset.Row
 
RowDifference - Class in org.unitils.dbunit.dataset.comparison
The difference between 2 data set rows.
RowDifference(Row, Row) - Constructor for class org.unitils.dbunit.dataset.comparison.RowDifference
Create a row difference.
run(RunNotifier) - Method in class org.unitils.UnitilsJUnit4TestClassRunner
 
run(IHookCallBack, ITestResult) - Method in class org.unitils.UnitilsTestNG
Implementation of the hookable interface to be able to call TestListener.beforeTestMethod(java.lang.Object, java.lang.reflect.Method) and TestListener.afterTestMethod(java.lang.Object, java.lang.reflect.Method, java.lang.Throwable).
runBare() - Method in class org.unitils.UnitilsJUnit3
Overriden JUnit3 method to be able to call TestListener.beforeTestSetUp(java.lang.Object, java.lang.reflect.Method) and TestListener.afterTestTearDown(java.lang.Object, java.lang.reflect.Method).
runBeforesThenTestThenAfters(Runnable) - Method in class org.unitils.UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie
Overriden JUnit4 method to be able to call TestListener.afterTestTearDown(java.lang.Object, java.lang.reflect.Method).
runTest() - Method in class org.unitils.UnitilsJUnit3
Overriden JUnit3 method to be able to call TestListener.beforeTestMethod(java.lang.Object, java.lang.reflect.Method) and TestListener.afterTestMethod(java.lang.Object, java.lang.reflect.Method, java.lang.Throwable).
runTestMethod() - Method in class org.unitils.UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie
 
runTests(Class<?>...) - Method in interface org.unitils.TestExecutor
 
runTests(String, Class<?>...) - Method in interface org.unitils.TestExecutor
 

S

same(T) - Static method in class org.unitils.mock.ArgumentMatchers
 
SameArgumentMatcher - Class in org.unitils.mock.argumentmatcher.impl
A matcher that will check whether an argument is the same instance (object identical) as the given value.
SameArgumentMatcher(Object) - Constructor for class org.unitils.mock.argumentmatcher.impl.SameArgumentMatcher
Creates a matcher for the given value.
saveResultInCache(Object, Map<Object, Difference>, boolean) - Method in class org.unitils.reflectionassert.ReflectionComparator
 
scenario - Variable in class org.unitils.mock.core.matching.impl.AssertVerifyingMatchingInvocationHandler
 
scenario - Variable in class org.unitils.mock.core.MockProxy
 
Scenario - Class in org.unitils.mock.core
 
Scenario(Object) - Constructor for class org.unitils.mock.core.Scenario
 
Scenario.VerificationStatus - Enum in org.unitils.mock.core
 
ScenarioReport - Interface in org.unitils.mock.report
Creates a report of the given Scenario.
scenarioThreadLocal - Static variable in class org.unitils.mock.core.MockObject
 
Schema - Class in org.unitils.dbunit.dataset
A data set schema
Schema(String) - Constructor for class org.unitils.dbunit.dataset.Schema
Creates a data set schema.
schemaDataSetMap - Variable in class org.unitils.dbunit.util.MultiSchemaDataSet
 
SchemaDifference - Class in org.unitils.dbunit.dataset.comparison
The differences between 2 data set schemas.
SchemaDifference(Schema, Schema) - Constructor for class org.unitils.dbunit.dataset.comparison.SchemaDifference
Create a schema difference.
SchemaFactory - Class in org.unitils.dbunit.dataset
A builder for creating data set schemas.
SchemaFactory() - Constructor for class org.unitils.dbunit.dataset.SchemaFactory
 
schemasToPreserve - Variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBCleaner
Names of schemas that should left untouched.
schemasToPreserve - Variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Names of schemas that should left untouched.
Script - Class in org.unitils.dbmaintainer.script
A class representing a script file and it's content.
Script(String, Long, ScriptContentHandle) - Constructor for class org.unitils.dbmaintainer.script.Script
Creates a script with the given script fileName, whose content is provided by the given handle.
Script(String, Long, String) - Constructor for class org.unitils.dbmaintainer.script.Script
Creates a script with the given fileName and content checksum.
ScriptContentHandle - Class in org.unitils.dbmaintainer.script
A handle for getting the script content as a stream.
ScriptContentHandle() - Constructor for class org.unitils.dbmaintainer.script.ScriptContentHandle
 
ScriptContentHandle.StringScriptContentHandle - Class in org.unitils.dbmaintainer.script
A handle for getting the script content as a stream.
ScriptContentHandle.StringScriptContentHandle(String) - Constructor for class org.unitils.dbmaintainer.script.ScriptContentHandle.StringScriptContentHandle
Creates a content handle.
ScriptContentHandle.UrlScriptContentHandle - Class in org.unitils.dbmaintainer.script
A handle for getting the script content as a stream.
ScriptContentHandle.UrlScriptContentHandle(URL) - Constructor for class org.unitils.dbmaintainer.script.ScriptContentHandle.UrlScriptContentHandle
Creates a content handle.
ScriptParser - Interface in org.unitils.dbmaintainer.script
An interface for a parser that can parse statements out of a script.
scriptReader - Variable in class org.unitils.dbmaintainer.script.impl.DefaultScriptParser
The reader for the script content stream.
scriptRunner - Variable in class org.unitils.dbmaintainer.DBMaintainer
Executer of the scripts
ScriptRunner - Interface in org.unitils.dbmaintainer.script
Runs a given database script.
scriptSource - Variable in class org.unitils.dbmaintainer.DBMaintainer
Provider of scripts for updating the database to a higher version
ScriptSource - Interface in org.unitils.dbmaintainer.script
A source that provides scripts for updating the database to a given state.
sequencesToPreserve - Variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Names of sequences that should not be dropped per schema.
sequenceUpdater - Variable in class org.unitils.dbmaintainer.DBMaintainer
Database sequence updater
SequenceUpdater - Interface in org.unitils.dbmaintainer.structure
Defines the contract for implementation classes that update all sequences and identity columns of a database to a sufficiently high value, so that test data be inserted easily.
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.
setCurrentLineNr(int) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
Sets the line nr that is being analyzed.
setCustomConfigMethod(Method) - Method in class org.unitils.orm.hibernate.util.UnitilsLocalSessionFactoryBean
 
setDataSetForSchema(String, IDataSet) - Method in class org.unitils.dbunit.util.MultiSchemaDataSet
Sets a dbunit IDataSet for the given schema.
setExecutable(boolean) - Method in class org.unitils.dbmaintainer.script.StatementBuilder
Change the statement executable flag.
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
setIfBestRowDifference(RowDifference) - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
Sets the given difference as best row difference if it is better than the current best row difference.
setIndexes(List<Long>) - Method in class org.unitils.dbmaintainer.version.Version
Sets the indexes.
setInstance(Unitils) - Static method in class org.unitils.core.Unitils
Sets the singleton instance to the given object
setMatchingRow(Row, Row) - Method in class org.unitils.dbunit.dataset.comparison.TableDifference
Indicates a match for the given row.
setMockBehavior(MockBehavior) - Method in class org.unitils.mock.core.BehaviorDefiningInvocation
 
setResult(Object) - Method in class org.unitils.mock.core.ObservedInvocation
Sets the result of the invocation.
setSuccessful(Boolean) - Method in class org.unitils.dbmaintainer.script.ExecutedScript
 
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
 
setTestObject(Object) - Method in class org.unitils.mock.core.Scenario
 
setTestObject(Object) - Method in class org.unitils.orm.hibernate.util.UnitilsLocalSessionFactoryBean
 
setTracingTestListener(TracingTestListener) - Static method in class org.unitils.spring.SpringUnitilsJUnit38TestBase
Sets the tracing test listener that will record all invocations.
setTracingTestListener(TracingTestListener) - Static method in class org.unitils.spring.SpringUnitilsJUnit4TestBase
Sets the tracing test listener that will record all invocations.
setTracingTestListener(TracingTestListener) - Static method in class org.unitils.UnitilsJUnit3TestBase
Sets the tracing test listener that will record all invocations.
setTracingTestListener(TracingTestListener) - Static method in class org.unitils.UnitilsJUnit4TestBase
Sets the tracing test listener that will record all invocations.
setTransactionManagementConfigurations(Set<UnitilsTransactionManagementConfiguration>) - Method in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
 
setUp() - Method in class org.unitils.spring.SpringUnitilsJUnit38TestBase
 
setUp() - Method in class org.unitils.UnitilsJUnit3TestBase
Overidden to register the test setup invocation.
setUp() - Method in class org.unitils.UnitilsJUnit4Test_TestClass1
 
setUp() - Method in class org.unitils.UnitilsJUnit4Test_TestClass2
 
shouldIgnoreTable(String, List<String>) - Method in class org.unitils.dbunit.dataset.SchemaFactory
 
shouldUpdateDatabaseFromScratch(Version, Set<ExecutedScript>) - Method in class org.unitils.dbmaintainer.DBMaintainer
Checks whether the database should be updated from scratch or just incrementally.
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.
SpringApplicationContext - Annotation Type in org.unitils.spring.annotation
This annotation can be used in three different ways: If its value attribute is specified, the goal is to configure a spring ApplicationContext for this test object.
SpringBean - Annotation Type in org.unitils.spring.annotation
This annotation can be used on fields or single-argument void methods, in order to inject a bean from a spring ApplicationContext.
SpringBeanByName - Annotation Type in org.unitils.spring.annotation
This annotation can be used on fields or setter methods, in order to inject a bean from a spring ApplicationContext.
SpringBeanByType - Annotation Type in org.unitils.spring.annotation
This annotation can be used on fields or setter methods, in order to inject a bean from a spring ApplicationContext.
SpringModule - Class in org.unitils.spring
A module for Spring enabling a test class by offering an easy way to load application contexts and an easy way of retrieving beans from the context and injecting them in the test.
SpringModule() - Constructor for class org.unitils.spring.SpringModule
 
SpringModule.SpringTestListener - Class in org.unitils.spring
The TestListener for this module
SpringModule.SpringTestListener() - Constructor for class org.unitils.spring.SpringModule.SpringTestListener
 
SpringUnitils - Class in org.unitils.spring
Utility facade for handling Spring things such as invalidating a cached application context.
SpringUnitils() - Constructor for class org.unitils.spring.SpringUnitils
 
SpringUnitilsAdaptorTestExecutionListener - Class in org.unitils.spring.util
 
SpringUnitilsAdaptorTestExecutionListener() - Constructor for class org.unitils.spring.util.SpringUnitilsAdaptorTestExecutionListener
 
SpringUnitilsJUnit38TestBase - Class in org.unitils.spring
 
SpringUnitilsJUnit38TestBase() - Constructor for class org.unitils.spring.SpringUnitilsJUnit38TestBase
 
SpringUnitilsJUnit4TestBase - Class in org.unitils.spring
 
SpringUnitilsJUnit4TestBase() - Constructor for class org.unitils.spring.SpringUnitilsJUnit4TestBase
 
SqlAssert - Class in org.unitils.database.sqlassert
Assertion class to verify content in the database, by specifying your own SQL and checking the result.
SqlAssert() - Constructor for class org.unitils.database.sqlassert.SqlAssert
 
SQLHandler - Interface in org.unitils.core.dbsupport
 
sqlHandler - Variable in class org.unitils.dbmaintainer.util.BaseDatabaseAccessor
Provides connections to the unit test database
SQLUnitils - Class in org.unitils.database
Utilities for executing statements and queries.
SQLUnitils() - Constructor for class org.unitils.database.SQLUnitils
 
StackTraceUtils - Class in org.unitils.mock.core.proxy
Class offering utilities involving the call stack
StackTraceUtils() - Constructor for class org.unitils.mock.core.proxy.StackTraceUtils
 
startElement(String, String, String, Attributes) - Method in class org.unitils.dbunit.util.MultiSchemaXmlDataSetReader.DataSetContentHandler
Processes an xml element.
startMatchingInvocation(String, Class<T>, MatchingInvocationHandler) - Method in class org.unitils.mock.core.matching.MatchingInvocationBuilder
 
startMatchingInvocation(MatchingInvocationHandler) - Method in class org.unitils.mock.core.MockObject
 
startTransaction(Object) - Method in class org.unitils.database.DatabaseModule
Starts a new transaction on the transaction manager configured in unitils
startTransaction() - Static method in class org.unitils.database.DatabaseUnitils
Starts a new transaction on the transaction manager configured in unitils
startTransaction(Object) - Method in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
Starts the transaction.
startTransaction(Object) - Method in interface org.unitils.database.transaction.UnitilsTransactionManager
Starts a transaction.
startTransactionForTestMethod(Object, Method) - Method in class org.unitils.database.DatabaseModule
Starts a transaction.
statementBuffer - Variable in class org.unitils.dbmaintainer.script.parsingstate.impl.OracleNormalParsingState
Contains the current statement letters (no signs..) with all double whitespace and newlines converted to single whitespace
StatementBuilder - Class in org.unitils.dbmaintainer.script
A class for building statements.
StatementBuilder() - Constructor for class org.unitils.dbmaintainer.script.StatementBuilder
 
StoredIdentifierCase - Enum in org.unitils.core.util
Possible values for the stored identifier case.
storeOriginalTestListener() - Static method in class org.unitils.UnitilsInvocationTestBase
 
storeValueToRestoreAfterTest(Class<?>, String, Class<?>, PropertyAccess, Object, Restore) - Method in class org.unitils.inject.InjectModule
Stores the old value that was replaced during the injection so that it can be restored after the test was performed.
StringConversionStrategy - Class in org.unitils.io.conversion.impl
This conversion strategy will try to convert the input stream into a String.
StringConversionStrategy() - Constructor for class org.unitils.io.conversion.impl.StringConversionStrategy
 
stub() - Method in class org.unitils.mock.core.PartialMockObject
Stubs out (removes) the behavior of the method when the invocation following this call matches the observed behavior.
stub() - Method in interface org.unitils.mock.PartialMock
Stubs out (removes) the behavior of the method when the invocation following this call matches the observed behavior.
StubMockBehavior - Class in org.unitils.mock.mockbehavior.impl
Mock behavior that returns a default value if a value can be returned, nothing happens when the result type is void.
StubMockBehavior() - Constructor for class org.unitils.mock.mockbehavior.impl.StubMockBehavior
 
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.
succeededColumnName - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
The name of the database column in which the script name is stored
SuggestedAssertsReport - Class in org.unitils.mock.report.impl
A view that will return a list of suggested assert statements that one can use in a test for the given scenario.
SuggestedAssertsReport() - Constructor for class org.unitils.mock.report.impl.SuggestedAssertsReport
 
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.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.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.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.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
synonymsToPreserve - Variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Names of synonyms that should not be dropped per schema.

T

Table - Class in org.unitils.dbunit.dataset
A data set table
Table(String) - Constructor for class org.unitils.dbunit.dataset.Table
Creates a data set table.
TableDifference - Class in org.unitils.dbunit.dataset.comparison
The differences between 2 data set tables.
TableDifference(Table, Table) - Constructor for class org.unitils.dbunit.dataset.comparison.TableDifference
Creates a table difference.
tablesToPreserve - Variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBCleaner
The tables that should not be cleaned
tablesToPreserve - Variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Names of tables that should not be dropped per schema.
tearDown() - Method in class org.unitils.spring.SpringUnitilsJUnit38TestBase
 
tearDown() - Method in class org.unitils.UnitilsJUnit3TestBase
Overidden to register the test teardown invocation.
tearDown() - Method in class org.unitils.UnitilsJUnit4Test_TestClass1
 
tearDown() - Method in class org.unitils.UnitilsJUnit4Test_TestClass2
 
TempDir - Annotation Type in org.unitils.io.annotation
Annotation for creating a temporary directory.
TempDirAnnotationHandler - Class in org.unitils.io.annotation.handler
Implements the behavior of the TempDir annotation.
TempDirAnnotationHandler(TempService, Boolean) - Constructor for class org.unitils.io.annotation.handler.TempDirAnnotationHandler
 
tempDirAnnotationHandler - Variable in class org.unitils.io.IOModule.IOTestListener
 
TempFile - Annotation Type in org.unitils.io.annotation
Annotation for creating a temporary file.
TempFileAnnotationHandler - Class in org.unitils.io.annotation.handler
Implements the behavior of the TempFile annotation.
TempFileAnnotationHandler(TempService, boolean) - Constructor for class org.unitils.io.annotation.handler.TempFileAnnotationHandler
 
tempFileAnnotationHandler - Variable in class org.unitils.io.IOModule.IOTestListener
 
tempService - Variable in class org.unitils.io.annotation.handler.TempDirAnnotationHandler
 
tempService - Variable in class org.unitils.io.annotation.handler.TempFileAnnotationHandler
 
tempService - Variable in class org.unitils.io.IOModule
 
TempService - Interface in org.unitils.io.temp
 
TempServiceFactory - Interface in org.unitils.io.temp
 
ternaryOperation(AbstractInsnNode, Value, Value, Value) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
test1() - Method in class org.unitils.UnitilsJUnit3Test_TestClass1
 
test1() - Method in class org.unitils.UnitilsJUnit3Test_TestClass2
 
test1() - Method in class org.unitils.UnitilsJUnit4Test_TestClass1
 
test1() - Method in class org.unitils.UnitilsJUnit4Test_TestClass2
 
test2() - Method in class org.unitils.UnitilsJUnit3Test_TestClass1
 
test2() - Method in class org.unitils.UnitilsJUnit3Test_TestClass2
 
test2() - Method in class org.unitils.UnitilsJUnit4Test_TestClass1
 
test2() - Method in class org.unitils.UnitilsJUnit4Test_TestClass2
 
test3() - Method in class org.unitils.UnitilsJUnit4Test_TestClass1
 
TestContext - Class in org.unitils.core
Object that holds information about the current test execution.
TestContext() - Constructor for class org.unitils.core.TestContext
 
TestDataSource - Annotation Type in org.unitils.database.annotations
Annotation indicating that this field or method should be initialized with the DataSource that supplies a connection to the unit test database.
TestedObject - Annotation Type in org.unitils.inject.annotation
Annotation indicating the object under test.
testedObjectFieldValuesAndNames - Variable in class org.unitils.mock.report.impl.ProxyInvocationsReport
 
TestExecutor - Interface in org.unitils
 
testExecutor - Variable in class org.unitils.UnitilsInvocationTestBase
 
testFramework - Variable in class org.unitils.UnitilsInvocationTestBase
 
TestListener - Class in org.unitils.core
Listener for test events.
TestListener() - Constructor for class org.unitils.core.TestListener
 
testMethod - Variable in class org.unitils.UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie
 
testObject - Variable in class org.unitils.mock.core.Scenario
 
testObject - Variable in class org.unitils.UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie
 
testObjectPlatformTransactionManagerMap - Variable in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
ThreadLocal for holding the PlatformTransactionManager that is used by the current test
testObjectTransactionActiveMap - Variable in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
 
testObjectTransactionStatusMap - Variable in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
ThreadLocal for holding the TransactionStatus that keeps track of the current test's transaction status
throwable - Variable in class org.unitils.UnitilsJUnit4TestClassRunner.TestListenerInvokingMethodRoadie
 
throwException(Throwable) - Method in class org.unitils.UnitilsTestNG
Throws an unchecked excepton for the given throwable.
throwUnitilsException(String) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
Throws a UnitilsException with the given error message.
timestampFormat - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
Format of the contents of the executed_at column
toByteArray(String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Deprecated. Use String.getBytes()
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.
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.

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.
toLineNr - Variable in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
ToplinkJpaProviderSupport - Class in org.unitils.orm.jpa.util.provider.toplink
Implementation of JpaProviderSupport for Oracle Toplink JPA
ToplinkJpaProviderSupport() - Constructor for class org.unitils.orm.jpa.util.provider.toplink.ToplinkJpaProviderSupport
 
toString() - Method in class org.unitils.dbmaintainer.script.Script
Gets a string representation of this script.
toString() - Method in class org.unitils.dbmaintainer.version.Version
 
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. Use String.String(byte[])
toString(byte[], String) - Static method in class org.unitils.thirdparty.org.apache.commons.io.IOUtils
Deprecated. Use String.String(byte[],String)
toString() - Method in class org.unitils.TracingTestListener.Call
 
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.
TracingTestListener - Class in org.unitils
Test listener that records all method invocations.
TracingTestListener() - Constructor for class org.unitils.TracingTestListener
 
tracingTestListener - Variable in class org.unitils.UnitilsInvocationTestBase
 
TracingTestListener.Call - Class in org.unitils
 
TracingTestListener.Call(TracingTestListener.Invocation, Class<?>) - Constructor for class org.unitils.TracingTestListener.Call
 
TracingTestListener.Call(TracingTestListener.Invocation, Class<?>, String) - Constructor for class org.unitils.TracingTestListener.Call
 
TracingTestListener.Call(TracingTestListener.Invocation, Class<?>, String, Throwable) - Constructor for class org.unitils.TracingTestListener.Call
 
TracingTestListener.Invocation - Interface in org.unitils
 
TracingTestListener.InvocationSource - Enum in org.unitils
 
TracingTestListener.ListenerInvocation - Enum in org.unitils
 
TracingTestListener.TestFramework - Enum in org.unitils
 
TracingTestListener.TestInvocation - Enum in org.unitils
 
Transactional - Annotation Type in org.unitils.database.annotations
Annotation enabling to specify if tests should be run in a transaction and, if yes, whether at the end of the test, the transaction should be committed or rollbacked.
transactionManagementConfigurations - Variable in class org.unitils.database.DatabaseModule
Set of possible providers of a spring PlatformTransactionManager
transactionManagementConfigurations - Variable in class org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager
Set of possible providers of a spring PlatformTransactionManager, not null
transactionManager - Variable in class org.unitils.database.DatabaseModule
The transaction manager
TransactionMode - Enum in org.unitils.database.util
Defining the available transaction modes for a test.
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
 
triggersToPreserve - Variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Names of triggers that should not be dropped per schema.
typesToPreserve - Variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Names of types that should not be dropped per schema.
TypeUtils - Class in org.unitils.core.util
Class copied from spring-core.
TypeUtils() - Constructor for class org.unitils.core.util.TypeUtils
 

U

unaryOperation(AbstractInsnNode, Value) - Method in class org.unitils.mock.argumentmatcher.ArgumentMatcherPositionFinder.MethodInterpreter
 
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.
unitilsAfterTestTearDown(Method) - Method in class org.unitils.UnitilsTestNG
Called after all test tear down.
unitilsBeforeClass() - Method in class org.unitils.UnitilsTestNG
Called before a test of a test class is run.
unitilsBeforeTestSetUp(Method) - Method in class org.unitils.UnitilsTestNG
Called before all test setup.
UnitilsConfiguration - Class in org.unitils.core.config
 
UnitilsConfiguration(Properties) - Constructor for class org.unitils.core.config.UnitilsConfiguration
Creates a configuration for the given properties.
UnitilsDataSourceFactoryBean - Class in org.unitils.database
Spring FactoryBean that provides access to the datasource configured in unitils.
UnitilsDataSourceFactoryBean() - Constructor for class org.unitils.database.UnitilsDataSourceFactoryBean
 
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
 
UnitilsHibernateJpaVendorAdapter - Class in org.unitils.orm.jpa.util.provider.hibernate
Custom implementation of spring's HibernateJpaVendorAdapter that supplies a custom subclass of HibernatePeristence as PersistenceProvider for hibernate JPA.
UnitilsHibernateJpaVendorAdapter() - Constructor for class org.unitils.orm.jpa.util.provider.hibernate.UnitilsHibernateJpaVendorAdapter
 
UnitilsHibernatePersistenceProvider - Class in org.unitils.orm.jpa.util.provider.hibernate
Subclass of hibernate's own implementation of javax.persistence.spi.PersistenceProvider.
UnitilsHibernatePersistenceProvider() - Constructor for class org.unitils.orm.jpa.util.provider.hibernate.UnitilsHibernatePersistenceProvider
 
UnitilsInvocationTestBase - Class in org.unitils
Base class for the invocation listener tests.
UnitilsInvocationTestBase(TracingTestListener.TestFramework, TestExecutor) - Constructor for class org.unitils.UnitilsInvocationTestBase
 
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.
UnitilsJUnit3Test_TestClass1 - Class in org.unitils
JUnit 3 test class containing 2 test methods.
UnitilsJUnit3Test_TestClass1() - Constructor for class org.unitils.UnitilsJUnit3Test_TestClass1
 
UnitilsJUnit3Test_TestClass2 - Class in org.unitils
JUnit 3 test class containing 2 test methods.
UnitilsJUnit3Test_TestClass2() - Constructor for class org.unitils.UnitilsJUnit3Test_TestClass2
 
UnitilsJUnit3TestBase - Class in org.unitils
Base class for the JUnit3 test listener tests.
UnitilsJUnit3TestBase() - Constructor for class org.unitils.UnitilsJUnit3TestBase
 
UnitilsJUnit4 - Class in org.unitils
Base test class that will Unitils-enable your test.
UnitilsJUnit4() - Constructor for class org.unitils.UnitilsJUnit4
 
UnitilsJUnit4Test_TestClass1 - Class in org.unitils
JUnit 4 test class containing 2 active and 1 ignored test method.
UnitilsJUnit4Test_TestClass1() - Constructor for class org.unitils.UnitilsJUnit4Test_TestClass1
 
UnitilsJUnit4Test_TestClass2 - Class in org.unitils
JUnit 4 test class containing 2 test methods.
UnitilsJUnit4Test_TestClass2() - Constructor for class org.unitils.UnitilsJUnit4Test_TestClass2
 
UnitilsJUnit4TestBase - Class in org.unitils
Base class for the JUnit4 test listener tests.
UnitilsJUnit4TestBase() - Constructor for class org.unitils.UnitilsJUnit4TestBase
 
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.
UnitilsLocalSessionFactoryBean - Class in org.unitils.orm.hibernate.util
 
UnitilsLocalSessionFactoryBean() - Constructor for class org.unitils.orm.hibernate.util.UnitilsLocalSessionFactoryBean
 
UnitilsTestNG - Class in org.unitils
Base test class that will Unitils-enable your test.
UnitilsTestNG() - Constructor for class org.unitils.UnitilsTestNG
 
UnitilsTransactionManagementConfiguration - Interface in org.unitils.database.transaction.impl
Defines the contract for suppliers of a spring PlatformTransactionManager of a specific subtype, suitable for a given test object.
UnitilsTransactionManager - Interface in org.unitils.database.transaction
Defines the contract for implementations that enable unit tests managed by unitils to be executed in a transaction.
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.
unwrapValueToReturnIfNeeded(Object) - Method in class org.unitils.mock.mockbehavior.impl.ValueReturningMockBehavior
If the value to return is an wrapper object, e.g. a mock, this will return the wrapped instance instead of the wrapper.
updateDatabase() - Method in class org.unitils.database.DatabaseModule
Determines whether the test database is outdated and, if this is the case, updates the database with the latest changes.
updateDatabase(SQLHandler) - Method in class org.unitils.database.DatabaseModule
Determines whether the test database is outdated and, if that is the case, updates the database with the latest changes.
updateDatabase() - Static method in class org.unitils.database.DatabaseUnitils
Determines whether the test database is outdated and, if that is the case, updates the database with the latest changes.
updateDatabase() - Method in class org.unitils.dbmaintainer.DBMaintainer
Checks if the new scripts are available to update the version of the database.
updateDatabase(List<Script>) - Method in class org.unitils.dbmaintainer.DBMaintainer
Updates the state of the database using the given scripts.
updateDatabaseSchemaEnabled - Variable in class org.unitils.database.DatabaseModule
Indicates if the DBMaintainer should be invoked to update the database
updateExecutedScript(ExecutedScript) - Method in interface org.unitils.dbmaintainer.version.ExecutedScriptInfoSource
Updates the given registered script
updateExecutedScript(ExecutedScript) - Method in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
Updates the given registered script
UpdateLoadStrategy - Class in org.unitils.dbunit.datasetloadstrategy.impl
DataSetLoadStrategy that updates the contents of the database with the contents of the dataset.
UpdateLoadStrategy() - Constructor for class org.unitils.dbunit.datasetloadstrategy.impl.UpdateLoadStrategy
 
updateSequences() - Method in class org.unitils.database.DatabaseModule
Updates all sequences that have a value below a certain configurable treshold to become equal to this treshold
updateSequences() - Static method in class org.unitils.database.DatabaseUnitils
Updates all sequences that have a value below a certain configurable treshold to become equal to this treshold
updateSequences() - Method in class org.unitils.dbmaintainer.structure.impl.DefaultSequenceUpdater
Updates all database sequences and identity columns to a sufficiently high value, so that test data be inserted easily.
updateSequences() - Method in interface org.unitils.dbmaintainer.structure.SequenceUpdater
Updates all database sequences and identity columns to a sufficiently high value, so that test data be inserted easily.
useScriptFileLastModificationDates() - Method in class org.unitils.dbmaintainer.script.impl.DefaultScriptSource
 

V

ValidatableMockBehavior - Interface in org.unitils.mock.mockbehavior
todo javadoc
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.database.util.TransactionMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.easymock.util.Calls
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.easymock.util.Dates
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.easymock.util.Defaults
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.easymock.util.InvocationOrder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.easymock.util.Order
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.inject.util.PropertyAccess
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.inject.util.Restore
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.mock.argumentmatcher.ArgumentMatcher.MatchResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.mock.core.Scenario.VerificationStatus
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.
valueOf(String) - Static method in enum org.unitils.TracingTestListener.InvocationSource
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.TracingTestListener.ListenerInvocation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.TracingTestListener.TestFramework
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.unitils.TracingTestListener.TestInvocation
Returns the enum constant of this type with the specified name.
ValueReturningMockBehavior - Class in org.unitils.mock.mockbehavior.impl
Mock behavior that returns a given value.
ValueReturningMockBehavior(Object) - Constructor for class org.unitils.mock.mockbehavior.impl.ValueReturningMockBehavior
Creates the returning behavior for the given value.
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.database.util.TransactionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.easymock.util.Calls
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.easymock.util.Dates
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.easymock.util.Defaults
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.easymock.util.InvocationOrder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.easymock.util.Order
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.inject.util.PropertyAccess
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.inject.util.Restore
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.mock.argumentmatcher.ArgumentMatcher.MatchResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.mock.core.Scenario.VerificationStatus
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.
values() - Static method in enum org.unitils.TracingTestListener.InvocationSource
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.TracingTestListener.ListenerInvocation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.TracingTestListener.TestFramework
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.unitils.TracingTestListener.TestInvocation
Returns an array containing the constants of this enum type, in the order they are declared.
ValueToRestore - Class in org.unitils.inject.util
Class for holding values that need to be restored after a test was performed.
ValueToRestore(Class<?>, String, Class<?>, PropertyAccess, Object) - Constructor for class org.unitils.inject.util.ValueToRestore
 
verify() - Method in class org.unitils.easymock.EasyMockModule
This method makes sure MocksControl.verify() method is called for every mock mock object that was injected to a field annotated with Mock, or directly created by calling EasyMockModule.createRegularMock(Class, InvocationOrder, Calls) or EasyMockModule.createMock(Class, InvocationOrder, Calls, Order, Dates, Defaults).
verify() - Static method in class org.unitils.easymock.EasyMockUnitils
Unit tests can call this method to check whether all recorded expected behavior was actually observed during the test.
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.
Version - Class in org.unitils.dbmaintainer.version
Class representing the version of a database or the version of a script.
Version(List<Long>) - Constructor for class org.unitils.dbmaintainer.version.Version
Creates a new version.
Version(String) - Constructor for class org.unitils.dbmaintainer.version.Version
Creates a new version.
versionColumnName - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
The name of the database column in which the script version is stored
versionColumnSize - Variable in class org.unitils.dbmaintainer.version.impl.DefaultExecutedScriptInfoSource
 
versionSource - Variable in class org.unitils.dbmaintainer.DBMaintainer
Provider of the current version of the database, and means to increment it
viewsToPreserve - Variable in class org.unitils.dbmaintainer.clean.impl.DefaultDBClearer
Names of views that should not be dropped per schema.
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.
wrapDataSourceInTransactionalProxy - Variable in class org.unitils.database.DatabaseModule
Indicates whether the datasource injected onto test fields annotated with @TestDataSource or retrieved using DatabaseModule.getTransactionalDataSourceAndActivateTransactionIfNeeded(java.lang.Object) must be wrapped in a transactional proxy
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

X

XsdDataSetStructureGenerator - Class in org.unitils.dbmaintainer.structure.impl
Implementation of DataSetStructureGenerator that generates xml schema files for data sets.
XsdDataSetStructureGenerator() - Constructor for class org.unitils.dbmaintainer.structure.impl.XsdDataSetStructureGenerator
 

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

Copyright © 2011. All Rights Reserved.