Index

A B C D E G I M N O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractPdoTest - Class in org.tentackle.pdo.junit
Base class for Junit5 tests on PDO level.
AbstractPdoTest - Class in org.tentackle.pdo.testng
Base class for TestNG tests on PDO level.
AbstractPdoTest() - Constructor for class org.tentackle.pdo.junit.AbstractPdoTest
Creates a test with rollback and one transaction per class.
AbstractPdoTest() - Constructor for class org.tentackle.pdo.testng.AbstractPdoTest
Creates a test with rollback and one transaction per class.
AbstractPdoTest(AbstractPdoTest.TransactionType) - Constructor for class org.tentackle.pdo.junit.AbstractPdoTest
Creates a test with rollback.
AbstractPdoTest(AbstractPdoTest.TransactionType, boolean) - Constructor for class org.tentackle.pdo.junit.AbstractPdoTest
Creates a test.
AbstractPdoTest(AbstractPdoTest.TransactionType) - Constructor for class org.tentackle.pdo.testng.AbstractPdoTest
Creates a test with rollback.
AbstractPdoTest(AbstractPdoTest.TransactionType, boolean) - Constructor for class org.tentackle.pdo.testng.AbstractPdoTest
Creates a test.
AbstractPdoTest.TransactionType - Enum Class in org.tentackle.pdo.junit
The transaction handling for the test class.
AbstractPdoTest.TransactionType - Enum Class in org.tentackle.pdo.testng
The transaction handling for the test class.
afterClass() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Ends the transaction if type is AbstractPdoTest.TransactionType.CLASS.
afterMethod() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Ends the transaction if type is AbstractPdoTest.TransactionType.METHOD.
afterMethod(ITestResult) - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Ends the transaction if type is AbstractPdoTest.TransactionType.METHOD.
awaitOutput(String, long) - Method in class org.tentackle.pdo.testng.ServerProcessWrapper
Waits until the server prints the given marker on a line of its own to standard output.
awaitReady(long) - Method in class org.tentackle.pdo.testng.ServerProcessWrapper
Waits until the server signals that it is ready to accept connections.

B

beforeClass() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Begins the transaction if type is AbstractPdoTest.TransactionType.CLASS.
beforeMethod() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Begins the transaction if type is AbstractPdoTest.TransactionType.METHOD.
beforeMethod() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Begins the transaction if type is AbstractPdoTest.TransactionType.METHOD.
beginTransaction() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Begins a transaction.
beginTransaction() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Begins a transaction.

C

CLASS - Enum constant in enum class org.tentackle.pdo.junit.AbstractPdoTest.TransactionType
transaction per test class.
CLASS - Enum constant in enum class org.tentackle.pdo.testng.AbstractPdoTest.TransactionType
transaction per test class.
close() - Method in class org.tentackle.pdo.testng.ServerProcessWrapper
Stops the server if it is still running.
closeSessionsAndTerminateModificationTracker() - Static method in class org.tentackle.pdo.junit.AbstractPdoTest
Terminates the modification tracker and closes the sessions.
closeSessionsAndTerminateModificationTracker() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Terminates the modification tracker and closes the sessions.
createDatabaseTables(Db) - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Creates the database tables.
The default implementation loads the model from the classpath.
createDatabaseTables(Db) - Method in class org.tentackle.pdo.junit.TestApplication
Creates the database tables.
The default implementation loads the model from the classpath.
createDatabaseTables(Db) - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Creates the database tables.
The default implementation loads the model from the classpath.
createDatabaseTables(Db) - Method in class org.tentackle.pdo.testng.TestApplication
Creates the database tables.
The default implementation loads the model from the classpath.
createDomainContext() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Creates the domain context.
createDomainContext() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Creates the domain context.
createPopulateScript(Db) - Method in class org.tentackle.pdo.test.DbTestUtilities
Creates the SQL script to populate the database.
Used for in-memory test connections.
Loads the model from the classpath.

D

DbTestUtilities - Class in org.tentackle.pdo.test
Low-level session utility methods for tests.
DbTestUtilities() - Constructor for class org.tentackle.pdo.test.DbTestUtilities
 

E

endTransaction() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Commits or rolls back a transaction.
endTransaction() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Commits or rolls back a transaction.

G

getDomainContext() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Gets the domain context.
getDomainContext() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Gets the domain context.
getInstance() - Static method in class org.tentackle.pdo.test.DbTestUtilities
The singleton.
getProcess() - Method in class org.tentackle.pdo.testng.ServerProcessWrapper
Gets the wrapped process.
getSession() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Gets the session.
getSession() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Gets the session.
getUser(DomainContext, long) - Method in class org.tentackle.pdo.junit.TestApplication
 
getUser(DomainContext, long) - Method in class org.tentackle.pdo.testng.TestApplication
 

I

isCommit() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Returns whether the transaction should be committed or rolled back.
isCommit() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Returns whether the transaction should be committed or rolled back.
isRollbackLogged() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Returns whether statements rolled back are always logged.
isRollbackLogged() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Returns whether statements rolled back are always logged.

M

METHOD - Enum constant in enum class org.tentackle.pdo.junit.AbstractPdoTest.TransactionType
transaction per test method.
METHOD - Enum constant in enum class org.tentackle.pdo.testng.AbstractPdoTest.TransactionType
transaction per test method.

