[Tests] Windows regeneration does not change tests
This commit is contained in:
committed by
TeamCityServer
parent
df460a842b
commit
1874318954
+4
-2
@@ -293,6 +293,8 @@ object NewTestGeneratorImpl : TestGenerator(METHOD_GENERATORS) {
|
||||
|
||||
private fun TestClassModel.predefinedNativeTransformers(recursive: Boolean): List<Pair<String, String>> =
|
||||
methods.mapNotNull { method ->
|
||||
(method as? TransformingTestMethodModel)?.takeIf { it.registerInConstructor }?.let { it.source.file.path to it.transformer }
|
||||
} + if (recursive) innerTestClasses.flatMap { it.predefinedNativeTransformers(recursive) } else listOf()
|
||||
(method as? TransformingTestMethodModel)
|
||||
?.takeIf { it.registerInConstructor }
|
||||
?.let { it.source.file.invariantSeparatorsPath to it.transformer }
|
||||
} + if (recursive) innerTestClasses.flatMap { it.predefinedNativeTransformers(true) } else listOf()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user