[kotlin] KTIJ-36513 Added tests

GitOrigin-RevId: 5de8d51703cf645a8b37c5c6d7b833b5b4e8e94e
This commit is contained in:
Frederik Haselmeier
2025-11-19 18:32:24 +00:00
committed by intellij-monorepo-bot
parent 0ef2dad8a3
commit 560eafac3c
3 changed files with 25 additions and 0 deletions
@@ -0,0 +1,15 @@
class SomePrefixA
class SomePrefixB
class SomePrefixC
open class OpenClass {
open val test: SomePrefixB = SomePrefixB()
}
class DerivedClass : OpenClass() {
override val test = SomePrefix<caret>
}
// ORDER: SomePrefixB, SomePrefixA, SomePrefixC
// IGNORE_K1
// IGNORE_K2
@@ -356,6 +356,11 @@ public abstract class BasicCompletionWeigherTestGenerated extends AbstractBasicC
runTest("../testData/weighers/basic/expectedType/MatchingNullableType.kt");
}
@TestMetadata("overrideWithoutExplicitType.kt")
public void testOverrideWithoutExplicitType() throws Exception {
runTest("../testData/weighers/basic/expectedType/overrideWithoutExplicitType.kt");
}
@TestMetadata("propertyAccessor.kt")
public void testPropertyAccessor() throws Exception {
runTest("../testData/weighers/basic/expectedType/propertyAccessor.kt");
@@ -356,6 +356,11 @@ public abstract class HighLevelWeigherTestGenerated extends AbstractHighLevelWei
runTest("../../completion/testData/weighers/basic/expectedType/MatchingNullableType.kt");
}
@TestMetadata("overrideWithoutExplicitType.kt")
public void testOverrideWithoutExplicitType() throws Exception {
runTest("../../completion/testData/weighers/basic/expectedType/overrideWithoutExplicitType.kt");
}
@TestMetadata("propertyAccessor.kt")
public void testPropertyAccessor() throws Exception {
runTest("../../completion/testData/weighers/basic/expectedType/propertyAccessor.kt");