mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-21 21:14:12 +08:00
This commit is contained in:
parent
3ce45f67fc
commit
5eced0e4fb
@ -42,12 +42,15 @@ public class Inheritance10Test {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test(){
|
||||
public void Supertype_fields(){
|
||||
assertEquals(Object.class, QInheritance10Test_Supertype.supertype.fields.getKeyType());
|
||||
assertEquals(Object.class, QInheritance10Test_Supertype.supertype.fields.getValueType());
|
||||
assertEquals(Object.class, QInheritance10Test_Supertype.supertype.fields.getValueType());
|
||||
|
||||
assertEquals(Long.class, QInheritance10Test_Entity1.entity1.fields.getKeyType());
|
||||
assertEquals(String.class, QInheritance10Test_Entity1.entity1.fields.getValueType());
|
||||
|
||||
assertEquals(Long.class, QInheritance10Test_Entity2.entity2.fields.getKeyType());
|
||||
assertEquals(Entity2.class, QInheritance10Test_Entity2.entity2.fields.getValueType());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user