mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] KTIJ-36513 Added tests
GitOrigin-RevId: 5de8d51703cf645a8b37c5c6d7b833b5b4e8e94e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0ef2dad8a3
commit
560eafac3c
+15
@@ -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
|
||||
+5
@@ -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");
|
||||
|
||||
+5
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user