GenericFC Test anfügen

This commit is contained in:
JanUlrich 2018-03-21 17:26:43 +01:00
parent 240d57a8ba
commit 9a735e86dd

View File

@ -16,12 +16,23 @@ public class SuperInterfacesTest {
classes.add(ASTFactory.createClass(TestClass.class)); classes.add(ASTFactory.createClass(TestClass.class));
System.out.println(FCGenerator.toFC(classes)); System.out.println(FCGenerator.toFC(classes));
} }
@Test
public void testGeneric() throws ClassNotFoundException {
Collection<ClassOrInterface> classes = new ArrayList<>();
classes.add(ASTFactory.createClass(TestClassGeneric.class));
System.out.println(FCGenerator.toFC(classes));
}
} }
class TestClass implements Test2, Test3{ class TestClass implements Test2, Test3{
} }
class TestClassGeneric<A,B> implements Test4<A>{
}
interface Test2 { interface Test2 {
} }
@ -29,3 +40,7 @@ interface Test2 {
interface Test3{ interface Test3{
} }
interface Test4<A>{
}