@@ -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 {
|
||||||
|
|||||||
+1
-1
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user