MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testsuite.clusterj.AbstractClusterJCoreTest Class Reference
Inheritance diagram for testsuite.clusterj.AbstractClusterJCoreTest:
Collaboration diagram for testsuite.clusterj.AbstractClusterJCoreTest:

Protected Member Functions

final void setUp () throws Exception
void localSetUp ()
final void tearDown () throws Exception
void localTearDown ()
void addTearDownClasses (Class...classes)
void createSessionFactory ()
String getA1for (int number, int index)
String getA3for (long i)
void setupDn2idPK ()
void loadSchema ()
void initializeJDBC ()
void loadProperties ()
void getConnection ()
void loadSchemaDefinition ()
boolean testSchema ()
void initializeSchema ()
void dumpSystemProperties ()
void initializeErrorMessages ()
void errorIfNotEqual (String message, Object expected, Object actual)
void error (String message)
void failOnError ()

Protected Attributes

Object[] dn2idPK = new Object[16]
SessionFactory sessionFactory
Session session
Transaction tx

Static Protected Attributes

static Properties props
static String jdbcDriverName
static String jdbcURL
static String jdbcUsername
static String jdbcPassword
static Connection connection
static List< StringschemaDefinition = new ArrayList<String>()
static boolean schemaInitialized = false

Detailed Description

Definition at line 52 of file AbstractClusterJCoreTest.java.

Member Function Documentation

void testsuite.clusterj.AbstractClusterJCoreTest.createSessionFactory ( )
inlineprotected

Get a connection sessionFactory.

Definition at line 187 of file AbstractClusterJCoreTest.java.

Here is the call graph for this function:

void testsuite.clusterj.AbstractClusterJCoreTest.getConnection ( )
inlineprotected

Load JDBC driver

Definition at line 275 of file AbstractClusterJCoreTest.java.

Here is the caller graph for this function:

void testsuite.clusterj.AbstractClusterJCoreTest.initializeJDBC ( )
inlineprotected

Initialize the JDBC driver

Definition at line 262 of file AbstractClusterJCoreTest.java.

Here is the call graph for this function:

Here is the caller graph for this function:

void testsuite.clusterj.AbstractClusterJCoreTest.initializeSchema ( )
inlineprotected

Initialize schema definitions.

Definition at line 349 of file AbstractClusterJCoreTest.java.

Here is the caller graph for this function:

void testsuite.clusterj.AbstractClusterJCoreTest.loadProperties ( )
inlineprotected

Load properties from clusterj.properties

Definition at line 268 of file AbstractClusterJCoreTest.java.

Here is the caller graph for this function:

void testsuite.clusterj.AbstractClusterJCoreTest.loadSchema ( )
inlineprotected

Load the schema for tests

Definition at line 251 of file AbstractClusterJCoreTest.java.

Here is the call graph for this function:

Here is the caller graph for this function:

void testsuite.clusterj.AbstractClusterJCoreTest.localSetUp ( )
inlineprotected

Subclasses may override this method to allocate any data and resources that they need in order to successfully execute this testcase. Adding teardown classes and instances is done in the overridden method.

Definition at line 96 of file AbstractClusterJCoreTest.java.

Here is the caller graph for this function:

void testsuite.clusterj.AbstractClusterJCoreTest.localTearDown ( )
inlineprotected

Subclasses may override this method to deallocate any data and resources that they needed in order to successfully execute this testcase.

Definition at line 134 of file AbstractClusterJCoreTest.java.

Here is the caller graph for this function:

final void testsuite.clusterj.AbstractClusterJCoreTest.setUp ( ) throws Exception
inlineprotected

This method is called by JUnit before each test case in each test class.

Definition at line 86 of file AbstractClusterJCoreTest.java.

Here is the call graph for this function:

final void testsuite.clusterj.AbstractClusterJCoreTest.tearDown ( ) throws Exception
inlineprotected

This method is called by JUnit after each test case in each test class.

Definition at line 102 of file AbstractClusterJCoreTest.java.

Here is the call graph for this function:

Member Data Documentation

Connection testsuite.clusterj.AbstractClusterJCoreTest.connection
staticprotected

The JDBC Connection

Definition at line 167 of file AbstractClusterJCoreTest.java.

String testsuite.clusterj.AbstractClusterJCoreTest.jdbcDriverName
staticprotected

The JDBC Driver name

Definition at line 155 of file AbstractClusterJCoreTest.java.

String testsuite.clusterj.AbstractClusterJCoreTest.jdbcPassword
staticprotected

The JDBC Password

Definition at line 164 of file AbstractClusterJCoreTest.java.

String testsuite.clusterj.AbstractClusterJCoreTest.jdbcURL
staticprotected

The JDBC URL

Definition at line 158 of file AbstractClusterJCoreTest.java.

String testsuite.clusterj.AbstractClusterJCoreTest.jdbcUsername
staticprotected

The JDBC Username

Definition at line 161 of file AbstractClusterJCoreTest.java.

Properties testsuite.clusterj.AbstractClusterJCoreTest.props
staticprotected

The properties for this test run

Definition at line 152 of file AbstractClusterJCoreTest.java.

List<String> testsuite.clusterj.AbstractClusterJCoreTest.schemaDefinition = new ArrayList<String>()
staticprotected

The Schema initialization statements

Definition at line 170 of file AbstractClusterJCoreTest.java.

boolean testsuite.clusterj.AbstractClusterJCoreTest.schemaInitialized = false
staticprotected

Has the schema been initialized

Definition at line 173 of file AbstractClusterJCoreTest.java.

Session testsuite.clusterj.AbstractClusterJCoreTest.session
protected

The connection. Local setUp should initialize this if needed.

Definition at line 179 of file AbstractClusterJCoreTest.java.

SessionFactory testsuite.clusterj.AbstractClusterJCoreTest.sessionFactory
protected

The connection sessionFactory.

Definition at line 176 of file AbstractClusterJCoreTest.java.

Transaction testsuite.clusterj.AbstractClusterJCoreTest.tx
protected

The transaction. Local setUp should initialize this if needed.

Definition at line 182 of file AbstractClusterJCoreTest.java.


The documentation for this class was generated from the following file: