mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform UI][se] IJPL-225186 Run some tests from FunctionalIntelliJTest with old and split SE
Space-RevId: e6a273b2da7cda6743040a6076fa9bf38da3a7a7 GitOrigin-RevId: 3c48500af26124d91be7d32c2b0598a5a3cc4229
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8de71d922a
commit
823af72239
+4
@@ -810,6 +810,10 @@ fun <T : CommandChain> T.setRegistrySelectedOption(registry: String, optionValue
|
||||
addCommand("${CMD_PREFIX}set $registry=[option]$optionValue")
|
||||
}
|
||||
|
||||
fun <T : CommandChain> T.setRegistries(registries: List<String>, value: Boolean): T = apply {
|
||||
registries.forEach { setRegistry(it, value) }
|
||||
}
|
||||
|
||||
fun <T : CommandChain> T.validateGradleMatrixCompatibility(): T = apply {
|
||||
addCommand("${CMD_PREFIX}validateGradleMatrixCompatibility")
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ open class IDETestContext(
|
||||
companion object {
|
||||
const val OPENTELEMETRY_FILE: String = "opentelemetry.json"
|
||||
|
||||
private val SEARCH_EVERYWHERE_REGISTRY_KEYS: List<String> get() = listOf(
|
||||
val SEARCH_EVERYWHERE_REGISTRY_KEYS: List<String> get() = listOf(
|
||||
"search.everywhere.new.enabled",
|
||||
"search.everywhere.new.rider.enabled",
|
||||
"search.everywhere.new.idea.enabled",
|
||||
@@ -344,12 +344,10 @@ open class IDETestContext(
|
||||
addSystemProperty("llm.show.ai.promotion.window.on.start", false)
|
||||
}
|
||||
|
||||
@Suppress("TestOnlyProblems")
|
||||
fun disableSplitSearchEverywhere(): IDETestContext = applyVMOptionsPatch {
|
||||
SEARCH_EVERYWHERE_REGISTRY_KEYS.forEach { addSystemProperty(it, false) }
|
||||
}
|
||||
|
||||
@Suppress("TestOnlyProblems")
|
||||
fun enableSplitSearchEverywhere(): IDETestContext = applyVMOptionsPatch {
|
||||
SEARCH_EVERYWHERE_REGISTRY_KEYS.forEach { addSystemProperty(it, true) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user