Public Member Functions |
void | localSetUp () |
void | test () |
void | createSession () |
Protected Member Functions |
void | insert () |
void | find () |
void | update () |
void | delete () |
void | createInstances () |
LongIntStringPK | createInstance (int index) |
String | toString (LongIntStringPK instance) |
long | getPK1 (int index) |
int | getPK2 (int index) |
String | getPK3 (int index) |
String | getValue (int index) |
void | verify (LongIntStringPK instance, int index, boolean updated) |
boolean | getDebug () |
void | addTearDownClasses (Class<?>...classes) |
void | createSessionFactory () |
Properties | modifyProperties () |
void | dumpSystemProperties () |
void | error (String message) |
void | error (String context, Exception ex) |
void | errorIfNotEqual (String message, Object expected, Object actual) |
void | errorIfNotEqual (String message, int[] expected, int[] actual) |
void | errorIfEqual (String message, Object expected, Object actual) |
void | failOnError () |
void | closeConnection () |
void | getConnection (Properties extraProperties) |
Connection | getConnection () |
void | getConnection (String propertiesFileName) |
void | loadDriver () |
void | setAutoCommit (Connection connection, boolean b) |
void | initializeErrorMessages () |
void | initializeJDBC () |
void | initializeSchema () |
void | loadProperties () |
void | loadProperties (String propsFileName) |
void | loadSchema () |
void | loadSchemaDefinition () |
void | localTearDown () |
final void | setUp () throws Exception |
final void | tearDown () throws Exception |
void | removeAll (Class<?> cls) |
boolean | testSchema () |
boolean | resetSchema () |
String | dump (List< String > list) |
Additional Inherited Members |
static String | dump (String string) |
static final String | JDBC_DRIVER_NAME = "jdbc.driverName" |
static final String | JDBC_URL = "jdbc.url" |
static Connection | connection |
static String | jdbcDriverName |
static String | jdbcPassword |
static String | jdbcURL |
static String | jdbcUsername |
static Properties | props |
static List< String > | schemaDefinition = new ArrayList<String>() |
static boolean | schemaInitialized = false |
Detailed Description
Definition at line 26 of file LongIntStringPKTest.java.
Member Function Documentation
LongIntStringPK testsuite.clusterj.LongIntStringPKTest.createInstance |
( |
int |
index | ) |
|
|
inlineprotected |
Create an instance of LongIntStringPK.
- Parameters
-
index | the index to use to generate data |
- Returns
- the instance
Definition at line 132 of file LongIntStringPKTest.java.
void testsuite.clusterj.LongIntStringPKTest.createInstances |
( |
| ) |
|
|
inlineprotected |
The strategy for instances is for the "instance number" to create the three keys, such that the value of the instance is: pk1 * PK_MODULUS^2 + pk2 * PK_MODULUS + pk3
Definition at line 120 of file LongIntStringPKTest.java.
void testsuite.clusterj.LongIntStringPKTest.delete |
( |
| ) |
|
|
inlineprotected |
void testsuite.clusterj.LongIntStringPKTest.find |
( |
| ) |
|
|
inlineprotected |
void testsuite.clusterj.LongIntStringPKTest.insert |
( |
| ) |
|
|
inlineprotected |
void testsuite.clusterj.LongIntStringPKTest.localSetUp |
( |
| ) |
|
|
inline |
void testsuite.clusterj.LongIntStringPKTest.update |
( |
| ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: