enhance tests (mostly codegen)

* drop dependency on stdlib/alt-headers in the most tests
* assign to myEnvironment at most once in JetLiteFixture
* more tests do not compile runtime
This commit is contained in:
Stepan Koltsov
2012-05-01 19:11:48 +04:00
parent 90910cae34
commit 95f9bcbacb
43 changed files with 379 additions and 44 deletions
@@ -22,6 +22,14 @@ import org.jetbrains.jet.codegen.CodegenTestCase;
import java.lang.reflect.Method;
public class JetNpeTest extends CodegenTestCase {
@Override
protected void setUp() throws Exception {
super.setUp();
createEnvironmentWithMockJdk();
}
public void testStackTrace () {
try {
Intrinsics.throwNpe();