|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
DBOperation with common jdbc operations.NeedleTestcase with optional additional injection provider.
TestdataBuilder.TestdataBuilder with persistence.
TestdataBuilder without persistence.
T
T and saves the instance.
T and saves the instance.
DatabaseRule provides access to the configured Database and
execute optional configured DBOperation before and after a test.DatabaseTestcase with the global
configured persistence unit name and the global configured
DBOperation.
DatabaseTestcase with the global
configured persistence unit name and overrides the global configured
DBOperation with the given database operation.
DatabaseTestcase with the given
persistence unit name and the global configured DBOperation.
DatabaseTestcase with the given
persistence unit name and overrides the global configured
DBOperation with the given database operation.
MockProvider implementation.TestdataBuilder is constructed with an
EntityManager
Class object associated with the class or
interface with the given string name.
AccessibleObject of the injection target.
Annotation object if an annotation for the specified type is present on the injection target, otherwise null.
Annotation classes for default mock
injections.
InjectionProvider classes.
EntityManager instance which is associated with the
configured persistence context.
EntityManager.
EntityManager, if the test is constructed with a
DatabaseTestcase instance or null otherwise.
EntityManagerFactory.
EntityManagerFactory.
T.
MockProvider
TransactionHelper
TestdataBuilder is constructed with an
EntityManager
ObjectUnderTest.
ObjectUnderTest
instance.ObjectUnderTest instances.T and verifies an injection target.InjectionTargetInformation for Field injection.
InjectionTargetInformation for Method injection.
InjectionTargetInformation for Constructor injection.
JdbcConfiguration
MockProvider
Example:
public void Test {
@Rule
public NeedleRule needle = new NeedleRule();
@Mock
private Queue queue;
@Test
public void test(){
...
}
}
MockProvider implementation.MethodRule for the initialization of the test.ObjectUnderTest.NeedleTestcase with optional additional
injection provider.
TestRule for the initialization of the test.ObjectUnderTest instantiation fails, e.g. if the
associated class object has no corresponding constructor or the class is
abstract, a primitive type or an interface.ObjectUnderTest.postConstruct()
Note: Behavior in an inheritance hierarchy is not defined by the common
annotations specification
Runnable.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||