public static TestSuite getInsertObjectTestSuite() { TestSuite suite = new TestSuite(); suite.setName("EmployeeUOWBasicInsertObjectTestSuite"); suite.setDescription( "This suite tests the insertion of each object in the employee demo using uow."); EmployeePopulator system = new EmployeePopulator(); suite.addTest(new UnitOfWorkBasicInsertObjectTest(system.basicEmployeeExample1())); suite.addTest(new UnitOfWorkBasicInsertObjectTest(system.basicEmployeeExample2())); suite.addTest(new UnitOfWorkBasicInsertObjectTest(system.basicEmployeeExample3())); suite.addTest(new UnitOfWorkBasicInsertObjectTest(system.basicEmployeeExample4())); suite.addTest(new UnitOfWorkBasicInsertObjectTest(system.basicEmployeeExample5())); return suite; }
public static TestSuite getSRGInsertObjectTestSuite() { TestSuite suite = new TestSuite(); suite.setName("EmployeeInsertObjectTestSuite"); suite.setDescription("This suite tests the insertion of each object in the employee demo."); EmployeePopulator system = new EmployeePopulator(); suite.addTest(new InsertObjectTest(system.basicEmployeeExample1())); suite.addTest(new InsertObjectTest(system.basicEmployeeExample2())); suite.addTest(new InsertObjectTest(system.basicEmployeeExample3())); suite.addTest(new InsertObjectTest(system.basicEmployeeExample4())); suite.addTest(new InsertObjectTest(system.basicEmployeeExample5())); suite.addTest(new InsertObjectTest(system.basicSmallProjectExample1())); suite.addTest(new InsertObjectTest(system.basicSmallProjectExample2())); suite.addTest(new InsertObjectTest(system.basicSmallProjectExample3())); suite.addTest(new InsertObjectTest(system.basicLargeProjectExample1())); suite.addTest(new InsertObjectTest(system.basicLargeProjectExample2())); suite.addTest(new InsertObjectTest(system.basicLargeProjectExample3())); return suite; }