From 64a86842ae06c7119cca4ef7c66b024f771ab088 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 23 Feb 2017 17:05:32 +0100 Subject: Don't show implied platforms in output --- core/testdata/format/multiplatformImplied/foo.md | 24 ++++++++++++++++++++++++ core/testdata/format/multiplatformImplied/js.kt | 16 ++++++++++++++++ core/testdata/format/multiplatformImplied/jvm.kt | 16 ++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 core/testdata/format/multiplatformImplied/foo.md create mode 100644 core/testdata/format/multiplatformImplied/js.kt create mode 100644 core/testdata/format/multiplatformImplied/jvm.kt (limited to 'core/testdata') diff --git a/core/testdata/format/multiplatformImplied/foo.md b/core/testdata/format/multiplatformImplied/foo.md new file mode 100644 index 00000000..c615dd8e --- /dev/null +++ b/core/testdata/format/multiplatformImplied/foo.md @@ -0,0 +1,24 @@ +[test](test/index) / [foo](test/foo/index) / [Foo](test/foo/-foo/index) + +# Foo + +`class Foo` + +This is a foo. + +### Constructors + +| [<init>](test/foo/-foo/-init-) | `Foo()`
This is a foo. | + +### Properties + +| [propJs](test/foo/-foo/prop-js)
(JS) | `val propJs: String` | +| [propJvm](test/foo/-foo/prop-jvm)
(JVM) | `val propJvm: String` | +| [propJvmAndJs](test/foo/-foo/prop-jvm-and-js) | `val propJvmAndJs: Int` | + +### Functions + +| [bothJvmAndJs](test/foo/-foo/both-jvm-and-js) | `fun bothJvmAndJs(): Unit` | +| [js](test/foo/-foo/js)
(JS) | `fun js(): Unit` | +| [jvm](test/foo/-foo/jvm)
(JVM) | `fun jvm(): Unit` | + diff --git a/core/testdata/format/multiplatformImplied/js.kt b/core/testdata/format/multiplatformImplied/js.kt new file mode 100644 index 00000000..dd2de5bc --- /dev/null +++ b/core/testdata/format/multiplatformImplied/js.kt @@ -0,0 +1,16 @@ +package foo + +/** + * This is a foo. + */ +class Foo { + fun bothJvmAndJs() { + } + + fun js() { + } + + val propJvmAndJs = 0 + + val propJs = "abc" +} diff --git a/core/testdata/format/multiplatformImplied/jvm.kt b/core/testdata/format/multiplatformImplied/jvm.kt new file mode 100644 index 00000000..8d73ce25 --- /dev/null +++ b/core/testdata/format/multiplatformImplied/jvm.kt @@ -0,0 +1,16 @@ +package foo + +/** + * This is a foo. + */ +class Foo { + fun bothJvmAndJs() { + } + + fun jvm() { + } + + val propJvmAndJs = 0 + + val propJvm = "abc" +} -- cgit