diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-01-11 20:37:00 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-01-11 20:37:00 +0300 |
commit | dc26fa9948a09c18473f9b6285158a69a32fc284 (patch) | |
tree | 8d8a641b80a992b2eaf16c58c61ae35bddd98bcb /core/testdata | |
parent | 6ae139acfc7a86cd0498f9c3c9faf6ba1d64bc69 (diff) | |
download | dokka-dc26fa9948a09c18473f9b6285158a69a32fc284.tar.gz |
Add test case for JavaLayoutHtmlFormat, add simple tests
Diffstat (limited to 'core/testdata')
-rw-r--r-- | core/testdata/format/java-layout-html/simple.kt | 8 | ||||
-rw-r--r-- | core/testdata/format/java-layout-html/topLevel.kt | 15 |
2 files changed, 23 insertions, 0 deletions
diff --git a/core/testdata/format/java-layout-html/simple.kt b/core/testdata/format/java-layout-html/simple.kt new file mode 100644 index 000000000..89789c452 --- /dev/null +++ b/core/testdata/format/java-layout-html/simple.kt @@ -0,0 +1,8 @@ +package p + + +class Foo { + fun s(): Unit {} + + val g = "" +}
\ No newline at end of file diff --git a/core/testdata/format/java-layout-html/topLevel.kt b/core/testdata/format/java-layout-html/topLevel.kt new file mode 100644 index 000000000..85b1a4372 --- /dev/null +++ b/core/testdata/format/java-layout-html/topLevel.kt @@ -0,0 +1,15 @@ +package p + +class Some + +fun topLevelFun() {} + +val topLevelVal = "" + +const val topLevelConst = "" + +val topLevelGetVal get() = "" + +val Some.topLevelExtVal get() = "" + +fun Some.topLevelExtFun() {}
\ No newline at end of file |