Add various test for DeprecatedSinceKotlin annotation

This commit is contained in:
Mikhail Zarechenskiy
2020-06-17 19:37:44 +03:00
parent 0f2c96c64d
commit 2f55a3fa0d
14 changed files with 125 additions and 0 deletions
@@ -6669,6 +6669,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
runTest("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.kt");
}
@TestMetadata("deprecatedSinceKotlinWithoutArguments.kt")
public void testDeprecatedSinceKotlinWithoutArguments() throws Exception {
runTest("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.kt");
}
@TestMetadata("error.kt")
public void testError() throws Exception {
runTest("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/error.kt");
@@ -6679,6 +6684,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
runTest("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/hidden.kt");
}
@TestMetadata("messageFromDeprecatedAnnotation.kt")
public void testMessageFromDeprecatedAnnotation() throws Exception {
runTest("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.kt");
}
@TestMetadata("warning.kt")
public void testWarning() throws Exception {
runTest("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/warning.kt");