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,16 +16,31 @@ public class SuperInterfacesTest {
classes.add(ASTFactory.createClass(TestClass.class));
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 TestClassGeneric<A,B> implements Test4<A>{
}
interface Test2 {
}
interface Test3{
}
interface Test4<A>{
}