Skip to content

Commit c3306c0

Browse files
committed
HHH-18693 Changed existing test class to properly check generated metamodel class
1 parent 8c4eef2 commit c3306c0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/separatecompilationunits/SeparateCompilationUnitsTest.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ public void testInheritance() throws Exception {
2828
String entityMetaModel = getMetaModelSourceAsString( Entity.class );
2929
assertTrue(
3030
entityMetaModel.contains(
31-
"extends org.hibernate.processor.test.separatecompilationunits.superclass.MappedSuperclass"
31+
"import org.hibernate.processor.test.separatecompilationunits.superclass.MappedSuperclass_;"
32+
)
33+
);
34+
assertTrue(
35+
entityMetaModel.contains(
36+
"extends MappedSuperclass_"
3237
)
3338
);
3439
}

0 commit comments

Comments
 (0)