Files
openide/plugins/gradle/java/testSources/importing/GradleToolWindowOldGroupingTest.kt
Kirill Likhodedov 519434a401 gradle: convert Groovy to Kotlin: IDEA-327336: tests
GitOrigin-RevId: ad98e0d3e769669e3e16a3d74c16cb0f8cdea537
2024-06-06 10:39:19 +00:00

23 lines
639 B
Kotlin

// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.gradle.importing
import java.io.File
class GradleToolWindowOldGroupingTest : GradleToolWindowTest() {
override fun setUp() {
super.setUp()
currentExternalProjectSettings.setUseQualifiedModuleNames(false)
}
override fun getPath(): String {
val testDataPath = super.getPath()
val testDataForOldGrouping = "$testDataPath.old"
if (File(testDataForOldGrouping).exists()) {
return testDataForOldGrouping
}
else {
return testDataPath
}
}
}