Package | Description |
---|---|
org.needle4j.db | |
org.needle4j.db.operation | |
org.needle4j.db.operation.h2 | |
org.needle4j.db.operation.hsql | |
org.needle4j.junit | |
org.needle4j.junit.testrule | |
org.needle4j.testng |
Constructor and Description |
---|
DatabaseTestcase(DBOperation dbOperation)
Creates an instance of
DatabaseTestcase with the global
configured persistence unit name and overrides the global configured
DBOperation with the given database operation. |
DatabaseTestcase(DBOperation dbOperation,
Class<?>... clazzes)
Deprecated.
|
DatabaseTestcase(String persistenceUnitName,
DBOperation dbOperation)
Creates an instance of
DatabaseTestcase with the given
persistence unit name and overrides the global configured
DBOperation with the given database operation. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDBOperation
An abstract implementation of
DBOperation with common jdbc
operations. |
class |
ExecuteScriptOperation
Execute before and after sql scripts in test setup and tear down.
|
Modifier and Type | Class and Description |
---|---|
class |
H2DeleteOperation
Delete everything from the DB: This cannot be done with the JPA, because the
order of deletion matters.
|
Modifier and Type | Class and Description |
---|---|
class |
HSQLDeleteOperation
Delete everything from the DB: This cannot be done with the JPA, because the
order of deletion matters.
|
Constructor and Description |
---|
DatabaseRule(DBOperation dbOperation) |
DatabaseRule(DBOperation dbOperation,
Class<?>... clazzes)
Deprecated.
|
DatabaseRule(String persistenceUnitName,
DBOperation dbOperation) |
Constructor and Description |
---|
DatabaseTestRule(DBOperation dbOperation) |
DatabaseTestRule(String persistenceUnitName,
DBOperation dbOperation) |
Constructor and Description |
---|
DatabaseTestcase(DBOperation dbOperation) |
DatabaseTestcase(DBOperation dbOperation,
Class<?>... clazzes)
Deprecated.
|
DatabaseTestcase(String persistenceUnitName,
DBOperation dbOperation) |
Copyright © 2014. All rights reserved.