Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more UI test cases to the ui-showcase project
- Loading branch information
1 parent
4ba3291
commit bb8b04d
Showing
180 changed files
with
20,513 additions
and
7 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
...tests/gradle/projects/ui-showcase/build-logic/src/main/kotlin/uitest.dokka-kmp.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
import org.intellij.lang.annotations.Language | ||
import org.jetbrains.dokka.gradle.AbstractDokkaTask | ||
|
||
plugins { | ||
id("uitest.dokka") | ||
} | ||
|
||
tasks.withType<AbstractDokkaTask>().configureEach { | ||
@Language("JSON") | ||
val dokkaBaseConfiguration = """ | ||
{ | ||
"footerMessage": "(c) 2024 My custom footer message", | ||
"homepageLink": "https://github.com/Kotlin/dokka/tree/master/dokka-integration-tests/gradle/projects/ui-showcase" | ||
} | ||
""".trimIndent() | ||
|
||
pluginsMapConfiguration.set( | ||
mapOf( | ||
// fully qualified plugin name to json configuration | ||
"org.jetbrains.dokka.base.DokkaBase" to dokkaBaseConfiguration | ||
) | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
148 changes: 148 additions & 0 deletions
148
...s/ui-showcase/jvm/src/main/kotlin/org/jetbrains/dokka/uitest/rendering/LongDescription.kt
Large diffs are not rendered by default.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
.../ui-showcase/jvm/src/main/kotlin/org/jetbrains/dokka/uitest/rendering/LongElementNames.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. | ||
*/ | ||
|
||
package org.jetbrains.dokka.uitest.rendering | ||
|
||
class LONG_CLASS_NAME_WITH_UNDERSCORES_EVEN_IF_IT_IS_NOT_BY_CONVENTION_BUT_IT_MIGHT_EXIST_WHO_KNOWS( | ||
paramWithLong_Name_with_Underscore_howWillItBe_rendered_By_DokkaIWonderOne: String, | ||
paramWithLong_Name_with_Underscore_howWillItBe_rendered_By_DokkaIWonderTwo: String, | ||
) { | ||
fun function_with_long_name_with_underscores_same_story_as_this_class_name() {} | ||
|
||
fun `very-very-long-name-with-dashes-for-some-reason-even-if-not-popular-but-might-happen-maybe`() {} | ||
|
||
fun `mixed_underscore-with-dashes_same_thing-as_above-you-never_know-what-might_happen`( | ||
paramWithLong_Name_with_Underscore_howWillItBe_rendered_By_DokkaIWonderOne: String, | ||
paramWithLong_Name_with_Underscore_howWillItBe_rendered_By_DokkaIWonderTwo: LONG_CLASS_NAME_WITH_UNDERSCORES_EVEN_IF_IT_IS_NOT_BY_CONVENTION_BUT_IT_MIGHT_EXIST_WHO_KNOWS, | ||
): LONG_CLASS_NAME_WITH_UNDERSCORES_EVEN_IF_IT_IS_NOT_BY_CONVENTION_BUT_IT_MIGHT_EXIST_WHO_KNOWS { | ||
TODO() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
*/ | ||
|
||
plugins { | ||
id("uitest.dokka") | ||
id("uitest.dokka-kmp") | ||
|
||
kotlin("multiplatform") | ||
} | ||
|
4 changes: 4 additions & 0 deletions
4
...adle/projects/ui-showcase/previousDocVersions/0.9/images/anchor-copy-button.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...tests/gradle/projects/ui-showcase/previousDocVersions/0.9/images/arrow_down.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions
5
...ion-tests/gradle/projects/ui-showcase/previousDocVersions/0.9/images/burger.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...-tests/gradle/projects/ui-showcase/previousDocVersions/0.9/images/copy-icon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...le/projects/ui-showcase/previousDocVersions/0.9/images/copy-successful-icon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...radle/projects/ui-showcase/previousDocVersions/0.9/images/footer-go-to-link.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
...s/gradle/projects/ui-showcase/previousDocVersions/0.9/images/go-to-top-icon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...n-tests/gradle/projects/ui-showcase/previousDocVersions/0.9/images/homepage.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions
14
...-tests/gradle/projects/ui-showcase/previousDocVersions/0.9/images/logo-icon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions
26
.../ui-showcase/previousDocVersions/0.9/images/nav-icons/abstract-class-kotlin.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
...rojects/ui-showcase/previousDocVersions/0.9/images/nav-icons/abstract-class.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
...ects/ui-showcase/previousDocVersions/0.9/images/nav-icons/annotation-kotlin.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
...le/projects/ui-showcase/previousDocVersions/0.9/images/nav-icons/annotation.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
.../projects/ui-showcase/previousDocVersions/0.9/images/nav-icons/class-kotlin.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
.../gradle/projects/ui-showcase/previousDocVersions/0.9/images/nav-icons/class.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
...e/projects/ui-showcase/previousDocVersions/0.9/images/nav-icons/enum-kotlin.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
...s/gradle/projects/ui-showcase/previousDocVersions/0.9/images/nav-icons/enum.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
...ojects/ui-showcase/previousDocVersions/0.9/images/nav-icons/exception-class.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions
10
...e/projects/ui-showcase/previousDocVersions/0.9/images/nav-icons/field-value.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions
10
...rojects/ui-showcase/previousDocVersions/0.9/images/nav-icons/field-variable.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
...adle/projects/ui-showcase/previousDocVersions/0.9/images/nav-icons/function.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
...jects/ui-showcase/previousDocVersions/0.9/images/nav-icons/interface-kotlin.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.