functional list benchmark and part of rewrite of type info codegen for performance reasons
This commit is contained in:
@@ -24,7 +24,7 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
|
||||
public void testArrayListInheritance() throws Exception {
|
||||
loadFile("classes/inheritingFromArrayList.jet");
|
||||
|
||||
System.out.println(generateToText());
|
||||
final Class aClass = loadClass("Foo", generateClassesInFile());
|
||||
assertInstanceOf(aClass.newInstance(), List.class);
|
||||
}
|
||||
|
||||
@@ -81,6 +81,10 @@ public class FunctionGenTest extends CodegenTestCase {
|
||||
blackBoxFile("regressions/kt395.jet");
|
||||
}
|
||||
|
||||
public void testKt785 () {
|
||||
// blackBoxFile("regressions/kt785.jet");
|
||||
}
|
||||
|
||||
public void testFunction () throws InvocationTargetException, IllegalAccessException {
|
||||
blackBoxFile("functions/functionExpression.jet");
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@ public class TypeInfoTest extends CodegenTestCase {
|
||||
|
||||
public void testInner() throws Exception {
|
||||
blackBoxFile("typeInfo/inner.jet");
|
||||
// System.out.println(generateToText());
|
||||
System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testInheritance() throws Exception {
|
||||
@@ -148,4 +148,3 @@ public class TypeInfoTest extends CodegenTestCase {
|
||||
System.out.println(generateToText());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user