mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-19 21:00:53 +08:00
#401 Add test
This commit is contained in:
parent
456a3c45da
commit
c0c46b8c40
@ -0,0 +1,33 @@
|
||||
package com.mysema.query.domain;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import com.mysema.query.annotations.QueryEntity;
|
||||
|
||||
public class InterfaceType3Test {
|
||||
|
||||
@QueryEntity
|
||||
interface A {
|
||||
String getA();
|
||||
}
|
||||
|
||||
@QueryEntity
|
||||
interface B {
|
||||
String getB();
|
||||
}
|
||||
|
||||
@QueryEntity
|
||||
interface C extends A, B {
|
||||
String getC();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
assertNotNull(QInterfaceType3Test_C.c1.a);
|
||||
assertNotNull(QInterfaceType3Test_C.c1.b);
|
||||
assertNotNull(QInterfaceType3Test_C.c1.c);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user