Switch @JvmStatic diagnostic test to LanguageFeature usage

This commit is contained in:
Mikhael Bogdanov
2018-07-10 13:10:34 +02:00
parent e937fe8258
commit eb745133c9
13 changed files with 145 additions and 0 deletions
@@ -648,6 +648,11 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/constructorProperty.kt");
}
@TestMetadata("constructorProperty_LL13.kt")
public void testConstructorProperty_LL13() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/constructorProperty_LL13.kt");
}
@TestMetadata("constructors.kt")
public void testConstructors() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/constructors.kt");
@@ -688,10 +693,20 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/localFun.kt");
}
@TestMetadata("localFun_LL13.kt")
public void testLocalFun_LL13() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/localFun_LL13.kt");
}
@TestMetadata("property.kt")
public void testProperty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/property.kt");
}
@TestMetadata("property_LL13.kt")
public void testProperty_LL13() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/property_LL13.kt");
}
}
@TestMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations/kClass")
@@ -648,6 +648,11 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/constructorProperty.kt");
}
@TestMetadata("constructorProperty_LL13.kt")
public void testConstructorProperty_LL13() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/constructorProperty_LL13.kt");
}
@TestMetadata("constructors.kt")
public void testConstructors() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/constructors.kt");
@@ -688,10 +693,20 @@ public class DiagnosticsTestWithStdLibUsingJavacGenerated extends AbstractDiagno
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/localFun.kt");
}
@TestMetadata("localFun_LL13.kt")
public void testLocalFun_LL13() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/localFun_LL13.kt");
}
@TestMetadata("property.kt")
public void testProperty() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/property.kt");
}
@TestMetadata("property_LL13.kt")
public void testProperty_LL13() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/jvmStatic/property_LL13.kt");
}
}
@TestMetadata("compiler/testData/diagnostics/testsWithStdLib/annotations/kClass")