mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] Extract FIR tests to a separate module
GitOrigin-RevId: 3a8526bf352dffa562434077232e6d3575edf4d9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2523e7dee2
commit
a1f06ea962
Generated
+1
@@ -1364,6 +1364,7 @@
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/kotlin/fir-low-level-api-ide-impl/kotlin.fir.fir-low-level-api-ide-impl.iml" filepath="$PROJECT_DIR$/plugins/kotlin/fir-low-level-api-ide-impl/kotlin.fir.fir-low-level-api-ide-impl.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/kotlin/frontend-independent/kotlin.fir.frontend-independent.iml" filepath="$PROJECT_DIR$/plugins/kotlin/frontend-independent/kotlin.fir.frontend-independent.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/kotlin/frontend-independent/tests/kotlin.fir.frontend-independent.tests.iml" filepath="$PROJECT_DIR$/plugins/kotlin/frontend-independent/tests/kotlin.fir.frontend-independent.tests.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/kotlin/fir/tests/kotlin.fir.tests.iml" filepath="$PROJECT_DIR$/plugins/kotlin/fir/tests/kotlin.fir.tests.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/kotlin/formatter/kotlin.formatter.iml" filepath="$PROJECT_DIR$/plugins/kotlin/formatter/kotlin.formatter.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/kotlin/git/kotlin.git.iml" filepath="$PROJECT_DIR$/plugins/kotlin/git/kotlin.git.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/kotlin/gradle/code-insight-common/kotlin.gradle.code-insight-common.iml" filepath="$PROJECT_DIR$/plugins/kotlin/gradle/code-insight-common/kotlin.gradle.code-insight-common.iml" />
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<orderEntry type="module" module-name="kotlin.base.fir.analysis-api-providers" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="kotlin.base.code-insight" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="kotlin.project-wizard.core" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="kotlin.fir" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.tests" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="kotlin.uast.uast-kotlin-fir" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.fir-low-level-api-ide-impl" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.frontend-independent.tests" scope="RUNTIME" />
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.utils" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.idea.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.highlighting.k2" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.tests-common" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core.impl" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.analysis" scope="TEST" />
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.inspections-k2.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.idea.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.tests-common" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core.impl" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.analysis" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.editor" scope="TEST" />
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.utils" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.idea.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.frontend-independent.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.tests-common" scope="TEST" />
|
||||
<orderEntry type="library" scope="TEST" name="kotlinc.kotlin-compiler-tests" level="project" />
|
||||
</component>
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.intentions-k2.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.tests-common" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.idea.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core.impl" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.analysis" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.editor" scope="TEST" />
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.impl-base" />
|
||||
<orderEntry type="module" module-name="kotlin.tests-common" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.idea.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.frontend-independent" />
|
||||
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core.ui" />
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<orderEntry type="module" module-name="kotlin.base.test" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.test-framework" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.frontend-independent.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.impl-base" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.idea.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.tests-common" scope="TEST" />
|
||||
|
||||
+1
-1
@@ -17,6 +17,6 @@
|
||||
<orderEntry type="module" module-name="kotlin.tests-common" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.base.util" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.structural-search-k2" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.tests" scope="TEST" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -54,6 +54,7 @@
|
||||
<orderEntry type="module" module-name="intellij.java.indexing" />
|
||||
<orderEntry type="module" module-name="intellij.java.psi.impl" />
|
||||
<orderEntry type="module" module-name="kotlin.fir" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.tests" scope="TEST" />
|
||||
<orderEntry type="library" name="kotlinc.analysis-project-structure" level="project" />
|
||||
<orderEntry type="module" module-name="kotlin.base.indices" scope="TEST" />
|
||||
</component>
|
||||
|
||||
+1
@@ -9,6 +9,7 @@ import org.jetbrains.kotlin.analysis.low.level.api.fir.api.resolveToFirSymbol
|
||||
import org.jetbrains.kotlin.fir.declarations.FirResolvePhase
|
||||
import org.jetbrains.kotlin.fir.renderer.FirRenderer
|
||||
import org.jetbrains.kotlin.fir.symbols.SymbolInternals
|
||||
import org.jetbrains.kotlin.idea.fir.resolveWithClearCaches
|
||||
import org.jetbrains.kotlin.idea.stubindex.KotlinFullClassNameIndex
|
||||
import org.jetbrains.kotlin.idea.test.*
|
||||
import org.jetbrains.kotlin.psi.KtDeclaration
|
||||
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
package org.jetbrains.kotlin.idea.fir.low.level.api
|
||||
|
||||
import org.jetbrains.kotlin.analysis.low.level.api.fir.LLFirResolveSessionService
|
||||
import org.jetbrains.kotlin.analysis.low.level.api.fir.api.LLFirResolveSession
|
||||
import org.jetbrains.kotlin.analysis.project.structure.ProjectStructureProvider
|
||||
import org.jetbrains.kotlin.psi.KtElement
|
||||
|
||||
internal inline fun <R> resolveWithClearCaches(context: KtElement, action: (LLFirResolveSession) -> R): R {
|
||||
val project = context.project
|
||||
val module = ProjectStructureProvider.getModule(project, context, null)
|
||||
val resolveSession = LLFirResolveSessionService.getInstance(project).getFirResolveSessionNoCaching(module)
|
||||
return action(resolveSession)
|
||||
}
|
||||
@@ -20,30 +20,23 @@
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="kotlin.plugin.k2" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core" />
|
||||
<orderEntry type="library" name="kotlin-stdlib" level="project" />
|
||||
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />
|
||||
<orderEntry type="library" name="kotlinc.kotlin-compiler-fe10" level="project" />
|
||||
<orderEntry type="library" name="kotlinc.kotlin-compiler-fir" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="kotlinc.kotlin-compiler-tests" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="gson" level="project" />
|
||||
<orderEntry type="library" name="Guava" level="project" />
|
||||
<orderEntry type="module" module-name="kotlin.base.util" />
|
||||
<orderEntry type="module" module-name="kotlin.base.plugin" />
|
||||
<orderEntry type="module" module-name="kotlin.base.resources" />
|
||||
<orderEntry type="module" module-name="kotlin.core" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.frontend-independent" exported="" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.frontend-independent.tests" scope="TEST" />
|
||||
<orderEntry type="library" name="kotlinc.high-level-api" level="project" />
|
||||
<orderEntry type="library" name="kotlinc.high-level-api-impl-base" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="kotlinc.high-level-api-impl-base-tests" level="project" />
|
||||
<orderEntry type="library" name="kotlinc.high-level-api-fir" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="kotlinc.high-level-api-fir-tests" level="project" />
|
||||
<orderEntry type="library" name="kotlinc.low-level-api-fir" level="project" />
|
||||
<orderEntry type="module" module-name="kotlin.base.psi" />
|
||||
<orderEntry type="module" module-name="kotlin.base.kdoc" />
|
||||
@@ -56,8 +49,6 @@
|
||||
<orderEntry type="module" module-name="kotlin.base.code-insight" />
|
||||
<orderEntry type="module" module-name="kotlin.base.analysis-api.utils" />
|
||||
<orderEntry type="module" module-name="kotlin.compiler-plugins.sam-with-receiver.common" />
|
||||
<orderEntry type="module" module-name="kotlin.tests-common" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.test-framework" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.analysis.impl" />
|
||||
<orderEntry type="module" module-name="intellij.java.psi" />
|
||||
<orderEntry type="module" module-name="intellij.platform.lang" />
|
||||
@@ -66,9 +57,6 @@
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.api" />
|
||||
<orderEntry type="module" module-name="intellij.platform.usageView" />
|
||||
<orderEntry type="module" module-name="intellij.java.psi.impl" />
|
||||
<orderEntry type="module" module-name="intellij.gradle.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.idea.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.gradle.gradle-java.tests" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core.impl" />
|
||||
<orderEntry type="module" module-name="kotlin.uast.uast-kotlin-idea-fir" />
|
||||
<orderEntry type="module" module-name="kotlin.uast.uast-kotlin-fir" scope="RUNTIME" />
|
||||
@@ -88,7 +76,6 @@
|
||||
<orderEntry type="module" module-name="kotlin.base.compiler-configuration" />
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.override-implement-shared" />
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.override-implement-k2" />
|
||||
<orderEntry type="module" module-name="kotlin.completion.tests-shared" scope="TEST" />
|
||||
<orderEntry type="module" module-name="kotlin.bundled-compiler-plugins-support" />
|
||||
<orderEntry type="module" module-name="intellij.platform.workspace.jps" />
|
||||
<orderEntry type="module" module-name="intellij.platform.backend.workspace" />
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import org.jetbrains.kotlin.idea.base.codeInsight.KotlinOptimizeImportsFacility
|
||||
import org.jetbrains.kotlin.idea.base.resources.KotlinBundle
|
||||
import org.jetbrains.kotlin.psi.KtFile
|
||||
|
||||
internal class KotlinFirImportOptimizer : ImportOptimizer {
|
||||
class KotlinFirImportOptimizer : ImportOptimizer {
|
||||
private val optimizeImportsFacility: KotlinOptimizeImportsFacility
|
||||
get() = KotlinOptimizeImportsFacility.getInstance()
|
||||
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
|
||||
package org.jetbrains.kotlin.idea.fir
|
||||
|
||||
import com.intellij.openapi.application.runWriteAction
|
||||
import com.intellij.openapi.components.service
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.util.io.FileUtil
|
||||
import com.intellij.testFramework.LightPlatformTestCase
|
||||
import org.jetbrains.kotlin.analysis.api.KtAnalysisApiInternals
|
||||
import org.jetbrains.kotlin.analysis.low.level.api.fir.project.structure.LLFirBuiltinsSessionFactory
|
||||
import java.io.File
|
||||
import org.jetbrains.kotlin.analysis.providers.KotlinGlobalModificationService
|
||||
|
||||
@OptIn(KtAnalysisApiInternals::class)
|
||||
fun Project.invalidateCaches() {
|
||||
runWriteAction {
|
||||
KotlinGlobalModificationService.getInstance(this).publishGlobalModuleStateModification()
|
||||
}
|
||||
service<LLFirBuiltinsSessionFactory>().clearForTheNextTest()
|
||||
}
|
||||
|
||||
fun addExternalTestFiles(testDataFilePath: String) {
|
||||
File(testDataFilePath).getExternalFiles().forEach(::addFile)
|
||||
}
|
||||
|
||||
private fun addFile(file: File) {
|
||||
addFile(FileUtil.loadFile(file, /* convertLineSeparators = */true), file.name)
|
||||
}
|
||||
|
||||
private fun File.getExternalFiles(): List<File> {
|
||||
val directory = parentFile
|
||||
val externalFileName = "${nameWithoutExtension}.external"
|
||||
return directory.listFiles { _, name ->
|
||||
name == "$externalFileName.kt" || name == "$externalFileName.java"
|
||||
}!!.filterNotNull()
|
||||
}
|
||||
|
||||
|
||||
private fun addFile(text: String, fileName: String) {
|
||||
runWriteAction {
|
||||
val virtualDir = LightPlatformTestCase.getSourceRoot()!!
|
||||
val virtualFile = virtualDir.createChildData(null, fileName)
|
||||
virtualFile.getOutputStream(null)!!.writer().use { it.write(text) }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="kotlin-language" name="Kotlin">
|
||||
<configuration version="5" platform="JVM 17" allPlatforms="JVM [17]" useProjectSettings="false">
|
||||
<compilerSettings>
|
||||
<option name="additionalArguments" value="-Xjvm-default=all -opt-in=org.jetbrains.kotlin.utils.addToStdlib.UnsafeCastFunction -Xcontext-receivers" />
|
||||
</compilerSettings>
|
||||
<compilerArguments>
|
||||
<stringArguments>
|
||||
<stringArg name="jvmTarget" arg="17" />
|
||||
<stringArg name="apiVersion" arg="1.9" />
|
||||
<stringArg name="languageVersion" arg="1.9" />
|
||||
</stringArguments>
|
||||
</compilerArguments>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core" />
|
||||
<orderEntry type="library" name="kotlinc.high-level-api" level="project" />
|
||||
<orderEntry type="library" name="kotlinc.kotlin-compiler-common" level="project" />
|
||||
<orderEntry type="library" name="kotlinc.low-level-api-fir" level="project" />
|
||||
<orderEntry type="library" name="kotlinc.kotlin-compiler-tests" level="project" />
|
||||
<orderEntry type="module" module-name="kotlin.base.analysis" />
|
||||
<orderEntry type="module" module-name="kotlin.base.analysis-api.utils" />
|
||||
<orderEntry type="module" module-name="kotlin.base.plugin" />
|
||||
<orderEntry type="module" module-name="kotlin.base.project-structure" />
|
||||
<orderEntry type="module" module-name="kotlin.base.scripting" />
|
||||
<orderEntry type="module" module-name="kotlin.base.util" />
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.impl-base" />
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.override-implement-shared" />
|
||||
<orderEntry type="module" module-name="kotlin.code-insight.override-implement-k2" />
|
||||
<orderEntry type="module" module-name="kotlin.completion.tests-shared" />
|
||||
<orderEntry type="module" module-name="kotlin.fir" />
|
||||
<orderEntry type="module" module-name="kotlin.fir.frontend-independent.tests" />
|
||||
<orderEntry type="module" module-name="intellij.gradle.tests" />
|
||||
<orderEntry type="module" module-name="kotlin.gradle.gradle-java.tests" />
|
||||
<orderEntry type="module" module-name="kotlin.idea.tests" />
|
||||
<orderEntry type="module" module-name="kotlin.test-framework" />
|
||||
</component>
|
||||
</module>
|
||||
+37
-37
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/idea/actions/kotlinAddImportAction")
|
||||
@TestMetadata("../../idea/tests/testData/idea/actions/kotlinAddImportAction")
|
||||
public class K2AddImportActionTestGenerated extends AbstractK2AddImportActionTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,176 +25,176 @@ public class K2AddImportActionTestGenerated extends AbstractK2AddImportActionTes
|
||||
|
||||
@TestMetadata("Class1.kt")
|
||||
public void testClass1() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/Class1.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/Class1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Class2.kt")
|
||||
public void testClass2() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/Class2.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/Class2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassWhenExtIsImported.kt")
|
||||
public void testClassWhenExtIsImported() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/ClassWhenExtIsImported.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/ClassWhenExtIsImported.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorOverloadsPresent.kt")
|
||||
public void testConstructorOverloadsPresent() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/ConstructorOverloadsPresent.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/ConstructorOverloadsPresent.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtReceiver.kt")
|
||||
public void testExtReceiver() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/ExtReceiver.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/ExtReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtReceiver2.kt")
|
||||
public void testExtReceiver2() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/ExtReceiver2.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/ExtReceiver2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtReceiver3.kt")
|
||||
public void testExtReceiver3() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/ExtReceiver3.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/ExtReceiver3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtReceiver4.kt")
|
||||
public void testExtReceiver4() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/ExtReceiver4.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/ExtReceiver4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtendingClass1.kt")
|
||||
public void testExtendingClass1() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/ExtendingClass1.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/ExtendingClass1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtendingClass2.kt")
|
||||
public void testExtendingClass2() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/ExtendingClass2.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/ExtendingClass2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Flexible.kt")
|
||||
public void testFlexible() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/Flexible.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/Flexible.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KotlinDurations.kt")
|
||||
public void testKotlinDurations() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/KotlinDurations.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/KotlinDurations.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KotlinDurations2.kt")
|
||||
public void testKotlinDurations2() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/KotlinDurations2.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/KotlinDurations2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KotlinMinCollections.kt")
|
||||
public void testKotlinMinCollections() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/KotlinMinCollections.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/KotlinMinCollections.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KotlinMinInt.kt")
|
||||
public void testKotlinMinInt() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/KotlinMinInt.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/KotlinMinInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MultipleMethodsAvailable.kt")
|
||||
public void testMultipleMethodsAvailable() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/MultipleMethodsAvailable.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/MultipleMethodsAvailable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MultipleMethodsAvailable2.kt")
|
||||
public void testMultipleMethodsAvailable2() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/MultipleMethodsAvailable2.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/MultipleMethodsAvailable2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Nullable1.kt")
|
||||
public void testNullable1() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/Nullable1.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/Nullable1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Nullable2.kt")
|
||||
public void testNullable2() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/Nullable2.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/Nullable2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Nullable3.kt")
|
||||
public void testNullable3() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/Nullable3.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/Nullable3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("OverloadsPresent.kt")
|
||||
public void testOverloadsPresent() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/OverloadsPresent.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/OverloadsPresent.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PlusAssignOperator.kt")
|
||||
public void testPlusAssignOperator() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusAssignOperator.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusAssignOperator.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PlusAssignOperator2.kt")
|
||||
public void testPlusAssignOperator2() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusAssignOperator2.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusAssignOperator2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PlusAssignOperatorCall.kt")
|
||||
public void testPlusAssignOperatorCall() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusAssignOperatorCall.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusAssignOperatorCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PlusAssignOperatorCall2.kt")
|
||||
public void testPlusAssignOperatorCall2() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusAssignOperatorCall2.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusAssignOperatorCall2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PlusOperator.kt")
|
||||
public void testPlusOperator() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusOperator.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusOperator.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PlusOperator1.kt")
|
||||
public void testPlusOperator1() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusOperator1.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusOperator1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PlusOperatorCall1.kt")
|
||||
public void testPlusOperatorCall1() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusOperatorCall1.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/PlusOperatorCall1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SingleMethodAvailable.kt")
|
||||
public void testSingleMethodAvailable() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/SingleMethodAvailable.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/SingleMethodAvailable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeAlias.kt")
|
||||
public void testTypeAlias() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/TypeAlias.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/TypeAlias.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VarargSpreadOperator.kt")
|
||||
public void testVarargSpreadOperator() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/VarargSpreadOperator.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/VarargSpreadOperator.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Varargs.kt")
|
||||
public void testVarargs() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/Varargs.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/Varargs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Varargs2.kt")
|
||||
public void testVarargs2() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/Varargs2.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/Varargs2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Varargs3.kt")
|
||||
public void testVarargs3() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/Varargs3.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/Varargs3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("WithStatisticsInfo.kt")
|
||||
public void testWithStatisticsInfo() throws Exception {
|
||||
runTest("../idea/tests/testData/idea/actions/kotlinAddImportAction/WithStatisticsInfo.kt");
|
||||
runTest("../../idea/tests/testData/idea/actions/kotlinAddImportAction/WithStatisticsInfo.kt");
|
||||
}
|
||||
}
|
||||
+21
-21
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/internal/toolWindow")
|
||||
@TestMetadata("../../idea/tests/testData/internal/toolWindow")
|
||||
public class K2BytecodeToolWindowTestGenerated extends AbstractK2BytecodeToolWindowTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,96 +25,96 @@ public class K2BytecodeToolWindowTestGenerated extends AbstractK2BytecodeToolWin
|
||||
|
||||
@TestMetadata("companionObjectJvmField")
|
||||
public void testCompanionObjectJvmField() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/companionObjectJvmField/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/companionObjectJvmField/");
|
||||
}
|
||||
|
||||
@TestMetadata("componentInlineFun")
|
||||
public void testComponentInlineFun() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/componentInlineFun/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/componentInlineFun/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultMethod")
|
||||
public void testDefaultMethod() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/defaultMethod/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/defaultMethod/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultMethodCompatibility")
|
||||
public void testDefaultMethodCompatibility() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/defaultMethodCompatibility/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/defaultMethodCompatibility/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionBodyResolve")
|
||||
public void testInlineFunctionBodyResolve() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/inlineFunctionBodyResolve/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/inlineFunctionBodyResolve/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionDeep1")
|
||||
public void testInlineFunctionDeep1() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/inlineFunctionDeep1/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/inlineFunctionDeep1/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionDeep2")
|
||||
public void testInlineFunctionDeep2() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/inlineFunctionDeep2/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/inlineFunctionDeep2/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionInfixCall")
|
||||
public void testInlineFunctionInfixCall() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/inlineFunctionInfixCall/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/inlineFunctionInfixCall/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionReifiedParam")
|
||||
public void testInlineFunctionReifiedParam() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/inlineFunctionReifiedParam/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/inlineFunctionReifiedParam/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineProperty")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/inlineProperty/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/inlineProperty/");
|
||||
}
|
||||
|
||||
@TestMetadata("iteratorFun")
|
||||
public void testIteratorFun() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/iteratorFun/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/iteratorFun/");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmField")
|
||||
public void testJvmField() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/jvmField/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/jvmField/");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmName")
|
||||
public void testJvmName() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/jvmName/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/jvmName/");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmOverloads")
|
||||
public void testJvmOverloads() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/jvmOverloads/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/jvmOverloads/");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmStatic")
|
||||
public void testJvmStatic() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/jvmStatic/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/jvmStatic/");
|
||||
}
|
||||
|
||||
@TestMetadata("lateinitProp")
|
||||
public void testLateinitProp() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/lateinitProp/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/lateinitProp/");
|
||||
}
|
||||
|
||||
@TestMetadata("multipleInlineFunctionCalls")
|
||||
public void testMultipleInlineFunctionCalls() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/multipleInlineFunctionCalls/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/multipleInlineFunctionCalls/");
|
||||
}
|
||||
|
||||
@TestMetadata("objectInInlineFun")
|
||||
public void testObjectInInlineFun() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/objectInInlineFun/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/objectInInlineFun/");
|
||||
}
|
||||
|
||||
@TestMetadata("variantGeneric")
|
||||
public void testVariantGeneric() throws Exception {
|
||||
runTest("../idea/tests/testData/internal/toolWindow/variantGeneric/");
|
||||
runTest("../../idea/tests/testData/internal/toolWindow/variantGeneric/");
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
package org.jetbrains.kotlin.idea.fir.asJava.classes
|
||||
package org.jetbrains.kotlin.idea.fir.classes
|
||||
|
||||
import com.intellij.psi.PsiFile
|
||||
import org.jetbrains.kotlin.asJava.KotlinAsJavaSupport
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
package org.jetbrains.kotlin.idea.fir.asJava.classes
|
||||
package org.jetbrains.kotlin.idea.fir.classes
|
||||
|
||||
import com.intellij.util.ThrowableRunnable
|
||||
import org.jetbrains.kotlin.asJava.classes.LightClassTestCommon
|
||||
+3
-3
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../code-insight/testData/linemarkers")
|
||||
@TestMetadata("../../code-insight/testData/linemarkers")
|
||||
public class K2MultiModuleLineMarkerTestGenerated extends AbstractK2MultiModuleLineMarkerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,6 +25,6 @@ public class K2MultiModuleLineMarkerTestGenerated extends AbstractK2MultiModuleL
|
||||
|
||||
@TestMetadata("multiplatform")
|
||||
public void testMultiplatform() throws Exception {
|
||||
runTest("../code-insight/testData/linemarkers/multiplatform/");
|
||||
runTest("../../code-insight/testData/linemarkers/multiplatform/");
|
||||
}
|
||||
}
|
||||
+142
-142
@@ -14,12 +14,12 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public abstract class FirKeywordCompletionTestGenerated extends AbstractFirKeywordCompletionTest {
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/keywords")
|
||||
@TestMetadata("../../completion/testData/keywords")
|
||||
public static class Keywords extends AbstractFirKeywordCompletionTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -27,702 +27,702 @@ public abstract class FirKeywordCompletionTestGenerated extends AbstractFirKeywo
|
||||
|
||||
@TestMetadata("AfterAsInImport.kt")
|
||||
public void testAfterAsInImport() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterAsInImport.kt");
|
||||
runTest("../../completion/testData/keywords/AfterAsInImport.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterClassName.kt")
|
||||
public void testAfterClassName() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterClassName.kt");
|
||||
runTest("../../completion/testData/keywords/AfterClassName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterClassProperty.kt")
|
||||
public void testAfterClassProperty() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterClassProperty.kt");
|
||||
runTest("../../completion/testData/keywords/AfterClassProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterClasses.kt")
|
||||
public void testAfterClasses() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterClasses.kt");
|
||||
runTest("../../completion/testData/keywords/AfterClasses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterClasses_LangLevel10.kt")
|
||||
public void testAfterClasses_LangLevel10() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterClasses_LangLevel10.kt");
|
||||
runTest("../../completion/testData/keywords/AfterClasses_LangLevel10.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterClasses_LangLevel11.kt")
|
||||
public void testAfterClasses_LangLevel11() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterClasses_LangLevel11.kt");
|
||||
runTest("../../completion/testData/keywords/AfterClasses_LangLevel11.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterDot.kt")
|
||||
public void testAfterDot() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterDot.kt");
|
||||
runTest("../../completion/testData/keywords/AfterDot.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterFuns.kt")
|
||||
public void testAfterFuns() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterFuns.kt");
|
||||
runTest("../../completion/testData/keywords/AfterFuns.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterIf.kt")
|
||||
public void testAfterIf() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterIf.kt");
|
||||
runTest("../../completion/testData/keywords/AfterIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterImportDirective.kt")
|
||||
public void testAfterImportDirective() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterImportDirective.kt");
|
||||
runTest("../../completion/testData/keywords/AfterImportDirective.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterSafeDot.kt")
|
||||
public void testAfterSafeDot() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterSafeDot.kt");
|
||||
runTest("../../completion/testData/keywords/AfterSafeDot.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterSpaceAndDot.kt")
|
||||
public void testAfterSpaceAndDot() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterSpaceAndDot.kt");
|
||||
runTest("../../completion/testData/keywords/AfterSpaceAndDot.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterTry.kt")
|
||||
public void testAfterTry() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterTry.kt");
|
||||
runTest("../../completion/testData/keywords/AfterTry.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterTryCatch.kt")
|
||||
public void testAfterTryCatch() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterTryCatch.kt");
|
||||
runTest("../../completion/testData/keywords/AfterTryCatch.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterTryFinally.kt")
|
||||
public void testAfterTryFinally() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterTryFinally.kt");
|
||||
runTest("../../completion/testData/keywords/AfterTryFinally.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AfterTryInAssignment.kt")
|
||||
public void testAfterTryInAssignment() throws Exception {
|
||||
runTest("../completion/testData/keywords/AfterTryInAssignment.kt");
|
||||
runTest("../../completion/testData/keywords/AfterTryInAssignment.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("BeforeClass.kt")
|
||||
public void testBeforeClass() throws Exception {
|
||||
runTest("../completion/testData/keywords/BeforeClass.kt");
|
||||
runTest("../../completion/testData/keywords/BeforeClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("BeforeDelegationCall.kt")
|
||||
public void testBeforeDelegationCall() throws Exception {
|
||||
runTest("../completion/testData/keywords/BeforeDelegationCall.kt");
|
||||
runTest("../../completion/testData/keywords/BeforeDelegationCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("BreakContinue.kt")
|
||||
public void testBreakContinue() throws Exception {
|
||||
runTest("../completion/testData/keywords/BreakContinue.kt");
|
||||
runTest("../../completion/testData/keywords/BreakContinue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("BreakPrefixMatching.kt")
|
||||
public void testBreakPrefixMatching() throws Exception {
|
||||
runTest("../completion/testData/keywords/BreakPrefixMatching.kt");
|
||||
runTest("../../completion/testData/keywords/BreakPrefixMatching.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("BreakWithLabel.kt")
|
||||
public void testBreakWithLabel() throws Exception {
|
||||
runTest("../completion/testData/keywords/BreakWithLabel.kt");
|
||||
runTest("../../completion/testData/keywords/BreakWithLabel.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("BreakWithLabelPrefix.kt")
|
||||
public void testBreakWithLabelPrefix() throws Exception {
|
||||
runTest("../completion/testData/keywords/BreakWithLabelPrefix.kt");
|
||||
runTest("../../completion/testData/keywords/BreakWithLabelPrefix.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CommaExpected.kt")
|
||||
public void testCommaExpected() throws Exception {
|
||||
runTest("../completion/testData/keywords/CommaExpected.kt");
|
||||
runTest("../../completion/testData/keywords/CommaExpected.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CompanionObjectBeforeObject.kt")
|
||||
public void testCompanionObjectBeforeObject() throws Exception {
|
||||
runTest("../completion/testData/keywords/CompanionObjectBeforeObject.kt");
|
||||
runTest("../../completion/testData/keywords/CompanionObjectBeforeObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ContinuePrefixMatching.kt")
|
||||
public void testContinuePrefixMatching() throws Exception {
|
||||
runTest("../completion/testData/keywords/ContinuePrefixMatching.kt");
|
||||
runTest("../../completion/testData/keywords/ContinuePrefixMatching.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ContinueWithLabel.kt")
|
||||
public void testContinueWithLabel() throws Exception {
|
||||
runTest("../completion/testData/keywords/ContinueWithLabel.kt");
|
||||
runTest("../../completion/testData/keywords/ContinueWithLabel.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ContinueWithLabelPrefix.kt")
|
||||
public void testContinueWithLabelPrefix() throws Exception {
|
||||
runTest("../completion/testData/keywords/ContinueWithLabelPrefix.kt");
|
||||
runTest("../../completion/testData/keywords/ContinueWithLabelPrefix.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Else1.kt")
|
||||
public void testElse1() throws Exception {
|
||||
runTest("../completion/testData/keywords/Else1.kt");
|
||||
runTest("../../completion/testData/keywords/Else1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Else2.kt")
|
||||
public void testElse2() throws Exception {
|
||||
runTest("../completion/testData/keywords/Else2.kt");
|
||||
runTest("../../completion/testData/keywords/Else2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FileKeyword.kt")
|
||||
public void testFileKeyword() throws Exception {
|
||||
runTest("../completion/testData/keywords/FileKeyword.kt");
|
||||
runTest("../../completion/testData/keywords/FileKeyword.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FixingLayoutAndReturn.kt")
|
||||
public void testFixingLayoutAndReturn() throws Exception {
|
||||
runTest("../completion/testData/keywords/FixingLayoutAndReturn.kt");
|
||||
runTest("../../completion/testData/keywords/FixingLayoutAndReturn.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunInterface.kt")
|
||||
public void testFunInterface() throws Exception {
|
||||
runTest("../completion/testData/keywords/FunInterface.kt");
|
||||
runTest("../../completion/testData/keywords/FunInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("GlobalPropertyAccessors.kt")
|
||||
public void testGlobalPropertyAccessors() throws Exception {
|
||||
runTest("../completion/testData/keywords/GlobalPropertyAccessors.kt");
|
||||
runTest("../../completion/testData/keywords/GlobalPropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IfTry.kt")
|
||||
public void testIfTry() throws Exception {
|
||||
runTest("../completion/testData/keywords/IfTry.kt");
|
||||
runTest("../../completion/testData/keywords/IfTry.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IfTryCatch.kt")
|
||||
public void testIfTryCatch() throws Exception {
|
||||
runTest("../completion/testData/keywords/IfTryCatch.kt");
|
||||
runTest("../../completion/testData/keywords/IfTryCatch.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InAnnotationClassScope.kt")
|
||||
public void testInAnnotationClassScope() throws Exception {
|
||||
runTest("../completion/testData/keywords/InAnnotationClassScope.kt");
|
||||
runTest("../../completion/testData/keywords/InAnnotationClassScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InArgumentList.kt")
|
||||
public void testInArgumentList() throws Exception {
|
||||
runTest("../completion/testData/keywords/InArgumentList.kt");
|
||||
runTest("../../completion/testData/keywords/InArgumentList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InBlockComment.kt")
|
||||
public void testInBlockComment() throws Exception {
|
||||
runTest("../completion/testData/keywords/InBlockComment.kt");
|
||||
runTest("../../completion/testData/keywords/InBlockComment.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InChar.kt")
|
||||
public void testInChar() throws Exception {
|
||||
runTest("../completion/testData/keywords/InChar.kt");
|
||||
runTest("../../completion/testData/keywords/InChar.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InClassBeforeFun.kt")
|
||||
public void testInClassBeforeFun() throws Exception {
|
||||
runTest("../completion/testData/keywords/InClassBeforeFun.kt");
|
||||
runTest("../../completion/testData/keywords/InClassBeforeFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InClassNoCompletionInValName.kt")
|
||||
public void testInClassNoCompletionInValName() throws Exception {
|
||||
runTest("../completion/testData/keywords/InClassNoCompletionInValName.kt");
|
||||
runTest("../../completion/testData/keywords/InClassNoCompletionInValName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InClassProperty.kt")
|
||||
public void testInClassProperty() throws Exception {
|
||||
runTest("../completion/testData/keywords/InClassProperty.kt");
|
||||
runTest("../../completion/testData/keywords/InClassProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InClassScope.kt")
|
||||
public void testInClassScope() throws Exception {
|
||||
runTest("../completion/testData/keywords/InClassScope.kt");
|
||||
runTest("../../completion/testData/keywords/InClassScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InClassTypeParameters.kt")
|
||||
public void testInClassTypeParameters() throws Exception {
|
||||
runTest("../completion/testData/keywords/InClassTypeParameters.kt");
|
||||
runTest("../../completion/testData/keywords/InClassTypeParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InCodeBlock.kt")
|
||||
public void testInCodeBlock() throws Exception {
|
||||
runTest("../completion/testData/keywords/InCodeBlock.kt");
|
||||
runTest("../../completion/testData/keywords/InCodeBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InElse.kt")
|
||||
public void testInElse() throws Exception {
|
||||
runTest("../completion/testData/keywords/InElse.kt");
|
||||
runTest("../../completion/testData/keywords/InElse.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InEnumScope1.kt")
|
||||
public void testInEnumScope1() throws Exception {
|
||||
runTest("../completion/testData/keywords/InEnumScope1.kt");
|
||||
runTest("../../completion/testData/keywords/InEnumScope1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InEnumScope2.kt")
|
||||
public void testInEnumScope2() throws Exception {
|
||||
runTest("../completion/testData/keywords/InEnumScope2.kt");
|
||||
runTest("../../completion/testData/keywords/InEnumScope2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InFunctionExpressionBody.kt")
|
||||
public void testInFunctionExpressionBody() throws Exception {
|
||||
runTest("../completion/testData/keywords/InFunctionExpressionBody.kt");
|
||||
runTest("../../completion/testData/keywords/InFunctionExpressionBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InFunctionName.kt")
|
||||
public void testInFunctionName() throws Exception {
|
||||
runTest("../completion/testData/keywords/InFunctionName.kt");
|
||||
runTest("../../completion/testData/keywords/InFunctionName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InFunctionRecieverType.kt")
|
||||
public void testInFunctionRecieverType() throws Exception {
|
||||
runTest("../completion/testData/keywords/InFunctionRecieverType.kt");
|
||||
runTest("../../completion/testData/keywords/InFunctionRecieverType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InFunctionTypePosition.kt")
|
||||
public void testInFunctionTypePosition() throws Exception {
|
||||
runTest("../completion/testData/keywords/InFunctionTypePosition.kt");
|
||||
runTest("../../completion/testData/keywords/InFunctionTypePosition.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InGetterExpressionBody.kt")
|
||||
public void testInGetterExpressionBody() throws Exception {
|
||||
runTest("../completion/testData/keywords/InGetterExpressionBody.kt");
|
||||
runTest("../../completion/testData/keywords/InGetterExpressionBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InIf.kt")
|
||||
public void testInIf() throws Exception {
|
||||
runTest("../completion/testData/keywords/InIf.kt");
|
||||
runTest("../../completion/testData/keywords/InIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InInterfaceScope.kt")
|
||||
public void testInInterfaceScope() throws Exception {
|
||||
runTest("../completion/testData/keywords/InInterfaceScope.kt");
|
||||
runTest("../../completion/testData/keywords/InInterfaceScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InMemberFunParametersList.kt")
|
||||
public void testInMemberFunParametersList() throws Exception {
|
||||
runTest("../completion/testData/keywords/InMemberFunParametersList.kt");
|
||||
runTest("../../completion/testData/keywords/InMemberFunParametersList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InModifierListInsideClass.kt")
|
||||
public void testInModifierListInsideClass() throws Exception {
|
||||
runTest("../completion/testData/keywords/InModifierListInsideClass.kt");
|
||||
runTest("../../completion/testData/keywords/InModifierListInsideClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InNotFinishedGenericWithFunAfter.kt")
|
||||
public void testInNotFinishedGenericWithFunAfter() throws Exception {
|
||||
runTest("../completion/testData/keywords/InNotFinishedGenericWithFunAfter.kt");
|
||||
runTest("../../completion/testData/keywords/InNotFinishedGenericWithFunAfter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InObjectScope.kt")
|
||||
public void testInObjectScope() throws Exception {
|
||||
runTest("../completion/testData/keywords/InObjectScope.kt");
|
||||
runTest("../../completion/testData/keywords/InObjectScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InParameterDefaultValue.kt")
|
||||
public void testInParameterDefaultValue() throws Exception {
|
||||
runTest("../completion/testData/keywords/InParameterDefaultValue.kt");
|
||||
runTest("../../completion/testData/keywords/InParameterDefaultValue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InPrimaryConstructorParametersList.kt")
|
||||
public void testInPrimaryConstructorParametersList() throws Exception {
|
||||
runTest("../completion/testData/keywords/InPrimaryConstructorParametersList.kt");
|
||||
runTest("../../completion/testData/keywords/InPrimaryConstructorParametersList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InPropertyInitializer.kt")
|
||||
public void testInPropertyInitializer() throws Exception {
|
||||
runTest("../completion/testData/keywords/InPropertyInitializer.kt");
|
||||
runTest("../../completion/testData/keywords/InPropertyInitializer.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InPropertyTypeReference.kt")
|
||||
public void testInPropertyTypeReference() throws Exception {
|
||||
runTest("../completion/testData/keywords/InPropertyTypeReference.kt");
|
||||
runTest("../../completion/testData/keywords/InPropertyTypeReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InString.kt")
|
||||
public void testInString() throws Exception {
|
||||
runTest("../completion/testData/keywords/InString.kt");
|
||||
runTest("../../completion/testData/keywords/InString.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InTopFunParametersList.kt")
|
||||
public void testInTopFunParametersList() throws Exception {
|
||||
runTest("../completion/testData/keywords/InTopFunParametersList.kt");
|
||||
runTest("../../completion/testData/keywords/InTopFunParametersList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InTopScopeAfterPackage.kt")
|
||||
public void testInTopScopeAfterPackage() throws Exception {
|
||||
runTest("../completion/testData/keywords/InTopScopeAfterPackage.kt");
|
||||
runTest("../../completion/testData/keywords/InTopScopeAfterPackage.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InTypePosition.kt")
|
||||
public void testInTypePosition() throws Exception {
|
||||
runTest("../completion/testData/keywords/InTypePosition.kt");
|
||||
runTest("../../completion/testData/keywords/InTypePosition.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LabeledLambdaThis.kt")
|
||||
public void testLabeledLambdaThis() throws Exception {
|
||||
runTest("../completion/testData/keywords/LabeledLambdaThis.kt");
|
||||
runTest("../../completion/testData/keywords/LabeledLambdaThis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LineComment.kt")
|
||||
public void testLineComment() throws Exception {
|
||||
runTest("../completion/testData/keywords/LineComment.kt");
|
||||
runTest("../../completion/testData/keywords/LineComment.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoBreak1.kt")
|
||||
public void testNoBreak1() throws Exception {
|
||||
runTest("../completion/testData/keywords/NoBreak1.kt");
|
||||
runTest("../../completion/testData/keywords/NoBreak1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoCompanionThis.kt")
|
||||
public void testNoCompanionThis() throws Exception {
|
||||
runTest("../completion/testData/keywords/NoCompanionThis.kt");
|
||||
runTest("../../completion/testData/keywords/NoCompanionThis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoCompletionForCapitalPrefix.kt")
|
||||
public void testNoCompletionForCapitalPrefix() throws Exception {
|
||||
runTest("../completion/testData/keywords/NoCompletionForCapitalPrefix.kt");
|
||||
runTest("../../completion/testData/keywords/NoCompletionForCapitalPrefix.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoConstructorInCompanion.kt")
|
||||
public void testNoConstructorInCompanion() throws Exception {
|
||||
runTest("../completion/testData/keywords/NoConstructorInCompanion.kt");
|
||||
runTest("../../completion/testData/keywords/NoConstructorInCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoConstructorInObject.kt")
|
||||
public void testNoConstructorInObject() throws Exception {
|
||||
runTest("../completion/testData/keywords/NoConstructorInObject.kt");
|
||||
runTest("../../completion/testData/keywords/NoConstructorInObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoConstructorInObjectLiteral.kt")
|
||||
public void testNoConstructorInObjectLiteral() throws Exception {
|
||||
runTest("../completion/testData/keywords/NoConstructorInObjectLiteral.kt");
|
||||
runTest("../../completion/testData/keywords/NoConstructorInObjectLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoContinue.kt")
|
||||
public void testNoContinue() throws Exception {
|
||||
runTest("../completion/testData/keywords/NoContinue.kt");
|
||||
runTest("../../completion/testData/keywords/NoContinue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoExistingClassifier.kt")
|
||||
public void testNoExistingClassifier() throws Exception {
|
||||
runTest("../completion/testData/keywords/NoExistingClassifier.kt");
|
||||
runTest("../../completion/testData/keywords/NoExistingClassifier.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoFinalInParameterList.kt")
|
||||
public void testNoFinalInParameterList() throws Exception {
|
||||
runTest("../completion/testData/keywords/NoFinalInParameterList.kt");
|
||||
runTest("../../completion/testData/keywords/NoFinalInParameterList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoValVarInFunctionParameters.kt")
|
||||
public void testNoValVarInFunctionParameters() throws Exception {
|
||||
runTest("../completion/testData/keywords/NoValVarInFunctionParameters.kt");
|
||||
runTest("../../completion/testData/keywords/NoValVarInFunctionParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoValVarInSecondaryConstructorParameters.kt")
|
||||
public void testNoValVarInSecondaryConstructorParameters() throws Exception {
|
||||
runTest("../completion/testData/keywords/NoValVarInSecondaryConstructorParameters.kt");
|
||||
runTest("../../completion/testData/keywords/NoValVarInSecondaryConstructorParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NonLocalBreakDisabled.kt")
|
||||
public void testNonLocalBreakDisabled() throws Exception {
|
||||
runTest("../completion/testData/keywords/NonLocalBreakDisabled.kt");
|
||||
runTest("../../completion/testData/keywords/NonLocalBreakDisabled.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NonLocalBreakEnabled.kt")
|
||||
public void testNonLocalBreakEnabled() throws Exception {
|
||||
runTest("../completion/testData/keywords/NonLocalBreakEnabled.kt");
|
||||
runTest("../../completion/testData/keywords/NonLocalBreakEnabled.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NonLocalBreakNotInlineFunction.kt")
|
||||
public void testNonLocalBreakNotInlineFunction() throws Exception {
|
||||
runTest("../completion/testData/keywords/NonLocalBreakNotInlineFunction.kt");
|
||||
runTest("../../completion/testData/keywords/NonLocalBreakNotInlineFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NonLocalContinueDisabled.kt")
|
||||
public void testNonLocalContinueDisabled() throws Exception {
|
||||
runTest("../completion/testData/keywords/NonLocalContinueDisabled.kt");
|
||||
runTest("../../completion/testData/keywords/NonLocalContinueDisabled.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NonLocalContinueEnabled.kt")
|
||||
public void testNonLocalContinueEnabled() throws Exception {
|
||||
runTest("../completion/testData/keywords/NonLocalContinueEnabled.kt");
|
||||
runTest("../../completion/testData/keywords/NonLocalContinueEnabled.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NonLocalContinueNotInlineFunction.kt")
|
||||
public void testNonLocalContinueNotInlineFunction() throws Exception {
|
||||
runTest("../completion/testData/keywords/NonLocalContinueNotInlineFunction.kt");
|
||||
runTest("../../completion/testData/keywords/NonLocalContinueNotInlineFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NotInNotIs.kt")
|
||||
public void testNotInNotIs() throws Exception {
|
||||
runTest("../completion/testData/keywords/NotInNotIs.kt");
|
||||
runTest("../../completion/testData/keywords/NotInNotIs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NotInNotIs2.kt")
|
||||
public void testNotInNotIs2() throws Exception {
|
||||
runTest("../completion/testData/keywords/NotInNotIs2.kt");
|
||||
runTest("../../completion/testData/keywords/NotInNotIs2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PrefixMatcher.kt")
|
||||
public void testPrefixMatcher() throws Exception {
|
||||
runTest("../completion/testData/keywords/PrefixMatcher.kt");
|
||||
runTest("../../completion/testData/keywords/PrefixMatcher.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyAccessors.kt")
|
||||
public void testPropertyAccessors() throws Exception {
|
||||
runTest("../completion/testData/keywords/PropertyAccessors.kt");
|
||||
runTest("../../completion/testData/keywords/PropertyAccessors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyAccessors2.kt")
|
||||
public void testPropertyAccessors2() throws Exception {
|
||||
runTest("../completion/testData/keywords/PropertyAccessors2.kt");
|
||||
runTest("../../completion/testData/keywords/PropertyAccessors2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyAccessorsSameLine.kt")
|
||||
public void testPropertyAccessorsSameLine() throws Exception {
|
||||
runTest("../completion/testData/keywords/PropertyAccessorsSameLine.kt");
|
||||
runTest("../../completion/testData/keywords/PropertyAccessorsSameLine.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyAccessors_ExplicitBackingFieldsEnabled.kt")
|
||||
public void testPropertyAccessors_ExplicitBackingFieldsEnabled() throws Exception {
|
||||
runTest("../completion/testData/keywords/PropertyAccessors_ExplicitBackingFieldsEnabled.kt");
|
||||
runTest("../../completion/testData/keywords/PropertyAccessors_ExplicitBackingFieldsEnabled.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertySetter.kt")
|
||||
public void testPropertySetter() throws Exception {
|
||||
runTest("../completion/testData/keywords/PropertySetter.kt");
|
||||
runTest("../../completion/testData/keywords/PropertySetter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("QualifiedThis.kt")
|
||||
public void testQualifiedThis() throws Exception {
|
||||
runTest("../completion/testData/keywords/QualifiedThis.kt");
|
||||
runTest("../../completion/testData/keywords/QualifiedThis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("QualifiedThisInAccessor.kt")
|
||||
public void testQualifiedThisInAccessor() throws Exception {
|
||||
runTest("../completion/testData/keywords/QualifiedThisInAccessor.kt");
|
||||
runTest("../../completion/testData/keywords/QualifiedThisInAccessor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Receiver.kt")
|
||||
public void testReceiver() throws Exception {
|
||||
runTest("../completion/testData/keywords/Receiver.kt");
|
||||
runTest("../../completion/testData/keywords/Receiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Return1.kt")
|
||||
public void testReturn1() throws Exception {
|
||||
runTest("../completion/testData/keywords/Return1.kt");
|
||||
runTest("../../completion/testData/keywords/Return1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Return2.kt")
|
||||
public void testReturn2() throws Exception {
|
||||
runTest("../completion/testData/keywords/Return2.kt");
|
||||
runTest("../../completion/testData/keywords/Return2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Return3.kt")
|
||||
public void testReturn3() throws Exception {
|
||||
runTest("../completion/testData/keywords/Return3.kt");
|
||||
runTest("../../completion/testData/keywords/Return3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Return4.kt")
|
||||
public void testReturn4() throws Exception {
|
||||
runTest("../completion/testData/keywords/Return4.kt");
|
||||
runTest("../../completion/testData/keywords/Return4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Return5.kt")
|
||||
public void testReturn5() throws Exception {
|
||||
runTest("../completion/testData/keywords/Return5.kt");
|
||||
runTest("../../completion/testData/keywords/Return5.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Return6_1.kt")
|
||||
public void testReturn6_1() throws Exception {
|
||||
runTest("../completion/testData/keywords/Return6_1.kt");
|
||||
runTest("../../completion/testData/keywords/Return6_1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Return6_2.kt")
|
||||
public void testReturn6_2() throws Exception {
|
||||
runTest("../completion/testData/keywords/Return6_2.kt");
|
||||
runTest("../../completion/testData/keywords/Return6_2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Return7.kt")
|
||||
public void testReturn7() throws Exception {
|
||||
runTest("../completion/testData/keywords/Return7.kt");
|
||||
runTest("../../completion/testData/keywords/Return7.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Return8.kt")
|
||||
public void testReturn8() throws Exception {
|
||||
runTest("../completion/testData/keywords/Return8.kt");
|
||||
runTest("../../completion/testData/keywords/Return8.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Return9.kt")
|
||||
public void testReturn9() throws Exception {
|
||||
runTest("../completion/testData/keywords/Return9.kt");
|
||||
runTest("../../completion/testData/keywords/Return9.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnBoolean.kt")
|
||||
public void testReturnBoolean() throws Exception {
|
||||
runTest("../completion/testData/keywords/ReturnBoolean.kt");
|
||||
runTest("../../completion/testData/keywords/ReturnBoolean.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnCollection.kt")
|
||||
public void testReturnCollection() throws Exception {
|
||||
runTest("../completion/testData/keywords/ReturnCollection.kt");
|
||||
runTest("../../completion/testData/keywords/ReturnCollection.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnIterable.kt")
|
||||
public void testReturnIterable() throws Exception {
|
||||
runTest("../completion/testData/keywords/ReturnIterable.kt");
|
||||
runTest("../../completion/testData/keywords/ReturnIterable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnKeywordName.kt")
|
||||
public void testReturnKeywordName() throws Exception {
|
||||
runTest("../completion/testData/keywords/ReturnKeywordName.kt");
|
||||
runTest("../../completion/testData/keywords/ReturnKeywordName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnList.kt")
|
||||
public void testReturnList() throws Exception {
|
||||
runTest("../completion/testData/keywords/ReturnList.kt");
|
||||
runTest("../../completion/testData/keywords/ReturnList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnNotNull.kt")
|
||||
public void testReturnNotNull() throws Exception {
|
||||
runTest("../completion/testData/keywords/ReturnNotNull.kt");
|
||||
runTest("../../completion/testData/keywords/ReturnNotNull.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnNull.kt")
|
||||
public void testReturnNull() throws Exception {
|
||||
runTest("../completion/testData/keywords/ReturnNull.kt");
|
||||
runTest("../../completion/testData/keywords/ReturnNull.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnNullableBoolean.kt")
|
||||
public void testReturnNullableBoolean() throws Exception {
|
||||
runTest("../completion/testData/keywords/ReturnNullableBoolean.kt");
|
||||
runTest("../../completion/testData/keywords/ReturnNullableBoolean.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnPrefixMatching.kt")
|
||||
public void testReturnPrefixMatching() throws Exception {
|
||||
runTest("../completion/testData/keywords/ReturnPrefixMatching.kt");
|
||||
runTest("../../completion/testData/keywords/ReturnPrefixMatching.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnSet.kt")
|
||||
public void testReturnSet() throws Exception {
|
||||
runTest("../completion/testData/keywords/ReturnSet.kt");
|
||||
runTest("../../completion/testData/keywords/ReturnSet.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SealedForAlreadySealed.kt")
|
||||
public void testSealedForAlreadySealed() throws Exception {
|
||||
runTest("../completion/testData/keywords/SealedForAlreadySealed.kt");
|
||||
runTest("../../completion/testData/keywords/SealedForAlreadySealed.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SealedForAnnotationClass.kt")
|
||||
public void testSealedForAnnotationClass() throws Exception {
|
||||
runTest("../completion/testData/keywords/SealedForAnnotationClass.kt");
|
||||
runTest("../../completion/testData/keywords/SealedForAnnotationClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SealedForDataClass.kt")
|
||||
public void testSealedForDataClass() throws Exception {
|
||||
runTest("../completion/testData/keywords/SealedForDataClass.kt");
|
||||
runTest("../../completion/testData/keywords/SealedForDataClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SealedForDeclaredClass.kt")
|
||||
public void testSealedForDeclaredClass() throws Exception {
|
||||
runTest("../completion/testData/keywords/SealedForDeclaredClass.kt");
|
||||
runTest("../../completion/testData/keywords/SealedForDeclaredClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SealedForDeclaredInterface.kt")
|
||||
public void testSealedForDeclaredInterface() throws Exception {
|
||||
runTest("../completion/testData/keywords/SealedForDeclaredInterface.kt");
|
||||
runTest("../../completion/testData/keywords/SealedForDeclaredInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SealedForEnumClass.kt")
|
||||
public void testSealedForEnumClass() throws Exception {
|
||||
runTest("../completion/testData/keywords/SealedForEnumClass.kt");
|
||||
runTest("../../completion/testData/keywords/SealedForEnumClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SealedForFunInterface.kt")
|
||||
public void testSealedForFunInterface() throws Exception {
|
||||
runTest("../completion/testData/keywords/SealedForFunInterface.kt");
|
||||
runTest("../../completion/testData/keywords/SealedForFunInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SealedForInnerClass.kt")
|
||||
public void testSealedForInnerClass() throws Exception {
|
||||
runTest("../completion/testData/keywords/SealedForInnerClass.kt");
|
||||
runTest("../../completion/testData/keywords/SealedForInnerClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SealedForOpenClass.kt")
|
||||
public void testSealedForOpenClass() throws Exception {
|
||||
runTest("../completion/testData/keywords/SealedForOpenClass.kt");
|
||||
runTest("../../completion/testData/keywords/SealedForOpenClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SealedWithName.kt")
|
||||
public void testSealedWithName() throws Exception {
|
||||
runTest("../completion/testData/keywords/SealedWithName.kt");
|
||||
runTest("../../completion/testData/keywords/SealedWithName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SealedWithoutName.kt")
|
||||
public void testSealedWithoutName() throws Exception {
|
||||
runTest("../completion/testData/keywords/SealedWithoutName.kt");
|
||||
runTest("../../completion/testData/keywords/SealedWithoutName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SuspendInParameterTypePosition.kt")
|
||||
public void testSuspendInParameterTypePosition() throws Exception {
|
||||
runTest("../completion/testData/keywords/SuspendInParameterTypePosition.kt");
|
||||
runTest("../../completion/testData/keywords/SuspendInParameterTypePosition.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SuspendInsideTypeArguments.kt")
|
||||
public void testSuspendInsideTypeArguments() throws Exception {
|
||||
runTest("../completion/testData/keywords/SuspendInsideTypeArguments.kt");
|
||||
runTest("../../completion/testData/keywords/SuspendInsideTypeArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SuspendInsideTypeArguments1.kt")
|
||||
public void testSuspendInsideTypeArguments1() throws Exception {
|
||||
runTest("../completion/testData/keywords/SuspendInsideTypeArguments1.kt");
|
||||
runTest("../../completion/testData/keywords/SuspendInsideTypeArguments1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("This.kt")
|
||||
public void testThis() throws Exception {
|
||||
runTest("../completion/testData/keywords/This.kt");
|
||||
runTest("../../completion/testData/keywords/This.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ThisInCompanion.kt")
|
||||
public void testThisInCompanion() throws Exception {
|
||||
runTest("../completion/testData/keywords/ThisInCompanion.kt");
|
||||
runTest("../../completion/testData/keywords/ThisInCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ThisLabelPrefix.kt")
|
||||
public void testThisLabelPrefix() throws Exception {
|
||||
runTest("../completion/testData/keywords/ThisLabelPrefix.kt");
|
||||
runTest("../../completion/testData/keywords/ThisLabelPrefix.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ThisPrefixMatching.kt")
|
||||
public void testThisPrefixMatching() throws Exception {
|
||||
runTest("../completion/testData/keywords/ThisPrefixMatching.kt");
|
||||
runTest("../../completion/testData/keywords/ThisPrefixMatching.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TopScope.kt")
|
||||
public void testTopScope() throws Exception {
|
||||
runTest("../completion/testData/keywords/TopScope.kt");
|
||||
runTest("../../completion/testData/keywords/TopScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("topScope2.kt")
|
||||
public void testTopScope2() throws Exception {
|
||||
runTest("../completion/testData/keywords/topScope2.kt");
|
||||
runTest("../../completion/testData/keywords/topScope2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TopScope3-.kt")
|
||||
public void testTopScope3_() throws Exception {
|
||||
runTest("../completion/testData/keywords/TopScope3-.kt");
|
||||
runTest("../../completion/testData/keywords/TopScope3-.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UseSiteTargetForPrimaryConstructorParameter.kt")
|
||||
public void testUseSiteTargetForPrimaryConstructorParameter() throws Exception {
|
||||
runTest("../completion/testData/keywords/UseSiteTargetForPrimaryConstructorParameter.kt");
|
||||
runTest("../../completion/testData/keywords/UseSiteTargetForPrimaryConstructorParameter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea-fir/testData/completion/keywords")
|
||||
@TestMetadata("../../idea-fir/testData/completion/keywords")
|
||||
public abstract static class KeywordsFir extends AbstractFirKeywordCompletionTest {
|
||||
|
||||
}
|
||||
+19
-19
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/basic/withLib")
|
||||
@TestMetadata("../../completion/testData/basic/withLib")
|
||||
public class FirWithLibBasicCompletionTestGenerated extends AbstractFirWithLibBasicCompletionTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,86 +25,86 @@ public class FirWithLibBasicCompletionTestGenerated extends AbstractFirWithLibBa
|
||||
|
||||
@TestMetadata("JavaAnnotationWithDefaultArgumentAtFirstPosition.kt")
|
||||
public void testJavaAnnotationWithDefaultArgumentAtFirstPosition() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/JavaAnnotationWithDefaultArgumentAtFirstPosition.kt");
|
||||
runTest("../../completion/testData/basic/withLib/JavaAnnotationWithDefaultArgumentAtFirstPosition.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaAnnotationWithDefaultArgumentAtSecondPosition.kt")
|
||||
public void testJavaAnnotationWithDefaultArgumentAtSecondPosition() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/JavaAnnotationWithDefaultArgumentAtSecondPosition.kt");
|
||||
runTest("../../completion/testData/basic/withLib/JavaAnnotationWithDefaultArgumentAtSecondPosition.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaAnnotationWithoutDefaultMethod.kt")
|
||||
public void testJavaAnnotationWithoutDefaultMethod() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/JavaAnnotationWithoutDefaultMethod.kt");
|
||||
runTest("../../completion/testData/basic/withLib/JavaAnnotationWithoutDefaultMethod.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaFinalStaticFieldAsAnnotationArgument.kt")
|
||||
public void testJavaFinalStaticFieldAsAnnotationArgument() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/JavaFinalStaticFieldAsAnnotationArgument.kt");
|
||||
runTest("../../completion/testData/basic/withLib/JavaFinalStaticFieldAsAnnotationArgument.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedArgumentsJava.kt")
|
||||
public void testNamedArgumentsJava() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/NamedArgumentsJava.kt");
|
||||
runTest("../../completion/testData/basic/withLib/NamedArgumentsJava.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedArgumentsKotlin.kt")
|
||||
public void testNamedArgumentsKotlin() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/NamedArgumentsKotlin.kt");
|
||||
runTest("../../completion/testData/basic/withLib/NamedArgumentsKotlin.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NonShadowingExtensionFromDefaultImport.kt")
|
||||
public void testNonShadowingExtensionFromDefaultImport() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/NonShadowingExtensionFromDefaultImport.kt");
|
||||
runTest("../../completion/testData/basic/withLib/NonShadowingExtensionFromDefaultImport.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NonShadowingExtensionFromPackage.kt")
|
||||
public void testNonShadowingExtensionFromPackage() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/NonShadowingExtensionFromPackage.kt");
|
||||
runTest("../../completion/testData/basic/withLib/NonShadowingExtensionFromPackage.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NonShadowingExtensionFromStarImport.kt")
|
||||
public void testNonShadowingExtensionFromStarImport() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/NonShadowingExtensionFromStarImport.kt");
|
||||
runTest("../../completion/testData/basic/withLib/NonShadowingExtensionFromStarImport.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("OverrideJava.kt")
|
||||
public void testOverrideJava() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/OverrideJava.kt");
|
||||
runTest("../../completion/testData/basic/withLib/OverrideJava.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SamAdapter.kt")
|
||||
public void testSamAdapter() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/SamAdapter.kt");
|
||||
runTest("../../completion/testData/basic/withLib/SamAdapter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SamAdapterAndGenerics.kt")
|
||||
public void testSamAdapterAndGenerics() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/SamAdapterAndGenerics.kt");
|
||||
runTest("../../completion/testData/basic/withLib/SamAdapterAndGenerics.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ShadowingExtensionFromExplicitSimpleImport.kt")
|
||||
public void testShadowingExtensionFromExplicitSimpleImport() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/ShadowingExtensionFromExplicitSimpleImport.kt");
|
||||
runTest("../../completion/testData/basic/withLib/ShadowingExtensionFromExplicitSimpleImport.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TopLevelNonImportedExtFun.kt")
|
||||
public void testTopLevelNonImportedExtFun() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/TopLevelNonImportedExtFun.kt");
|
||||
runTest("../../completion/testData/basic/withLib/TopLevelNonImportedExtFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TopLevelNonImportedExtProp.kt")
|
||||
public void testTopLevelNonImportedExtProp() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/TopLevelNonImportedExtProp.kt");
|
||||
runTest("../../completion/testData/basic/withLib/TopLevelNonImportedExtProp.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TopLevelNonImportedFun.kt")
|
||||
public void testTopLevelNonImportedFun() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/TopLevelNonImportedFun.kt");
|
||||
runTest("../../completion/testData/basic/withLib/TopLevelNonImportedFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TopLevelNonImportedProperty.kt")
|
||||
public void testTopLevelNonImportedProperty() throws Exception {
|
||||
runTest("../completion/testData/basic/withLib/TopLevelNonImportedProperty.kt");
|
||||
runTest("../../completion/testData/basic/withLib/TopLevelNonImportedProperty.kt");
|
||||
}
|
||||
}
|
||||
+3
-3
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/basic/stdlibWithCommon")
|
||||
@TestMetadata("../../completion/testData/basic/stdlibWithCommon")
|
||||
public class FirWithMppStdlibCompletionTestGenerated extends AbstractFirWithMppStdlibCompletionTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,6 +25,6 @@ public class FirWithMppStdlibCompletionTestGenerated extends AbstractFirWithMppS
|
||||
|
||||
@TestMetadata("extension.kt")
|
||||
public void testExtension() throws Exception {
|
||||
runTest("../completion/testData/basic/stdlibWithCommon/extension.kt");
|
||||
runTest("../../completion/testData/basic/stdlibWithCommon/extension.kt");
|
||||
}
|
||||
}
|
||||
+97
-97
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/basic/multifile")
|
||||
@TestMetadata("../../completion/testData/basic/multifile")
|
||||
public class HighLevelMultiFileJvmBasicCompletionTestGenerated extends AbstractHighLevelMultiFileJvmBasicCompletionTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,476 +25,476 @@ public class HighLevelMultiFileJvmBasicCompletionTestGenerated extends AbstractH
|
||||
|
||||
@TestMetadata("CallableReferenceNotImported")
|
||||
public void testCallableReferenceNotImported() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/CallableReferenceNotImported/");
|
||||
runTest("../../completion/testData/basic/multifile/CallableReferenceNotImported/");
|
||||
}
|
||||
|
||||
@TestMetadata("CallableReferenceNotImportedExtension")
|
||||
public void testCallableReferenceNotImportedExtension() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/CallableReferenceNotImportedExtension/");
|
||||
runTest("../../completion/testData/basic/multifile/CallableReferenceNotImportedExtension/");
|
||||
}
|
||||
|
||||
@TestMetadata("CallableReferenceNotImportedExtension2")
|
||||
public void testCallableReferenceNotImportedExtension2() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/CallableReferenceNotImportedExtension2/");
|
||||
runTest("../../completion/testData/basic/multifile/CallableReferenceNotImportedExtension2/");
|
||||
}
|
||||
|
||||
@TestMetadata("CallablesInExcludedPackage")
|
||||
public void testCallablesInExcludedPackage() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/CallablesInExcludedPackage/");
|
||||
runTest("../../completion/testData/basic/multifile/CallablesInExcludedPackage/");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassInExcludedPackage")
|
||||
public void testClassInExcludedPackage() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ClassInExcludedPackage/");
|
||||
runTest("../../completion/testData/basic/multifile/ClassInExcludedPackage/");
|
||||
}
|
||||
|
||||
@TestMetadata("CompleteFunctionWithNoSpecifiedType")
|
||||
public void testCompleteFunctionWithNoSpecifiedType() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/CompleteFunctionWithNoSpecifiedType/");
|
||||
runTest("../../completion/testData/basic/multifile/CompleteFunctionWithNoSpecifiedType/");
|
||||
}
|
||||
|
||||
@TestMetadata("CompleteImportedFunction")
|
||||
public void testCompleteImportedFunction() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/CompleteImportedFunction/");
|
||||
runTest("../../completion/testData/basic/multifile/CompleteImportedFunction/");
|
||||
}
|
||||
|
||||
@TestMetadata("CompletionOnImportedFunction")
|
||||
public void testCompletionOnImportedFunction() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/CompletionOnImportedFunction/");
|
||||
runTest("../../completion/testData/basic/multifile/CompletionOnImportedFunction/");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorReferenceNotImported")
|
||||
public void testConstructorReferenceNotImported() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ConstructorReferenceNotImported/");
|
||||
runTest("../../completion/testData/basic/multifile/ConstructorReferenceNotImported/");
|
||||
}
|
||||
|
||||
@TestMetadata("DoNotCompleteWithConstraints")
|
||||
public void testDoNotCompleteWithConstraints() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/DoNotCompleteWithConstraints/");
|
||||
runTest("../../completion/testData/basic/multifile/DoNotCompleteWithConstraints/");
|
||||
}
|
||||
|
||||
@TestMetadata("EnhancementFlexibleTypes")
|
||||
public void testEnhancementFlexibleTypes() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/EnhancementFlexibleTypes/");
|
||||
runTest("../../completion/testData/basic/multifile/EnhancementFlexibleTypes/");
|
||||
}
|
||||
|
||||
@TestMetadata("EntriesOfNotImportedEnumFromKotlin")
|
||||
public void testEntriesOfNotImportedEnumFromKotlin() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/EntriesOfNotImportedEnumFromKotlin/");
|
||||
runTest("../../completion/testData/basic/multifile/EntriesOfNotImportedEnumFromKotlin/");
|
||||
}
|
||||
|
||||
@TestMetadata("EnumCompanionMethods")
|
||||
public void testEnumCompanionMethods() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/EnumCompanionMethods/");
|
||||
runTest("../../completion/testData/basic/multifile/EnumCompanionMethods/");
|
||||
}
|
||||
|
||||
@TestMetadata("EnumEntry")
|
||||
public void testEnumEntry() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/EnumEntry/");
|
||||
runTest("../../completion/testData/basic/multifile/EnumEntry/");
|
||||
}
|
||||
|
||||
@TestMetadata("EnumValuesMethodJavaUsualPriorityWhenFeatureDisabled")
|
||||
public void testEnumValuesMethodJavaUsualPriorityWhenFeatureDisabled() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/EnumValuesMethodJavaUsualPriorityWhenFeatureDisabled/");
|
||||
runTest("../../completion/testData/basic/multifile/EnumValuesMethodJavaUsualPriorityWhenFeatureDisabled/");
|
||||
}
|
||||
|
||||
@TestMetadata("EnumValuesMethodLowerPriorityJava")
|
||||
public void testEnumValuesMethodLowerPriorityJava() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/EnumValuesMethodLowerPriorityJava/");
|
||||
runTest("../../completion/testData/basic/multifile/EnumValuesMethodLowerPriorityJava/");
|
||||
}
|
||||
|
||||
@TestMetadata("ExactMatchPreferImported")
|
||||
public void testExactMatchPreferImported() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ExactMatchPreferImported/");
|
||||
runTest("../../completion/testData/basic/multifile/ExactMatchPreferImported/");
|
||||
}
|
||||
|
||||
@TestMetadata("ExcludedClass")
|
||||
public void testExcludedClass() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ExcludedClass/");
|
||||
runTest("../../completion/testData/basic/multifile/ExcludedClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("ExcludedJavaClass")
|
||||
public void testExcludedJavaClass() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ExcludedJavaClass/");
|
||||
runTest("../../completion/testData/basic/multifile/ExcludedJavaClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtensionFunction")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ExtensionFunction/");
|
||||
runTest("../../completion/testData/basic/multifile/ExtensionFunction/");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtensionFunctionOnImportedFunction")
|
||||
public void testExtensionFunctionOnImportedFunction() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ExtensionFunctionOnImportedFunction/");
|
||||
runTest("../../completion/testData/basic/multifile/ExtensionFunctionOnImportedFunction/");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtensionOnNullable")
|
||||
public void testExtensionOnNullable() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ExtensionOnNullable/");
|
||||
runTest("../../completion/testData/basic/multifile/ExtensionOnNullable/");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtensionsAndGetPrefix")
|
||||
public void testExtensionsAndGetPrefix() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ExtensionsAndGetPrefix/");
|
||||
runTest("../../completion/testData/basic/multifile/ExtensionsAndGetPrefix/");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtensionsForSmartCast")
|
||||
public void testExtensionsForSmartCast() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ExtensionsForSmartCast/");
|
||||
runTest("../../completion/testData/basic/multifile/ExtensionsForSmartCast/");
|
||||
}
|
||||
|
||||
@TestMetadata("FileRefInStringLiteral")
|
||||
public void testFileRefInStringLiteral() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/FileRefInStringLiteral/");
|
||||
runTest("../../completion/testData/basic/multifile/FileRefInStringLiteral/");
|
||||
}
|
||||
|
||||
@TestMetadata("FileRefInStringLiteralNoPrefix")
|
||||
public void testFileRefInStringLiteralNoPrefix() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/FileRefInStringLiteralNoPrefix/");
|
||||
runTest("../../completion/testData/basic/multifile/FileRefInStringLiteralNoPrefix/");
|
||||
}
|
||||
|
||||
@TestMetadata("GroovyClassNameCompletionFromDefaultPackage")
|
||||
public void testGroovyClassNameCompletionFromDefaultPackage() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/GroovyClassNameCompletionFromDefaultPackage/");
|
||||
runTest("../../completion/testData/basic/multifile/GroovyClassNameCompletionFromDefaultPackage/");
|
||||
}
|
||||
|
||||
@TestMetadata("GroovyClassNameCompletionFromNonDefaultPackage")
|
||||
public void testGroovyClassNameCompletionFromNonDefaultPackage() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/GroovyClassNameCompletionFromNonDefaultPackage/");
|
||||
runTest("../../completion/testData/basic/multifile/GroovyClassNameCompletionFromNonDefaultPackage/");
|
||||
}
|
||||
|
||||
@TestMetadata("HiddenDeclarations")
|
||||
public void testHiddenDeclarations() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/HiddenDeclarations/");
|
||||
runTest("../../completion/testData/basic/multifile/HiddenDeclarations/");
|
||||
}
|
||||
|
||||
@TestMetadata("HiddenDeclarationsInWhenCondition")
|
||||
public void testHiddenDeclarationsInWhenCondition() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/HiddenDeclarationsInWhenCondition/");
|
||||
runTest("../../completion/testData/basic/multifile/HiddenDeclarationsInWhenCondition/");
|
||||
}
|
||||
|
||||
@TestMetadata("InImportClassifiers")
|
||||
public void testInImportClassifiers() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/InImportClassifiers/");
|
||||
runTest("../../completion/testData/basic/multifile/InImportClassifiers/");
|
||||
}
|
||||
|
||||
@TestMetadata("InImportCompanionObjectMembers")
|
||||
public void testInImportCompanionObjectMembers() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/InImportCompanionObjectMembers/");
|
||||
runTest("../../completion/testData/basic/multifile/InImportCompanionObjectMembers/");
|
||||
}
|
||||
|
||||
@TestMetadata("InImportExtension")
|
||||
public void testInImportExtension() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/InImportExtension/");
|
||||
runTest("../../completion/testData/basic/multifile/InImportExtension/");
|
||||
}
|
||||
|
||||
@TestMetadata("InImportExtensionNoAttributes")
|
||||
public void testInImportExtensionNoAttributes() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/InImportExtensionNoAttributes/");
|
||||
runTest("../../completion/testData/basic/multifile/InImportExtensionNoAttributes/");
|
||||
}
|
||||
|
||||
@TestMetadata("InImportHighOrderTopLevelFun")
|
||||
public void testInImportHighOrderTopLevelFun() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/InImportHighOrderTopLevelFun/");
|
||||
runTest("../../completion/testData/basic/multifile/InImportHighOrderTopLevelFun/");
|
||||
}
|
||||
|
||||
@TestMetadata("InImportJavaClass")
|
||||
public void testInImportJavaClass() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/InImportJavaClass/");
|
||||
runTest("../../completion/testData/basic/multifile/InImportJavaClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("InImportJavaStatic")
|
||||
public void testInImportJavaStatic() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/InImportJavaStatic/");
|
||||
runTest("../../completion/testData/basic/multifile/InImportJavaStatic/");
|
||||
}
|
||||
|
||||
@TestMetadata("InImportNestedClassifiers")
|
||||
public void testInImportNestedClassifiers() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/InImportNestedClassifiers/");
|
||||
runTest("../../completion/testData/basic/multifile/InImportNestedClassifiers/");
|
||||
}
|
||||
|
||||
@TestMetadata("InImportNoClassMembers")
|
||||
public void testInImportNoClassMembers() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/InImportNoClassMembers/");
|
||||
runTest("../../completion/testData/basic/multifile/InImportNoClassMembers/");
|
||||
}
|
||||
|
||||
@TestMetadata("InImportObjectMembers")
|
||||
public void testInImportObjectMembers() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/InImportObjectMembers/");
|
||||
runTest("../../completion/testData/basic/multifile/InImportObjectMembers/");
|
||||
}
|
||||
|
||||
@TestMetadata("InImportTopLevelVal")
|
||||
public void testInImportTopLevelVal() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/InImportTopLevelVal/");
|
||||
runTest("../../completion/testData/basic/multifile/InImportTopLevelVal/");
|
||||
}
|
||||
|
||||
@TestMetadata("InImportedFunctionLiteralParameter")
|
||||
public void testInImportedFunctionLiteralParameter() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/InImportedFunctionLiteralParameter/");
|
||||
runTest("../../completion/testData/basic/multifile/InImportedFunctionLiteralParameter/");
|
||||
}
|
||||
|
||||
@TestMetadata("IncorrectGetters")
|
||||
public void testIncorrectGetters() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/IncorrectGetters/");
|
||||
runTest("../../completion/testData/basic/multifile/IncorrectGetters/");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaCallableReference")
|
||||
public void testJavaCallableReference() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/JavaCallableReference/");
|
||||
runTest("../../completion/testData/basic/multifile/JavaCallableReference/");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaClassQualifierWithTypeArguments")
|
||||
public void testJavaClassQualifierWithTypeArguments() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/JavaClassQualifierWithTypeArguments/");
|
||||
runTest("../../completion/testData/basic/multifile/JavaClassQualifierWithTypeArguments/");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaEnum")
|
||||
public void testJavaEnum() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/JavaEnum/");
|
||||
runTest("../../completion/testData/basic/multifile/JavaEnum/");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaInnerClasses")
|
||||
public void testJavaInnerClasses() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/JavaInnerClasses/");
|
||||
runTest("../../completion/testData/basic/multifile/JavaInnerClasses/");
|
||||
}
|
||||
|
||||
@TestMetadata("KT12124")
|
||||
public void testKT12124() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/KT12124/");
|
||||
runTest("../../completion/testData/basic/multifile/KT12124/");
|
||||
}
|
||||
|
||||
@TestMetadata("KT9835")
|
||||
public void testKT9835() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/KT9835/");
|
||||
runTest("../../completion/testData/basic/multifile/KT9835/");
|
||||
}
|
||||
|
||||
@TestMetadata("MoreSpecificExtensionGeneric")
|
||||
public void testMoreSpecificExtensionGeneric() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/MoreSpecificExtensionGeneric/");
|
||||
runTest("../../completion/testData/basic/multifile/MoreSpecificExtensionGeneric/");
|
||||
}
|
||||
|
||||
@TestMetadata("MoreSpecificExtensionInDifferentPackage")
|
||||
public void testMoreSpecificExtensionInDifferentPackage() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/MoreSpecificExtensionInDifferentPackage/");
|
||||
runTest("../../completion/testData/basic/multifile/MoreSpecificExtensionInDifferentPackage/");
|
||||
}
|
||||
|
||||
@TestMetadata("MoreSpecificExtensionIsPrivate")
|
||||
public void testMoreSpecificExtensionIsPrivate() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/MoreSpecificExtensionIsPrivate/");
|
||||
runTest("../../completion/testData/basic/multifile/MoreSpecificExtensionIsPrivate/");
|
||||
}
|
||||
|
||||
@TestMetadata("NoAutoInsertionOfNotImported")
|
||||
public void testNoAutoInsertionOfNotImported() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NoAutoInsertionOfNotImported/");
|
||||
runTest("../../completion/testData/basic/multifile/NoAutoInsertionOfNotImported/");
|
||||
}
|
||||
|
||||
@TestMetadata("NoExtForOuterFromNested")
|
||||
public void testNoExtForOuterFromNested() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NoExtForOuterFromNested/");
|
||||
runTest("../../completion/testData/basic/multifile/NoExtForOuterFromNested/");
|
||||
}
|
||||
|
||||
@TestMetadata("NoExtensionMethodDuplication")
|
||||
public void testNoExtensionMethodDuplication() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NoExtensionMethodDuplication/");
|
||||
runTest("../../completion/testData/basic/multifile/NoExtensionMethodDuplication/");
|
||||
}
|
||||
|
||||
@TestMetadata("NoGenericFunDuplication")
|
||||
public void testNoGenericFunDuplication() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NoGenericFunDuplication/");
|
||||
runTest("../../completion/testData/basic/multifile/NoGenericFunDuplication/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedClass")
|
||||
public void testNotImportedClass() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedClass/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedExtensionForFlexibleType")
|
||||
public void testNotImportedExtensionForFlexibleType() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedExtensionForFlexibleType/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedExtensionForFlexibleType/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedExtensionForImplicitReceiver")
|
||||
public void testNotImportedExtensionForImplicitReceiver() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedExtensionForImplicitReceiver/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedExtensionForImplicitReceiver/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedExtensionFunction")
|
||||
public void testNotImportedExtensionFunction() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedExtensionFunction/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedExtensionFunction/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedExtensionFunction2")
|
||||
public void testNotImportedExtensionFunction2() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedExtensionFunction2/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedExtensionFunction2/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedExtensionFunction3")
|
||||
public void testNotImportedExtensionFunction3() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedExtensionFunction3/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedExtensionFunction3/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedExtensionFunctionAndAlias")
|
||||
public void testNotImportedExtensionFunctionAndAlias() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedExtensionFunctionAndAlias/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedExtensionFunctionAndAlias/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedExtensionProperty")
|
||||
public void testNotImportedExtensionProperty() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedExtensionProperty/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedExtensionProperty/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedFunction")
|
||||
public void testNotImportedFunction() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedFunction/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedFunction/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedInfixExtension")
|
||||
public void testNotImportedInfixExtension() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedInfixExtension/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedInfixExtension/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedJavaClass")
|
||||
public void testNotImportedJavaClass() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedJavaClass/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedJavaClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedNestedClassFromPrivateClass")
|
||||
public void testNotImportedNestedClassFromPrivateClass() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedNestedClassFromPrivateClass/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedNestedClassFromPrivateClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedObject")
|
||||
public void testNotImportedObject() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedObject/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedObject/");
|
||||
}
|
||||
|
||||
@TestMetadata("NotImportedProperty")
|
||||
public void testNotImportedProperty() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/NotImportedProperty/");
|
||||
runTest("../../completion/testData/basic/multifile/NotImportedProperty/");
|
||||
}
|
||||
|
||||
@TestMetadata("ObjectInTypePosition")
|
||||
public void testObjectInTypePosition() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ObjectInTypePosition/");
|
||||
runTest("../../completion/testData/basic/multifile/ObjectInTypePosition/");
|
||||
}
|
||||
|
||||
@TestMetadata("ObjectMembers")
|
||||
public void testObjectMembers() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ObjectMembers/");
|
||||
runTest("../../completion/testData/basic/multifile/ObjectMembers/");
|
||||
}
|
||||
|
||||
@TestMetadata("ParameterNameAndTypeForNotImportedAlias")
|
||||
public void testParameterNameAndTypeForNotImportedAlias() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ParameterNameAndTypeForNotImportedAlias/");
|
||||
runTest("../../completion/testData/basic/multifile/ParameterNameAndTypeForNotImportedAlias/");
|
||||
}
|
||||
|
||||
@TestMetadata("ParameterNameAndTypeNestedClasses")
|
||||
public void testParameterNameAndTypeNestedClasses() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/ParameterNameAndTypeNestedClasses/");
|
||||
runTest("../../completion/testData/basic/multifile/ParameterNameAndTypeNestedClasses/");
|
||||
}
|
||||
|
||||
@TestMetadata("PreferMemberToExtension")
|
||||
public void testPreferMemberToExtension() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/PreferMemberToExtension/");
|
||||
runTest("../../completion/testData/basic/multifile/PreferMemberToExtension/");
|
||||
}
|
||||
|
||||
@TestMetadata("PreferMemberToGlobal")
|
||||
public void testPreferMemberToGlobal() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/PreferMemberToGlobal/");
|
||||
runTest("../../completion/testData/basic/multifile/PreferMemberToGlobal/");
|
||||
}
|
||||
|
||||
@TestMetadata("PreferMoreSpecificExtension1")
|
||||
public void testPreferMoreSpecificExtension1() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/PreferMoreSpecificExtension1/");
|
||||
runTest("../../completion/testData/basic/multifile/PreferMoreSpecificExtension1/");
|
||||
}
|
||||
|
||||
@TestMetadata("PreferMoreSpecificExtension2")
|
||||
public void testPreferMoreSpecificExtension2() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/PreferMoreSpecificExtension2/");
|
||||
runTest("../../completion/testData/basic/multifile/PreferMoreSpecificExtension2/");
|
||||
}
|
||||
|
||||
@TestMetadata("PreferMoreSpecificExtension3")
|
||||
public void testPreferMoreSpecificExtension3() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/PreferMoreSpecificExtension3/");
|
||||
runTest("../../completion/testData/basic/multifile/PreferMoreSpecificExtension3/");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyKeysEmptyString")
|
||||
public void testPropertyKeysEmptyString() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/PropertyKeysEmptyString/");
|
||||
runTest("../../completion/testData/basic/multifile/PropertyKeysEmptyString/");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyKeysNoPrefix")
|
||||
public void testPropertyKeysNoPrefix() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/PropertyKeysNoPrefix/");
|
||||
runTest("../../completion/testData/basic/multifile/PropertyKeysNoPrefix/");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertyKeysWithPrefix")
|
||||
public void testPropertyKeysWithPrefix() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/PropertyKeysWithPrefix/");
|
||||
runTest("../../completion/testData/basic/multifile/PropertyKeysWithPrefix/");
|
||||
}
|
||||
|
||||
@TestMetadata("StaticMembersOfImportedClassFromJava")
|
||||
public void testStaticMembersOfImportedClassFromJava() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/StaticMembersOfImportedClassFromJava/");
|
||||
runTest("../../completion/testData/basic/multifile/StaticMembersOfImportedClassFromJava/");
|
||||
}
|
||||
|
||||
@TestMetadata("StaticMembersOfImportedInterfaceFromJava")
|
||||
public void testStaticMembersOfImportedInterfaceFromJava() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/StaticMembersOfImportedInterfaceFromJava/");
|
||||
runTest("../../completion/testData/basic/multifile/StaticMembersOfImportedInterfaceFromJava/");
|
||||
}
|
||||
|
||||
@TestMetadata("StaticMembersOfNotImportedClassFromJava")
|
||||
public void testStaticMembersOfNotImportedClassFromJava() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/StaticMembersOfNotImportedClassFromJava/");
|
||||
runTest("../../completion/testData/basic/multifile/StaticMembersOfNotImportedClassFromJava/");
|
||||
}
|
||||
|
||||
@TestMetadata("StaticMembersOfNotImportedClassFromKotlin")
|
||||
public void testStaticMembersOfNotImportedClassFromKotlin() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/StaticMembersOfNotImportedClassFromKotlin/");
|
||||
runTest("../../completion/testData/basic/multifile/StaticMembersOfNotImportedClassFromKotlin/");
|
||||
}
|
||||
|
||||
@TestMetadata("StaticMembersOfNotImportedClassFromKotlinObject")
|
||||
public void testStaticMembersOfNotImportedClassFromKotlinObject() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/StaticMembersOfNotImportedClassFromKotlinObject/");
|
||||
runTest("../../completion/testData/basic/multifile/StaticMembersOfNotImportedClassFromKotlinObject/");
|
||||
}
|
||||
|
||||
@TestMetadata("StaticMembersOfNotImportedClassNameConflict")
|
||||
public void testStaticMembersOfNotImportedClassNameConflict() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/StaticMembersOfNotImportedClassNameConflict/");
|
||||
runTest("../../completion/testData/basic/multifile/StaticMembersOfNotImportedClassNameConflict/");
|
||||
}
|
||||
|
||||
@TestMetadata("SuspensionPointInMonitor")
|
||||
public void testSuspensionPointInMonitor() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/SuspensionPointInMonitor/");
|
||||
runTest("../../completion/testData/basic/multifile/SuspensionPointInMonitor/");
|
||||
}
|
||||
|
||||
@TestMetadata("SyntheticExtensionDeprecated")
|
||||
public void testSyntheticExtensionDeprecated() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/SyntheticExtensionDeprecated/");
|
||||
runTest("../../completion/testData/basic/multifile/SyntheticExtensionDeprecated/");
|
||||
}
|
||||
|
||||
@TestMetadata("SyntheticExtensionForGenericClass")
|
||||
public void testSyntheticExtensionForGenericClass() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/SyntheticExtensionForGenericClass/");
|
||||
runTest("../../completion/testData/basic/multifile/SyntheticExtensionForGenericClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("SyntheticExtensionNonVoidSetter")
|
||||
public void testSyntheticExtensionNonVoidSetter() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/SyntheticExtensionNonVoidSetter/");
|
||||
runTest("../../completion/testData/basic/multifile/SyntheticExtensionNonVoidSetter/");
|
||||
}
|
||||
|
||||
@TestMetadata("SyntheticPrimitiveJavaProperty")
|
||||
public void testSyntheticPrimitiveJavaProperty() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/SyntheticPrimitiveJavaProperty/");
|
||||
runTest("../../completion/testData/basic/multifile/SyntheticPrimitiveJavaProperty/");
|
||||
}
|
||||
|
||||
@TestMetadata("TopLevelFunction")
|
||||
public void testTopLevelFunction() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/TopLevelFunction/");
|
||||
runTest("../../completion/testData/basic/multifile/TopLevelFunction/");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeAliases")
|
||||
public void testTypeAliases() throws Exception {
|
||||
runTest("../completion/testData/basic/multifile/TypeAliases/");
|
||||
runTest("../../completion/testData/basic/multifile/TypeAliases/");
|
||||
}
|
||||
}
|
||||
+766
-766
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -14,7 +14,7 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("testData/extensions/completion")
|
||||
+32
-32
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/kdoc")
|
||||
@TestMetadata("../../completion/testData/kdoc")
|
||||
public class K2KDocCompletionTestGenerated extends AbstractK2JvmBasicCompletionTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,151 +25,151 @@ public class K2KDocCompletionTestGenerated extends AbstractK2JvmBasicCompletionT
|
||||
|
||||
@TestMetadata("AfterPackageName.kt")
|
||||
public void testAfterPackageName() throws Exception {
|
||||
runTest("../completion/testData/kdoc/AfterPackageName.kt");
|
||||
runTest("../../completion/testData/kdoc/AfterPackageName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AmbiguousQualifier.kt")
|
||||
public void testAmbiguousQualifier() throws Exception {
|
||||
runTest("../completion/testData/kdoc/AmbiguousQualifier.kt");
|
||||
runTest("../../completion/testData/kdoc/AmbiguousQualifier.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoPopupAfterAtInKDoc.kt")
|
||||
public void testAutoPopupAfterAtInKDoc() throws Exception {
|
||||
runTest("../completion/testData/kdoc/AutoPopupAfterAtInKDoc.kt");
|
||||
runTest("../../completion/testData/kdoc/AutoPopupAfterAtInKDoc.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassesWithTheSameName.kt")
|
||||
public void testClassesWithTheSameName() throws Exception {
|
||||
runTest("../completion/testData/kdoc/ClassesWithTheSameName.kt");
|
||||
runTest("../../completion/testData/kdoc/ClassesWithTheSameName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CompanionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("../completion/testData/kdoc/CompanionObject.kt");
|
||||
runTest("../../completion/testData/kdoc/CompanionObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Extension.kt")
|
||||
public void testExtension() throws Exception {
|
||||
runTest("../completion/testData/kdoc/Extension.kt");
|
||||
runTest("../../completion/testData/kdoc/Extension.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtensionsFQLink.kt")
|
||||
public void testExtensionsFQLink() throws Exception {
|
||||
runTest("../completion/testData/kdoc/ExtensionsFQLink.kt");
|
||||
runTest("../../completion/testData/kdoc/ExtensionsFQLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtensionsForNestedClassFQLink.kt")
|
||||
public void testExtensionsForNestedClassFQLink() throws Exception {
|
||||
runTest("../completion/testData/kdoc/ExtensionsForNestedClassFQLink.kt");
|
||||
runTest("../../completion/testData/kdoc/ExtensionsForNestedClassFQLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FQLink.kt")
|
||||
public void testFQLink() throws Exception {
|
||||
runTest("../completion/testData/kdoc/FQLink.kt");
|
||||
runTest("../../completion/testData/kdoc/FQLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FQLinkInTag1.kt")
|
||||
public void testFQLinkInTag1() throws Exception {
|
||||
runTest("../completion/testData/kdoc/FQLinkInTag1.kt");
|
||||
runTest("../../completion/testData/kdoc/FQLinkInTag1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FQLinkInTag2.kt")
|
||||
public void testFQLinkInTag2() throws Exception {
|
||||
runTest("../completion/testData/kdoc/FQLinkInTag2.kt");
|
||||
runTest("../../completion/testData/kdoc/FQLinkInTag2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Link.kt")
|
||||
public void testLink() throws Exception {
|
||||
runTest("../completion/testData/kdoc/Link.kt");
|
||||
runTest("../../completion/testData/kdoc/Link.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MemberEnumEntryFQLink.kt")
|
||||
public void testMemberEnumEntryFQLink() throws Exception {
|
||||
runTest("../completion/testData/kdoc/MemberEnumEntryFQLink.kt");
|
||||
runTest("../../completion/testData/kdoc/MemberEnumEntryFQLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MemberEnumEntryLink.kt")
|
||||
public void testMemberEnumEntryLink() throws Exception {
|
||||
runTest("../completion/testData/kdoc/MemberEnumEntryLink.kt");
|
||||
runTest("../../completion/testData/kdoc/MemberEnumEntryLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MemberLink.kt")
|
||||
public void testMemberLink() throws Exception {
|
||||
runTest("../completion/testData/kdoc/MemberLink.kt");
|
||||
runTest("../../completion/testData/kdoc/MemberLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoAutoPopupAfterDigitInKDoc.kt")
|
||||
public void testNoAutoPopupAfterDigitInKDoc() throws Exception {
|
||||
runTest("../completion/testData/kdoc/NoAutoPopupAfterDigitInKDoc.kt");
|
||||
runTest("../../completion/testData/kdoc/NoAutoPopupAfterDigitInKDoc.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoCompletionAfterFunName.kt")
|
||||
public void testNoCompletionAfterFunName() throws Exception {
|
||||
runTest("../completion/testData/kdoc/NoCompletionAfterFunName.kt");
|
||||
runTest("../../completion/testData/kdoc/NoCompletionAfterFunName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoJavaSyntheticProperty.kt")
|
||||
public void testNoJavaSyntheticProperty() throws Exception {
|
||||
runTest("../completion/testData/kdoc/NoJavaSyntheticProperty.kt");
|
||||
runTest("../../completion/testData/kdoc/NoJavaSyntheticProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoTopLevelForQualified.kt")
|
||||
public void testNoTopLevelForQualified() throws Exception {
|
||||
runTest("../completion/testData/kdoc/NoTopLevelForQualified.kt");
|
||||
runTest("../../completion/testData/kdoc/NoTopLevelForQualified.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NotTagName.kt")
|
||||
public void testNotTagName() throws Exception {
|
||||
runTest("../completion/testData/kdoc/NotTagName.kt");
|
||||
runTest("../../completion/testData/kdoc/NotTagName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ParamTag.kt")
|
||||
public void testParamTag() throws Exception {
|
||||
runTest("../completion/testData/kdoc/ParamTag.kt");
|
||||
runTest("../../completion/testData/kdoc/ParamTag.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ParamTagNoCompletionAfterQualifier.kt")
|
||||
public void testParamTagNoCompletionAfterQualifier() throws Exception {
|
||||
runTest("../completion/testData/kdoc/ParamTagNoCompletionAfterQualifier.kt");
|
||||
runTest("../../completion/testData/kdoc/ParamTagNoCompletionAfterQualifier.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PrivateMember.kt")
|
||||
public void testPrivateMember() throws Exception {
|
||||
runTest("../completion/testData/kdoc/PrivateMember.kt");
|
||||
runTest("../../completion/testData/kdoc/PrivateMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SkipExistingParamTag.kt")
|
||||
public void testSkipExistingParamTag() throws Exception {
|
||||
runTest("../completion/testData/kdoc/SkipExistingParamTag.kt");
|
||||
runTest("../../completion/testData/kdoc/SkipExistingParamTag.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TagName.kt")
|
||||
public void testTagName() throws Exception {
|
||||
runTest("../completion/testData/kdoc/TagName.kt");
|
||||
runTest("../../completion/testData/kdoc/TagName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TagNameAfterAt.kt")
|
||||
public void testTagNameAfterAt() throws Exception {
|
||||
runTest("../completion/testData/kdoc/TagNameAfterAt.kt");
|
||||
runTest("../../completion/testData/kdoc/TagNameAfterAt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TagNameInClass.kt")
|
||||
public void testTagNameInClass() throws Exception {
|
||||
runTest("../completion/testData/kdoc/TagNameInClass.kt");
|
||||
runTest("../../completion/testData/kdoc/TagNameInClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TagNameInExtensionFunction.kt")
|
||||
public void testTagNameInExtensionFunction() throws Exception {
|
||||
runTest("../completion/testData/kdoc/TagNameInExtensionFunction.kt");
|
||||
runTest("../../completion/testData/kdoc/TagNameInExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TagNameMiddle.kt")
|
||||
public void testTagNameMiddle() throws Exception {
|
||||
runTest("../completion/testData/kdoc/TagNameMiddle.kt");
|
||||
runTest("../../completion/testData/kdoc/TagNameMiddle.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TagNameStart.kt")
|
||||
public void testTagNameStart() throws Exception {
|
||||
runTest("../completion/testData/kdoc/TagNameStart.kt");
|
||||
runTest("../../completion/testData/kdoc/TagNameStart.kt");
|
||||
}
|
||||
}
|
||||
+7
-7
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/multiPlatform")
|
||||
@TestMetadata("../../completion/testData/multiPlatform")
|
||||
public class K2MultiPlatformCompletionTestGenerated extends AbstractK2MultiPlatformCompletionTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,26 +25,26 @@ public class K2MultiPlatformCompletionTestGenerated extends AbstractK2MultiPlatf
|
||||
|
||||
@TestMetadata("classInCommon")
|
||||
public void testClassInCommon() throws Exception {
|
||||
runTest("../completion/testData/multiPlatform/classInCommon/");
|
||||
runTest("../../completion/testData/multiPlatform/classInCommon/");
|
||||
}
|
||||
|
||||
@TestMetadata("classInCommonNonImported")
|
||||
public void testClassInCommonNonImported() throws Exception {
|
||||
runTest("../completion/testData/multiPlatform/classInCommonNonImported/");
|
||||
runTest("../../completion/testData/multiPlatform/classInCommonNonImported/");
|
||||
}
|
||||
|
||||
@TestMetadata("classInPlatform")
|
||||
public void testClassInPlatform() throws Exception {
|
||||
runTest("../completion/testData/multiPlatform/classInPlatform/");
|
||||
runTest("../../completion/testData/multiPlatform/classInPlatform/");
|
||||
}
|
||||
|
||||
@TestMetadata("functionInCommon")
|
||||
public void testFunctionInCommon() throws Exception {
|
||||
runTest("../completion/testData/multiPlatform/functionInCommon/");
|
||||
runTest("../../completion/testData/multiPlatform/functionInCommon/");
|
||||
}
|
||||
|
||||
@TestMetadata("functionInPlatform")
|
||||
public void testFunctionInPlatform() throws Exception {
|
||||
runTest("../completion/testData/multiPlatform/functionInPlatform/");
|
||||
runTest("../../completion/testData/multiPlatform/functionInPlatform/");
|
||||
}
|
||||
}
|
||||
+51
-51
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/handlers/keywords")
|
||||
@TestMetadata("../../completion/testData/handlers/keywords")
|
||||
public class FirKeywordCompletionHandlerTestGenerated extends AbstractFirKeywordCompletionHandlerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,246 +25,246 @@ public class FirKeywordCompletionHandlerTestGenerated extends AbstractFirKeyword
|
||||
|
||||
@TestMetadata("AddCompanionToObject.kt")
|
||||
public void testAddCompanionToObject() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AddCompanionToObject.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AddCompanionToObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoIndentGetter.kt")
|
||||
public void testAutoIndentGetter() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AutoIndentGetter.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AutoIndentGetter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoIndentGetter2.kt")
|
||||
public void testAutoIndentGetter2() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AutoIndentGetter2.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AutoIndentGetter2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoIndentGetter3.kt")
|
||||
public void testAutoIndentGetter3() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AutoIndentGetter3.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AutoIndentGetter3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoIndentGetterAndModifier.kt")
|
||||
public void testAutoIndentGetterAndModifier() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AutoIndentGetterAndModifier.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AutoIndentGetterAndModifier.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoIndentGetterAndModifier2.kt")
|
||||
public void testAutoIndentGetterAndModifier2() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AutoIndentGetterAndModifier2.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AutoIndentGetterAndModifier2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoIndentGetterAndModifier3.kt")
|
||||
public void testAutoIndentGetterAndModifier3() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AutoIndentGetterAndModifier3.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AutoIndentGetterAndModifier3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoIndentSetter.kt")
|
||||
public void testAutoIndentSetter() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AutoIndentSetter.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AutoIndentSetter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoIndentSetter2.kt")
|
||||
public void testAutoIndentSetter2() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AutoIndentSetter2.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AutoIndentSetter2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoIndentSetter3.kt")
|
||||
public void testAutoIndentSetter3() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AutoIndentSetter3.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AutoIndentSetter3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoIndentSetterAndModifier.kt")
|
||||
public void testAutoIndentSetterAndModifier() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AutoIndentSetterAndModifier.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AutoIndentSetterAndModifier.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoIndentSetterAndModifier2.kt")
|
||||
public void testAutoIndentSetterAndModifier2() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AutoIndentSetterAndModifier2.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AutoIndentSetterAndModifier2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AutoIndentSetterAndModifier3.kt")
|
||||
public void testAutoIndentSetterAndModifier3() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/AutoIndentSetterAndModifier3.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/AutoIndentSetterAndModifier3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Break.kt")
|
||||
public void testBreak() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/Break.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/Break.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Catch.kt")
|
||||
public void testCatch() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/Catch.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/Catch.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CompanionObject.kt")
|
||||
public void testCompanionObject() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/CompanionObject.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/CompanionObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Constructor.kt")
|
||||
public void testConstructor() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/Constructor.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/Constructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorPrimary.kt")
|
||||
public void testConstructorPrimary() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/ConstructorPrimary.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/ConstructorPrimary.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Context.kt")
|
||||
public void testContext() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/Context.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/Context.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ContextWithoutDeclaration.kt")
|
||||
public void testContextWithoutDeclaration() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/ContextWithoutDeclaration.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/ContextWithoutDeclaration.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Do.kt")
|
||||
public void testDo() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/Do.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/Do.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FileKeyword.kt")
|
||||
public void testFileKeyword() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/FileKeyword.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/FileKeyword.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Finally.kt")
|
||||
public void testFinally() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/Finally.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/Finally.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("For.kt")
|
||||
public void testFor() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/For.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/For.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Getter1.kt")
|
||||
public void testGetter1() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/Getter1.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/Getter1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Getter2.kt")
|
||||
public void testGetter2() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/Getter2.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/Getter2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("If.kt")
|
||||
public void testIf() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/If.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/If.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IfLParenth.kt")
|
||||
public void testIfLParenth() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/IfLParenth.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/IfLParenth.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IfParansOnNextLine.kt")
|
||||
public void testIfParansOnNextLine() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/IfParansOnNextLine.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/IfParansOnNextLine.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IfSpace.kt")
|
||||
public void testIfSpace() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/IfSpace.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/IfSpace.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Init.kt")
|
||||
public void testInit() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/Init.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/Init.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoSpaceAfterNull.kt")
|
||||
public void testNoSpaceAfterNull() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/NoSpaceAfterNull.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/NoSpaceAfterNull.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("QualifiedReturnNonUnit.kt")
|
||||
public void testQualifiedReturnNonUnit() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/QualifiedReturnNonUnit.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/QualifiedReturnNonUnit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("QualifiedReturnNonUnitExplicit.kt")
|
||||
public void testQualifiedReturnNonUnitExplicit() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/QualifiedReturnNonUnitExplicit.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/QualifiedReturnNonUnitExplicit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("QualifiedReturnUnit.kt")
|
||||
public void testQualifiedReturnUnit() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/QualifiedReturnUnit.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/QualifiedReturnUnit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnEmptyList.kt")
|
||||
public void testReturnEmptyList() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/ReturnEmptyList.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/ReturnEmptyList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnInEmptyType.kt")
|
||||
public void testReturnInEmptyType() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/ReturnInEmptyType.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/ReturnInEmptyType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnInProperty.kt")
|
||||
public void testReturnInProperty() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/ReturnInProperty.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/ReturnInProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnInTypeFunction.kt")
|
||||
public void testReturnInTypeFunction() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/ReturnInTypeFunction.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/ReturnInTypeFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnInUnit.kt")
|
||||
public void testReturnInUnit() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/ReturnInUnit.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/ReturnInUnit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReturnNull.kt")
|
||||
public void testReturnNull() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/ReturnNull.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/ReturnNull.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Setter1.kt")
|
||||
public void testSetter1() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/Setter1.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/Setter1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Setter2.kt")
|
||||
public void testSetter2() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/Setter2.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/Setter2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SpaceAfterImport.kt")
|
||||
public void testSpaceAfterImport() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/SpaceAfterImport.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/SpaceAfterImport.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Try.kt")
|
||||
public void testTry() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/Try.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/Try.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UseSiteAnnotationTarget1.kt")
|
||||
public void testUseSiteAnnotationTarget1() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/UseSiteAnnotationTarget1.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/UseSiteAnnotationTarget1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UseSiteAnnotationTarget2.kt")
|
||||
public void testUseSiteAnnotationTarget2() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/UseSiteAnnotationTarget2.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/UseSiteAnnotationTarget2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UseSiteAnnotationTarget3.kt")
|
||||
public void testUseSiteAnnotationTarget3() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/UseSiteAnnotationTarget3.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/UseSiteAnnotationTarget3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("While.kt")
|
||||
public void testWhile() throws Exception {
|
||||
runTest("../completion/testData/handlers/keywords/While.kt");
|
||||
runTest("../../completion/testData/handlers/keywords/While.kt");
|
||||
}
|
||||
}
|
||||
+378
-378
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/handlers/injava")
|
||||
@TestMetadata("../../completion/testData/handlers/injava")
|
||||
public class HighLevelJavaCompletionHandlerTestGenerated extends AbstractHighLevelJavaCompletionHandlerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,6 +25,6 @@ public class HighLevelJavaCompletionHandlerTestGenerated extends AbstractHighLev
|
||||
|
||||
@TestMetadata("ClassAutoImport.java")
|
||||
public void testClassAutoImport() throws Exception {
|
||||
runTest("../completion/testData/handlers/injava/ClassAutoImport.java");
|
||||
runTest("../../completion/testData/handlers/injava/ClassAutoImport.java");
|
||||
}
|
||||
}
|
||||
+37
-37
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/handlers/charFilter")
|
||||
@TestMetadata("../../completion/testData/handlers/charFilter")
|
||||
public class K2CompletionCharFilterTestGenerated extends AbstractK2CompletionCharFilterTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,176 +25,176 @@ public class K2CompletionCharFilterTestGenerated extends AbstractK2CompletionCha
|
||||
|
||||
@TestMetadata("Colon.kt")
|
||||
public void testColon() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/Colon.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/Colon.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Comma1.kt")
|
||||
public void testComma1() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/Comma1.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/Comma1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Comma2.kt")
|
||||
public void testComma2() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/Comma2.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/Comma2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Comma3.kt")
|
||||
public void testComma3() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/Comma3.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/Comma3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Comma4.kt")
|
||||
public void testComma4() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/Comma4.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/Comma4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Comma5.kt")
|
||||
public void testComma5() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/Comma5.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/Comma5.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CommaForFunction1.kt")
|
||||
public void testCommaForFunction1() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/CommaForFunction1.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/CommaForFunction1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CommaForFunction2.kt")
|
||||
public void testCommaForFunction2() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/CommaForFunction2.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/CommaForFunction2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithLambdaArg1.kt")
|
||||
public void testConstructorWithLambdaArg1() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/ConstructorWithLambdaArg1.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/ConstructorWithLambdaArg1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorWithLambdaArg2.kt")
|
||||
public void testConstructorWithLambdaArg2() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/ConstructorWithLambdaArg2.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/ConstructorWithLambdaArg2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Dot.kt")
|
||||
public void testDot() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/Dot.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/Dot.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DotAfterFun1.kt")
|
||||
public void testDotAfterFun1() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/DotAfterFun1.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/DotAfterFun1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DotAfterFun2.kt")
|
||||
public void testDotAfterFun2() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/DotAfterFun2.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/DotAfterFun2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Eq1.kt")
|
||||
public void testEq1() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/Eq1.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/Eq1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Eq2.kt")
|
||||
public void testEq2() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/Eq2.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/Eq2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionLiteralParameter1.kt")
|
||||
public void testFunctionLiteralParameter1() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/FunctionLiteralParameter1.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/FunctionLiteralParameter1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionLiteralParameter2.kt")
|
||||
public void testFunctionLiteralParameter2() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/FunctionLiteralParameter2.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/FunctionLiteralParameter2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionLiteralParameter3.kt")
|
||||
public void testFunctionLiteralParameter3() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/FunctionLiteralParameter3.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/FunctionLiteralParameter3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionWithLambdaArg1.kt")
|
||||
public void testFunctionWithLambdaArg1() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/FunctionWithLambdaArg1.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/FunctionWithLambdaArg1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionWithLambdaArg2.kt")
|
||||
public void testFunctionWithLambdaArg2() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/FunctionWithLambdaArg2.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/FunctionWithLambdaArg2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InfixCallAndSpace.kt")
|
||||
public void testInfixCallAndSpace() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/InfixCallAndSpace.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/InfixCallAndSpace.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KeywordAndSpace.kt")
|
||||
public void testKeywordAndSpace() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/KeywordAndSpace.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/KeywordAndSpace.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LParenth.kt")
|
||||
public void testLParenth() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/LParenth.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/LParenth.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MessageBundle1.kt")
|
||||
public void testMessageBundle1() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/MessageBundle1.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/MessageBundle1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedParameter1.kt")
|
||||
public void testNamedParameter1() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/NamedParameter1.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/NamedParameter1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedParameter2.kt")
|
||||
public void testNamedParameter2() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/NamedParameter2.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/NamedParameter2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("QualifiedThis.kt")
|
||||
public void testQualifiedThis() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/QualifiedThis.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/QualifiedThis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("RangeTyping.kt")
|
||||
public void testRangeTyping() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/RangeTyping.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/RangeTyping.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Space.kt")
|
||||
public void testSpace() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/Space.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/Space.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SuperEntry.kt")
|
||||
public void testSuperEntry() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/SuperEntry.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/SuperEntry.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SuperEntry2.kt")
|
||||
public void testSuperEntry2() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/SuperEntry2.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/SuperEntry2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VariableAndTypeLateinit.kt")
|
||||
public void testVariableAndTypeLateinit() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/VariableAndTypeLateinit.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/VariableAndTypeLateinit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VariableName.kt")
|
||||
public void testVariableName() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/VariableName.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/VariableName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VariableName2.kt")
|
||||
public void testVariableName2() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/VariableName2.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/VariableName2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VariableName3.kt")
|
||||
public void testVariableName3() throws Exception {
|
||||
runTest("../completion/testData/handlers/charFilter/VariableName3.kt");
|
||||
runTest("../../completion/testData/handlers/charFilter/VariableName3.kt");
|
||||
}
|
||||
}
|
||||
+126
-126
@@ -14,16 +14,16 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/weighers/basic")
|
||||
@TestMetadata("../../completion/testData/weighers/basic")
|
||||
public abstract class HighLevelWeigherTestGenerated extends AbstractHighLevelWeigherTest {
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/weighers/basic/contextualReturn")
|
||||
@TestMetadata("../../completion/testData/weighers/basic/contextualReturn")
|
||||
public abstract static class ContextualReturn extends AbstractHighLevelWeigherTest {
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/weighers/basic/contextualReturn/noReturnType")
|
||||
@TestMetadata("../../completion/testData/weighers/basic/contextualReturn/noReturnType")
|
||||
public static class NoReturnType extends AbstractHighLevelWeigherTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -31,62 +31,62 @@ public abstract class HighLevelWeigherTestGenerated extends AbstractHighLevelWei
|
||||
|
||||
@TestMetadata("BeginOfNestedBlock.kt")
|
||||
public void testBeginOfNestedBlock() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/noReturnType/BeginOfNestedBlock.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/noReturnType/BeginOfNestedBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("BeginOfTopLevelBlock.kt")
|
||||
public void testBeginOfTopLevelBlock() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/noReturnType/BeginOfTopLevelBlock.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/noReturnType/BeginOfTopLevelBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("EndOfNestedBlock.kt")
|
||||
public void testEndOfNestedBlock() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/noReturnType/EndOfNestedBlock.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/noReturnType/EndOfNestedBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("EndOfTopLevelBlock.kt")
|
||||
public void testEndOfTopLevelBlock() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/noReturnType/EndOfTopLevelBlock.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/noReturnType/EndOfTopLevelBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ForWithBody.kt")
|
||||
public void testForWithBody() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/noReturnType/ForWithBody.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/noReturnType/ForWithBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ForWithoutBody.kt")
|
||||
public void testForWithoutBody() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/noReturnType/ForWithoutBody.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/noReturnType/ForWithoutBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IfWithoutBody.kt")
|
||||
public void testIfWithoutBody() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/noReturnType/IfWithoutBody.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/noReturnType/IfWithoutBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InElvis.kt")
|
||||
public void testInElvis() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/noReturnType/InElvis.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/noReturnType/InElvis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InElvisWhenSmartCompletionWins.kt")
|
||||
public void testInElvisWhenSmartCompletionWins() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/noReturnType/InElvisWhenSmartCompletionWins.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/noReturnType/InElvisWhenSmartCompletionWins.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InWhenSingleExpression.kt")
|
||||
public void testInWhenSingleExpression() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/noReturnType/InWhenSingleExpression.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/noReturnType/InWhenSingleExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InWhenWithBody.kt")
|
||||
public void testInWhenWithBody() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/noReturnType/InWhenWithBody.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/noReturnType/InWhenWithBody.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/weighers/basic/contextualReturn/withReturnType")
|
||||
@TestMetadata("../../completion/testData/weighers/basic/contextualReturn/withReturnType")
|
||||
public static class WithReturnType extends AbstractHighLevelWeigherTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -94,93 +94,93 @@ public abstract class HighLevelWeigherTestGenerated extends AbstractHighLevelWei
|
||||
|
||||
@TestMetadata("BeginOfNestedBlock.kt")
|
||||
public void testBeginOfNestedBlock() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/BeginOfNestedBlock.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/BeginOfNestedBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("BeginOfTopLevelBlock.kt")
|
||||
public void testBeginOfTopLevelBlock() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/BeginOfTopLevelBlock.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/BeginOfTopLevelBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("EndOfNestedBlock.kt")
|
||||
public void testEndOfNestedBlock() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/EndOfNestedBlock.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/EndOfNestedBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("EndOfTopLevelBlock.kt")
|
||||
public void testEndOfTopLevelBlock() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/EndOfTopLevelBlock.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/EndOfTopLevelBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ForWithBody.kt")
|
||||
public void testForWithBody() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/ForWithBody.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/ForWithBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ForWithoutBody.kt")
|
||||
public void testForWithoutBody() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/ForWithoutBody.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/ForWithoutBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IfWithoutBody.kt")
|
||||
public void testIfWithoutBody() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/IfWithoutBody.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/IfWithoutBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InElvis.kt")
|
||||
public void testInElvis() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/InElvis.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/InElvis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InElvisInReturn.kt")
|
||||
public void testInElvisInReturn() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/InElvisInReturn.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/InElvisInReturn.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InElvisWhenSmartCompletionWins.kt")
|
||||
public void testInElvisWhenSmartCompletionWins() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/InElvisWhenSmartCompletionWins.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/InElvisWhenSmartCompletionWins.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InIfAsReturnedExpression.kt")
|
||||
public void testInIfAsReturnedExpression() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/InIfAsReturnedExpression.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/InIfAsReturnedExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InIfInWhenWithBodyAsReturnedExpression.kt")
|
||||
public void testInIfInWhenWithBodyAsReturnedExpression() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/InIfInWhenWithBodyAsReturnedExpression.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/InIfInWhenWithBodyAsReturnedExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InNotElvisBinaryOperator.kt")
|
||||
public void testInNotElvisBinaryOperator() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/InNotElvisBinaryOperator.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/InNotElvisBinaryOperator.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InWhenAsReturnedExpression.kt")
|
||||
public void testInWhenAsReturnedExpression() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/InWhenAsReturnedExpression.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/InWhenAsReturnedExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InWhenSingleExpression.kt")
|
||||
public void testInWhenSingleExpression() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/InWhenSingleExpression.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/InWhenSingleExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InWhenWithBody.kt")
|
||||
public void testInWhenWithBody() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/InWhenWithBody.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/InWhenWithBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InWhenWithBodyAsReturnedExpression.kt")
|
||||
public void testInWhenWithBodyAsReturnedExpression() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/contextualReturn/withReturnType/InWhenWithBodyAsReturnedExpression.kt");
|
||||
runTest("../../completion/testData/weighers/basic/contextualReturn/withReturnType/InWhenWithBodyAsReturnedExpression.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/weighers/basic/expectedInfo")
|
||||
@TestMetadata("../../completion/testData/weighers/basic/expectedInfo")
|
||||
public static class ExpectedInfo extends AbstractHighLevelWeigherTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -188,82 +188,82 @@ public abstract class HighLevelWeigherTestGenerated extends AbstractHighLevelWei
|
||||
|
||||
@TestMetadata("AfterAs.kt")
|
||||
public void testAfterAs() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/AfterAs.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/AfterAs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CompanionObjectMethod.kt")
|
||||
public void testCompanionObjectMethod() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/CompanionObjectMethod.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/CompanionObjectMethod.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("EnumEntries.kt")
|
||||
public void testEnumEntries() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/EnumEntries.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/EnumEntries.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExpectedType.kt")
|
||||
public void testExpectedType() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/ExpectedType.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/ExpectedType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExpectedType2.kt")
|
||||
public void testExpectedType2() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/ExpectedType2.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/ExpectedType2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LambdaValue.kt")
|
||||
public void testLambdaValue() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/LambdaValue.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/LambdaValue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MultiArgsItem.kt")
|
||||
public void testMultiArgsItem() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/MultiArgsItem.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/MultiArgsItem.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NameSimilarity.kt")
|
||||
public void testNameSimilarity() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/NameSimilarity.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/NameSimilarity.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NameSimilarityAndNoExpectedType.kt")
|
||||
public void testNameSimilarityAndNoExpectedType() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/NameSimilarityAndNoExpectedType.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/NameSimilarityAndNoExpectedType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NameSimilarityAndNoExpectedType2.kt")
|
||||
public void testNameSimilarityAndNoExpectedType2() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/NameSimilarityAndNoExpectedType2.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/NameSimilarityAndNoExpectedType2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoStupidComparison.kt")
|
||||
public void testNoStupidComparison() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/NoStupidComparison.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/NoStupidComparison.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Null.kt")
|
||||
public void testNull() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/Null.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/Null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PreferMatchingThis.kt")
|
||||
public void testPreferMatchingThis() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/PreferMatchingThis.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/PreferMatchingThis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TrueFalse.kt")
|
||||
public void testTrueFalse() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/TrueFalse.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/TrueFalse.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("WhenByEnum.kt")
|
||||
public void testWhenByEnum() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedInfo/WhenByEnum.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedInfo/WhenByEnum.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/weighers/basic/expectedType")
|
||||
@TestMetadata("../../completion/testData/weighers/basic/expectedType")
|
||||
public static class ExpectedType extends AbstractHighLevelWeigherTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -271,42 +271,42 @@ public abstract class HighLevelWeigherTestGenerated extends AbstractHighLevelWei
|
||||
|
||||
@TestMetadata("ifConditionQualified.kt")
|
||||
public void testIfConditionQualified() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedType/ifConditionQualified.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedType/ifConditionQualified.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MatchingNullableType.kt")
|
||||
public void testMatchingNullableType() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedType/MatchingNullableType.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedType/MatchingNullableType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnFromFunction.kt")
|
||||
public void testReturnFromFunction() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedType/returnFromFunction.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedType/returnFromFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnFromFunctionQualifiedSelector.kt")
|
||||
public void testReturnFromFunctionQualifiedSelector() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedType/returnFromFunctionQualifiedSelector.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedType/returnFromFunctionQualifiedSelector.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnFromLambda.kt")
|
||||
public void testReturnFromLambda() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedType/returnFromLambda.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedType/returnFromLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeParameter.kt")
|
||||
public void testTypeParameter() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedType/typeParameter.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedType/typeParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whileConditionQualified.kt")
|
||||
public void testWhileConditionQualified() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/expectedType/whileConditionQualified.kt");
|
||||
runTest("../../completion/testData/weighers/basic/expectedType/whileConditionQualified.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/weighers/basic/parameterNameAndType")
|
||||
@TestMetadata("../../completion/testData/weighers/basic/parameterNameAndType")
|
||||
public static class ParameterNameAndType extends AbstractHighLevelWeigherTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -314,47 +314,47 @@ public abstract class HighLevelWeigherTestGenerated extends AbstractHighLevelWei
|
||||
|
||||
@TestMetadata("Deprecated.kt")
|
||||
public void testDeprecated() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/parameterNameAndType/Deprecated.kt");
|
||||
runTest("../../completion/testData/weighers/basic/parameterNameAndType/Deprecated.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FromCurrentFilePriority.kt")
|
||||
public void testFromCurrentFilePriority() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/parameterNameAndType/FromCurrentFilePriority.kt");
|
||||
runTest("../../completion/testData/weighers/basic/parameterNameAndType/FromCurrentFilePriority.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ImportedFirst.kt")
|
||||
public void testImportedFirst() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/parameterNameAndType/ImportedFirst.kt");
|
||||
runTest("../../completion/testData/weighers/basic/parameterNameAndType/ImportedFirst.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LocalClass.kt")
|
||||
public void testLocalClass() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/parameterNameAndType/LocalClass.kt");
|
||||
runTest("../../completion/testData/weighers/basic/parameterNameAndType/LocalClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MoreWordsMatchFirst.kt")
|
||||
public void testMoreWordsMatchFirst() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/parameterNameAndType/MoreWordsMatchFirst.kt");
|
||||
runTest("../../completion/testData/weighers/basic/parameterNameAndType/MoreWordsMatchFirst.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ShorterFirst.kt")
|
||||
public void testShorterFirst() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/parameterNameAndType/ShorterFirst.kt");
|
||||
runTest("../../completion/testData/weighers/basic/parameterNameAndType/ShorterFirst.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("StartMatchFirst.kt")
|
||||
public void testStartMatchFirst() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/parameterNameAndType/StartMatchFirst.kt");
|
||||
runTest("../../completion/testData/weighers/basic/parameterNameAndType/StartMatchFirst.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UserPrefix.kt")
|
||||
public void testUserPrefix() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/parameterNameAndType/UserPrefix.kt");
|
||||
runTest("../../completion/testData/weighers/basic/parameterNameAndType/UserPrefix.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../completion/testData/weighers/basic")
|
||||
@TestMetadata("../../completion/testData/weighers/basic")
|
||||
public static class Uncategorized extends AbstractHighLevelWeigherTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -362,297 +362,297 @@ public abstract class HighLevelWeigherTestGenerated extends AbstractHighLevelWei
|
||||
|
||||
@TestMetadata("AfterNullable.kt")
|
||||
public void testAfterNullable() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/AfterNullable.kt");
|
||||
runTest("../../completion/testData/weighers/basic/AfterNullable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("AlphabeticalOrder.kt")
|
||||
public void testAlphabeticalOrder() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/AlphabeticalOrder.kt");
|
||||
runTest("../../completion/testData/weighers/basic/AlphabeticalOrder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CallableReference_NothingLast.kt")
|
||||
public void testCallableReference_NothingLast() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/CallableReference_NothingLast.kt");
|
||||
runTest("../../completion/testData/weighers/basic/CallableReference_NothingLast.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Callables.kt")
|
||||
public void testCallables() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/Callables.kt");
|
||||
runTest("../../completion/testData/weighers/basic/Callables.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ContravariantType.kt")
|
||||
public void testContravariantType() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/ContravariantType.kt");
|
||||
runTest("../../completion/testData/weighers/basic/ContravariantType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CovariantType.kt")
|
||||
public void testCovariantType() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/CovariantType.kt");
|
||||
runTest("../../completion/testData/weighers/basic/CovariantType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DelegateToOtherObject.kt")
|
||||
public void testDelegateToOtherObject() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/DelegateToOtherObject.kt");
|
||||
runTest("../../completion/testData/weighers/basic/DelegateToOtherObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DeprecatedFun.kt")
|
||||
public void testDeprecatedFun() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/DeprecatedFun.kt");
|
||||
runTest("../../completion/testData/weighers/basic/DeprecatedFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DeprecatedJavaClass.kt")
|
||||
public void testDeprecatedJavaClass() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/DeprecatedJavaClass.kt");
|
||||
runTest("../../completion/testData/weighers/basic/DeprecatedJavaClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DeprecatedSinceKotlinFun.kt")
|
||||
public void testDeprecatedSinceKotlinFun() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/DeprecatedSinceKotlinFun.kt");
|
||||
runTest("../../completion/testData/weighers/basic/DeprecatedSinceKotlinFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DslCallWithExpectedType.kt")
|
||||
public void testDslCallWithExpectedType() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/DslCallWithExpectedType.kt");
|
||||
runTest("../../completion/testData/weighers/basic/DslCallWithExpectedType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DslCalls.kt")
|
||||
public void testDslCalls() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/DslCalls.kt");
|
||||
runTest("../../completion/testData/weighers/basic/DslCalls.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DslCallsAnnotatedFunctionType.kt")
|
||||
public void testDslCallsAnnotatedFunctionType() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/DslCallsAnnotatedFunctionType.kt");
|
||||
runTest("../../completion/testData/weighers/basic/DslCallsAnnotatedFunctionType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DslCallsWithMultipleReceivers.kt")
|
||||
public void testDslCallsWithMultipleReceivers() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/DslCallsWithMultipleReceivers.kt");
|
||||
runTest("../../completion/testData/weighers/basic/DslCallsWithMultipleReceivers.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DslMemberCalls.kt")
|
||||
public void testDslMemberCalls() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/DslMemberCalls.kt");
|
||||
runTest("../../completion/testData/weighers/basic/DslMemberCalls.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ErrorImplicitReceiverType.kt")
|
||||
public void testErrorImplicitReceiverType() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/ErrorImplicitReceiverType.kt");
|
||||
runTest("../../completion/testData/weighers/basic/ErrorImplicitReceiverType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExactMatchForKeyword.kt")
|
||||
public void testExactMatchForKeyword() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/ExactMatchForKeyword.kt");
|
||||
runTest("../../completion/testData/weighers/basic/ExactMatchForKeyword.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ImportDirective.kt")
|
||||
public void testImportDirective() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/ImportDirective.kt");
|
||||
runTest("../../completion/testData/weighers/basic/ImportDirective.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ImportedFirst.kt")
|
||||
public void testImportedFirst() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/ImportedFirst.kt");
|
||||
runTest("../../completion/testData/weighers/basic/ImportedFirst.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ImportedFirstForJavaClass.kt")
|
||||
public void testImportedFirstForJavaClass() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/ImportedFirstForJavaClass.kt");
|
||||
runTest("../../completion/testData/weighers/basic/ImportedFirstForJavaClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ImportedOrder.kt")
|
||||
public void testImportedOrder() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/ImportedOrder.kt");
|
||||
runTest("../../completion/testData/weighers/basic/ImportedOrder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KT-25588_1.kts")
|
||||
public void testKT_25588_1() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/KT-25588_1.kts");
|
||||
runTest("../../completion/testData/weighers/basic/KT-25588_1.kts");
|
||||
}
|
||||
|
||||
@TestMetadata("KT-25588_2.kts")
|
||||
public void testKT_25588_2() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/KT-25588_2.kts");
|
||||
runTest("../../completion/testData/weighers/basic/KT-25588_2.kts");
|
||||
}
|
||||
|
||||
@TestMetadata("KeywordsLast.kt")
|
||||
public void testKeywordsLast() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/KeywordsLast.kt");
|
||||
runTest("../../completion/testData/weighers/basic/KeywordsLast.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LambdaSignature.kt")
|
||||
public void testLambdaSignature() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/LambdaSignature.kt");
|
||||
runTest("../../completion/testData/weighers/basic/LambdaSignature.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LocalClass.kt")
|
||||
public void testLocalClass() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/LocalClass.kt");
|
||||
runTest("../../completion/testData/weighers/basic/LocalClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LocalFileBeforeImported.kt")
|
||||
public void testLocalFileBeforeImported() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/LocalFileBeforeImported.kt");
|
||||
runTest("../../completion/testData/weighers/basic/LocalFileBeforeImported.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LocalFunctionInClassMethod.kt")
|
||||
public void testLocalFunctionInClassMethod() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/LocalFunctionInClassMethod.kt");
|
||||
runTest("../../completion/testData/weighers/basic/LocalFunctionInClassMethod.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LocalValuesAndParams.kt")
|
||||
public void testLocalValuesAndParams() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/LocalValuesAndParams.kt");
|
||||
runTest("../../completion/testData/weighers/basic/LocalValuesAndParams.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LocalsBeforeKeywords.kt")
|
||||
public void testLocalsBeforeKeywords() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/LocalsBeforeKeywords.kt");
|
||||
runTest("../../completion/testData/weighers/basic/LocalsBeforeKeywords.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LocalsPropertiesKeywords.kt")
|
||||
public void testLocalsPropertiesKeywords() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/LocalsPropertiesKeywords.kt");
|
||||
runTest("../../completion/testData/weighers/basic/LocalsPropertiesKeywords.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MethodsFromAnyExplicitReceiver.kt")
|
||||
public void testMethodsFromAnyExplicitReceiver() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/MethodsFromAnyExplicitReceiver.kt");
|
||||
runTest("../../completion/testData/weighers/basic/MethodsFromAnyExplicitReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MethodsFromAnyExplicitReceiver2.kt")
|
||||
public void testMethodsFromAnyExplicitReceiver2() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/MethodsFromAnyExplicitReceiver2.kt");
|
||||
runTest("../../completion/testData/weighers/basic/MethodsFromAnyExplicitReceiver2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MethodsFromAnyImplicitReceivers.kt")
|
||||
public void testMethodsFromAnyImplicitReceivers() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/MethodsFromAnyImplicitReceivers.kt");
|
||||
runTest("../../completion/testData/weighers/basic/MethodsFromAnyImplicitReceivers.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MethodsFromIntersectionType.kt")
|
||||
public void testMethodsFromIntersectionType() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/MethodsFromIntersectionType.kt");
|
||||
runTest("../../completion/testData/weighers/basic/MethodsFromIntersectionType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedArgumentNonTypableVariables.kt")
|
||||
public void testNamedArgumentNonTypableVariables() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/NamedArgumentNonTypableVariables.kt");
|
||||
runTest("../../completion/testData/weighers/basic/NamedArgumentNonTypableVariables.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedArgumentNotMatches.kt")
|
||||
public void testNamedArgumentNotMatches() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/NamedArgumentNotMatches.kt");
|
||||
runTest("../../completion/testData/weighers/basic/NamedArgumentNotMatches.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedParameters.kt")
|
||||
public void testNamedParameters() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/NamedParameters.kt");
|
||||
runTest("../../completion/testData/weighers/basic/NamedParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedParameters2.kt")
|
||||
public void testNamedParameters2() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/NamedParameters2.kt");
|
||||
runTest("../../completion/testData/weighers/basic/NamedParameters2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedParameters3.kt")
|
||||
public void testNamedParameters3() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/NamedParameters3.kt");
|
||||
runTest("../../completion/testData/weighers/basic/NamedParameters3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoExpectedType.kt")
|
||||
public void testNoExpectedType() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/NoExpectedType.kt");
|
||||
runTest("../../completion/testData/weighers/basic/NoExpectedType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NullArgForInfixFunctionOnTheLeft.kt")
|
||||
public void testNullArgForInfixFunctionOnTheLeft() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/NullArgForInfixFunctionOnTheLeft.kt");
|
||||
runTest("../../completion/testData/weighers/basic/NullArgForInfixFunctionOnTheLeft.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NullArgForInfixFunctionOnTheRight.kt")
|
||||
public void testNullArgForInfixFunctionOnTheRight() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/NullArgForInfixFunctionOnTheRight.kt");
|
||||
runTest("../../completion/testData/weighers/basic/NullArgForInfixFunctionOnTheRight.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NullArgForNotImportedFunction.kt")
|
||||
public void testNullArgForNotImportedFunction() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/NullArgForNotImportedFunction.kt");
|
||||
runTest("../../completion/testData/weighers/basic/NullArgForNotImportedFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NullForIfConditionOnTheLeft.kt")
|
||||
public void testNullForIfConditionOnTheLeft() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/NullForIfConditionOnTheLeft.kt");
|
||||
runTest("../../completion/testData/weighers/basic/NullForIfConditionOnTheLeft.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NullForIfConditionOnTheRight.kt")
|
||||
public void testNullForIfConditionOnTheRight() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/NullForIfConditionOnTheRight.kt");
|
||||
runTest("../../completion/testData/weighers/basic/NullForIfConditionOnTheRight.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Packages.kt")
|
||||
public void testPackages() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/Packages.kt");
|
||||
runTest("../../completion/testData/weighers/basic/Packages.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ParametersBeforeKeywords.kt")
|
||||
public void testParametersBeforeKeywords() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/ParametersBeforeKeywords.kt");
|
||||
runTest("../../completion/testData/weighers/basic/ParametersBeforeKeywords.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PreferFromJdk.kt")
|
||||
public void testPreferFromJdk() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/PreferFromJdk.kt");
|
||||
runTest("../../completion/testData/weighers/basic/PreferFromJdk.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PreferGetMethodToProperty.kt")
|
||||
public void testPreferGetMethodToProperty() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/PreferGetMethodToProperty.kt");
|
||||
runTest("../../completion/testData/weighers/basic/PreferGetMethodToProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Prefix.kt")
|
||||
public void testPrefix() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/Prefix.kt");
|
||||
runTest("../../completion/testData/weighers/basic/Prefix.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertiesBeforeKeywords.kt")
|
||||
public void testPropertiesBeforeKeywords() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/PropertiesBeforeKeywords.kt");
|
||||
runTest("../../completion/testData/weighers/basic/PropertiesBeforeKeywords.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("RecursiveCall.kt")
|
||||
public void testRecursiveCall() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/RecursiveCall.kt");
|
||||
runTest("../../completion/testData/weighers/basic/RecursiveCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("StarProjection.kt")
|
||||
public void testStarProjection() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/StarProjection.kt");
|
||||
runTest("../../completion/testData/weighers/basic/StarProjection.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("StaticMembers.kt")
|
||||
public void testStaticMembers() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/StaticMembers.kt");
|
||||
runTest("../../completion/testData/weighers/basic/StaticMembers.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SuperMembers.kt")
|
||||
public void testSuperMembers() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/SuperMembers.kt");
|
||||
runTest("../../completion/testData/weighers/basic/SuperMembers.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TopLevelKeywordWithClassName.kt")
|
||||
public void testTopLevelKeywordWithClassName() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/TopLevelKeywordWithClassName.kt");
|
||||
runTest("../../completion/testData/weighers/basic/TopLevelKeywordWithClassName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnavailableDslReceiver.kt")
|
||||
public void testUnavailableDslReceiver() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/UnavailableDslReceiver.kt");
|
||||
runTest("../../completion/testData/weighers/basic/UnavailableDslReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("WhenWithSubject.kt")
|
||||
public void testWhenWithSubject() throws Exception {
|
||||
runTest("../completion/testData/weighers/basic/WhenWithSubject.kt");
|
||||
runTest("../../completion/testData/weighers/basic/WhenWithSubject.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -14,7 +14,7 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("testData/quickDoc")
|
||||
+6
-6
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/externalAnnotations")
|
||||
@TestMetadata("../../idea/tests/testData/externalAnnotations")
|
||||
public class K2ExternalAnnotationTestGenerated extends AbstractK2ExternalAnnotationTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,21 +25,21 @@ public class K2ExternalAnnotationTestGenerated extends AbstractK2ExternalAnnotat
|
||||
|
||||
@TestMetadata("notNullMethod.kt")
|
||||
public void testNotNullMethod() throws Exception {
|
||||
runTest("../idea/tests/testData/externalAnnotations/notNullMethod.kt");
|
||||
runTest("../../idea/tests/testData/externalAnnotations/notNullMethod.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullableField.kt")
|
||||
public void testNullableField() throws Exception {
|
||||
runTest("../idea/tests/testData/externalAnnotations/nullableField.kt");
|
||||
runTest("../../idea/tests/testData/externalAnnotations/nullableField.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullableMethod.kt")
|
||||
public void testNullableMethod() throws Exception {
|
||||
runTest("../idea/tests/testData/externalAnnotations/nullableMethod.kt");
|
||||
runTest("../../idea/tests/testData/externalAnnotations/nullableMethod.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullableMethodParameter.kt")
|
||||
public void testNullableMethodParameter() throws Exception {
|
||||
runTest("../idea/tests/testData/externalAnnotations/nullableMethodParameter.kt");
|
||||
runTest("../../idea/tests/testData/externalAnnotations/nullableMethodParameter.kt");
|
||||
}
|
||||
}
|
||||
+355
-355
File diff suppressed because it is too large
Load Diff
+22
-22
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/kotlin/conventions/components")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/kotlin/conventions/components")
|
||||
public class FindUsagesWithDisableComponentSearchFirTestGenerated extends AbstractFindUsagesWithDisableComponentSearchFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,101 +25,101 @@ public class FindUsagesWithDisableComponentSearchFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("callableReferences.0.kt")
|
||||
public void testCallableReferences() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/callableReferences.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/callableReferences.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("companionObjectAccess.0.kt")
|
||||
public void testCompanionObjectAccess() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/companionObjectAccess.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/companionObjectAccess.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("componentFunForGenericType1.0.kt")
|
||||
public void testComponentFunForGenericType1() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/componentFunForGenericType1.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/componentFunForGenericType1.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("componentFunForGenericType2.0.kt")
|
||||
public void testComponentFunForGenericType2() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/componentFunForGenericType2.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/componentFunForGenericType2.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("dataClass.0.kt")
|
||||
public void testDataClass() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/dataClass.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/dataClass.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("dataClassComponentByRef.0.kt")
|
||||
public void testDataClassComponentByRef() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/dataClassComponentByRef.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/dataClassComponentByRef.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("dataClassComponentByRefLocal.0.kt")
|
||||
public void testDataClassComponentByRefLocal() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/dataClassComponentByRefLocal.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/dataClassComponentByRefLocal.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("dataClassFromStdlib.0.kt")
|
||||
public void testDataClassFromStdlib() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/dataClassFromStdlib.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/dataClassFromStdlib.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("dataClassInsideDataClass.0.kt")
|
||||
public void testDataClassInsideDataClass() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/dataClassInsideDataClass.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/dataClassInsideDataClass.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("extensionComponentFun.0.kt")
|
||||
public void testExtensionComponentFun() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/extensionComponentFun.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/extensionComponentFun.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("for.0.kt")
|
||||
public void testFor() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/for.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/for.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("isAndAs.0.kt")
|
||||
public void testIsAndAs() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/isAndAs.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/isAndAs.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdas.0.kt")
|
||||
public void testLambdas() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/lambdas.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/lambdas.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mayTypeAffectAncestors.0.kt")
|
||||
public void testMayTypeAffectAncestors() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/mayTypeAffectAncestors.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/mayTypeAffectAncestors.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("memberComponentFun.0.kt")
|
||||
public void testMemberComponentFun() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/memberComponentFun.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/memberComponentFun.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("operators.0.kt")
|
||||
public void testOperators() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/operators.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/operators.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("recursiveDataClass1.0.kt")
|
||||
public void testRecursiveDataClass1() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/recursiveDataClass1.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/recursiveDataClass1.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("recursiveDataClass2.0.kt")
|
||||
public void testRecursiveDataClass2() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/recursiveDataClass2.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/recursiveDataClass2.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SAM.0.kt")
|
||||
public void testSAM() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/SAM.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/SAM.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("when.0.kt")
|
||||
public void testWhen() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlin/conventions/components/when.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlin/conventions/components/when.0.kt");
|
||||
}
|
||||
}
|
||||
+88
-88
@@ -14,16 +14,16 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages")
|
||||
public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages")
|
||||
public abstract static class FindLibraryFunctionUsages extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/dataClassComponent")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/dataClassComponent")
|
||||
public static class DataClassComponent extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -31,12 +31,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("dataClassComponent.0.kt")
|
||||
public void testDataClassComponent() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/dataClassComponent/dataClassComponent.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/dataClassComponent/dataClassComponent.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/enumFunctionUsages")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/enumFunctionUsages")
|
||||
public static class EnumFunctionUsages extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -44,12 +44,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("enumFunctionUsages.0.kt")
|
||||
public void testEnumFunctionUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/enumFunctionUsages/enumFunctionUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/enumFunctionUsages/enumFunctionUsages.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/enumValueOf")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/enumValueOf")
|
||||
public static class EnumValueOf extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -57,12 +57,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("enumValueOf.0.kt")
|
||||
public void testEnumValueOf() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/enumValueOf/enumValueOf.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/enumValueOf/enumValueOf.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/functionUsedInPlainText")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/functionUsedInPlainText")
|
||||
public static class FunctionUsedInPlainText extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -70,12 +70,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("functionUsedInPlainText.0.kt")
|
||||
public void testFunctionUsedInPlainText() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/functionUsedInPlainText/functionUsedInPlainText.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/functionUsedInPlainText/functionUsedInPlainText.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/highlightingOfSuperUsages")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/highlightingOfSuperUsages")
|
||||
public static class HighlightingOfSuperUsages extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -83,12 +83,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("highlightingOfSuperUsages.0.kt")
|
||||
public void testHighlightingOfSuperUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/highlightingOfSuperUsages/highlightingOfSuperUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/highlightingOfSuperUsages/highlightingOfSuperUsages.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/interfaceOverrides")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/interfaceOverrides")
|
||||
public static class InterfaceOverrides extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -96,12 +96,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("interfaceOverrides.0.kt")
|
||||
public void testInterfaceOverrides() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/interfaceOverrides/interfaceOverrides.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/interfaceOverrides/interfaceOverrides.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromClassCompanion")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromClassCompanion")
|
||||
public static class InvokeFromClassCompanion extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -109,12 +109,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("invokeFromClassCompanion.0.kt")
|
||||
public void testInvokeFromClassCompanion() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromClassCompanion/invokeFromClassCompanion.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromClassCompanion/invokeFromClassCompanion.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromClassCompanionExtension")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromClassCompanionExtension")
|
||||
public static class InvokeFromClassCompanionExtension extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -122,12 +122,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("invokeFromClassCompanionExtension.0.kt")
|
||||
public void testInvokeFromClassCompanionExtension() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromClassCompanionExtension/invokeFromClassCompanionExtension.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromClassCompanionExtension/invokeFromClassCompanionExtension.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromInterfaceCompanion")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromInterfaceCompanion")
|
||||
public static class InvokeFromInterfaceCompanion extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -135,12 +135,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("invokeFromInterfaceCompanion.0.kt")
|
||||
public void testInvokeFromInterfaceCompanion() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromInterfaceCompanion/invokeFromInterfaceCompanion.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromInterfaceCompanion/invokeFromInterfaceCompanion.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromParentCompanionClass")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromParentCompanionClass")
|
||||
public static class InvokeFromParentCompanionClass extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -148,12 +148,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("invokeFromParentCompanionClass.0.kt")
|
||||
public void testInvokeFromParentCompanionClass() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromParentCompanionClass/invokeFromParentCompanionClass.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/invokeFromParentCompanionClass/invokeFromParentCompanionClass.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/javaAndKotlinOverrides")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/javaAndKotlinOverrides")
|
||||
public static class JavaAndKotlinOverrides extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -161,12 +161,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("javaAndKotlinOverrides.0.kt")
|
||||
public void testJavaAndKotlinOverrides() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/javaAndKotlinOverrides/javaAndKotlinOverrides.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/javaAndKotlinOverrides/javaAndKotlinOverrides.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/javaMethodUsages")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/javaMethodUsages")
|
||||
public static class JavaMethodUsages extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -174,12 +174,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("javaMethodUsages.0.kt")
|
||||
public void testJavaMethodUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/javaMethodUsages/javaMethodUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/javaMethodUsages/javaMethodUsages.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/jvmOverloaded")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/jvmOverloaded")
|
||||
public static class JvmOverloaded extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -187,12 +187,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("jvmOverloaded.0.java")
|
||||
public void testJvmOverloaded() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/jvmOverloaded/jvmOverloaded.0.java");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/jvmOverloaded/jvmOverloaded.0.java");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/jvmStaticFun")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/jvmStaticFun")
|
||||
public static class JvmStaticFun extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -200,12 +200,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("jvmStaticFun.0.java")
|
||||
public void testJvmStaticFun() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/jvmStaticFun/jvmStaticFun.0.java");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/jvmStaticFun/jvmStaticFun.0.java");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/jvmStaticJvmOverloadsFun")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/jvmStaticJvmOverloadsFun")
|
||||
public static class JvmStaticJvmOverloadsFun extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -213,12 +213,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("jvmStaticJvmOverloadsFun.0.java")
|
||||
public void testJvmStaticJvmOverloadsFun() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/jvmStaticJvmOverloadsFun/jvmStaticJvmOverloadsFun.0.java");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/jvmStaticJvmOverloadsFun/jvmStaticJvmOverloadsFun.0.java");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinAliasedMethodUsages")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinAliasedMethodUsages")
|
||||
public static class KotlinAliasedMethodUsages extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -226,12 +226,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinAliasedMethodUsages.0.kt")
|
||||
public void testKotlinAliasedMethodUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinAliasedMethodUsages/kotlinAliasedMethodUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinAliasedMethodUsages/kotlinAliasedMethodUsages.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinInterfaceImplThroughDelegate")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinInterfaceImplThroughDelegate")
|
||||
public static class KotlinInterfaceImplThroughDelegate extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -239,12 +239,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinInterfaceImplThroughDelegate.0.kt")
|
||||
public void testKotlinInterfaceImplThroughDelegate() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinInterfaceImplThroughDelegate/kotlinInterfaceImplThroughDelegate.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinInterfaceImplThroughDelegate/kotlinInterfaceImplThroughDelegate.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinInterfaceNoImplThroughDelegate")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinInterfaceNoImplThroughDelegate")
|
||||
public static class KotlinInterfaceNoImplThroughDelegate extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -252,12 +252,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinInterfaceNoImplThroughDelegate.0.kt")
|
||||
public void testKotlinInterfaceNoImplThroughDelegate() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinInterfaceNoImplThroughDelegate/kotlinInterfaceNoImplThroughDelegate.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinInterfaceNoImplThroughDelegate/kotlinInterfaceNoImplThroughDelegate.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinMethodAliasedUsages")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinMethodAliasedUsages")
|
||||
public static class KotlinMethodAliasedUsages extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -265,12 +265,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinMethodAliasedUsages.0.kt")
|
||||
public void testKotlinMethodAliasedUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinMethodAliasedUsages/kotlinMethodAliasedUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinMethodAliasedUsages/kotlinMethodAliasedUsages.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinMethodUsages")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinMethodUsages")
|
||||
public static class KotlinMethodUsages extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -278,12 +278,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinMethodUsages.0.kt")
|
||||
public void testKotlinMethodUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinMethodUsages/kotlinMethodUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinMethodUsages/kotlinMethodUsages.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinMultiRefInImport")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinMultiRefInImport")
|
||||
public static class KotlinMultiRefInImport extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -291,12 +291,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinMultiRefInImport.0.kt")
|
||||
public void testKotlinMultiRefInImport() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinMultiRefInImport/kotlinMultiRefInImport.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinMultiRefInImport/kotlinMultiRefInImport.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinNestedClassMethodUsages")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinNestedClassMethodUsages")
|
||||
public static class KotlinNestedClassMethodUsages extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -304,12 +304,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinNestedClassMethodUsages.0.java")
|
||||
public void testKotlinNestedClassMethodUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinNestedClassMethodUsages/kotlinNestedClassMethodUsages.0.java");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinNestedClassMethodUsages/kotlinNestedClassMethodUsages.0.java");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinOverloadAndExtensionUsages")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinOverloadAndExtensionUsages")
|
||||
public static class KotlinOverloadAndExtensionUsages extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -317,12 +317,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinOverloadAndExtensionUsages.0.kt")
|
||||
public void testKotlinOverloadAndExtensionUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinOverloadAndExtensionUsages/kotlinOverloadAndExtensionUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinOverloadAndExtensionUsages/kotlinOverloadAndExtensionUsages.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinOverloadAndExtensionUsages2")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinOverloadAndExtensionUsages2")
|
||||
public static class KotlinOverloadAndExtensionUsages2 extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -330,12 +330,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinOverloadAndExtensionUsages2.0.kt")
|
||||
public void testKotlinOverloadAndExtensionUsages2() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinOverloadAndExtensionUsages2/kotlinOverloadAndExtensionUsages2.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinOverloadAndExtensionUsages2/kotlinOverloadAndExtensionUsages2.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelExternalFunction")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelExternalFunction")
|
||||
public static class KotlinTopLevelExternalFunction extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -343,12 +343,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinTopLevelExternalFunction.0.kt")
|
||||
public void testKotlinTopLevelExternalFunction() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelExternalFunction/kotlinTopLevelExternalFunction.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelExternalFunction/kotlinTopLevelExternalFunction.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelMethodUsages")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelMethodUsages")
|
||||
public static class KotlinTopLevelMethodUsages extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -356,12 +356,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinTopLevelMethodUsages.0.kt")
|
||||
public void testKotlinTopLevelMethodUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelMethodUsages/kotlinTopLevelMethodUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelMethodUsages/kotlinTopLevelMethodUsages.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelMethodUsagesMultifile")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelMethodUsagesMultifile")
|
||||
public static class KotlinTopLevelMethodUsagesMultifile extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -369,12 +369,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinTopLevelMethodUsagesMultifile.0.java")
|
||||
public void testKotlinTopLevelMethodUsagesMultifile() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelMethodUsagesMultifile/kotlinTopLevelMethodUsagesMultifile.0.java");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelMethodUsagesMultifile/kotlinTopLevelMethodUsagesMultifile.0.java");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelMethodUsagesWithRenamedFile")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelMethodUsagesWithRenamedFile")
|
||||
public static class KotlinTopLevelMethodUsagesWithRenamedFile extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -382,12 +382,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("kotlinTopLevelMethodUsagesWithRenamedFile.0.java")
|
||||
public void testKotlinTopLevelMethodUsagesWithRenamedFile() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelMethodUsagesWithRenamedFile/kotlinTopLevelMethodUsagesWithRenamedFile.0.java");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/kotlinTopLevelMethodUsagesWithRenamedFile/kotlinTopLevelMethodUsagesWithRenamedFile.0.java");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/labeledReturns")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/labeledReturns")
|
||||
public static class LabeledReturns extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -395,12 +395,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("labeledReturns.0.kt")
|
||||
public void testLabeledReturns() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/labeledReturns/labeledReturns.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/labeledReturns/labeledReturns.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/nonBaseDeclarationFunctionAsPropName")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/nonBaseDeclarationFunctionAsPropName")
|
||||
public static class NonBaseDeclarationFunctionAsPropName extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -408,12 +408,12 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("nonBaseDeclarationFunctionAsPropName.0.kt")
|
||||
public void testNonBaseDeclarationFunctionAsPropName() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/nonBaseDeclarationFunctionAsPropName/nonBaseDeclarationFunctionAsPropName.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/nonBaseDeclarationFunctionAsPropName/nonBaseDeclarationFunctionAsPropName.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/overrides")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/overrides")
|
||||
public static class Overrides extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -421,13 +421,13 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("overrides.0.kt")
|
||||
public void testOverrides() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/overrides/overrides.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/findLibraryFunctionUsages/overrides/overrides.0.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/javaLibrary")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/javaLibrary")
|
||||
public static class JavaLibrary extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -435,37 +435,37 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("LibraryClassUsages.0.kt")
|
||||
public void testLibraryClassUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/javaLibrary/LibraryClassUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/javaLibrary/LibraryClassUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryConstructorUsages.0.kt")
|
||||
public void testLibraryConstructorUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/javaLibrary/LibraryConstructorUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/javaLibrary/LibraryConstructorUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryFieldUsages.0.kt")
|
||||
public void testLibraryFieldUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/javaLibrary/LibraryFieldUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/javaLibrary/LibraryFieldUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryMethodUsages.0.kt")
|
||||
public void testLibraryMethodUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/javaLibrary/LibraryMethodUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/javaLibrary/LibraryMethodUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryStaticFieldUsages.0.kt")
|
||||
public void testLibraryStaticFieldUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/javaLibrary/LibraryStaticFieldUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/javaLibrary/LibraryStaticFieldUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryStaticMethodUsages.0.kt")
|
||||
public void testLibraryStaticMethodUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/javaLibrary/LibraryStaticMethodUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/javaLibrary/LibraryStaticMethodUsages.0.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary")
|
||||
public static class KotlinLibrary extends AbstractKotlinFindUsagesWithLibraryFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -473,77 +473,77 @@ public abstract class KotlinFindUsagesWithLibraryFirTestGenerated extends Abstra
|
||||
|
||||
@TestMetadata("LibraryClassUsages.0.kt")
|
||||
public void testLibraryClassUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryClassUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryClassUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryCompanionObjectUsages.0.kt")
|
||||
public void testLibraryCompanionObjectUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryCompanionObjectUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryCompanionObjectUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryEnumEntryUsages.0.kt")
|
||||
public void testLibraryEnumEntryUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryEnumEntryUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryEnumEntryUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryEnumUsage.0.kt")
|
||||
public void testLibraryEnumUsage() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryEnumUsage.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryEnumUsage.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryExtFunctionUsage.0.kt")
|
||||
public void testLibraryExtFunctionUsage() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryExtFunctionUsage.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryExtFunctionUsage.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryFunctionUsages.0.kt")
|
||||
public void testLibraryFunctionUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryFunctionUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryFunctionUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryJvmOverloads.0.kt")
|
||||
public void testLibraryJvmOverloads() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryJvmOverloads.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryJvmOverloads.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryMemberFunctionUsages.0.kt")
|
||||
public void testLibraryMemberFunctionUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryMemberFunctionUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryMemberFunctionUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryNestedClassMemberFunctionUsages.0.kt")
|
||||
public void testLibraryNestedClassMemberFunctionUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryNestedClassMemberFunctionUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryNestedClassMemberFunctionUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryNestedClassPrimaryConstructorUsages.0.kt")
|
||||
public void testLibraryNestedClassPrimaryConstructorUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryNestedClassPrimaryConstructorUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryNestedClassPrimaryConstructorUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryNestedClassSecondaryConstructorUsages.0.kt")
|
||||
public void testLibraryNestedClassSecondaryConstructorUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryNestedClassSecondaryConstructorUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryNestedClassSecondaryConstructorUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryNestedClassUsages.0.kt")
|
||||
public void testLibraryNestedClassUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryNestedClassUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryNestedClassUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryObjectUsages.0.kt")
|
||||
public void testLibraryObjectUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryObjectUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryObjectUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibraryPrimaryConstructorUsages.0.kt")
|
||||
public void testLibraryPrimaryConstructorUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryPrimaryConstructorUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibraryPrimaryConstructorUsages.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LibrarySecondaryConstructorUsages.0.kt")
|
||||
public void testLibrarySecondaryConstructorUsages() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibrarySecondaryConstructorUsages.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/libraryUsages/kotlinLibrary/LibrarySecondaryConstructorUsages.0.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
-3
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/stdlibUsages")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/stdlibUsages")
|
||||
public class KotlinFindUsagesWithStdlibFirTestGenerated extends AbstractKotlinFindUsagesWithStdlibFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,6 +25,6 @@ public class KotlinFindUsagesWithStdlibFirTestGenerated extends AbstractKotlinFi
|
||||
|
||||
@TestMetadata("LibraryMemberFunctionUsagesInStdlib.0.kt")
|
||||
public void testLibraryMemberFunctionUsagesInStdlib() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/stdlibUsages/LibraryMemberFunctionUsagesInStdlib.0.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/stdlibUsages/LibraryMemberFunctionUsagesInStdlib.0.kt");
|
||||
}
|
||||
}
|
||||
+4
-4
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/similarity/features")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/similarity/features")
|
||||
public class KotlinGroupUsagesBySimilarityFeaturesFirTestGenerated extends AbstractKotlinGroupUsagesBySimilarityFeaturesFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,11 +25,11 @@ public class KotlinGroupUsagesBySimilarityFeaturesFirTestGenerated extends Abstr
|
||||
|
||||
@TestMetadata("functionFeatures.kt")
|
||||
public void testFunctionFeatures() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/features/functionFeatures.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/features/functionFeatures.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("methodCallFromVariable.kt")
|
||||
public void testMethodCallFromVariable() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/features/methodCallFromVariable.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/features/methodCallFromVariable.kt");
|
||||
}
|
||||
}
|
||||
+14
-14
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/similarity/grouping")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/similarity/grouping")
|
||||
public class KotlinGroupUsagesBySimilarityFirTestGenerated extends AbstractKotlinGroupUsagesBySimilarityFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,61 +25,61 @@ public class KotlinGroupUsagesBySimilarityFirTestGenerated extends AbstractKotli
|
||||
|
||||
@TestMetadata("blockHierarchy.kt")
|
||||
public void testBlockHierarchy() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/grouping/blockHierarchy.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/grouping/blockHierarchy.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("chainCalls.kt")
|
||||
public void testChainCalls() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/grouping/chainCalls.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/grouping/chainCalls.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("controlStatements.kt")
|
||||
public void testControlStatements() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/grouping/controlStatements.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/grouping/controlStatements.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("declaration.kt")
|
||||
public void testDeclaration() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/grouping/declaration.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/grouping/declaration.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("featuresForClassReferences.kt")
|
||||
public void testFeaturesForClassReferences() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/grouping/featuresForClassReferences.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/grouping/featuresForClassReferences.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("filter.kt")
|
||||
public void testFilter() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/grouping/filter.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/grouping/filter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functionSignature.kt")
|
||||
public void testFunctionSignature() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/grouping/functionSignature.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/grouping/functionSignature.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("general.kt")
|
||||
public void testGeneral() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/grouping/general.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/grouping/general.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("import.kt")
|
||||
public void testImport() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/grouping/import.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/grouping/import.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("listAdd.kt")
|
||||
public void testListAdd() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/grouping/listAdd.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/grouping/listAdd.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noVariableNameFeatures.kt")
|
||||
public void testNoVariableNameFeatures() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/grouping/noVariableNameFeatures.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/grouping/noVariableNameFeatures.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeReference.kt")
|
||||
public void testTypeReference() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/similarity/grouping/typeReference.kt");
|
||||
runTest("../../idea/tests/testData/findUsages/similarity/grouping/typeReference.kt");
|
||||
}
|
||||
}
|
||||
+7
-7
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/findUsages/kotlinScript")
|
||||
@TestMetadata("../../idea/tests/testData/findUsages/kotlinScript")
|
||||
public class KotlinScriptFindUsagesFirTestGenerated extends AbstractKotlinScriptFindUsagesFirTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,26 +25,26 @@ public class KotlinScriptFindUsagesFirTestGenerated extends AbstractKotlinScript
|
||||
|
||||
@TestMetadata("anonymousObject.0.kts")
|
||||
public void testAnonymousObject() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlinScript/anonymousObject.0.kts");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlinScript/anonymousObject.0.kts");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectAsInitializer.0.kts")
|
||||
public void testAnonymousObjectAsInitializer() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlinScript/anonymousObjectAsInitializer.0.kts");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlinScript/anonymousObjectAsInitializer.0.kts");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectInFun.0.kts")
|
||||
public void testAnonymousObjectInFun() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlinScript/anonymousObjectInFun.0.kts");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlinScript/anonymousObjectInFun.0.kts");
|
||||
}
|
||||
|
||||
@TestMetadata("dummy.0.kts")
|
||||
public void testDummy() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlinScript/dummy.0.kts");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlinScript/dummy.0.kts");
|
||||
}
|
||||
|
||||
@TestMetadata("localClass.0.kts")
|
||||
public void testLocalClass() throws Exception {
|
||||
runTest("../idea/tests/testData/findUsages/kotlinScript/localClass.0.kts");
|
||||
runTest("../../idea/tests/testData/findUsages/kotlinScript/localClass.0.kts");
|
||||
}
|
||||
}
|
||||
+127
-127
@@ -14,15 +14,15 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public abstract class FirJvmOptimizeImportsTestGenerated extends AbstractFirJvmOptimizeImportsTest {
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/editor/optimizeImports/jvm")
|
||||
@TestMetadata("../../idea/tests/testData/editor/optimizeImports/jvm")
|
||||
public abstract static class Jvm extends AbstractFirJvmOptimizeImportsTest {
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports")
|
||||
@TestMetadata("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports")
|
||||
public static class AllUnderImports extends AbstractFirJvmOptimizeImportsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -30,87 +30,87 @@ public abstract class FirJvmOptimizeImportsTestGenerated extends AbstractFirJvmO
|
||||
|
||||
@TestMetadata("ClassNameConflict.kt")
|
||||
public void testClassNameConflict() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflict.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflict.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassNameConflict2.kt")
|
||||
public void testClassNameConflict2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflict2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflict2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassNameConflict3.kt")
|
||||
public void testClassNameConflict3() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflict3.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflict3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassNameConflict4.kt")
|
||||
public void testClassNameConflict4() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflict4.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflict4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassNameConflictWithCurrentPackage.kt")
|
||||
public void testClassNameConflictWithCurrentPackage() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflictWithCurrentPackage.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflictWithCurrentPackage.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassNameConflictWithCurrentPackage2.kt")
|
||||
public void testClassNameConflictWithCurrentPackage2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflictWithCurrentPackage2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflictWithCurrentPackage2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassNameConflictWithCurrentPackage3.kt")
|
||||
public void testClassNameConflictWithCurrentPackage3() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflictWithCurrentPackage3.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflictWithCurrentPackage3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassNameConflictWithDefault.kt")
|
||||
public void testClassNameConflictWithDefault() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflictWithDefault.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflictWithDefault.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassNameConflictWithinDefaultImports.kt")
|
||||
public void testClassNameConflictWithinDefaultImports() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflictWithinDefaultImports.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ClassNameConflictWithinDefaultImports.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConflictWithAnnotation.kt")
|
||||
public void testConflictWithAnnotation() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ConflictWithAnnotation.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/ConflictWithAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaAnnotationWithValueParameterIsProperlyResolved.kt")
|
||||
public void testJavaAnnotationWithValueParameterIsProperlyResolved() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/JavaAnnotationWithValueParameterIsProperlyResolved.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/JavaAnnotationWithValueParameterIsProperlyResolved.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KotlinAnnotationWithSingleArgumentIsProperlyResolved.kt")
|
||||
public void testKotlinAnnotationWithSingleArgumentIsProperlyResolved() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/KotlinAnnotationWithSingleArgumentIsProperlyResolved.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/KotlinAnnotationWithSingleArgumentIsProperlyResolved.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NameCountSetting.kt")
|
||||
public void testNameCountSetting() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/NameCountSetting.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/NameCountSetting.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NameCountSettingWithUnresolvedReference.kt")
|
||||
public void testNameCountSettingWithUnresolvedReference() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/NameCountSettingWithUnresolvedReference.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/NameCountSettingWithUnresolvedReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PackagesToUseStarImport.kt")
|
||||
public void testPackagesToUseStarImport() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/PackagesToUseStarImport.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/PackagesToUseStarImport.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/Simple.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/allUnderImports/Simple.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/editor/optimizeImports/jvm")
|
||||
@TestMetadata("../../idea/tests/testData/editor/optimizeImports/jvm")
|
||||
public static class Uncategorized extends AbstractFirJvmOptimizeImportsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -118,166 +118,166 @@ public abstract class FirJvmOptimizeImportsTestGenerated extends AbstractFirJvmO
|
||||
|
||||
@TestMetadata("AlreadyOptimized.kt")
|
||||
public void testAlreadyOptimized() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/AlreadyOptimized.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/AlreadyOptimized.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CallableReference.kt")
|
||||
public void testCallableReference() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/CallableReference.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/CallableReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CallableReference2.kt")
|
||||
public void testCallableReference2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/CallableReference2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/CallableReference2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassFromSameFileImportAddedBug.kt")
|
||||
public void testClassFromSameFileImportAddedBug() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/ClassFromSameFileImportAddedBug.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/ClassFromSameFileImportAddedBug.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConflictWithName.kt")
|
||||
public void testConflictWithName() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/ConflictWithName.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/ConflictWithName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DoNotTouchIfNoChanges.kt")
|
||||
public void testDoNotTouchIfNoChanges() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/DoNotTouchIfNoChanges.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/DoNotTouchIfNoChanges.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DoNotTouchIfNoChanges2.kt")
|
||||
public void testDoNotTouchIfNoChanges2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/DoNotTouchIfNoChanges2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/DoNotTouchIfNoChanges2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DuplicatedImports.kt")
|
||||
public void testDuplicatedImports() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/DuplicatedImports.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/DuplicatedImports.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DuplicatedImports2.kt")
|
||||
public void testDuplicatedImports2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/DuplicatedImports2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/DuplicatedImports2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExplicitImportOfDefault.kt")
|
||||
public void testExplicitImportOfDefault() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/ExplicitImportOfDefault.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/ExplicitImportOfDefault.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FromCompanionObject.kt")
|
||||
public void testFromCompanionObject() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/FromCompanionObject.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/FromCompanionObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FromCompanionObjectGeneric.kt")
|
||||
public void testFromCompanionObjectGeneric() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/FromCompanionObjectGeneric.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/FromCompanionObjectGeneric.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaStaticField.kt")
|
||||
public void testJavaStaticField() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/JavaStaticField.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/JavaStaticField.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaUtil.kt")
|
||||
public void testJavaUtil() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/JavaUtil.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/JavaUtil.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KDocReference.kt")
|
||||
public void testKDocReference() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/KDocReference.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/KDocReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KT10226.kt")
|
||||
public void testKT10226() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/KT10226.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/KT10226.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Kt1850FullQualified.kt")
|
||||
public void testKt1850FullQualified() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/Kt1850FullQualified.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/Kt1850FullQualified.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Kt1850InnerClass.kt")
|
||||
public void testKt1850InnerClass() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/Kt1850InnerClass.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/Kt1850InnerClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NestedClassInObject.kt")
|
||||
public void testNestedClassInObject() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/NestedClassInObject.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/NestedClassInObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Operators.kt")
|
||||
public void testOperators() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/Operators.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/Operators.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PlusAndPlusAssign.kt")
|
||||
public void testPlusAndPlusAssign() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/PlusAndPlusAssign.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/PlusAndPlusAssign.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("RemoveImportsIfGeneral.kt")
|
||||
public void testRemoveImportsIfGeneral() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/RemoveImportsIfGeneral.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/RemoveImportsIfGeneral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("RemoveImportsIfGeneralBefore.kt")
|
||||
public void testRemoveImportsIfGeneralBefore() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/RemoveImportsIfGeneralBefore.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/RemoveImportsIfGeneralBefore.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SamConstructor.kt")
|
||||
public void testSamConstructor() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/SamConstructor.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/SamConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("staticFromJava.kt")
|
||||
public void testStaticFromJava() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/staticFromJava.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/staticFromJava.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("StaticMethodFromSuper.kt")
|
||||
public void testStaticMethodFromSuper() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/StaticMethodFromSuper.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/StaticMethodFromSuper.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ThisAndSuper.kt")
|
||||
public void testThisAndSuper() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/ThisAndSuper.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/ThisAndSuper.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TrivialAlias.kt")
|
||||
public void testTrivialAlias() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/TrivialAlias.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/TrivialAlias.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeAliasVsUnderlyingClass.kt")
|
||||
public void testTypeAliasVsUnderlyingClass() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/TypeAliasVsUnderlyingClass.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/TypeAliasVsUnderlyingClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnusedImports.kt")
|
||||
public void testUnusedImports() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/UnusedImports.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/UnusedImports.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("WithAliases.kt")
|
||||
public void testWithAliases() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/jvm/WithAliases.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/jvm/WithAliases.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/editor/optimizeImports/common")
|
||||
@TestMetadata("../../idea/tests/testData/editor/optimizeImports/common")
|
||||
public abstract static class Common extends AbstractFirJvmOptimizeImportsTest {
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/editor/optimizeImports/common/basic")
|
||||
@TestMetadata("../../idea/tests/testData/editor/optimizeImports/common/basic")
|
||||
public static class Basic extends AbstractFirJvmOptimizeImportsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -285,92 +285,92 @@ public abstract class FirJvmOptimizeImportsTestGenerated extends AbstractFirJvmO
|
||||
|
||||
@TestMetadata("UnusedClass.kt")
|
||||
public void testUnusedClass() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UnusedClass.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UnusedClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnusedExtensionFunction.kt")
|
||||
public void testUnusedExtensionFunction() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UnusedExtensionFunction.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UnusedExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnusedExtensionProperty.kt")
|
||||
public void testUnusedExtensionProperty() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UnusedExtensionProperty.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UnusedExtensionProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnusedFunction.kt")
|
||||
public void testUnusedFunction() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UnusedFunction.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UnusedFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnusedProperty.kt")
|
||||
public void testUnusedProperty() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UnusedProperty.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UnusedProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnusedStarImport.kt")
|
||||
public void testUnusedStarImport() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UnusedStarImport.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UnusedStarImport.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UsedClass.kt")
|
||||
public void testUsedClass() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UsedClass.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UsedClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UsedClassWithAlias.kt")
|
||||
public void testUsedClassWithAlias() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UsedClassWithAlias.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UsedClassWithAlias.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UsedConstructor.kt")
|
||||
public void testUsedConstructor() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UsedConstructor.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UsedConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UsedExtensionFunction.kt")
|
||||
public void testUsedExtensionFunction() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UsedExtensionFunction.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UsedExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UsedExtensionFunctionImplicitReceiver.kt")
|
||||
public void testUsedExtensionFunctionImplicitReceiver() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UsedExtensionFunctionImplicitReceiver.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UsedExtensionFunctionImplicitReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UsedExtensionProperty.kt")
|
||||
public void testUsedExtensionProperty() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UsedExtensionProperty.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UsedExtensionProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UsedFunction.kt")
|
||||
public void testUsedFunction() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UsedFunction.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UsedFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UsedFunctionReference.kt")
|
||||
public void testUsedFunctionReference() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UsedFunctionReference.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UsedFunctionReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UsedProperty.kt")
|
||||
public void testUsedProperty() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UsedProperty.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UsedProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UsedStarImport.kt")
|
||||
public void testUsedStarImport() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UsedStarImport.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UsedStarImport.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UsedTypeQualifierWithAlias.kt")
|
||||
public void testUsedTypeQualifierWithAlias() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/basic/UsedTypeQualifierWithAlias.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/basic/UsedTypeQualifierWithAlias.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/editor/optimizeImports/common/kt21515")
|
||||
@TestMetadata("../../idea/tests/testData/editor/optimizeImports/common/kt21515")
|
||||
public static class Kt21515 extends AbstractFirJvmOptimizeImportsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -378,32 +378,32 @@ public abstract class FirJvmOptimizeImportsTestGenerated extends AbstractFirJvmO
|
||||
|
||||
@TestMetadata("callableReferenceOnClass.kt")
|
||||
public void testCallableReferenceOnClass() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/kt21515/callableReferenceOnClass.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/kt21515/callableReferenceOnClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("callableReferenceOnClassWithCompanion.kt")
|
||||
public void testCallableReferenceOnClassWithCompanion() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/kt21515/callableReferenceOnClassWithCompanion.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/kt21515/callableReferenceOnClassWithCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("callableReferenceOnObject.kt")
|
||||
public void testCallableReferenceOnObject() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/kt21515/callableReferenceOnObject.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/kt21515/callableReferenceOnObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/kt21515/constructor.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/kt21515/constructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeReference.kt")
|
||||
public void testTypeReference() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/kt21515/typeReference.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/kt21515/typeReference.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/editor/optimizeImports/common")
|
||||
@TestMetadata("../../idea/tests/testData/editor/optimizeImports/common")
|
||||
public static class Uncategorized extends AbstractFirJvmOptimizeImportsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -411,252 +411,252 @@ public abstract class FirJvmOptimizeImportsTestGenerated extends AbstractFirJvmO
|
||||
|
||||
@TestMetadata("ArrayAccessExpression.kt")
|
||||
public void testArrayAccessExpression() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ArrayAccessExpression.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ArrayAccessExpression.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("BacktickSort.kt")
|
||||
public void testBacktickSort() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/BacktickSort.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/BacktickSort.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ClassMemberImported.kt")
|
||||
public void testClassMemberImported() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ClassMemberImported.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ClassMemberImported.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Companion.kt")
|
||||
public void testCompanion() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/Companion.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/Companion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CompanionExtensionFunctionReference.kt")
|
||||
public void testCompanionExtensionFunctionReference() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/CompanionExtensionFunctionReference.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/CompanionExtensionFunctionReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CompanionFunction.kt")
|
||||
public void testCompanionFunction() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/CompanionFunction.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/CompanionFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CompanionFunction2.kt")
|
||||
public void testCompanionFunction2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/CompanionFunction2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/CompanionFunction2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ComponentFunction.kt")
|
||||
public void testComponentFunction() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ComponentFunction.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ComponentFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConflictWithAlias.kt")
|
||||
public void testConflictWithAlias() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ConflictWithAlias.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ConflictWithAlias.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConflictWithAlias2.kt")
|
||||
public void testConflictWithAlias2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ConflictWithAlias2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ConflictWithAlias2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConflictWithUnresolvedName.kt")
|
||||
public void testConflictWithUnresolvedName() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ConflictWithUnresolvedName.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ConflictWithUnresolvedName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConflictWithUnresolvedName2.kt")
|
||||
public void testConflictWithUnresolvedName2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ConflictWithUnresolvedName2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ConflictWithUnresolvedName2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("CurrentPackage.kt")
|
||||
public void testCurrentPackage() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/CurrentPackage.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/CurrentPackage.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DefaultImportAndAlias.kt")
|
||||
public void testDefaultImportAndAlias() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/DefaultImportAndAlias.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/DefaultImportAndAlias.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DefaultImportAndAlias2.kt")
|
||||
public void testDefaultImportAndAlias2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/DefaultImportAndAlias2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/DefaultImportAndAlias2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DefaultObjectReference.kt")
|
||||
public void testDefaultObjectReference() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/DefaultObjectReference.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/DefaultObjectReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Enums.kt")
|
||||
public void testEnums() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/Enums.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/Enums.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtensionFunctionalTypeValFromCompanionObject.kt")
|
||||
public void testExtensionFunctionalTypeValFromCompanionObject() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ExtensionFunctionalTypeValFromCompanionObject.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ExtensionFunctionalTypeValFromCompanionObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtensionFunctionalTypeValFromCompanionObjectCallOnCompanion.kt")
|
||||
public void testExtensionFunctionalTypeValFromCompanionObjectCallOnCompanion() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ExtensionFunctionalTypeValFromCompanionObjectCallOnCompanion.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ExtensionFunctionalTypeValFromCompanionObjectCallOnCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtensionFunctionalTypeValFromCompanionObjectNonExtCall.kt")
|
||||
public void testExtensionFunctionalTypeValFromCompanionObjectNonExtCall() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ExtensionFunctionalTypeValFromCompanionObjectNonExtCall.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ExtensionFunctionalTypeValFromCompanionObjectNonExtCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InvokeFunction.kt")
|
||||
public void testInvokeFunction() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/InvokeFunction.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/InvokeFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IteratorFunction.kt")
|
||||
public void testIteratorFunction() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/IteratorFunction.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/IteratorFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IteratorFunction2.kt")
|
||||
public void testIteratorFunction2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/IteratorFunction2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/IteratorFunction2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KT11640.kt")
|
||||
public void testKT11640() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/KT11640.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/KT11640.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KT11640_1.kt")
|
||||
public void testKT11640_1() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/KT11640_1.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/KT11640_1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KT13689.kt")
|
||||
public void testKT13689() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/KT13689.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/KT13689.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KT9875.kt")
|
||||
public void testKT9875() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/KT9875.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/KT9875.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("KeywordNames.kt")
|
||||
public void testKeywordNames() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/KeywordNames.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/KeywordNames.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Kt2488EnumEntry.kt")
|
||||
public void testKt2488EnumEntry() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/Kt2488EnumEntry.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/Kt2488EnumEntry.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Kt2709.kt")
|
||||
public void testKt2709() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/Kt2709.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/Kt2709.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Kt32409.kt")
|
||||
public void testKt32409() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/Kt32409.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/Kt32409.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MemberImports.kt")
|
||||
public void testMemberImports() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/MemberImports.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/MemberImports.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MembersInScope.kt")
|
||||
public void testMembersInScope() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/MembersInScope.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/MembersInScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NestedClassConstructorReferenceThroughTopLevelClass.kt")
|
||||
public void testNestedClassConstructorReferenceThroughTopLevelClass() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/NestedClassConstructorReferenceThroughTopLevelClass.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/NestedClassConstructorReferenceThroughTopLevelClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NestedClassReferenceOutsideClassBody.kt")
|
||||
public void testNestedClassReferenceOutsideClassBody() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/NestedClassReferenceOutsideClassBody.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/NestedClassReferenceOutsideClassBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NestedClassReferenceThroughAlias.kt")
|
||||
public void testNestedClassReferenceThroughAlias() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/NestedClassReferenceThroughAlias.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/NestedClassReferenceThroughAlias.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NestedClassReferenceThroughTopLevelClass.kt")
|
||||
public void testNestedClassReferenceThroughTopLevelClass() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/NestedClassReferenceThroughTopLevelClass.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/NestedClassReferenceThroughTopLevelClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Overloads.kt")
|
||||
public void testOverloads() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/Overloads.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/Overloads.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ProvideDelegate.kt")
|
||||
public void testProvideDelegate() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ProvideDelegate.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ProvideDelegate.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ProvideDelegate2.kt")
|
||||
public void testProvideDelegate2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ProvideDelegate2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ProvideDelegate2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ResolvedImportAndUnresolvedReference.kt")
|
||||
public void testResolvedImportAndUnresolvedReference() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/ResolvedImportAndUnresolvedReference.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/ResolvedImportAndUnresolvedReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SeveralClasses.kt")
|
||||
public void testSeveralClasses() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/SeveralClasses.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/SeveralClasses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SeveralClasses2.kt")
|
||||
public void testSeveralClasses2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/SeveralClasses2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/SeveralClasses2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SeveralClasses3.kt")
|
||||
public void testSeveralClasses3() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/SeveralClasses3.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/SeveralClasses3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoConstructors.kt")
|
||||
public void testTwoConstructors() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/TwoConstructors.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/TwoConstructors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnresolvedImport.kt")
|
||||
public void testUnresolvedImport() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/UnresolvedImport.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/UnresolvedImport.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnresolvedImport2.kt")
|
||||
public void testUnresolvedImport2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/UnresolvedImport2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/UnresolvedImport2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("WithAlias.kt")
|
||||
public void testWithAlias() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/WithAlias.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/WithAlias.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("WithAlias2.kt")
|
||||
public void testWithAlias2() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/WithAlias2.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/WithAlias2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("WithoutFormatter.kt")
|
||||
public void testWithoutFormatter() throws Exception {
|
||||
runTest("../idea/tests/testData/editor/optimizeImports/common/WithoutFormatter.kt");
|
||||
runTest("../../idea/tests/testData/editor/optimizeImports/common/WithoutFormatter.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
+15
-15
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/navigation/gotoDeclaration")
|
||||
@TestMetadata("../../idea/tests/testData/navigation/gotoDeclaration")
|
||||
public class FirGotoDeclarationTestGenerated extends AbstractFirGotoDeclarationTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,66 +25,66 @@ public class FirGotoDeclarationTestGenerated extends AbstractFirGotoDeclarationT
|
||||
|
||||
@TestMetadata("annotationCallWithMissedTypeArgs.test")
|
||||
public void testAnnotationCallWithMissedTypeArgs() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/annotationCallWithMissedTypeArgs.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/annotationCallWithMissedTypeArgs.test");
|
||||
}
|
||||
|
||||
@TestMetadata("dataClassToString.test")
|
||||
public void testDataClassToString() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/dataClassToString.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/dataClassToString.test");
|
||||
}
|
||||
|
||||
@TestMetadata("importAlias.test")
|
||||
public void testImportAlias() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/importAlias.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/importAlias.test");
|
||||
}
|
||||
|
||||
@TestMetadata("itExtensionLambda.test")
|
||||
public void testItExtensionLambda() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/itExtensionLambda.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/itExtensionLambda.test");
|
||||
}
|
||||
|
||||
@TestMetadata("itExtensionLambdaInBrackets.test")
|
||||
public void testItExtensionLambdaInBrackets() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/itExtensionLambdaInBrackets.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/itExtensionLambdaInBrackets.test");
|
||||
}
|
||||
|
||||
@TestMetadata("itInLambdaAsDefaultArgument.test")
|
||||
public void testItInLambdaAsDefaultArgument() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/itInLambdaAsDefaultArgument.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/itInLambdaAsDefaultArgument.test");
|
||||
}
|
||||
|
||||
@TestMetadata("itInLambdaWithoutCall.test")
|
||||
public void testItInLambdaWithoutCall() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/itInLambdaWithoutCall.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/itInLambdaWithoutCall.test");
|
||||
}
|
||||
|
||||
@TestMetadata("itParameterInLambda.test")
|
||||
public void testItParameterInLambda() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/itParameterInLambda.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/itParameterInLambda.test");
|
||||
}
|
||||
|
||||
@TestMetadata("labeledThisToClass.test")
|
||||
public void testLabeledThisToClass() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/labeledThisToClass.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/labeledThisToClass.test");
|
||||
}
|
||||
|
||||
@TestMetadata("labeledThisToMemberExtension.test")
|
||||
public void testLabeledThisToMemberExtension() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/labeledThisToMemberExtension.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/labeledThisToMemberExtension.test");
|
||||
}
|
||||
|
||||
@TestMetadata("thisExtensionFunction.test")
|
||||
public void testThisExtensionFunction() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/thisExtensionFunction.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/thisExtensionFunction.test");
|
||||
}
|
||||
|
||||
@TestMetadata("thisExtensionLambda.test")
|
||||
public void testThisExtensionLambda() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/thisExtensionLambda.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/thisExtensionLambda.test");
|
||||
}
|
||||
|
||||
@TestMetadata("thisInExtensionPropertyAccessor.test")
|
||||
public void testThisInExtensionPropertyAccessor() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoDeclaration/thisInExtensionPropertyAccessor.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoDeclaration/thisInExtensionPropertyAccessor.test");
|
||||
}
|
||||
}
|
||||
+17
-17
@@ -14,10 +14,10 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/navigation/gotoTypeDeclaration")
|
||||
@TestMetadata("../../idea/tests/testData/navigation/gotoTypeDeclaration")
|
||||
public class FirGotoTypeDeclarationTestGenerated extends AbstractFirGotoTypeDeclarationTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -25,76 +25,76 @@ public class FirGotoTypeDeclarationTestGenerated extends AbstractFirGotoTypeDecl
|
||||
|
||||
@TestMetadata("builtinTypeStdlib.test")
|
||||
public void testBuiltinTypeStdlib() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/builtinTypeStdlib.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/builtinTypeStdlib.test");
|
||||
}
|
||||
|
||||
@TestMetadata("explicitParameterInLambda.test")
|
||||
public void testExplicitParameterInLambda() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/explicitParameterInLambda.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/explicitParameterInLambda.test");
|
||||
}
|
||||
|
||||
@TestMetadata("fromFunctionDeclarationName.test")
|
||||
public void testFromFunctionDeclarationName() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/fromFunctionDeclarationName.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/fromFunctionDeclarationName.test");
|
||||
}
|
||||
|
||||
@TestMetadata("fromFunctionDeclarationReturn.test")
|
||||
public void testFromFunctionDeclarationReturn() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/fromFunctionDeclarationReturn.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/fromFunctionDeclarationReturn.test");
|
||||
}
|
||||
|
||||
@TestMetadata("fromFunctionDeclrationExtension.test")
|
||||
public void testFromFunctionDeclrationExtension() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/fromFunctionDeclrationExtension.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/fromFunctionDeclrationExtension.test");
|
||||
}
|
||||
|
||||
@TestMetadata("functionCall.test")
|
||||
public void testFunctionCall() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/functionCall.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/functionCall.test");
|
||||
}
|
||||
|
||||
@TestMetadata("itExtensionLambda.test")
|
||||
public void testItExtensionLambda() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/itExtensionLambda.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/itExtensionLambda.test");
|
||||
}
|
||||
|
||||
@TestMetadata("itParameterInLambda.test")
|
||||
public void testItParameterInLambda() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/itParameterInLambda.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/itParameterInLambda.test");
|
||||
}
|
||||
|
||||
@TestMetadata("noParametersLambda.test")
|
||||
public void testNoParametersLambda() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/noParametersLambda.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/noParametersLambda.test");
|
||||
}
|
||||
|
||||
@TestMetadata("thisExtensionFunction.test")
|
||||
public void testThisExtensionFunction() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/thisExtensionFunction.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/thisExtensionFunction.test");
|
||||
}
|
||||
|
||||
@TestMetadata("thisExtensionFunctionWithAnnotationOnReceiver.test")
|
||||
public void testThisExtensionFunctionWithAnnotationOnReceiver() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/thisExtensionFunctionWithAnnotationOnReceiver.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/thisExtensionFunctionWithAnnotationOnReceiver.test");
|
||||
}
|
||||
|
||||
@TestMetadata("thisExtensionFunctionWithGenericReceiver.test")
|
||||
public void testThisExtensionFunctionWithGenericReceiver() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/thisExtensionFunctionWithGenericReceiver.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/thisExtensionFunctionWithGenericReceiver.test");
|
||||
}
|
||||
|
||||
@TestMetadata("thisExtensionLambda.test")
|
||||
public void testThisExtensionLambda() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/thisExtensionLambda.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/thisExtensionLambda.test");
|
||||
}
|
||||
|
||||
@TestMetadata("thisInExtensionPropertyAccessor.test")
|
||||
public void testThisInExtensionPropertyAccessor() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/thisInExtensionPropertyAccessor.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/thisInExtensionPropertyAccessor.test");
|
||||
}
|
||||
|
||||
@TestMetadata("variableType.test")
|
||||
public void testVariableType() throws Exception {
|
||||
runTest("../idea/tests/testData/navigation/gotoTypeDeclaration/variableType.test");
|
||||
runTest("../../idea/tests/testData/navigation/gotoTypeDeclaration/variableType.test");
|
||||
}
|
||||
}
|
||||
+135
-135
@@ -14,13 +14,13 @@ import org.junit.runner.RunWith;
|
||||
* DO NOT MODIFY MANUALLY.
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@TestRoot("fir")
|
||||
@TestRoot("fir/tests")
|
||||
@TestDataPath("$CONTENT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/parameterInfo")
|
||||
@TestMetadata("../../idea/tests/testData/parameterInfo")
|
||||
public abstract class FirParameterInfoTestGenerated extends AbstractFirParameterInfoTest {
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/parameterInfo/annotations")
|
||||
@TestMetadata("../../idea/tests/testData/parameterInfo/annotations")
|
||||
public static class Annotations extends AbstractFirParameterInfoTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -28,22 +28,22 @@ public abstract class FirParameterInfoTestGenerated extends AbstractFirParameter
|
||||
|
||||
@TestMetadata("ConstructorCall.kt")
|
||||
public void testConstructorCall() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/annotations/ConstructorCall.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/annotations/ConstructorCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorCallWithUseSite.kt")
|
||||
public void testConstructorCallWithUseSite() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/annotations/ConstructorCallWithUseSite.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/annotations/ConstructorCallWithUseSite.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionCall.kt")
|
||||
public void testFunctionCall() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/annotations/FunctionCall.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/annotations/FunctionCall.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/parameterInfo/arrayAccess")
|
||||
@TestMetadata("../../idea/tests/testData/parameterInfo/arrayAccess")
|
||||
public static class ArrayAccess extends AbstractFirParameterInfoTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -51,47 +51,47 @@ public abstract class FirParameterInfoTestGenerated extends AbstractFirParameter
|
||||
|
||||
@TestMetadata("ktij-5382.kt")
|
||||
public void testKtij_5382() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/arrayAccess/ktij-5382.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/arrayAccess/ktij-5382.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Overloads.kt")
|
||||
public void testOverloads() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/arrayAccess/Overloads.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/arrayAccess/Overloads.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Overloads2.kt")
|
||||
public void testOverloads2() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/arrayAccess/Overloads2.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/arrayAccess/Overloads2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Set.kt")
|
||||
public void testSet() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/arrayAccess/Set.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/arrayAccess/Set.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SetTooManyArgs.kt")
|
||||
public void testSetTooManyArgs() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/arrayAccess/SetTooManyArgs.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/arrayAccess/SetTooManyArgs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/arrayAccess/Simple.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/arrayAccess/Simple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UpdateOnTypingGet.kt")
|
||||
public void testUpdateOnTypingGet() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/arrayAccess/UpdateOnTypingGet.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/arrayAccess/UpdateOnTypingGet.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UpdateOnTypingSet.kt")
|
||||
public void testUpdateOnTypingSet() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/arrayAccess/UpdateOnTypingSet.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/arrayAccess/UpdateOnTypingSet.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/parameterInfo/functionCall")
|
||||
@TestMetadata("../../idea/tests/testData/parameterInfo/functionCall")
|
||||
public static class FunctionCall extends AbstractFirParameterInfoTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -99,452 +99,452 @@ public abstract class FirParameterInfoTestGenerated extends AbstractFirParameter
|
||||
|
||||
@TestMetadata("Conflicting.kt")
|
||||
public void testConflicting() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/Conflicting.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/Conflicting.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DataClassComponentFunction.kt")
|
||||
public void testDataClassComponentFunction() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/DataClassComponentFunction.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/DataClassComponentFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DataClassCopy.kt")
|
||||
public void testDataClassCopy() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/DataClassCopy.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/DataClassCopy.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DefaultConstructor.kt")
|
||||
public void testDefaultConstructor() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/DefaultConstructor.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/DefaultConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DefaultValuesFromLib.kt")
|
||||
public void testDefaultValuesFromLib() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/DefaultValuesFromLib.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/DefaultValuesFromLib.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Deprecated.kt")
|
||||
public void testDeprecated() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/Deprecated.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/Deprecated.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("DeprecatedHidden.kt")
|
||||
public void testDeprecatedHidden() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/DeprecatedHidden.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/DeprecatedHidden.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("deprecatedSinceKotlinApplicable.kt")
|
||||
public void testDeprecatedSinceKotlinApplicable() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/deprecatedSinceKotlinApplicable.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/deprecatedSinceKotlinApplicable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("deprecatedSinceKotlinNotApplicable.kt")
|
||||
public void testDeprecatedSinceKotlinNotApplicable() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/deprecatedSinceKotlinNotApplicable.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/deprecatedSinceKotlinNotApplicable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("EnumValueOf.kt")
|
||||
public void testEnumValueOf() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/EnumValueOf.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/EnumValueOf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("EnumValues.kt")
|
||||
public void testEnumValues() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/EnumValues.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/EnumValues.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtensionOnCapturedScopeChange.kt")
|
||||
public void testExtensionOnCapturedScopeChange() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/ExtensionOnCapturedScopeChange.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/ExtensionOnCapturedScopeChange.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ExtensionOnClassObject.kt")
|
||||
public void testExtensionOnClassObject() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/ExtensionOnClassObject.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/ExtensionOnClassObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionalValue1.kt")
|
||||
public void testFunctionalValue1() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/FunctionalValue1.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/FunctionalValue1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionalValue2.kt")
|
||||
public void testFunctionalValue2() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/FunctionalValue2.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/FunctionalValue2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionalValueAndTypeAlias.kt")
|
||||
public void testFunctionalValueAndTypeAlias() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/FunctionalValueAndTypeAlias.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/FunctionalValueAndTypeAlias.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionalValueGeneric1.kt")
|
||||
public void testFunctionalValueGeneric1() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/FunctionalValueGeneric1.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/FunctionalValueGeneric1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionalValueGeneric2.kt")
|
||||
public void testFunctionalValueGeneric2() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/FunctionalValueGeneric2.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/FunctionalValueGeneric2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InheritedFunctions.kt")
|
||||
public void testInheritedFunctions() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/InheritedFunctions.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/InheritedFunctions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InheritedWithCurrentFunctions.kt")
|
||||
public void testInheritedWithCurrentFunctions() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/InheritedWithCurrentFunctions.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/InheritedWithCurrentFunctions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Invoke.kt")
|
||||
public void testInvoke() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/Invoke.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/Invoke.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaArgument.kt")
|
||||
public void testLambdaArgument() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/lambdaArgument.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/lambdaArgument.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaArgument2.kt")
|
||||
public void testLambdaArgument2() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/lambdaArgument2.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/lambdaArgument2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaArgumentForEach.kt")
|
||||
public void testLambdaArgumentForEach() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/lambdaArgumentForEach.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/lambdaArgumentForEach.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaArgumentGroupBy.kt")
|
||||
public void testLambdaArgumentGroupBy() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/lambdaArgumentGroupBy.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/lambdaArgumentGroupBy.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("LocalFunctionBug.kt")
|
||||
public void testLocalFunctionBug() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/LocalFunctionBug.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/LocalFunctionBug.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MixedNamedArguments.kt")
|
||||
public void testMixedNamedArguments() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/MixedNamedArguments.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/MixedNamedArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("MixedNamedArguments2.kt")
|
||||
public void testMixedNamedArguments2() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/MixedNamedArguments2.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/MixedNamedArguments2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedAndDefaultParameter.kt")
|
||||
public void testNamedAndDefaultParameter() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NamedAndDefaultParameter.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NamedAndDefaultParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedParameter.kt")
|
||||
public void testNamedParameter() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NamedParameter.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NamedParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedParameter2.kt")
|
||||
public void testNamedParameter2() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NamedParameter2.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NamedParameter2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedParameter3.kt")
|
||||
public void testNamedParameter3() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NamedParameter3.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NamedParameter3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NamedParameter4.kt")
|
||||
public void testNamedParameter4() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NamedParameter4.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NamedParameter4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoAnnotations.kt")
|
||||
public void testNoAnnotations() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NoAnnotations.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NoAnnotations.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoCandidatesDeprecatedHidden.kt")
|
||||
public void testNoCandidatesDeprecatedHidden() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NoCandidatesDeprecatedHidden.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NoCandidatesDeprecatedHidden.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoCandidatesNotAccessible.kt")
|
||||
public void testNoCandidatesNotAccessible() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NoCandidatesNotAccessible.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NoCandidatesNotAccessible.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoCandidatesSelfDelegatedConstructorCall.kt")
|
||||
public void testNoCandidatesSelfDelegatedConstructorCall() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NoCandidatesSelfDelegatedConstructorCall.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NoCandidatesSelfDelegatedConstructorCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoCandidatesWrongImplicitReceiver.kt")
|
||||
public void testNoCandidatesWrongImplicitReceiver() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NoCandidatesWrongImplicitReceiver.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NoCandidatesWrongImplicitReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoCandidatesWrongReceiver.kt")
|
||||
public void testNoCandidatesWrongReceiver() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NoCandidatesWrongReceiver.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NoCandidatesWrongReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoShadowedDeclarations.kt")
|
||||
public void testNoShadowedDeclarations() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NoShadowedDeclarations.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NoShadowedDeclarations.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoShadowedDeclarations2.kt")
|
||||
public void testNoShadowedDeclarations2() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NoShadowedDeclarations2.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NoShadowedDeclarations2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoSynthesizedParameterNames.kt")
|
||||
public void testNoSynthesizedParameterNames() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NoSynthesizedParameterNames.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NoSynthesizedParameterNames.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NotAccessible.kt")
|
||||
public void testNotAccessible() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NotAccessible.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NotAccessible.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NotGreen.kt")
|
||||
public void testNotGreen() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NotGreen.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NotGreen.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Nullability.kt")
|
||||
public void testNullability() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/Nullability.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/Nullability.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NullableTypeCall.kt")
|
||||
public void testNullableTypeCall() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/NullableTypeCall.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/NullableTypeCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("OtherConstructorFromSecondary.kt")
|
||||
public void testOtherConstructorFromSecondary() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/OtherConstructorFromSecondary.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/OtherConstructorFromSecondary.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ParameterHighlighting.kt")
|
||||
public void testParameterHighlighting() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/ParameterHighlighting.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/ParameterHighlighting.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ParameterNameAnnotationConflict.kt")
|
||||
public void testParameterNameAnnotationConflict() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/ParameterNameAnnotationConflict.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/ParameterNameAnnotationConflict.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ParameterNameAnnotationInFunctionType.kt")
|
||||
public void testParameterNameAnnotationInFunctionType() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/ParameterNameAnnotationInFunctionType.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/ParameterNameAnnotationInFunctionType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ParameterNameAnnotationInNonFunctionType.kt")
|
||||
public void testParameterNameAnnotationInNonFunctionType() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/ParameterNameAnnotationInNonFunctionType.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/ParameterNameAnnotationInNonFunctionType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Println.kt")
|
||||
public void testPrintln() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/Println.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/Println.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PrivateConstructor.kt")
|
||||
public void testPrivateConstructor() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/PrivateConstructor.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/PrivateConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/Simple.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/Simple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SimpleConstructor.kt")
|
||||
public void testSimpleConstructor() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SimpleConstructor.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SimpleConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SmartCastReceiver.kt")
|
||||
public void testSmartCastReceiver() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SmartCastReceiver.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SmartCastReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SmartCastReceiver2.kt")
|
||||
public void testSmartCastReceiver2() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SmartCastReceiver2.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SmartCastReceiver2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SubstituteExpectedType.kt")
|
||||
public void testSubstituteExpectedType() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SubstituteExpectedType.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SubstituteExpectedType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SubstituteExplicitTypeArgs.kt")
|
||||
public void testSubstituteExplicitTypeArgs() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SubstituteExplicitTypeArgs.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SubstituteExplicitTypeArgs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SubstituteFromArguments1.kt")
|
||||
public void testSubstituteFromArguments1() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SubstituteFromArguments1.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SubstituteFromArguments1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SubstituteFromArguments2.kt")
|
||||
public void testSubstituteFromArguments2() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SubstituteFromArguments2.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SubstituteFromArguments2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SubstituteFromArguments3.kt")
|
||||
public void testSubstituteFromArguments3() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SubstituteFromArguments3.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SubstituteFromArguments3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SubstituteFromArguments4.kt")
|
||||
public void testSubstituteFromArguments4() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SubstituteFromArguments4.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SubstituteFromArguments4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SubstituteFromArgumentsOnTyping.kt")
|
||||
public void testSubstituteFromArgumentsOnTyping() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SubstituteFromArgumentsOnTyping.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SubstituteFromArgumentsOnTyping.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SubstitutedTypeParamInReceiver.kt")
|
||||
public void testSubstitutedTypeParamInReceiver() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SubstitutedTypeParamInReceiver.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SubstitutedTypeParamInReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SuperConstructorCall.kt")
|
||||
public void testSuperConstructorCall() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SuperConstructorCall.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SuperConstructorCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SuperConstructorFromSecondary.kt")
|
||||
public void testSuperConstructorFromSecondary() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/SuperConstructorFromSecondary.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/SuperConstructorFromSecondary.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TooManyArgs.kt")
|
||||
public void testTooManyArgs() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/TooManyArgs.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/TooManyArgs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TooManyArgs2.kt")
|
||||
public void testTooManyArgs2() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/TooManyArgs2.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/TooManyArgs2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TrailingComma.kt")
|
||||
public void testTrailingComma() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/TrailingComma.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/TrailingComma.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoFunctions.kt")
|
||||
public void testTwoFunctions() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/TwoFunctions.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/TwoFunctions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoFunctionsGrey.kt")
|
||||
public void testTwoFunctionsGrey() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/TwoFunctionsGrey.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/TwoFunctionsGrey.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TwoSmartCasts.kt")
|
||||
public void testTwoSmartCasts() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/TwoSmartCasts.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/TwoSmartCasts.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeAliasConstructor.kt")
|
||||
public void testTypeAliasConstructor() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/TypeAliasConstructor.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/TypeAliasConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeInference.kt")
|
||||
public void testTypeInference() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/TypeInference.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/TypeInference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnmappedAfterCurrent.kt")
|
||||
public void testUnmappedAfterCurrent() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/UnmappedAfterCurrent.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/UnmappedAfterCurrent.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnmappedBeforeCurrent.kt")
|
||||
public void testUnmappedBeforeCurrent() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/UnmappedBeforeCurrent.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/UnmappedBeforeCurrent.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnmappedCurrent.kt")
|
||||
public void testUnmappedCurrent() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/UnmappedCurrent.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/UnmappedCurrent.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnresolvedAfterCurrent.kt")
|
||||
public void testUnresolvedAfterCurrent() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/UnresolvedAfterCurrent.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/UnresolvedAfterCurrent.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnresolvedBeforeCurrent.kt")
|
||||
public void testUnresolvedBeforeCurrent() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/UnresolvedBeforeCurrent.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/UnresolvedBeforeCurrent.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UnresolvedCurrent.kt")
|
||||
public void testUnresolvedCurrent() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/UnresolvedCurrent.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/UnresolvedCurrent.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UpdateOnTyping.kt")
|
||||
public void testUpdateOnTyping() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/UpdateOnTyping.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/UpdateOnTyping.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/Vararg.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/Vararg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VarargBeforeArgs.kt")
|
||||
public void testVarargBeforeArgs() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/VarargBeforeArgs.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/VarargBeforeArgs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VarargFirstArgTrailingComma.kt")
|
||||
public void testVarargFirstArgTrailingComma() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/VarargFirstArgTrailingComma.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/VarargFirstArgTrailingComma.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VarargMultipleArgsTrailingComma.kt")
|
||||
public void testVarargMultipleArgsTrailingComma() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/VarargMultipleArgsTrailingComma.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/VarargMultipleArgsTrailingComma.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VarargNamedArg.kt")
|
||||
public void testVarargNamedArg() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/VarargNamedArg.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/VarargNamedArg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VarargSpreadArg.kt")
|
||||
public void testVarargSpreadArg() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/VarargSpreadArg.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/VarargSpreadArg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VarargUpdateOnTyping.kt")
|
||||
public void testVarargUpdateOnTyping() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/functionCall/VarargUpdateOnTyping.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/functionCall/VarargUpdateOnTyping.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/parameterInfo/typeArguments")
|
||||
@TestMetadata("../../idea/tests/testData/parameterInfo/typeArguments")
|
||||
public static class TypeArguments extends AbstractFirParameterInfoTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -552,122 +552,122 @@ public abstract class FirParameterInfoTestGenerated extends AbstractFirParameter
|
||||
|
||||
@TestMetadata("BaseClass.kt")
|
||||
public void testBaseClass() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/BaseClass.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/BaseClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("BaseClassNoParens.kt")
|
||||
public void testBaseClassNoParens() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/BaseClassNoParens.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/BaseClassNoParens.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConflictingWithArgument.kt")
|
||||
public void testConflictingWithArgument() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/ConflictingWithArgument.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/ConflictingWithArgument.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConflictingWithArgumentNoParens.kt")
|
||||
public void testConflictingWithArgumentNoParens() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/ConflictingWithArgumentNoParens.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/ConflictingWithArgumentNoParens.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Constraints.kt")
|
||||
public void testConstraints() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/Constraints.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/Constraints.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorCall.kt")
|
||||
public void testConstructorCall() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/ConstructorCall.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/ConstructorCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ConstructorCallNoParens.kt")
|
||||
public void testConstructorCallNoParens() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/ConstructorCallNoParens.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/ConstructorCallNoParens.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionCall.kt")
|
||||
public void testFunctionCall() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/FunctionCall.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/FunctionCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("FunctionCallNoParens.kt")
|
||||
public void testFunctionCallNoParens() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/FunctionCallNoParens.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/FunctionCallNoParens.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaClass.kt")
|
||||
public void testJavaClass() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/JavaClass.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/JavaClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("JavaClassNoParens.kt")
|
||||
public void testJavaClassNoParens() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/JavaClassNoParens.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/JavaClassNoParens.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoCandidatesDeprecatedHidden.kt")
|
||||
public void testNoCandidatesDeprecatedHidden() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/NoCandidatesDeprecatedHidden.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/NoCandidatesDeprecatedHidden.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoCandidatesNotAccessible.kt")
|
||||
public void testNoCandidatesNotAccessible() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/NoCandidatesNotAccessible.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/NoCandidatesNotAccessible.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("NoCandidatesWrongReceiver.kt")
|
||||
public void testNoCandidatesWrongReceiver() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/NoCandidatesWrongReceiver.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/NoCandidatesWrongReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Overloads.kt")
|
||||
public void testOverloads() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/Overloads.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/Overloads.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("OverloadsNoParens.kt")
|
||||
public void testOverloadsNoParens() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/OverloadsNoParens.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/OverloadsNoParens.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ParameterizedClassConstructor.kt")
|
||||
public void testParameterizedClassConstructor() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/ParameterizedClassConstructor.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/ParameterizedClassConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ParameterizedClassConstructorNoParens.kt")
|
||||
public void testParameterizedClassConstructorNoParens() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/ParameterizedClassConstructorNoParens.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/ParameterizedClassConstructorNoParens.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Reified.kt")
|
||||
public void testReified() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/Reified.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/Reified.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ReifiedNoParens.kt")
|
||||
public void testReifiedNoParens() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/ReifiedNoParens.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/ReifiedNoParens.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SubstitutedTypeParamInReceiver.kt")
|
||||
public void testSubstitutedTypeParamInReceiver() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/SubstitutedTypeParamInReceiver.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/SubstitutedTypeParamInReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SubstitutedTypeParamInReceiverNoParens.kt")
|
||||
public void testSubstitutedTypeParamInReceiverNoParens() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/SubstitutedTypeParamInReceiverNoParens.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/SubstitutedTypeParamInReceiverNoParens.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VariableType.kt")
|
||||
public void testVariableType() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/typeArguments/VariableType.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/typeArguments/VariableType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/parameterInfo/withLib1")
|
||||
@TestMetadata("../../idea/tests/testData/parameterInfo/withLib1")
|
||||
public static class WithLib1 extends AbstractFirParameterInfoTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -675,12 +675,12 @@ public abstract class FirParameterInfoTestGenerated extends AbstractFirParameter
|
||||
|
||||
@TestMetadata("useJavaFromLib.kt")
|
||||
public void testUseJavaFromLib() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/withLib1/useJavaFromLib.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/withLib1/useJavaFromLib.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/parameterInfo/withLib2")
|
||||
@TestMetadata("../../idea/tests/testData/parameterInfo/withLib2")
|
||||
public static class WithLib2 extends AbstractFirParameterInfoTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -688,12 +688,12 @@ public abstract class FirParameterInfoTestGenerated extends AbstractFirParameter
|
||||
|
||||
@TestMetadata("useJavaSAMFromLib.kt")
|
||||
public void testUseJavaSAMFromLib() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/withLib2/useJavaSAMFromLib.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/withLib2/useJavaSAMFromLib.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@TestMetadata("../idea/tests/testData/parameterInfo/withLib3")
|
||||
@TestMetadata("../../idea/tests/testData/parameterInfo/withLib3")
|
||||
public static class WithLib3 extends AbstractFirParameterInfoTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
@@ -701,7 +701,7 @@ public abstract class FirParameterInfoTestGenerated extends AbstractFirParameter
|
||||
|
||||
@TestMetadata("useJavaSAMFromLib.kt")
|
||||
public void testUseJavaSAMFromLib() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/withLib3/useJavaSAMFromLib.kt");
|
||||
runTest("../../idea/tests/testData/parameterInfo/withLib3/useJavaSAMFromLib.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
+184
-184
File diff suppressed because it is too large
Load Diff
+306
-306
File diff suppressed because it is too large
Load Diff
+865
-865
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user