Checked that KT-3596 is not reproducible
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
package p
|
||||||
|
|
||||||
|
import java.lang.Character.*
|
||||||
|
|
||||||
|
fun foo() {
|
||||||
|
M<caret>
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXIST_JAVA_ONLY: MIN_RADIX
|
||||||
|
// EXIST_JAVA_ONLY: MATH_SYMBOL
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
package foo
|
||||||
|
|
||||||
|
import foo.Foo.*
|
||||||
|
|
||||||
|
enum class Foo {
|
||||||
|
AAA
|
||||||
|
}
|
||||||
|
|
||||||
|
fun take(a: Any){}
|
||||||
|
|
||||||
|
fun test() {
|
||||||
|
take(A<caret>)
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
package foo
|
||||||
|
|
||||||
|
import foo.Foo.*
|
||||||
|
|
||||||
|
enum class Foo {
|
||||||
|
AAA
|
||||||
|
}
|
||||||
|
|
||||||
|
fun take(a: Any){}
|
||||||
|
|
||||||
|
fun test() {
|
||||||
|
take(AAA<caret>)
|
||||||
|
}
|
||||||
@@ -234,6 +234,12 @@ public class JSBasicCompletionTestGenerated extends AbstractJSBasicCompletionTes
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("ImportedEnumMembers.kt")
|
||||||
|
public void testImportedEnumMembers() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/ImportedEnumMembers.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("InCallExpression.kt")
|
@TestMetadata("InCallExpression.kt")
|
||||||
public void testInCallExpression() throws Exception {
|
public void testInCallExpression() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/InCallExpression.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/InCallExpression.kt");
|
||||||
|
|||||||
@@ -17,13 +17,10 @@
|
|||||||
package org.jetbrains.jet.completion;
|
package org.jetbrains.jet.completion;
|
||||||
|
|
||||||
import com.intellij.testFramework.TestDataPath;
|
import com.intellij.testFramework.TestDataPath;
|
||||||
import junit.framework.Test;
|
|
||||||
import junit.framework.TestSuite;
|
|
||||||
import org.junit.runner.RunWith;
|
|
||||||
import org.jetbrains.jet.JetTestUtils;
|
import org.jetbrains.jet.JetTestUtils;
|
||||||
import org.jetbrains.jet.test.InnerTestClasses;
|
import org.jetbrains.jet.test.InnerTestClasses;
|
||||||
import org.jetbrains.jet.test.TestMetadata;
|
import org.jetbrains.jet.test.TestMetadata;
|
||||||
import org.jetbrains.jet.JUnit3RunnerWithInners;
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
@@ -234,6 +231,12 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("ImportedEnumMembers.kt")
|
||||||
|
public void testImportedEnumMembers() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/ImportedEnumMembers.kt");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("InCallExpression.kt")
|
@TestMetadata("InCallExpression.kt")
|
||||||
public void testInCallExpression() throws Exception {
|
public void testInCallExpression() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/InCallExpression.kt");
|
String fileName = JetTestUtils.navigationMetadata("idea/testData/completion/basic/common/InCallExpression.kt");
|
||||||
|
|||||||
@@ -153,4 +153,6 @@ public class BasicCompletionHandlerTest : CompletionHandlerTestBase(){
|
|||||||
|
|
||||||
fun testInfixCall() = doTest(1, "to", null, null, '\n')
|
fun testInfixCall() = doTest(1, "to", null, null, '\n')
|
||||||
fun testInfixCallOnSpace() = doTest(1, "to", null, null, ' ')
|
fun testInfixCallOnSpace() = doTest(1, "to", null, null, ' ')
|
||||||
|
|
||||||
|
fun testImportedEnumMember() { doTest(1, "AAA", null, null, '\n') }
|
||||||
}
|
}
|
||||||
@@ -17,10 +17,13 @@
|
|||||||
package org.jetbrains.jet.shortenRefs;
|
package org.jetbrains.jet.shortenRefs;
|
||||||
|
|
||||||
import com.intellij.testFramework.TestDataPath;
|
import com.intellij.testFramework.TestDataPath;
|
||||||
|
import junit.framework.Test;
|
||||||
|
import junit.framework.TestSuite;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
import org.jetbrains.jet.JetTestUtils;
|
import org.jetbrains.jet.JetTestUtils;
|
||||||
import org.jetbrains.jet.test.InnerTestClasses;
|
import org.jetbrains.jet.test.InnerTestClasses;
|
||||||
import org.jetbrains.jet.test.TestMetadata;
|
import org.jetbrains.jet.test.TestMetadata;
|
||||||
import org.junit.runner.RunWith;
|
import org.jetbrains.jet.JUnit3RunnerWithInners;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|||||||
Reference in New Issue
Block a user