Skip to content

Commit a570566

Browse files
committed
Various code cleanup
1 parent 2df3886 commit a570566

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/SchemaExportTest.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -104,25 +104,6 @@ public void testBothType() {
104104
assertEquals( 0, schemaExport.getExceptions().size() );
105105
}
106106

107-
@Test
108-
public void testGenerateDdlToFile() {
109-
final SchemaExport schemaExport = new SchemaExport();
110-
111-
File outFile = new File("schema.ddl");
112-
schemaExport.setOutputFile( outFile.getPath() );
113-
114-
// do not script to console or export to database
115-
schemaExport.execute( EnumSet.of( TargetType.SCRIPT ), SchemaExport.Action.DROP, metadata );
116-
if ( doesDialectSupportDropTableIfExist() && schemaExport.getExceptions().size() > 0 ) {
117-
assertEquals( 2, schemaExport.getExceptions().size() );
118-
}
119-
assertTrue( outFile.exists() );
120-
121-
//check file is not empty
122-
assertTrue( outFile.length() > 0 );
123-
outFile.delete();
124-
}
125-
126107
@Test
127108
public void testCreateAndDrop() {
128109
final SchemaExport schemaExport = new SchemaExport();

0 commit comments

Comments
 (0)