blob: 453b1de8563095aaa7de00cdc80b32736171b21e [file] [log] [blame]
Tiem Songe1dd5122019-07-03 14:16:39 -07001package org.jetbrains.dokka.tests
2
3import org.jetbrains.dokka.DokkaConsoleLogger
4import org.jetbrains.dokka.KotlinLanguageService
5import org.jetbrains.dokka.KotlinWebsiteRunnableSamplesFormatService
6import org.junit.Ignore
7import org.junit.Test
8
9@Ignore
10class KotlinWebSiteRunnableSamplesFormatTest {
11// private val kwsService = KotlinWebsiteRunnableSamplesFormatService(InMemoryLocationService, KotlinLanguageService(), listOf(), DokkaConsoleLogger)
12//
13//
14// @Test fun dropImport() {
15// verifyKWSNodeByName("dropImport", "foo")
16// }
17//
18// @Test fun sample() {
19// verifyKWSNodeByName("sample", "foo")
20// }
21//
22// @Test fun sampleWithAsserts() {
23// verifyKWSNodeByName("sampleWithAsserts", "a")
24// }
25//
26// @Test fun newLinesInSamples() {
27// verifyKWSNodeByName("newLinesInSamples", "foo")
28// }
29//
30// @Test fun newLinesInImportList() {
31// verifyKWSNodeByName("newLinesInImportList", "foo")
32// }
33//
34// private fun verifyKWSNodeByName(fileName: String, name: String) {
35// verifyOutput("testdata/format/website-samples/$fileName.kt", ".md", format = "kotlin-website-samples") { model, output ->
36// kwsService.createOutputBuilder(output, tempLocation).appendNodes(model.members.single().members.filter { it.name == name })
37// }
38// }
39}