FIR: dump nested classes in loadJava tests

Because those test are single Java files, many of them use a top-level
class as a container for multiple classes to be tested. Such tests do
almost nothing if those nested classes aren't handled.
This commit is contained in:
pyos
2021-08-14 11:12:28 +02:00
committed by TeamCityServer
parent c2b575505a
commit a12e31daf1
149 changed files with 1787 additions and 16 deletions
@@ -1,2 +1,12 @@
public abstract interface AdapterDoesntOverrideDeclaration : R|kotlin/Any| {
public abstract interface Sub : R|test/AdapterDoesntOverrideDeclaration.Super| {
public abstract fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
public abstract fun foo(r: R|ft<kotlin/Function0<ft<kotlin/Unit, kotlin/Unit?>>, kotlin/Function0<ft<kotlin/Unit, kotlin/Unit?>>?>|): R|kotlin/Unit|
}
public abstract interface Super : R|kotlin/Any| {
public abstract fun foo(r: R|ft<kotlin/Function0<ft<kotlin/Unit, kotlin/Unit?>>, kotlin/Function0<ft<kotlin/Unit, kotlin/Unit?>>?>|): R|kotlin/Unit|
}
}
@@ -1,2 +1,10 @@
public abstract interface InheritedAdapterAndDeclaration : R|kotlin/Any| {
public abstract interface Sub : R|test/InheritedAdapterAndDeclaration.Super| {
}
public abstract interface Super : R|kotlin/Any| {
public abstract fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
public abstract fun foo(r: R|ft<kotlin/Function0<ft<kotlin/Unit, kotlin/Unit?>>, kotlin/Function0<ft<kotlin/Unit, kotlin/Unit?>>?>|): R|kotlin/Unit|
}
}
@@ -1,2 +1,10 @@
public abstract interface InheritedAmbiguousAdapters : R|kotlin/Any| {
public abstract interface Sub : R|test/InheritedAmbiguousAdapters.Super| {
}
public abstract interface Super : R|kotlin/Any| {
public abstract fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
public abstract fun foo(r: R|ft<java/io/Closeable, java/io/Closeable?>|): R|kotlin/Unit|
}
}
@@ -1,2 +1,14 @@
public abstract interface InheritedAndOverriddenAmbiguousAdapters : R|kotlin/Any| {
public abstract interface Sub : R|test/InheritedAndOverriddenAmbiguousAdapters.Super| {
public abstract fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
public abstract fun foo(r: R|ft<java/io/Closeable, java/io/Closeable?>|): R|kotlin/Unit|
}
public abstract interface Super : R|kotlin/Any| {
public abstract fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
public abstract fun foo(r: R|ft<java/io/Closeable, java/io/Closeable?>|): R|kotlin/Unit|
}
}
@@ -1,2 +1,14 @@
public abstract interface InheritedOverridden : R|kotlin/Any| {
public open class Sub : R|test/InheritedOverridden.Super| {
public open fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
public constructor(): R|test/InheritedOverridden.Sub|
}
public open class Super : R|kotlin/Any| {
public open fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
public constructor(): R|test/InheritedOverridden.Super|
}
}
@@ -1,2 +1,16 @@
public abstract interface InheritedOverriddenAdapter : R|kotlin/Any| {
public open class Sub : R|test/InheritedOverriddenAdapter.Super| {
public open fun foo(r: R|ft<kotlin/Function0<ft<kotlin/Unit, kotlin/Unit?>>, kotlin/Function0<ft<kotlin/Unit, kotlin/Unit?>>?>|): R|kotlin/Unit|
public open fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
public constructor(): R|test/InheritedOverriddenAdapter.Sub|
}
public open class Super : R|kotlin/Any| {
public open fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
public constructor(): R|test/InheritedOverriddenAdapter.Super|
}
}
@@ -1,2 +1,12 @@
public abstract interface InheritedSameAdapters : R|kotlin/Any| {
public abstract interface Sub : R|test/InheritedSameAdapters.Super1|, R|test/InheritedSameAdapters.Super2| {
}
public abstract interface Super1 : R|kotlin/Any| {
public abstract fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
}
public abstract interface Super2 : R|kotlin/Any| {
public abstract fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
}
}
@@ -1,2 +1,14 @@
public abstract interface InheritedSameAdaptersWithSubstitution : R|kotlin/Any| {
public abstract interface Sub : R|test/InheritedSameAdaptersWithSubstitution.Super1|, R|test/InheritedSameAdaptersWithSubstitution.Super2Substituted| {
}
public abstract interface Super1 : R|kotlin/Any| {
public abstract fun foo(r: R|ft<java/util/Comparator<ft<kotlin/String, kotlin/String?>>, java/util/Comparator<ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
}
public abstract interface Super2<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
public abstract fun foo(r: R|ft<java/util/Comparator<ft<T, T?>>, java/util/Comparator<ft<T, T?>>?>|): R|kotlin/Unit|
}
public abstract interface Super2Substituted : R|test/InheritedSameAdaptersWithSubstitution.Super2<ft<kotlin/String, kotlin/String?>>| {
}
}
@@ -1,2 +1,8 @@
public abstract interface InheritedSimple : R|kotlin/Any| {
public abstract interface Sub : R|test/InheritedSimple.Super| {
}
public abstract interface Super : R|kotlin/Any| {
public abstract fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
}
}
@@ -1,2 +1,16 @@
public abstract interface OverriddenAmbiguousAdapters : R|kotlin/Any| {
public abstract interface Sub : R|test/OverriddenAmbiguousAdapters.Super| {
public abstract fun foo(r: R|ft<kotlin/Function0<ft<kotlin/Unit, kotlin/Unit?>>, kotlin/Function0<ft<kotlin/Unit, kotlin/Unit?>>?>|): R|kotlin/Unit|
public abstract fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
public abstract fun foo(r: R|ft<java/io/Closeable, java/io/Closeable?>|): R|kotlin/Unit|
}
public abstract interface Super : R|kotlin/Any| {
public abstract fun foo(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|): R|kotlin/Unit|
public abstract fun foo(r: R|ft<java/io/Closeable, java/io/Closeable?>|): R|kotlin/Unit|
}
}