300301302303304305306307308309310
export.create( true, true ); } protected void runSchemaDrop() { SchemaExport export = new SchemaExport( cfg ); export.drop( true, true ); } private void reportSkip(Skip skip) { reportSkip( skip.reason, skip.testDescription ); }
102103104105106107108109110111112
// if schema validator chooses the bad db schema, then the testcase will fail (exception) SchemaValidator sv = new SchemaValidator(getCfg()); sv.validate(); // it's time to clean our database se.drop(true,true); // then the schemas and false table. stat.execute("DROP TABLE \"SA\".\"Team\" "); stat.execute(" DROP SCHEMA sa ");
137138139140141142143144145146147
173174175176177178179180181182183
} catch(HibernateException he) { } // it's time to clean our database se.drop(true,true); // then the schemas and false table. stat.execute("DROP TABLE \"SA\".\"Team\" "); stat.execute(" DROP SCHEMA sa ");
210211212213214215216217218219220
295296297298299300301302303304305
} protected void runSchemaDrop() { if ( recreateSchema() ) { SchemaExport export = new SchemaExport( cfg ); export.drop( true, true ); } } private void reportSkip(Skip skip) { reportSkip( skip.reason, skip.testDescription );
8687888990919293949596
ensureIndexesAreEmpty(); } protected void tearDown() throws Exception { SchemaExport export = new SchemaExport( cfg ); export.drop( false, true ); searchFactory = null; } protected Directory getDirectory(Class<?> clazz) { return getLuceneEventListener().getSearchFactoryImplementor().getDirectoryProviders( clazz )[0].getDirectory();