mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
#IDEA-354810 Fixed (cherry picked from commit d29d3256472dfe368161335732ded20ae95cf34e) IJ-MR-140910 GitOrigin-RevId: 0a9b3cae7aab473f732012ad91b4e67f97ff8697
14 lines
385 B
Kotlin
14 lines
385 B
Kotlin
package com.intellij
|
|
|
|
import com.intellij.testFramework.fixtures.BasePlatformTestCase
|
|
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginModeProvider
|
|
|
|
class K1PluginSanityTest : BasePlatformTestCase() {
|
|
fun testK1PluginEnabled() {
|
|
assertTrue(KotlinPluginModeProvider.isK1Mode())
|
|
}
|
|
|
|
fun testK2PluginDisabled() {
|
|
assertFalse(KotlinPluginModeProvider.isK2Mode())
|
|
}
|
|
} |