| Interface | Description |
|---|---|
| TestClosure |
This Interface should be implemented by Test-Parts which will be encapsulated in transactions.
|
| Class | Description |
|---|---|
| ConnectionDelegate | |
| DataSourceDelegate | |
| PersistenceFactory |
The PersistenceFactory provides
EntityManagers for tests. |
| SimulatedTransactionManager |
Instance used to handle threadlocal transaction-stack.
|
| SinglePersistenceFactory |
Convenience class for tests using only one persistence context in tests named: "testdb".
|
| TestPersistenceFactory |
Persistencefactory with default Handling useable for Cdi-Unit tests with persistence unit "test" Also produces EntityManager, DataSource and
UserTransaction annotated with Qualifier @Default To simplify testing, this TestPersistenceFactory does not require persistence.xml.
|
| TestTransaction | |
| TestTransactionBase |
TestTransaction keeps the information about simulated EJB-Transactions for one EntityManager.
|
| Exception | Description |
|---|---|
| TestTransactionException |
A Runtime used to encapsulate exceptions that occur during TestTransactions.
|
Copyright © 2017–2018. All rights reserved.