use hard-coded TypeInfo instances for primitive types

This commit is contained in:
Dmitry Jemerov
2011-06-30 17:18:16 +02:00
parent 8a1b9933e4
commit 01a08ecd04
5 changed files with 48 additions and 1 deletions
@@ -75,6 +75,9 @@ public abstract class CodegenTestCase extends LightCodeInsightFixtureTestCase {
System.out.println(generateToText());
throw new RuntimeException(e);
}
if (!"OK".equals(actual)) {
System.out.println(generateToText());
}
assertEquals("OK", actual);
}
@@ -84,6 +84,10 @@ public class TypeInfoTest extends CodegenTestCase {
generateFunction(); // assert no exception
}
public void testPrimitiveTypeInfo() throws Exception {
blackBoxFile("typeInfo/primitiveTypeInfo.jet");
}
private Runnable newRunnable() {
return new Runnable() {
@Override