K2: add a pair of KJ tests related to KT-64846 but w/out explicit override

This commit is contained in:
Mikhail Glukhikh
2024-01-26 10:33:59 +01:00
committed by Space Team
parent c0e0b4d32b
commit 49ec30735c
10 changed files with 139 additions and 0 deletions
@@ -22525,6 +22525,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/j+k/collectionOverrides/charAtAndOverload.kt");
}
@Test
@TestMetadata("charAtAndOverloadWithoutExplicitOverride.kt")
public void testCharAtAndOverloadWithoutExplicitOverride() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/collectionOverrides/charAtAndOverloadWithoutExplicitOverride.kt");
}
@Test
@TestMetadata("charBuffer.kt")
public void testCharBuffer() throws Exception {
@@ -22561,6 +22567,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAndOverload.kt");
}
@Test
@TestMetadata("containsAndOverloadWithoutExplicitOverride.kt")
public void testContainsAndOverloadWithoutExplicitOverride() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAndOverloadWithoutExplicitOverride.kt");
}
@Test
@TestMetadata("getCharSequence.kt")
public void testGetCharSequence() throws Exception {
@@ -22525,6 +22525,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/j+k/collectionOverrides/charAtAndOverload.kt");
}
@Test
@TestMetadata("charAtAndOverloadWithoutExplicitOverride.kt")
public void testCharAtAndOverloadWithoutExplicitOverride() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/collectionOverrides/charAtAndOverloadWithoutExplicitOverride.kt");
}
@Test
@TestMetadata("charBuffer.kt")
public void testCharBuffer() throws Exception {
@@ -22561,6 +22567,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAndOverload.kt");
}
@Test
@TestMetadata("containsAndOverloadWithoutExplicitOverride.kt")
public void testContainsAndOverloadWithoutExplicitOverride() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAndOverloadWithoutExplicitOverride.kt");
}
@Test
@TestMetadata("getCharSequence.kt")
public void testGetCharSequence() throws Exception {