Deprecate calls of annotations' methods

This commit is contained in:
Denis Zharkov
2015-04-21 12:51:04 +03:00
parent 29bf24b7d3
commit 1b42e2fdcc
7 changed files with 97 additions and 1 deletions
@@ -43,6 +43,12 @@ public class JetDiagnosticsTestWithStdLibGenerated extends AbstractJetDiagnostic
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/testsWithStdLib/annotations"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("annotationClassMethodCall.kt")
public void testAnnotationClassMethodCall() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations/annotationClassMethodCall.kt");
doTest(fileName);
}
@TestMetadata("ClassObjectAnnotatedWithItsClass.kt")
public void testClassObjectAnnotatedWithItsClass() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations/ClassObjectAnnotatedWithItsClass.kt");