diff --git a/idea/idea-completion/testData/basic/common/InEmptyImport.kt b/idea/idea-completion/testData/basic/common/InEmptyImport.kt index 80138385656..06db9963553 100644 --- a/idea/idea-completion/testData/basic/common/InEmptyImport.kt +++ b/idea/idea-completion/testData/basic/common/InEmptyImport.kt @@ -4,5 +4,5 @@ import // EXIST: java // EXIST_JAVA_ONLY: javax -// EXIST_JS_ONLY: jquery, html5 +// EXIST_JS_ONLY: jquery // ABSENT: Array, Integer diff --git a/idea/idea-completion/testData/basic/java/TopLevelFromStandardLibraryWithoutParam.kt b/idea/idea-completion/testData/basic/java/TopLevelFromStandardLibraryWithoutParam.kt deleted file mode 100644 index f13e4fd0173..00000000000 --- a/idea/idea-completion/testData/basic/java/TopLevelFromStandardLibraryWithoutParam.kt +++ /dev/null @@ -1,10 +0,0 @@ -package testing - -fun someFun() { - defaultDocumentBuilderFa -} - -// Important: This test checks that completion will find top level functions from jars. -// If you going to update it make sure that methods are not auto-imported - -// EXIST: defaultDocumentBuilderFactory \ No newline at end of file diff --git a/idea/idea-completion/testData/basic/js/InPackage.kt b/idea/idea-completion/testData/basic/js/InPackage.kt index 52ce87e83f1..99a06a37d8f 100644 --- a/idea/idea-completion/testData/basic/js/InPackage.kt +++ b/idea/idea-completion/testData/basic/js/InPackage.kt @@ -1,4 +1,4 @@ -package kotlin.js. +package org.w3c. // EXIST: dom // ABSENT: Date, JSON, capitalize diff --git a/idea/idea-completion/tests/org/jetbrains/kotlin/idea/completion/test/JvmBasicCompletionTestGenerated.java b/idea/idea-completion/tests/org/jetbrains/kotlin/idea/completion/test/JvmBasicCompletionTestGenerated.java index 177ce3c7442..84f8bc6286d 100644 --- a/idea/idea-completion/tests/org/jetbrains/kotlin/idea/completion/test/JvmBasicCompletionTestGenerated.java +++ b/idea/idea-completion/tests/org/jetbrains/kotlin/idea/completion/test/JvmBasicCompletionTestGenerated.java @@ -2392,12 +2392,6 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT doTest(fileName); } - @TestMetadata("TopLevelFromStandardLibraryWithoutParam.kt") - public void testTopLevelFromStandardLibraryWithoutParam() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/TopLevelFromStandardLibraryWithoutParam.kt"); - doTest(fileName); - } - @TestMetadata("idea/idea-completion/testData/basic/java/boldOrGrayed") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) diff --git a/libraries/tools/kotlin-gradle-plugin/src/test/resources/testProject/kotlin2JsProject/mainProject/src/main/kotlin/example/main.kt b/libraries/tools/kotlin-gradle-plugin/src/test/resources/testProject/kotlin2JsProject/mainProject/src/main/kotlin/example/main.kt index 4278bd9b1ee..4315e0e63cb 100644 --- a/libraries/tools/kotlin-gradle-plugin/src/test/resources/testProject/kotlin2JsProject/mainProject/src/main/kotlin/example/main.kt +++ b/libraries/tools/kotlin-gradle-plugin/src/test/resources/testProject/kotlin2JsProject/mainProject/src/main/kotlin/example/main.kt @@ -1,6 +1,6 @@ package example -import kotlin.js.dom.html.document +import kotlin.browser.document import example.library.Counter