Reformat: AbstractMultiModuleHighlightingTest
This commit is contained in:
+5
-5
@@ -27,7 +27,7 @@ import org.jetbrains.kotlin.test.TestJdkKind
|
|||||||
abstract class AbstractMultiModuleHighlightingTest : AbstractMultiHighlightingTest() {
|
abstract class AbstractMultiModuleHighlightingTest : AbstractMultiHighlightingTest() {
|
||||||
|
|
||||||
protected open fun checkHighlightingInAllFiles(
|
protected open fun checkHighlightingInAllFiles(
|
||||||
shouldCheckFile: () -> Boolean = { !file.text.contains("// !CHECK_HIGHLIGHTING") }
|
shouldCheckFile: () -> Boolean = { !file.text.contains("// !CHECK_HIGHLIGHTING") }
|
||||||
) {
|
) {
|
||||||
checkFiles(shouldCheckFile) {
|
checkFiles(shouldCheckFile) {
|
||||||
checkHighlighting(myEditor, true, false)
|
checkHighlighting(myEditor, true, false)
|
||||||
@@ -35,10 +35,10 @@ abstract class AbstractMultiModuleHighlightingTest : AbstractMultiHighlightingTe
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected fun doMultiPlatformTest(
|
protected fun doMultiPlatformTest(
|
||||||
vararg platforms: TargetPlatformKind<*>,
|
vararg platforms: TargetPlatformKind<*>,
|
||||||
withStdlibCommon: Boolean = false,
|
withStdlibCommon: Boolean = false,
|
||||||
configureModule: (Module, TargetPlatformKind<*>) -> Unit = { _, _ -> },
|
configureModule: (Module, TargetPlatformKind<*>) -> Unit = { _, _ -> },
|
||||||
jdk: TestJdkKind = TestJdkKind.MOCK_JDK
|
jdk: TestJdkKind = TestJdkKind.MOCK_JDK
|
||||||
) {
|
) {
|
||||||
val commonModuleName = "common"
|
val commonModuleName = "common"
|
||||||
val commonModule = module(commonModuleName, jdk)
|
val commonModule = module(commonModuleName, jdk)
|
||||||
|
|||||||
Reference in New Issue
Block a user