Package org.hibernate.testing.orm.junit
package org.hibernate.testing.orm.junit
-
ClassDescriptionTemplate (GoF pattern) based abstract class for tests bridging the legacy approach of SessionFactory building as a test fixtureUsed to define the bootstrap ServiceRegistry to be used for testing.Producer of BootstrapServiceRegistryContainer class for different implementation of the
DialectFeatureCheck
interface.Does the database support nationalized data in any formDoes the database specifically support the explicit nationalized data typesJUnit 5 extension used to addRequiresDialect
andSkipForDialect
handlinghibernate-testing implementation of a few JUnit5 contracts to support SessionFactory-based testing, including argument injection (or seeDomainModelScopeAware
)hibernate-testing implementation of a few JUnit5 contracts to support SessionFactory-based testing, including argument injection (or seeSessionFactoryScopeAware
)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.Annotation that can be used, in conjunction withExpectedExceptionExtension
, 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 withExpectedException
to support annotating tests with a specific exception that indicates a success (we are expecting that exception in that tested condition).Marks a test method or class as being expected to fail.JUnit 5 extension used to supportFailureExpected
handlingComposite annotation for functional tests that require a functioning EntityManagerFactory.Used as a SettingProvider to enable backwards compatibility regarding pluralList
mappings when noOrderColumn
,ListIndexBase
,CollectionId
or other annotations hinting at the classification to use.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`Must specify one ofLogger.loggerNameClass()
orLogger.loggerName()
Injects the ability to watch multiple for log messages being triggered.Manages all of the MessageKeyWatcher defined by LoggingInspectionsScopeParameterResolver implementation for resolvingLoggingInspectionsScope
ParameterResolverInjects the ability to watch for a log messages being triggered.MessageIdWatcher implementationIndicates 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 removeJUnit 5 extension used to supportNotImplementedYet
handlingIndicates that the annotated test class/method should only be run when the indicated Dialect is being used.Annotation used to indicate that a test should be run only when the current dialect supports the specified feature.Annotation used to indicate that a test should be run only when the current dialect supports the specified feature.A Java service loadable viaServiceLoader
A Hibernate Service registrationJUnit extension used to manage the StandardServiceRegistry used by a test including creating the StandardServiceRegistry and releasing it afterwardsComposite annotation for applying extensions needed for managing a StandardServiceRegistry as part of the test lifecycle.hibernate-testing implementation of a few JUnit5 contracts to support SessionFactory-based testing, including argument injection (or seeSessionFactoryScopeAware
)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 valueIndicates that the annotated test class/method should be skipped when the indicated Dialect is being used.Grouping annotation forSkipForDialect