Add tests for KT-35468

^KT-35468 Fixed
This commit is contained in:
Denis Zharkov
2020-04-10 16:06:00 +03:00
committed by Ilya Gorbunov
parent 9c2e149b5b
commit c6ae423816
11 changed files with 507 additions and 0 deletions
@@ -226,6 +226,11 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/targetuse.kt");
}
@TestMetadata("throws.kt")
public void testThrows() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/throws.kt");
}
@TestMetadata("TransientOnDelegate.kt")
public void testTransientOnDelegate() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/TransientOnDelegate.kt");
@@ -226,6 +226,11 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/targetuse.kt");
}
@TestMetadata("throws.kt")
public void testThrows() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/throws.kt");
}
@TestMetadata("TransientOnDelegate.kt")
public void testTransientOnDelegate() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/TransientOnDelegate.kt");
@@ -479,6 +479,11 @@ public class CompileJavaAgainstKotlinTestGenerated extends AbstractCompileJavaAg
runTest("compiler/testData/compileJavaAgainstKotlin/method/throws/GenericSubstitution.kt");
}
@TestMetadata("KotlinThrows.kt")
public void testKotlinThrows() throws Exception {
runTest("compiler/testData/compileJavaAgainstKotlin/method/throws/KotlinThrows.kt");
}
@TestMetadata("TopLevel.kt")
public void testTopLevel() throws Exception {
runTest("compiler/testData/compileJavaAgainstKotlin/method/throws/TopLevel.kt");
@@ -1137,6 +1142,11 @@ public class CompileJavaAgainstKotlinTestGenerated extends AbstractCompileJavaAg
runTest("compiler/testData/compileJavaAgainstKotlin/method/throws/GenericSubstitution.kt");
}
@TestMetadata("KotlinThrows.kt")
public void testKotlinThrows() throws Exception {
runTest("compiler/testData/compileJavaAgainstKotlin/method/throws/KotlinThrows.kt");
}
@TestMetadata("TopLevel.kt")
public void testTopLevel() throws Exception {
runTest("compiler/testData/compileJavaAgainstKotlin/method/throws/TopLevel.kt");
@@ -477,6 +477,11 @@ public class IrCompileJavaAgainstKotlinTestGenerated extends AbstractIrCompileJa
runTest("compiler/testData/compileJavaAgainstKotlin/method/throws/GenericSubstitution.kt");
}
@TestMetadata("KotlinThrows.kt")
public void testKotlinThrows() throws Exception {
runTest("compiler/testData/compileJavaAgainstKotlin/method/throws/KotlinThrows.kt");
}
@TestMetadata("TopLevel.kt")
public void testTopLevel() throws Exception {
runTest("compiler/testData/compileJavaAgainstKotlin/method/throws/TopLevel.kt");