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

Public Member Functions

void setUp ()
void tearDown () throws Exception
- Public Member Functions inherited from com.mysql.clusterj.jpatest.PersistenceTestCase
void run (TestResult testResult)

Protected Member Functions

void setUp (Object...props)
- Protected Member Functions inherited from com.mysql.clusterj.jpatest.PersistenceTestCase
EntityManagerFactory createEMF (Object...props)
String getPersistenceUnitName ()
EntityManagerFactory createNamedEMF (String pu, Object...props)
boolean closeEMF (EntityManagerFactory emf)
void initializeErrorMessages ()
void error (String message)
void errorIfNotEqual (String message, Object expected, Object actual)
void errorIfNull (String message, Object actual)
void failOnError ()

Protected Attributes

EntityManagerFactory emf
- Protected Attributes inherited from com.mysql.clusterj.jpatest.PersistenceTestCase
TestResult testResult
Map map

Detailed Description

Base class for test cases that use a single EMF.

Definition at line 30 of file SingleEMFTestCase.java.

Member Function Documentation

void com.mysql.clusterj.jpatest.SingleEMFTestCase.setUp ( Object...  props)
inlineprotected

Initialize entity manager factory.

Parameters
propsconfiguration values in the form key, value, key, value...

Reimplemented in com.mysql.clusterj.jpatest.SingleEMTestCase.

Definition at line 62 of file SingleEMFTestCase.java.

Here is the call graph for this function:

void com.mysql.clusterj.jpatest.SingleEMFTestCase.tearDown ( ) throws Exception
inline

Closes the entity manager factory.

Reimplemented from com.mysql.clusterj.jpatest.PersistenceTestCase.

Reimplemented in com.mysql.clusterj.jpatest.SingleEMTestCase.

Definition at line 69 of file SingleEMFTestCase.java.

Here is the call graph for this function:


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