mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
(IJPL-163509) Add mock test in the package
GitOrigin-RevId: 6806c35eb09c91d095ca388e7846fa3e11a9bc2d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0b8126f12e
commit
cc709448f4
@@ -9,6 +9,10 @@
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="kotlin-stdlib" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.java.testFramework" scope="TEST" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="kotlinc.kotlin-compiler-common" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.kotlin.plugin.community.main" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="intellij.searchEverywhereMl" scope="TEST" />
|
||||
<orderEntry type="library" scope="TEST" name="kotlinx-coroutines-test" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.intellij.searchEverywhereMl.semantics.tests
|
||||
|
||||
import kotlinx.coroutines.test.runTest
|
||||
import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase
|
||||
|
||||
class MockTest: LightJavaCodeInsightFixtureTestCase() {
|
||||
fun `test stub`() = runTest {
|
||||
assertEquals(1.0.toInt(), 1)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user