|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
EasyMockModule
EasyMockModule.verify()
to verify the recorded behavior
of all created mocks.
ApplicationContext
s.ApplicationContextFactory
.
EntityManager
and provider specific configuration object
DataSetLoadStrategy
.EasyMockModule.createAndInjectRegularMocksIntoTest(Object)
to
create and inject all mocks on the class.
FileContent
annotation will be handled before the setup of the test.
AfterCreateMock
annotated methods on the test, passing the given mock.
AfterCreateMock
annotated methods on the test, passing the given mock.
ApplicationContextFactory
that creates an instance of
the type ClassPathXmlApplicationContext
.DataSetLoadStrategy
that inserts a dataset, after removal of all data present in the tables specified in the dataset.Connection
, avoid closing if null.
ResultSet
, avoid closing if null.
Statement
, avoid closing if null.
Connection
that was last retrieved using the DbUnitDatabaseConnection.getConnection()
method
Connection
, avoid closing if null and hide
any SQLExceptions that occur.
Connection
, Statement
and
ResultSet
.
ResultSet
, avoid closing if null and hide any
SQLExceptions that occur.
Statement
, avoid closing if null and hide
any SQLExceptions that occur.
Reader
.
Writer
.
InputStream
.
OutputStream
.
Connection
then closes it, avoid closing if null.
Connection
then closes it, avoid closing if null
and hide any SQLExceptions that occur.
InputStream
to an
OutputStream
.
InputStream
to chars on a
Writer
using the default character encoding of the platform.
InputStream
to chars on a
Writer
using the specified character encoding.
Reader
to a Writer
.
Reader
to bytes on an
OutputStream
using the default character encoding of the
platform, and calling flush.
Reader
to bytes on an
OutputStream
using the specified character encoding, and
calling flush.
source
to a file
destination
.
Dummy
annotation on the testObject.
RegularMock
annotated fields.
ApplicationContext
, in which the complete list of the given resources is loaded.
ClassPathXmlApplicationContext
for the given locations on which refresh has not
yet been called
MultiSchemaDataSet
using the given file.
MultiSchemaDataSet
using the given file.
DataSource
IDatabaseConnection
Properties
object, and stores them in a ModulesRepository
.
TestedObject
that are still null after the test fixture, an object is
created of the field's declared type and assigned to the field.
TransactionDefinition
object containing the
necessary transaction parameters.
TestListener
for this moduleDatabaseModule
and
related modulesDataSource
.DbSupport
for an IBM DB2 databaseDBMaintainer
DBMaintainer
, The concrete implementations of all
helper classes are derived from the given Configuration
object.
IDatabaseConnection
interface.DataSource
ConstraintsDisabler
.DBCleaner
.DBClearer
.VersionSource
that stores the version in the database.ScriptSource
that reads script files from the filesystem.SequenceUpdater
.PlatformTransactionManager
.DbSupport
for a Derby database.DataSetStructureGenerator
for the DbUnit FlatXmlDataSet
XML test data files format
todo test and fix for hsqldb (see sample project)File
.
FileContent
annotation.Difference
objects differ.
DtdDataSetStructureGenerator.PROPKEY_DTD_FILENAME
.
XsdDataSetStructureGenerator.PROPKEY_XSD_DIR_NAME
.
SpringApplicationContext
annotation.
Configuration
.
Configuration
.
Configuration
.
Connection
that can be used by DBUnit.
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.
AnnotatedInstanceManager.getInstance(java.lang.Object)
will return an instance.
AnnotatedInstanceManager.hasInstance(Object)
.
JpaProviderSupport
for hibernate JPATestListener
for this moduleSessionFactory
on a test class.HibernateModule
related actions for the SpringModule
.DbSupport
for a hsqldb databaseProperties
Properties
object.
Configuration
Properties
, DataSource
.
Properties
, SQLHandler
.
OrmSpringSupport
, that
implements the dependency to the SpringModule
.
ConfigurationLoader
InjectInto
.
InjectIntoByType
InjectIntoStatic
.
InjectIntoStaticByType
SpringApplicationContext
.
TestDataSource
to every field annotated with TestDataSource
and calls all methods
annotated with TestDataSource
EntityManager
into all fields and methods that are
annotated with javax.persistence.PersistenceContext
EntityManagerFactory
into all fields and methods that are
annotated with javax.persistence.PersistenceUnit
EntityManager
into
fields or methods annotated with javax.persistence.PersistenceContext
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
.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
.InjectModule
should try to inject the object assigned to
the annotated field to a static property of the class defined by the target attribute.InjectModule
should try to inject the object assigned to
the annotated field to a static property of the class defined by the target attribute.EntityManagerFactory
and currently active EntityManager
into fields
or methods of the given target object annotated with javax.persistence.PersistenceUnit
or
javax.persistence.PersistenceContext
, respectively.
EntityManagerFactory
and currently active
EntityManager
into fields or methods or the test object annotated with
javax.persistence.PersistenceUnit
or javax.persistence.PersistenceContext
,
respectively.
TestListener
for this moduleOrmModule.getPersistenceUnitConfigAnnotationClass()
SpringBean
.
SpringBeanByName
.
SpringBeanByType
.
DataSetLoadStrategy
and DataSetFactory
class.
DataSetLoadStrategy
and DataSetFactory
class.
DataSetLoadStrategy
that inserts the contents of the dataset into the database.CglibProxyMethodInterceptor.CglibProxyInvocation
and delegating the
handling to the invocation handler.
File
is newer than the reference
File
.
File
is newer than the specified
Date
.
File
is newer than the specified
time reference.
AnnotationConfigLoader
that looks an EntityManagerFactory
configured using
JpaEntityManagerFactory
anntations.EntityManagerFactory
EntityManagerFactory
configuration parameters.EntityManagerFactory
given a JpaConfig
objectTestListener
for this moduleJpaModule
s functionality.OrmSpringSupport
for JPA.ProxyInvocation
matches this object's predefined Method
and arguments.
LenientMocksControl
should be created
and set intp the annotated field.DbSupport
for a MsSQL database.DbSupport
for a MySql database.InputStream
that emulates
a stream of a specified size.InputStream
that emulates a specified size
which supports marking and does not throw EOFException.
InputStream
that emulates a specified
size with option settings.
Writer
writes all data to the famous /dev/null.JpaProviderSupport
for Oracle Toplink JPADbSupport
for an Oracle database.TestListener
for this moduleOrmConfig
ApplicationContext
that is configured for this class (if any)DbSupport
for a PostgreSql database.read()
method.
read(byte[], offset, length)
method.
DataSourceFactory
that loads the necessary information from a properties file.DatabaseModule.getTransactionalDataSourceAndActivateTransactionIfNeeded(Object)
must be wrapped in a transactional proxy
InputStream
as a list of Strings,
one entry per line, using the default character encoding of the platform.
InputStream
as a list of Strings,
one entry per line, using the specified character encoding.
Reader
as a list of Strings,
one entry per line.
DataSetLoadStrategy
that 'refreshes' the contents of the database with the contents of the dataset.ArgumentMatcherRepository.registerEndOfMatchingInvocation(int, java.lang.String)
has been called,
argument matchers can be registered.
ResourceConfig
that wraps the configurationInjectModule.storeValueToRestoreAfterTest(Class, String, Class, org.unitils.inject.util.PropertyAccess, Object, org.unitils.inject.util.Restore)
.
Connection
then closes it,
avoid closing if null.
Connection
then closes it,
avoid closing if null and hide any SQLExceptions that occur.
TestListener.beforeTestMethod(java.lang.Object, java.lang.reflect.Method)
and
TestListener.afterTestMethod(java.lang.Object, java.lang.reflect.Method, java.lang.Throwable)
.
TestListener.beforeTestSetUp(java.lang.Object, java.lang.reflect.Method)
and TestListener.afterTestTearDown(java.lang.Object, java.lang.reflect.Method)
.
TestListener.afterTestTearDown(java.lang.Object, java.lang.reflect.Method)
.
TestListener.beforeTestMethod(java.lang.Object, java.lang.reflect.Method)
and
TestListener.afterTestMethod(java.lang.Object, java.lang.reflect.Method, java.lang.Throwable)
.
Scenario
.IDataSet
for the given schema.
ApplicationContext
for this
test object.ApplicationContext
.ApplicationContext
.ApplicationContext
.TestListener
for this moduleTempDir
annotation.TempFile
annotation.DataSource
that supplies
a connection to the unit test database.UnitilsException
with the given error message.
String.getBytes()
InputStream
as a character array
using the default character encoding of the platform.
InputStream
as a character array
using the specified character encoding.
Reader
as a character array.
URL
to a File
.
URL
to a File
.
JpaProviderSupport
for Oracle Toplink JPAInputStream
as a String
using the default character encoding of the platform.
InputStream
as a String
using the specified character encoding.
Reader
as a String.
String.String(byte[])
String.String(byte[],String)
File
to a URL
.
PlatformTransactionManager
PlatformTransactionManager
, not null
TestContext
and the
different Module
s.FactoryBean
that provides access to the datasource configured in unitils.HibernateJpaVendorAdapter
that supplies a custom
subclass of HibernatePeristence
as PersistenceProvider
for hibernate JPA.javax.persistence.spi.PersistenceProvider
.PlatformTransactionManager
of a specific subtype, suitable
for a given test object.DataSetLoadStrategy
that updates the contents of the database with the contents of the dataset.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)
.
DatabaseModule.getTransactionalDataSourceAndActivateTransactionIfNeeded(java.lang.Object)
must be wrapped in a transactional proxy
byte[]
to an OutputStream
.
byte[]
to chars on a Writer
using the default character encoding of the platform.
byte[]
to chars on a Writer
using the specified character encoding.
char[]
to a Writer
using the default character encoding of the platform.
char[]
to bytes on an
OutputStream
.
char[]
to bytes on an
OutputStream
using the specified character encoding.
String
to a Writer
.
String
to bytes on an
OutputStream
using the default character encoding of the
platform.
String
to bytes on an
OutputStream
using the specified character encoding.
StringBuffer
to a Writer
.
StringBuffer
to bytes on an
OutputStream
using the default character encoding of the
platform.
StringBuffer
to bytes on an
OutputStream
using the specified character encoding.
/dev/null
.
/dev/null
.
/dev/null
.
/dev/null
.
/dev/null
.
toString()
value of each item in a collection to
the specified File
line by line.
toString()
value of each item in a collection to
the specified File
line by line.
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.
toString()
value of each item in a collection to
an OutputStream
line by line, using the specified character
encoding and the specified line ending.
toString()
value of each item in a collection to
a Writer
line by line, using the specified line ending.
DataSetStructureGenerator
that generates xml schema files for data sets.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |