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 -------- core/testdata/java/InheritorLinks.java | 7 +++++++ core/testdata/java/InnerClass.java | 4 ++++ core/testdata/java/inheritorLinks.java | 7 ------- core/testdata/java/innerClass.java | 4 ---- 8 files changed, 55 insertions(+), 55 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 create mode 100644 core/testdata/java/InheritorLinks.java create mode 100644 core/testdata/java/InnerClass.java delete mode 100644 core/testdata/java/inheritorLinks.java delete mode 100644 core/testdata/java/innerClass.java (limited to 'core/testdata') 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; } - } -} diff --git a/core/testdata/java/InheritorLinks.java b/core/testdata/java/InheritorLinks.java new file mode 100644 index 00000000..31658265 --- /dev/null +++ b/core/testdata/java/InheritorLinks.java @@ -0,0 +1,7 @@ +public class InheritorLinks { + public static class Foo { + } + + public static class Bar extends Foo { + } +} diff --git a/core/testdata/java/InnerClass.java b/core/testdata/java/InnerClass.java new file mode 100644 index 00000000..0302da9d --- /dev/null +++ b/core/testdata/java/InnerClass.java @@ -0,0 +1,4 @@ +class InnerClass { + public class D { + } +} diff --git a/core/testdata/java/inheritorLinks.java b/core/testdata/java/inheritorLinks.java deleted file mode 100644 index 2378f5c6..00000000 --- a/core/testdata/java/inheritorLinks.java +++ /dev/null @@ -1,7 +0,0 @@ -class C { - public static class Foo { - } - - public static class Bar extends Foo { - } -} diff --git a/core/testdata/java/innerClass.java b/core/testdata/java/innerClass.java deleted file mode 100644 index 0f1be948..00000000 --- a/core/testdata/java/innerClass.java +++ /dev/null @@ -1,4 +0,0 @@ -class Test { - public class D { - } -} -- cgit