[tests] Add tests for conflicting overloads + hidden between open/final
This commit is contained in:
+12
@@ -27207,6 +27207,18 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ConflictingOverloadsFunsDifferentReturnInClass.kt")
|
||||
public void testConflictingOverloadsFunsDifferentReturnInClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsFunsDifferentReturnInClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ConflictingOverloadsIdenticalFunsInClass.kt")
|
||||
public void testConflictingOverloadsIdenticalFunsInClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsIdenticalFunsInClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ConflictingOverloadsIdenticalValsInClass.kt")
|
||||
public void testConflictingOverloadsIdenticalValsInClass() throws Exception {
|
||||
|
||||
+12
@@ -27207,6 +27207,18 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ConflictingOverloadsFunsDifferentReturnInClass.kt")
|
||||
public void testConflictingOverloadsFunsDifferentReturnInClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsFunsDifferentReturnInClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ConflictingOverloadsIdenticalFunsInClass.kt")
|
||||
public void testConflictingOverloadsIdenticalFunsInClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConflictingOverloadsIdenticalFunsInClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ConflictingOverloadsIdenticalValsInClass.kt")
|
||||
public void testConflictingOverloadsIdenticalValsInClass() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user