From 6805bae192908c287ffd0fcad9ece50541db0e46 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Mon, 26 Jun 2017 15:26:14 +0300 Subject: Workaround top-level java class name not match filename --- core/testdata/format/JavaSupertype.html | 36 +++++++++++++++++++++++++++++++++ core/testdata/format/JavaSupertype.java | 8 ++++++++ core/testdata/format/javaSupertype.html | 36 --------------------------------- core/testdata/format/javaSupertype.java | 8 -------- 4 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 core/testdata/format/JavaSupertype.html create mode 100644 core/testdata/format/JavaSupertype.java delete mode 100644 core/testdata/format/javaSupertype.html delete mode 100644 core/testdata/format/javaSupertype.java (limited to 'core/testdata/format') diff --git a/core/testdata/format/JavaSupertype.html b/core/testdata/format/JavaSupertype.html new file mode 100644 index 00000000..3e5e273a --- /dev/null +++ b/core/testdata/format/JavaSupertype.html @@ -0,0 +1,36 @@ + + + +JavaSupertype.Bar - test + + +test / JavaSupertype / Bar
+
+

Bar

+open class Bar : Foo +

Constructors

+ + + + + + + +
+

<init>

+
+Bar()
+

Functions

+ + + + + + + +
+

returnFoo

+
+open fun returnFoo(foo: Foo): Foo
+ + diff --git a/core/testdata/format/JavaSupertype.java b/core/testdata/format/JavaSupertype.java new file mode 100644 index 00000000..2045573c --- /dev/null +++ b/core/testdata/format/JavaSupertype.java @@ -0,0 +1,8 @@ +public class JavaSupertype { + public static class Foo { + } + + public static class Bar extends Foo { + public Foo returnFoo(Foo foo) { return foo; } + } +} diff --git a/core/testdata/format/javaSupertype.html b/core/testdata/format/javaSupertype.html deleted file mode 100644 index b46c8e54..00000000 --- a/core/testdata/format/javaSupertype.html +++ /dev/null @@ -1,36 +0,0 @@ - - - -C.Bar - test - - -test / C / Bar
-
-

Bar

-open class Bar : Foo -

Constructors

- - - - - - - -
-

<init>

-
-Bar()
-

Functions

- - - - - - - -
-

returnFoo

-
-open fun returnFoo(foo: Foo): Foo
- - diff --git a/core/testdata/format/javaSupertype.java b/core/testdata/format/javaSupertype.java deleted file mode 100644 index b3142ff6..00000000 --- a/core/testdata/format/javaSupertype.java +++ /dev/null @@ -1,8 +0,0 @@ -class C { - public static class Foo { - } - - public static class Bar extends Foo { - public Foo returnFoo(Foo foo) { return foo; } - } -} -- cgit