All Classes and Interfaces
Class
Description
Convenience base class test domain models based on annotated classes
Deprecated, for removal: This API element is subject to removal in a future version.
Applies functional testing logic for core Hibernate testing on top of
BaseUnitTestCase
Applies functional testing logic for core Hibernate testing on top of
BaseUnitTestCase
.Template (GoF pattern) based abstract class for tests bridging the legacy
approach of SessionFactory building as a test fixture
The base unit test adapter.
Implementation of the
JdbcServices
contract for use by tests.Deprecated, for removal: This API element is subject to removal in a future version.
Use JUnit Jupiter along with one of the Hibernate ORM's class-level test annotations
(
BaseUnitTest
,
SessionFactory
,
Jpa
,
SessionFactoryFunctionalTesting
,
ServiceRegistryFunctionalTesting
, ...)
and BeforeAll
.Used to define the bootstrap ServiceRegistry to be used for testing.
Producer of BootstrapServiceRegistry
Indicates an exception while performing a callback on the test
This listener should be called before the discovery request is sent to the test engines.
Mimic a JDK 5 enum.
EnhancementSelector based on class name
Defines the JDBC connection information (currently H2) used by Hibernate for unit (not functional!) tests
This
ConnectionProvider
extends any other ConnectionProvider
that would be used by default taken the current configuration properties.Allows the
CustomRunner
features in parameterized tests.The Hibernate-specific
Runner
implementation which layers ExtendedFrameworkMethod
support on top of the standard JUnit FrameworkMethod
for extra information after checking to make sure the
test should be run.Defines a means to check
Dialect
features for use in "test protection" checks.Container class for different implementation of the
DialectCheck
interface.Container class for different implementation of the
DialectFeatureCheck
interface.Does the database support nationalized data in any form
Does the database specifically support the explicit nationalized data types
JUnit Jupiter extension used to add
RequiresDialect
and SkipForDialect
handlingDescribes a standard domain model
hibernate-testing implementation of a few JUnit5 contracts to support SessionFactory-based testing,
including argument injection (or see
DomainModelScopeAware
)Used by
BytecodeEnhancerRunner
to determine which classes should
be enhanced.Enhancement context used in tests
utility class to use in bytecode enhancement tests
hibernate-testing implementation of a few JUnit5 contracts to support SessionFactory-based testing,
including argument injection (or see
SessionFactoryScopeAware
)Contract for something that can build a SessionFactory.
The keystone in EntityManagerFactoryScopeExtension support.
The thing that actually manages lifecycle of the EntityManagerFactory related to a test class.
Something we want to perform with protection to time it out.
Annotation that can be used, in conjunction with
ExpectedExceptionExtension
,
to indicate that a specific test is expected to fail in a particular way
(throw the specified exception) as its "success condition".TestExecutionExceptionHandler used in conjunction with
ExpectedException
to support annotating tests with a specific exception that indicates a
success (we are expecting that exception in that tested condition).Defines an extension to the standard JUnit
FrameworkMethod
information about a test method.Deprecated, for removal: This API element is subject to removal in a future version.
Use JUnit Jupiter and
FailureExpected
instead.Marks a test method or class as being expected to fail.
JUnit Jupiter extension used to support
FailureExpected
handlingComposite annotation for functional tests that require
a functioning EntityManagerFactory.
A factory for
ConnectionCreator
instances that can be used for Gradle Parallel Testing.JDBC config resolver for parallel tests (uses a Reentrant File System Based Sequence).
Centralized utility functionality
Used as a SettingProvider to enable backwards compatibility regarding
plural
List
mappings when no OrderColumn
,
ListIndexBase
,
CollectionId
or other annotations hinting at
the classification to use.Indicates that an annotations was attached to a method incorrectly.
Specifies the URL to the Jira issue associated with a test.
Grouping annotation for `@Jira`
Identifies the JIRA issue associated with a test.
Grouping annotation for `@JiraKey`
A
ConnectionProvider
implementation intended for testing Hibernate/JTA interaction.A
Logger
implementation which delegates to Log4J2 but makes it possible
to test for events being logged (not logged).Must specify one of
Logger.loggerNameClass()
or Logger.loggerName()
Injects the ability to watch multiple for log messages being triggered.
Manages all of the MessageKeyWatcher defined by LoggingInspectionsScope
ParameterResolver implementation for resolving
LoggingInspectionsScope
ParameterResolverTest helper to listen for logging events.
Identifies specific mapping features used by a
DomainModelDescriptor
.StorageAccess impl wrapping a simple data Map (ConcurrentMap)
Injects the ability to watch for a log messages being triggered.
MessageIdWatcher implementation
A mutable (as in non-`@Immutable`) value.
Indicates that the test tests functionality that has not been implemented yet.
Deprecated, for removal: This API element is subject to removal in a future version.
By definition, something "not yet implemented" is something we are actively seeking to remove
JUnit Jupiter extension used to support
NotImplementedYet
handlingDeprecated, for removal: This API element is subject to removal in a future version.
No replacement with JUnit Jupiter at the moment.
Deprecated, for removal: This API element is subject to removal in a future version.
No replacement with JUnit Jupiter at the moment.
EnhancementSelector based on package name
Implementation of
PersistenceUnitInfo
for testing use.Implementation of
PersistenceUnitInfo
for testing use.TODO : javadoc
This
ConnectionProvider
extends any other ConnectionProvider that would be used by default taken the current configuration properties, and it
intercept the underlying PreparedStatement
method calls.Indicates that the annotated test class/method should only
be run when the indicated Dialect is being used.
Deprecated, for removal: This API element is subject to removal in a future version.
Use JUnit Jupiter and
RequiresDialect
instead.Annotation used to indicate that a test should be run only when the current dialect supports the
specified feature.
Deprecated, for removal: This API element is subject to removal in a future version.
Use JUnit Jupiter and
RequiresDialectFeature
instead.Annotation used to indicate that a test should be run only when the current dialect supports the
specified feature.
Deprecated, for removal: This API element is subject to removal in a future version.
Use JUnit Jupiter and
RequiresDialects
instead.A Java service loadable via
ServiceLoader
A Hibernate Service registration
JUnit extension used to manage the StandardServiceRegistry used by a test including
creating the StandardServiceRegistry and releasing it afterwards
Composite annotation for applying extensions needed for managing
a StandardServiceRegistry as part of the test lifecycle.
ServiceRegistry useful in testing
hibernate-testing implementation of a few JUnit5 contracts to support SessionFactory-based testing,
including argument injection (or see
SessionFactoryScopeAware
)Composite annotation for functional tests that require a functioning SessionFactory.
Contract for something that can build a SessionFactory.
A setting for use in other annotations to define settings for various things.
Annotation to allow providing settings whose values can be
types other than String.
Contract for providing a value
A special connection provider that is shared across test runs for better performance.
Deprecated, for removal: This API element is subject to removal in a future version.
Use JUnit Jupiter and
DisabledOnOs
or DisabledIf
.Simple boolean assertion
Indicates that the annotated test class/method should be skipped
when the indicated Dialect is being used.
Deprecated, for removal: This API element is subject to removal in a future version.
Use JUnit Jupiter and
SkipForDialect
instead.Grouping annotation for
SkipForDialect
Deprecated, for removal: This API element is subject to removal in a future version.
Use JUnit Jupiter and
SkipForDialectGroup
instead.Well-known-location lookup for the test-skip log...
This
ConnectionProvider
extends any other ConnectionProvider that would be used by default taken the current configuration properties, and it
just sets the READ_COMMITTED_SNAPSHOT isolation level for SQL Server.Deprecated.
use
SQLStatementInspector
insteadMakes the JCache RegionFactory available to the Hibernate
StrategySelector
service
under a number of keys.A
LoggerProvider
for JBoss Logger.Metadata about various types of callback methods on a given test class.
A test-specific implementation of the JtaPlatform contract for testing JTA-based functionality.
This
ConnectionProvider
extends any other ConnectionProvider that would be used by default taken the current configuration properties, and it
just sets a default TimeZone which is different than the current default one.Hibernate transaction function without return value
Hibernate transaction function
JDBC transaction function
JDBC transaction function without return value
JPA transaction function
JPA transaction function without return value
Model used mostly by tests referenced by the
documentation
project.The mode how versions shall be matched.
BaseUnitTest
,SessionFactory
,Jpa
,SessionFactoryFunctionalTesting
,ServiceRegistryFunctionalTesting
, ...) andAfterAll
.