diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-21 15:59:58 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-08-24 17:05:30 +0200 |
commit | ad1e4c2833abcc78d7a795b4ec4ac50ebf17520b (patch) | |
tree | 1c98a650999075a753356ae17402fa6f083b75a3 /testApi/src | |
parent | 8ba5f2d4c0d8a476e5c4dbf3bcb75116f7e7ba50 (diff) | |
download | dokka-ad1e4c2833abcc78d7a795b4ec4ac50ebf17520b.tar.gz dokka-ad1e4c2833abcc78d7a795b4ec4ac50ebf17520b.tar.bz2 dokka-ad1e4c2833abcc78d7a795b4ec4ac50ebf17520b.zip |
SourceLinksTransformer: Use java.io.File to match source files
Diffstat (limited to 'testApi/src')
-rw-r--r-- | testApi/src/main/kotlin/testApi/testRunner/TestRunner.kt | 5 |
1 files changed, 5 insertions, 0 deletions
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() ) } |