Minor. Clarified property name.

Original commit: 7e9ea23ce0
This commit is contained in:
Evgeny Gerashchenko
2015-02-16 16:32:29 +03:00
parent 5bb5fe0c49
commit fcd46cdf64
2 changed files with 3 additions and 3 deletions
@@ -72,7 +72,7 @@ public abstract class AbstractIncrementalJpsTest : JpsBuildTestCase() {
super.tearDown() super.tearDown()
} }
protected open val customTest: Boolean protected open val allowNoFilesWithSuffixInTestData: Boolean
get() = false get() = false
protected open val mockConstantSearch: Callbacks.ConstantAffectionResolver? 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") fail("Bad test data format: files ending with both unnumbered and numbered \".new\"/\".delete\" were found")
} }
if (!haveFilesWithoutNumbers && !haveFilesWithNumbers) { if (!haveFilesWithoutNumbers && !haveFilesWithNumbers) {
if (customTest) { if (allowNoFilesWithSuffixInTestData) {
return listOf(listOf()) return listOf(listOf())
} }
else { else {
@@ -32,7 +32,7 @@ public class IncrementalCacheVersionChangedTest : AbstractIncrementalJpsTest() {
doTest("jps-plugin/testData/incremental/custom/cacheVersionChangedAndFileModified/") doTest("jps-plugin/testData/incremental/custom/cacheVersionChangedAndFileModified/")
} }
override val customTest: Boolean override val allowNoFilesWithSuffixInTestData: Boolean
get() = true get() = true
override fun performAdditionalModifications() { override fun performAdditionalModifications() {