Add test for obsolete KT-6481 Mark deprecated constructor calls with strikethrough

This commit is contained in:
Pavel V. Talanov
2016-03-09 18:41:00 +03:00
parent df3f163ee2
commit c3a1643c6c
3 changed files with 66 additions and 0 deletions
@@ -5088,6 +5088,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("deprecatedConstructor.kt")
public void testDeprecatedConstructor() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/deprecated/deprecatedConstructor.kt");
doTest(fileName);
}
@TestMetadata("deprecatedError.kt")
public void testDeprecatedError() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/deprecated/deprecatedError.kt");