aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-11-05 15:51:23 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-11-05 15:51:23 +0100
commitb643bf6f4b4c29676ce3301d92b7880b268d6722 (patch)
tree8f0fede2d5eac2110ca4687a35eefb8727ed4d7e /test
parent0bad64896baed4056d75f8b948afe0d848bc8adf (diff)
downloaddokka-b643bf6f4b4c29676ce3301d92b7880b268d6722.tar.gz
dokka-b643bf6f4b4c29676ce3301d92b7880b268d6722.tar.bz2
dokka-b643bf6f4b4c29676ce3301d92b7880b268d6722.zip
add tests; fixes related to qualified names of types
Diffstat (limited to 'test')
-rw-r--r--test/src/TestAPI.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/src/TestAPI.kt b/test/src/TestAPI.kt
index 79b5ba77..33cf4908 100644
--- a/test/src/TestAPI.kt
+++ b/test/src/TestAPI.kt
@@ -62,6 +62,9 @@ public fun verifyModel(source: String,
withKotlinRuntime: Boolean = false,
format: String = "html",
verifier: (DocumentationModule) -> Unit) {
+ if (!File(source).exists()) {
+ throw IllegalArgumentException("Can't find test data file $source")
+ }
verifyModel(contentRootFromPath(source),
withJdk = withJdk,
withKotlinRuntime = withKotlinRuntime,