Generate annotations from descriptors, not PSI

This commit is contained in:
Andrey Breslav
2014-12-22 17:24:07 +03:00
parent 830e4dfd98
commit 8ff5cf62cc
5 changed files with 31 additions and 56 deletions
@@ -19,7 +19,6 @@ package org.jetbrains.jet.jvm.compiler;
import com.intellij.testFramework.TestDataPath;
import org.jetbrains.jet.JUnit3RunnerWithInners;
import org.jetbrains.jet.JetTestUtils;
import org.jetbrains.jet.test.InnerTestClasses;
import org.jetbrains.jet.test.TestMetadata;
import org.junit.runner.RunWith;
@@ -36,6 +35,12 @@ public class CompileKotlinAgainstKotlinTestGenerated extends AbstractCompileKotl
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/compileKotlinAgainstKotlin"), Pattern.compile("^(.+)\\.A.kt$"), true);
}
@TestMetadata("AnnotationInTrait.A.kt")
public void testAnnotationInTrait() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/compileKotlinAgainstKotlin/AnnotationInTrait.A.kt");
doTest(fileName);
}
@TestMetadata("ClassInObject.A.kt")
public void testClassInObject() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/compileKotlinAgainstKotlin/ClassInObject.A.kt");