mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-197346 Search Everywhere for RD: adapt rdct tests and enable the new SE there
GitOrigin-RevId: 039a252f7ac84f745de6e5ffd2cfc7e7d2326343
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ed86a09cd8
commit
e5d5a03c84
+9
-1
@@ -23,9 +23,17 @@ object SearchEverywhereFeature {
|
||||
else if (isGuest) "search.everywhere.new.cwm.client.enabled"
|
||||
else "search.everywhere.new.enabled"
|
||||
|
||||
// Enable the first Search Everywhere implementation (`com.intellij.ide.actions.searcheverywhere`).
|
||||
@get:TestOnly
|
||||
val additionalRegistryToTurnOffSplitInTests: Map<String, String>
|
||||
val additionalRegistryToTurnOffSplitSEInTests: Map<String, String>
|
||||
get() = mapOf("search.everywhere.new.enabled" to "false",
|
||||
"search.everywhere.new.rider.enabled" to "false",
|
||||
"search.everywhere.new.cwm.client.enabled" to "false")
|
||||
|
||||
// Enable the new Search Everywhere implementation (`com.intellij.platform.searchEverywhere`).
|
||||
@get:TestOnly
|
||||
val additionalRegistryToTurnOnSplitSEInTests: Map<String, String>
|
||||
get() = mapOf("search.everywhere.new.enabled" to "true",
|
||||
"search.everywhere.new.rider.enabled" to "true",
|
||||
"search.everywhere.new.cwm.client.enabled" to "true")
|
||||
}
|
||||
@@ -50,6 +50,7 @@ import com.intellij.util.ui.UIUtil
|
||||
import kotlinx.coroutines.*
|
||||
import kotlinx.coroutines.flow.*
|
||||
import org.jetbrains.annotations.ApiStatus.Internal
|
||||
import org.jetbrains.annotations.TestOnly
|
||||
import java.awt.BorderLayout
|
||||
import java.awt.Dimension
|
||||
import java.awt.event.*
|
||||
@@ -812,6 +813,11 @@ class SePopupContentPane(private val project: Project?, private val vm: SePopupV
|
||||
}
|
||||
}
|
||||
|
||||
@TestOnly
|
||||
fun getResultListModel(): SeResultListModel {
|
||||
return resultListModel
|
||||
}
|
||||
|
||||
override fun dispose() {}
|
||||
|
||||
companion object {
|
||||
|
||||
Reference in New Issue
Block a user