diff --git a/jps-plugin/test/org/jetbrains/kotlin/jps/build/AbstractIncrementalJpsTest.kt b/jps-plugin/test/org/jetbrains/kotlin/jps/build/AbstractIncrementalJpsTest.kt index 50c5e60d43b..61f75320692 100644 --- a/jps-plugin/test/org/jetbrains/kotlin/jps/build/AbstractIncrementalJpsTest.kt +++ b/jps-plugin/test/org/jetbrains/kotlin/jps/build/AbstractIncrementalJpsTest.kt @@ -72,7 +72,7 @@ public abstract class AbstractIncrementalJpsTest : JpsBuildTestCase() { super.tearDown() } - protected open val customTest: Boolean + protected open val allowNoFilesWithSuffixInTestData: Boolean get() = false protected open val mockConstantSearch: Callbacks.ConstantAffectionResolver? @@ -159,7 +159,7 @@ public abstract class AbstractIncrementalJpsTest : JpsBuildTestCase() { fail("Bad test data format: files ending with both unnumbered and numbered \".new\"/\".delete\" were found") } if (!haveFilesWithoutNumbers && !haveFilesWithNumbers) { - if (customTest) { + if (allowNoFilesWithSuffixInTestData) { return listOf(listOf()) } else { diff --git a/jps-plugin/test/org/jetbrains/kotlin/jps/build/IncrementalCacheVersionChangedTest.kt b/jps-plugin/test/org/jetbrains/kotlin/jps/build/IncrementalCacheVersionChangedTest.kt index fa8aeacc9de..85e09bcdfb3 100644 --- a/jps-plugin/test/org/jetbrains/kotlin/jps/build/IncrementalCacheVersionChangedTest.kt +++ b/jps-plugin/test/org/jetbrains/kotlin/jps/build/IncrementalCacheVersionChangedTest.kt @@ -32,7 +32,7 @@ public class IncrementalCacheVersionChangedTest : AbstractIncrementalJpsTest() { doTest("jps-plugin/testData/incremental/custom/cacheVersionChangedAndFileModified/") } - override val customTest: Boolean + override val allowNoFilesWithSuffixInTestData: Boolean get() = true override fun performAdditionalModifications() {