[Test] Add more diagnostic tests for cases with expect class in supertypes
Related issues: KT-58845, KT-58881, KT-64187
This commit is contained in:
committed by
Nikolay Lunyak
parent
ed04cca62b
commit
77547c0312
+24
@@ -1935,6 +1935,12 @@ public class FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated extends Abst
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/multiplatform/scopes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Scopes {
|
||||
@Test
|
||||
@TestMetadata("actualAbstractClassWithAdditionalMembers.kt")
|
||||
public void testActualAbstractClassWithAdditionalMembers() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/scopes/actualAbstractClassWithAdditionalMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("actualFakeOverride.kt")
|
||||
public void testActualFakeOverride() throws Exception {
|
||||
@@ -2024,11 +2030,29 @@ public class FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated extends Abst
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/scopes/manyInterfacesMemberNotImplemented.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mixedFunctionalTypesInSupertypes.kt")
|
||||
public void testMixedFunctionalTypesInSupertypes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/scopes/mixedFunctionalTypesInSupertypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleDefaultsInhereted.kt")
|
||||
public void testMultipleDefaultsInhereted() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/scopes/multipleDefaultsInhereted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleExpectInterfacesImplementation.kt")
|
||||
public void testMultipleExpectInterfacesImplementation() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/scopes/multipleExpectInterfacesImplementation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scopeOfFunInterface.kt")
|
||||
public void testScopeOfFunInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/scopes/scopeOfFunInterface.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+24
@@ -1935,6 +1935,12 @@ public class FirOldFrontendMPPDiagnosticsWithPsiTestGenerated extends AbstractFi
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/multiplatform/scopes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Scopes {
|
||||
@Test
|
||||
@TestMetadata("actualAbstractClassWithAdditionalMembers.kt")
|
||||
public void testActualAbstractClassWithAdditionalMembers() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/scopes/actualAbstractClassWithAdditionalMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("actualFakeOverride.kt")
|
||||
public void testActualFakeOverride() throws Exception {
|
||||
@@ -2024,11 +2030,29 @@ public class FirOldFrontendMPPDiagnosticsWithPsiTestGenerated extends AbstractFi
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/scopes/manyInterfacesMemberNotImplemented.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mixedFunctionalTypesInSupertypes.kt")
|
||||
public void testMixedFunctionalTypesInSupertypes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/scopes/mixedFunctionalTypesInSupertypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleDefaultsInhereted.kt")
|
||||
public void testMultipleDefaultsInhereted() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/scopes/multipleDefaultsInhereted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleExpectInterfacesImplementation.kt")
|
||||
public void testMultipleExpectInterfacesImplementation() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/scopes/multipleExpectInterfacesImplementation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("scopeOfFunInterface.kt")
|
||||
public void testScopeOfFunInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/scopes/scopeOfFunInterface.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user