File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -104,25 +104,6 @@ public void testBothType() {
104
104
assertEquals ( 0 , schemaExport .getExceptions ().size () );
105
105
}
106
106
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
-
126
107
@ Test
127
108
public void testCreateAndDrop () {
128
109
final SchemaExport schemaExport = new SchemaExport ();
You can’t perform that action at this time.
0 commit comments