Extract static functions to CodegenTestUtil

Add Nullable/NotNull annotations
This commit is contained in:
Alexander Udalov
2013-01-25 15:30:12 +04:00
committed by Alexander Udalov
parent 63aacc416f
commit 9bf73cf4b3
13 changed files with 229 additions and 140 deletions
@@ -16,10 +16,13 @@
package org.jetbrains.jet.codegen;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jet.ConfigurationKind;
import java.lang.reflect.Method;
import static org.jetbrains.jet.codegen.CodegenTestUtil.assertThrows;
public class PatternMatchingTest extends CodegenTestCase {
@Override
protected void setUp() throws Exception {
@@ -27,6 +30,7 @@ public class PatternMatchingTest extends CodegenTestCase {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
}
@NotNull
@Override
protected String getPrefix() {
return "patternMatching";