diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-11-16 19:45:45 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-11-16 19:46:09 +0100 |
commit | 64946eac93632e615a48a72ab1bcb7d4978b6edf (patch) | |
tree | 17ed367e99dfa4ae3f4535030e37b2567bc75f97 /test/src | |
parent | 53f6584797ea8898df937be0835e274a10a12f28 (diff) | |
download | dokka-64946eac93632e615a48a72ab1bcb7d4978b6edf.tar.gz dokka-64946eac93632e615a48a72ab1bcb7d4978b6edf.tar.bz2 dokka-64946eac93632e615a48a72ab1bcb7d4978b6edf.zip |
update to Kotlin beta 2
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/TestAPI.kt | 2 | ||||
-rw-r--r-- | test/src/format/HtmlFormatTest.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/src/TestAPI.kt b/test/src/TestAPI.kt index 33cf4908..6b21b7da 100644 --- a/test/src/TestAPI.kt +++ b/test/src/TestAPI.kt @@ -89,7 +89,7 @@ public fun verifyJavaModel(source: String, try { val sourceFile = File(source) FileUtil.copy(sourceFile, File(tempDir, sourceFile.name)) - verifyModel(JavaSourceRoot(tempDir), withJdk = true, withKotlinRuntime = withKotlinRuntime, verifier = verifier) + verifyModel(JavaSourceRoot(tempDir, null), withJdk = true, withKotlinRuntime = withKotlinRuntime, verifier = verifier) } finally { FileUtil.delete(tempDir) diff --git a/test/src/format/HtmlFormatTest.kt b/test/src/format/HtmlFormatTest.kt index 752e4424..90291bff 100644 --- a/test/src/format/HtmlFormatTest.kt +++ b/test/src/format/HtmlFormatTest.kt @@ -130,7 +130,7 @@ public class HtmlFormatTest { @Test fun crossLanguageKotlinExtendsJava() { verifyOutput(arrayOf(KotlinSourceRoot("test/data/format/crossLanguage/kotlinExtendsJava/Bar.kt"), - JavaSourceRoot(File("test/data/format/crossLanguage/kotlinExtendsJava"))), + JavaSourceRoot(File("test/data/format/crossLanguage/kotlinExtendsJava"), null)), ".html") { model, output -> htmlService.appendNodes(tempLocation, output, model.members.single().members.filter { it.name == "Bar" }) } |