aboutsummaryrefslogtreecommitdiff
path: root/test/src/format
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/format')
-rw-r--r--test/src/format/HtmlFormatTest.kt4
-rw-r--r--test/src/format/MarkdownFormatTest.kt8
2 files changed, 6 insertions, 6 deletions
diff --git a/test/src/format/HtmlFormatTest.kt b/test/src/format/HtmlFormatTest.kt
index fb2df875..98b47f06 100644
--- a/test/src/format/HtmlFormatTest.kt
+++ b/test/src/format/HtmlFormatTest.kt
@@ -7,8 +7,8 @@ import org.jetbrains.dokka.HtmlFormatService
public class HtmlFormatTest {
private val htmlService = HtmlFormatService(InMemoryLocationService, KotlinLanguageService())
- Test fun classWithDefaultObject() {
- verifyOutput("test/data/format/classWithDefaultObject.kt", ".html") { model, output ->
+ Test fun classWithCompanionObject() {
+ verifyOutput("test/data/format/classWithCompanionObject.kt", ".html") { model, output ->
htmlService.appendNodes(tempLocation, output, model.members.single().members)
}
}
diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt
index 1c46e662..059b491b 100644
--- a/test/src/format/MarkdownFormatTest.kt
+++ b/test/src/format/MarkdownFormatTest.kt
@@ -12,8 +12,8 @@ public class MarkdownFormatTest {
}
}
- Test fun classWithDefaultObject() {
- verifyOutput("test/data/format/classWithDefaultObject.kt", ".md") { model, output ->
+ Test fun classWithCompanionObject() {
+ verifyOutput("test/data/format/classWithCompanionObject.kt", ".md") { model, output ->
markdownService.appendNodes(tempLocation, output, model.members.single().members)
}
}
@@ -161,8 +161,8 @@ public class MarkdownFormatTest {
}
}
- Test fun defaultObjectExtension() {
- verifyOutput("test/data/format/defaultObjectExtension.kt", ".md") { model, output ->
+ Test fun companionObjectExtension() {
+ verifyOutput("test/data/format/companionObjectExtension.kt", ".md") { model, output ->
markdownService.appendNodes(tempLocation, output, model.members.single().members.filter { it.name == "Foo" })
}
}