use of org.eclipse.persistence.testing.models.jpa.advanced.AdvancedTableCreator in project eclipselink by eclipse-ee4j.
the class AdvancedCompositePKJunitTest method testSetup.
/**
* The setup is done as a test, both to record its failure, and to allow execution in the server.
*/
public void testSetup() {
new CompositePKTableCreator().replaceTables(JUnitTestCase.getServerSession());
new AdvancedTableCreator().replaceTables(JUnitTestCase.getServerSession());
clearCache();
}
use of org.eclipse.persistence.testing.models.jpa.advanced.AdvancedTableCreator in project eclipselink by eclipse-ee4j.
the class NamedQueryJUnitTest method testSetup.
/**
* Initial setup is done as first test in collection, both to record its failure, and to allow execution in the server.
*/
public void testSetup() {
System.out.println("testSetup");
new AdvancedTableCreator().replaceTables(getServerSession(PUName));
clearCache(PUName);
}
use of org.eclipse.persistence.testing.models.jpa.advanced.AdvancedTableCreator in project eclipselink by eclipse-ee4j.
the class ReportQueryConstructorExpressionTestSuite method testSetup.
/**
* The setup is done as a test, both to record its failure, and to allow execution in the server.
*/
public void testSetup() {
new AdvancedTableCreator().replaceTables(JUnitTestCase.getServerSession());
// create a new EmployeePopulator
EmployeePopulator employeePopulator = new EmployeePopulator();
// Populate the tables
employeePopulator.buildExamples();
// Persist the examples in the database
employeePopulator.persistExample(JUnitTestCase.getServerSession());
clearCache();
}
use of org.eclipse.persistence.testing.models.jpa.advanced.AdvancedTableCreator in project eclipselink by eclipse-ee4j.
the class SQLResultSetMappingTestSuite method testSetup.
/**
* The setup is done as a test, both to record its failure, and to allow execution in the server.
*/
public void testSetup() {
new AdvancedTableCreator().replaceTables(JUnitTestCase.getServerSession());
EmployeePopulator employeePopulator = new EmployeePopulator();
employeePopulator.buildExamples();
// Persist the examples in the database
employeePopulator.persistExample(getServerSession());
clearCache();
}
use of org.eclipse.persistence.testing.models.jpa.advanced.AdvancedTableCreator in project eclipselink by eclipse-ee4j.
the class OptimisticLockForceIncrementTestSuite method testSetup.
public void testSetup() {
new AdvancedTableCreator().replaceTables(JUnitTestCase.getServerSession());
EmployeePopulator employeePopulator = new EmployeePopulator();
employeePopulator.buildExamples();
employeePopulator.persistExample(JUnitTestCase.getServerSession());
clearCache();
}
Aggregations