Resolve dangling annotations in files and class bodies

This commit is contained in:
Andrey Breslav
2014-12-25 18:17:05 +03:00
parent e296390dd6
commit 292cb9baa9
16 changed files with 212 additions and 31 deletions
@@ -637,6 +637,24 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("DanglingMixed.kt")
public void testDanglingMixed() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/DanglingMixed.kt");
doTest(fileName);
}
@TestMetadata("DanglingNoBrackets.kt")
public void testDanglingNoBrackets() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/DanglingNoBrackets.kt");
doTest(fileName);
}
@TestMetadata("DanglingWithBrackets.kt")
public void testDanglingWithBrackets() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/DanglingWithBrackets.kt");
doTest(fileName);
}
@TestMetadata("Deprecated.kt")
public void testDeprecated() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/Deprecated.kt");