Classes |
| class | DynamicBinaryPK |
| class | DynamicLongvarbinaryPK |
| class | DynamicVarbinaryPK |
Public Member Functions |
| void | localSetUp () |
|
void | test () |
|
void | run (Class<?extends DynamicPK > cls) |
|
void | createSession () |
Protected Member Functions |
|
void | deleteAll (Class<?extends DynamicPK > cls) |
| void | insert () |
| void | find (Class<?extends DynamicPK > cls) |
| void | update (Class<?extends DynamicPK > cls) |
| void | delete (Class<?extends DynamicPK > cls) |
| void | createInstances (Class<?extends DynamicPK > cls) |
| DynamicPK | createInstance (Class<?extends DynamicPK > cls, int index) |
|
String | toString (DynamicPK instance) |
|
byte[] | getPK (int index) |
|
String | getValue (int index) |
|
void | verify (String where, DynamicPK 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 DynamicBinaryPKTest.java.
Member Function Documentation
| DynamicPK testsuite.clusterj.DynamicBinaryPKTest.createInstance |
( |
Class<?extends DynamicPK > |
cls, |
|
|
int |
index |
|
) |
| |
|
inlineprotected |
Create an instance of DynamicPK.
- Parameters
-
| index | the index to use to generate data |
- Returns
- the instance
Definition at line 162 of file DynamicBinaryPKTest.java.
| void testsuite.clusterj.DynamicBinaryPKTest.createInstances |
( |
Class<?extends DynamicPK > |
cls | ) |
|
|
inlineprotected |
The strategy for instances is for the "instance number" to create the keys by creating a byte[] with the encoded number.
Definition at line 149 of file DynamicBinaryPKTest.java.
| void testsuite.clusterj.DynamicBinaryPKTest.delete |
( |
Class<?extends DynamicPK > |
cls | ) |
|
|
inlineprotected |
| void testsuite.clusterj.DynamicBinaryPKTest.find |
( |
Class<?extends DynamicPK > |
cls | ) |
|
|
inlineprotected |
| void testsuite.clusterj.DynamicBinaryPKTest.insert |
( |
| ) |
|
|
inlineprotected |
| void testsuite.clusterj.DynamicBinaryPKTest.localSetUp |
( |
| ) |
|
|
inline |
| void testsuite.clusterj.DynamicBinaryPKTest.update |
( |
Class<?extends DynamicPK > |
cls | ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: