From ad1e4c2833abcc78d7a795b4ec4ac50ebf17520b Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Fri, 21 Aug 2020 15:59:58 +0200 Subject: SourceLinksTransformer: Use java.io.File to match source files --- testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testApi/src') diff --git a/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt b/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt index 333642b1..a23c2713 100644 --- a/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt +++ b/testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt @@ -72,6 +72,11 @@ abstract class AbstractCoreTest( }.toSet(), suppressedFiles = sourceSet.suppressedFiles.map { file -> testDirPath.toFile().resolve(file) + }.toSet(), + sourceLinks = sourceSet.sourceLinks.map { link -> + link.copy( + localDirectory = testDirPath.toFile().resolve(link.localDirectory).canonicalPath + ) }.toSet() ) } -- cgit