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
@@ -17,6 +17,7 @@
package org.jetbrains.jet.codegen;
import jet.Tuple2;
import org.jetbrains.jet.lang.resolve.java.CompilerSpecialMode;
import java.lang.reflect.Method;
@@ -24,6 +25,13 @@ import java.lang.reflect.Method;
* @author yole
*/
public class PatternMatchingTest extends CodegenTestCase {
@Override
protected void setUp() throws Exception {
super.setUp();
createEnvironmentWithMockJdk(CompilerSpecialMode.JDK_HEADERS);
}
@Override
protected String getPrefix() {
return "patternMatching";