Add tests for KT-40152

This commit is contained in:
Dmitry Petrov
2020-09-23 16:16:01 +03:00
parent cd37301ea2
commit 1c4567c999
10 changed files with 126 additions and 0 deletions
@@ -0,0 +1,4 @@
class SimplePlatform
open class TargetPlatform(val componentPlatforms: Set<SimplePlatform>) :
Collection<SimplePlatform> by componentPlatforms
@@ -0,0 +1,29 @@
@kotlin.Metadata
public final class SimplePlatform {
// source: 'collectionByDelegation.kt'
public method <init>(): void
}
@kotlin.Metadata
public class TargetPlatform {
// source: 'collectionByDelegation.kt'
private final @org.jetbrains.annotations.NotNull field componentPlatforms: java.util.Set
public method <init>(@org.jetbrains.annotations.NotNull p0: java.util.Set): void
public method add(p0: SimplePlatform): boolean
public synthetic method add(p0: java.lang.Object): boolean
public method addAll(p0: java.util.Collection): boolean
public method clear(): void
public method contains(@org.jetbrains.annotations.NotNull p0: SimplePlatform): boolean
public bridge final method contains(p0: java.lang.Object): boolean
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public final @org.jetbrains.annotations.NotNull method getComponentPlatforms(): java.util.Set
public method getSize(): int
public method isEmpty(): boolean
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public method remove(p0: java.lang.Object): boolean
public method removeAll(p0: java.util.Collection): boolean
public method retainAll(p0: java.util.Collection): boolean
public bridge final method size(): int
public method toArray(): java.lang.Object[]
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
}
@@ -0,0 +1,29 @@
@kotlin.Metadata
public final class SimplePlatform {
// source: 'collectionByDelegation.kt'
public method <init>(): void
}
@kotlin.Metadata
public class TargetPlatform {
// source: 'collectionByDelegation.kt'
private final @org.jetbrains.annotations.NotNull field componentPlatforms: java.util.Set
public method <init>(@org.jetbrains.annotations.NotNull p0: java.util.Set): void
public method add(p0: SimplePlatform): boolean
public synthetic bridge method add(p0: java.lang.Object): boolean
public method addAll(p0: java.util.Collection): boolean
public method clear(): void
public method contains(@org.jetbrains.annotations.NotNull p0: SimplePlatform): boolean
public bridge final method contains(p0: java.lang.Object): boolean
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
public final @org.jetbrains.annotations.NotNull method getComponentPlatforms(): java.util.Set
public method getSize(): int
public method isEmpty(): boolean
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
public method remove(p0: java.lang.Object): boolean
public method removeAll(p0: java.util.Collection): boolean
public method retainAll(p0: java.util.Collection): boolean
public bridge final method size(): int
public method toArray(): java.lang.Object[]
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
}