aboutsummaryrefslogtreecommitdiff
path: root/core/src/test
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-20 09:39:50 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-20 12:02:45 +0200
commit68cba1e81a6bc971e0cd0be535232cc99756cd81 (patch)
tree6e78aa1aecac8d718c42db926a2ac1bd0ce402f6 /core/src/test
parent13edb873db122e2088207ca10b94382e30875636 (diff)
downloaddokka-68cba1e81a6bc971e0cd0be535232cc99756cd81.tar.gz
dokka-68cba1e81a6bc971e0cd0be535232cc99756cd81.tar.bz2
dokka-68cba1e81a6bc971e0cd0be535232cc99756cd81.zip
Align json representation of filepaths
Diffstat (limited to 'core/src/test')
-rw-r--r--core/src/test/kotlin/utilities/DokkaConfigurationJsonTest.kt11
1 files changed, 4 insertions, 7 deletions
diff --git a/core/src/test/kotlin/utilities/DokkaConfigurationJsonTest.kt b/core/src/test/kotlin/utilities/DokkaConfigurationJsonTest.kt
index d0cb55a1..e954c82c 100644
--- a/core/src/test/kotlin/utilities/DokkaConfigurationJsonTest.kt
+++ b/core/src/test/kotlin/utilities/DokkaConfigurationJsonTest.kt
@@ -38,12 +38,8 @@ class DokkaConfigurationJsonTest {
"moduleName": "customModuleName",
"sourceSetName": "customSourceSetName"
},
- "classpath": [],
- "sourceRoots": [
- {
- "path": "customSourceRoot"
- }
- ]
+ "sourceRoots": [ "customSourceRoot" ],
+ "classpath": [ "classpath/custom1.jar", "classpath/custom2.jar" ]
}
]
}
@@ -58,7 +54,8 @@ class DokkaConfigurationJsonTest {
DokkaSourceSetImpl(
moduleDisplayName = "customModuleDisplayName",
sourceRoots = listOf(SourceRootImpl("customSourceRoot")),
- sourceSetID = DokkaSourceSetID("customModuleName", "customSourceSetName")
+ sourceSetID = DokkaSourceSetID("customModuleName", "customSourceSetName"),
+ classpath = listOf("classpath/custom1.jar", "classpath/custom2.jar")
)
)
),