(IJPL-163509) Add mock test in the package

GitOrigin-RevId: 6806c35eb09c91d095ca388e7846fa3e11a9bc2d
This commit is contained in:
Evgeny Abramov
2024-10-14 20:39:05 +03:00
committed by intellij-monorepo-bot
parent 0b8126f12e
commit cc709448f4
2 changed files with 14 additions and 0 deletions

View File

@@ -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>

View File

@@ -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)
}
}