[Test] Extract test for EXPECTED_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER
...to separate file. Also, add 3 cases with true-negative reporting: annotation class, value class and secondary constructor. ^KT-59982
This commit is contained in:
committed by
Space Team
parent
489371219f
commit
5623427c6d
+6
@@ -1320,6 +1320,12 @@ public class FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated extends Abst
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectFunInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectedClassConstructorPropertyParameters.kt")
|
||||
public void testExpectedClassConstructorPropertyParameters() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectedClassConstructorPropertyParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitConstructorDelegation.kt")
|
||||
public void testExplicitConstructorDelegation() throws Exception {
|
||||
|
||||
+6
@@ -1320,6 +1320,12 @@ public class FirOldFrontendMPPDiagnosticsWithPsiTestGenerated extends AbstractFi
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectFunInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectedClassConstructorPropertyParameters.kt")
|
||||
public void testExpectedClassConstructorPropertyParameters() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/expectedClassConstructorPropertyParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitConstructorDelegation.kt")
|
||||
public void testExplicitConstructorDelegation() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user