N

NONE - Enum constant in enum class org.tentackle.pdo.junit.AbstractPdoTest.TransactionType
no automatic transaction handling.
NONE - Enum constant in enum class org.tentackle.pdo.testng.AbstractPdoTest.TransactionType
no automatic transaction handling.

O

openSession() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Opens the session.
openSession() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Opens the session.
openSessionsAndStartModificationTracker() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Opens the sessions and starts the modification tracker exactly once.
If the database is in-memory, it will be populated before the tracker is started.
openSessionsAndStartModificationTracker() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Opens the sessions and starts the modification tracker.
If the database is in-memory, it will be populated before the tracker is started.
org.tentackle.pdo.junit - package org.tentackle.pdo.junit
 
org.tentackle.pdo.test - package org.tentackle.pdo.test
 
org.tentackle.pdo.testng - package org.tentackle.pdo.testng
 

P

populateDatabase() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Populates the database with test data.
populateDatabase() - Method in class org.tentackle.pdo.junit.TestApplication
Populates the database with test data.
populateDatabase() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Populates the database with test data.
populateDatabase() - Method in class org.tentackle.pdo.testng.TestApplication
Populates the database with test data.

R

READY_MARKER - Static variable in class org.tentackle.pdo.testng.ServerProcessWrapper
Marker a cooperating helper server prints on its own line to standard output once it is ready to accept connections.
runClass(Class, String...) - Static method in class org.tentackle.pdo.junit.AbstractPdoTest
Runs the given class in another JVM and waits for termination.
The test class must have a main method.
runClass(Class, String...) - Static method in class org.tentackle.pdo.testng.AbstractPdoTest
Runs the given class in another JVM and waits for termination.
The test class must have a main method.
runInOtherJVM(Class) - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Runs the given class in another JVM.
The test class must have a main method.
runInOtherJVM(Class) - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Runs the given class in another JVM.
The test class must have a main method.
runPostCommits() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Invokes the pre-commits, if any.
Useful for special test scenarios, since tests are usually rolled back.
runPostCommits() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Invokes the pre-commits, if any.
Useful for special test scenarios, since tests are usually rolled back.
runPreCommits() - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Invokes the pre-commits, if any.
Useful for special test scenarios, since tests are usually rolled back.
runPreCommits() - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Invokes the pre-commits, if any.
Useful for special test scenarios, since tests are usually rolled back.
runScript(Db, String) - Method in class org.tentackle.pdo.test.DbTestUtilities
Runs an SQL script.

S

sendCommand(String) - Method in class org.tentackle.pdo.testng.ServerProcessWrapper
Sends a command line to the server via its standard input.
ServerProcessWrapper - Class in org.tentackle.pdo.testng
A wrapper for a server process to orchestrate deterministic startup, hand-shaking, and shutdown orchestration between a client and a server process started in separate JVMs.
ServerProcessWrapper(Process) - Constructor for class org.tentackle.pdo.testng.ServerProcessWrapper
Wraps a freshly started subprocess and begins draining its output.
setRollbackLogged(boolean) - Method in class org.tentackle.pdo.junit.AbstractPdoTest
Sets whether to log the statements rolled back.
By default, the statements are not logged if the test succeeds.
setRollbackLogged(boolean) - Method in class org.tentackle.pdo.testng.AbstractPdoTest
Sets whether to log the statements rolled back.
By default, the statements are not logged if the test succeeds.
setUpClass() - Method in class org.tentackle.pdo.testng.TestApplication
 
startup() - Method in class org.tentackle.pdo.junit.TestApplication
 
startup() - Method in class org.tentackle.pdo.testng.TestApplication
 
stopAndWait() - Method in class org.tentackle.pdo.testng.ServerProcessWrapper
Signals the server to stop and waits for it to terminate.

T

tearDownClass() - Static method in class org.tentackle.pdo.junit.TestApplication
 
tearDownClass() - Method in class org.tentackle.pdo.testng.TestApplication
 
TestApplication - Class in org.tentackle.pdo.junit
Base class for Junit5 tests that must run as an application.
TestApplication - Class in org.tentackle.pdo.testng
Base class for TestNG tests that must run as an application.
TestApplication(String, String) - Constructor for class org.tentackle.pdo.junit.TestApplication
Creates a test application.
TestApplication(String, String) - Constructor for class org.tentackle.pdo.testng.TestApplication
Creates a test application.

V

valueOf(String) - Static method in enum class org.tentackle.pdo.junit.AbstractPdoTest.TransactionType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.tentackle.pdo.testng.AbstractPdoTest.TransactionType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.tentackle.pdo.junit.AbstractPdoTest.TransactionType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.tentackle.pdo.testng.AbstractPdoTest.TransactionType
Returns an array containing the constants of this enum class, in the order they are declared.

W

waitForProcess(Process) - Static method in class org.tentackle.pdo.junit.AbstractPdoTest
Waits for the process to terminate and write stdout and stderr to the junit log.
waitForProcess(Process) - Static method in class org.tentackle.pdo.testng.AbstractPdoTest
Waits for the process to terminate and write stdout and stderr to the reporter log.
A B C D E G I M N O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values