MySQL 5.6.14 Source Code Document
|
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 |
Base class for test cases that use a single EMF.
Definition at line 30 of file SingleEMFTestCase.java.
|
inline |
Check system properties so the tests can be run with overrides.
Reimplemented in com.mysql.clusterj.jpatest.TimestampAsUtilDateTest, com.mysql.clusterj.jpatest.TimestampAsSqlTimestampTest, com.mysql.clusterj.openjpatest.LongLongStringPKOneManyTest, com.mysql.clusterj.openjpatest.OneToManyRelationshipTest, com.mysql.clusterj.openjpatest.LongIntStringPKOneOneTest, com.mysql.clusterj.openjpatest.BasicTest, com.mysql.clusterj.openjpatest.LongLongStringPKTest, com.mysql.clusterj.jpatest.SingleEMTestCase, com.mysql.clusterj.openjpatest.CrundTest, and com.mysql.clusterj.openjpatest.EmbeddedTest.
Definition at line 38 of file SingleEMFTestCase.java.
|
inlineprotected |
Initialize entity manager factory.
props | configuration values in the form key, value, key, value... |
Reimplemented in com.mysql.clusterj.jpatest.SingleEMTestCase.
Definition at line 62 of file SingleEMFTestCase.java.
|
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.