Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Test_2_SystemAdminSmokeTest extends GroovyTestCase { //GTBT pg. 4
- void testSmoke() {
- // do not remove below code
- // def ds = new org.h2.jdbcx.JdbcDataSource(
- // URL: 'jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;MODE=Oracle',
- // user: 'sa', password: '')
- //
- // def jpaProperties = new Properties()
- // jpaProperties.setProperty(
- // 'hibernate.cache.use_second_level_cache', 'false')
- // jpaProperties.setProperty(
- // 'hibernate.cache.use_query_cache', 'false')
- //
- // def emf = new LocalContainerEntityManagerFactoryBean(
- // dataSource: ds, persistenceUnitName: 'my-domain',
- // jpaVendorAdapter: new HibernateJpaVendorAdapter(
- // database: Database.H2, showSql: true,
- // generateDdl: true), jpaProperties: jpaProperties)
- // ...
- }
- }
- // Problem:
- // * waste
- // * can I really delete that?
- // Solution:
- // * delete
Add Comment
Please, Sign In to add comment