Move debugger test data to the new location

This commit is contained in:
Yan Zhulanow
2019-09-27 00:13:53 +09:00
parent b4cc5703de
commit d8d81c51d7
1423 changed files with 0 additions and 0 deletions
@@ -0,0 +1 @@
val array: kotlin.DoubleArray = kotlin.doubleArrayOf(10.0, 20.0)
@@ -0,0 +1 @@
val a: kotlin.IntArray
@@ -0,0 +1 @@
val array: kotlin.IntArray = kotlin.IntArray(10)
@@ -0,0 +1,2 @@
a[0] = 1
a[1] = 2
@@ -0,0 +1,2 @@
a[10]!!
a[11]!!
@@ -0,0 +1,2 @@
var a: kotlin.Int
a = 100
@@ -0,0 +1 @@
this.method()
@@ -0,0 +1 @@
this.method(10, 20, 30)
@@ -0,0 +1 @@
this.method(10)
@@ -0,0 +1,2 @@
var a: kotlin.Int = 10
a
@@ -0,0 +1 @@
var a: kotlin.Int
@@ -0,0 +1 @@
var a: kotlin.Int
@@ -0,0 +1 @@
val a: kotlin.Int = 10
@@ -0,0 +1,4 @@
val objects: kotlin.collections.MutableList<kotlin.Any> = getObjects()
for (object in objects) {
object.toString()
}
@@ -0,0 +1,6 @@
val objects: kotlin.collections.MutableList<kotlin.Any> = getObjects()
var i: kotlin.Int = 0
while (i < objects.size()) {
i.toString()
i++
}
@@ -0,0 +1,3 @@
if (true) {
receiver.success()
}
@@ -0,0 +1,5 @@
if (false) {
this.success()
} else {
this.fail()
}
@@ -0,0 +1,7 @@
if (false) {
this.success()
} else {
if (true) {
this.failSuccess()
}
}
@@ -0,0 +1,9 @@
if (false) {
this.success()
} else {
if (true) {
this.failSuccess()
} else {
this.failFail()
}
}
@@ -0,0 +1,4 @@
{ y ->
y.method1()
y
}
@@ -0,0 +1,3 @@
{ y ->
y
}
@@ -0,0 +1,4 @@
{ y ->
y.method1()
y.method2()
}
@@ -0,0 +1,3 @@
{ x ->
x.method()
}
@@ -0,0 +1 @@
var map: kotlin.collections.MutableMap<kotlin.Int, kotlin.Boolean>
@@ -0,0 +1 @@
val map: kotlin.collections.MutableMap<kotlin.Int, kotlin.Boolean> = kotlin.collections.linkedMapOf()
@@ -0,0 +1 @@
var lst: kotlin.collections.MutableList<kotlin.Int>
@@ -0,0 +1,5 @@
val lst: kotlin.collections.MutableList<kotlin.Long> = kotlin.collections.mutableListOf()
lst.add(100)
lst.get(0).methodWithSideEffect()
lst.set(1, lst.get(0))
lst.contains(lst.size)
@@ -0,0 +1,4 @@
val objects: kotlin.collections.MutableList<kotlin.Any> = getObjects()
for (object in objects) {
break
}
@@ -0,0 +1,6 @@
val objects: kotlin.collections.MutableList<kotlin.Any> = getObjects()
for (object in objects) {
if (object.isEmpty) {
break
}
}
@@ -0,0 +1,3 @@
map.computeIfAbsent(key, { y ->
map.method()
})
@@ -0,0 +1 @@
(key in map)
@@ -0,0 +1,13 @@
var resultArray: kotlin.Array<kotlin.Any?> = kotlin.arrayOfNulls<kotlin.Any>(0)
run {
val size: kotlin.Int = map.size
val keys: kotlin.IntArray = kotlin.IntArray(size)
val values: kotlin.Array<kotlin.Any?> = kotlin.arrayOfNulls<kotlin.Any>(size)
var i: kotlin.Int = 0
for (key in map.keys) {
keys[i] = key
values[i] = map.getValue(key)
i++
}
resultArray = kotlin.arrayOf<kotlin.Any?>(keys, values)
}
@@ -0,0 +1 @@
val map: kotlin.collections.MutableMap<kotlin.Int, kotlin.Boolean>
@@ -0,0 +1 @@
map.getValue(key)
@@ -0,0 +1 @@
val map: kotlin.collections.MutableMap<kotlin.Int, kotlin.Int> = kotlin.collections.mutableMapOf()
@@ -0,0 +1 @@
map[key] = value
@@ -0,0 +1,2 @@
val a: kotlin.Int = 10
val b: kotlin.Int = 20
@@ -0,0 +1,2 @@
val a: kotlin.Int = 10
val b: kotlin.Int = 20
@@ -0,0 +1 @@
!lst.contains(1)
@@ -0,0 +1,6 @@
var a: kotlin.Int
if (true) {
a = 100
} else {
a = 200
}
@@ -0,0 +1,6 @@
run {
this.method()
run {
this.method()
}
}
@@ -0,0 +1 @@
lst = kotlin.collections.mutableListOf<kotlin.Int>(0, 1, 2, 3)
@@ -0,0 +1,6 @@
val usualType: kotlin.Any
val nullableType: kotlin.Any?
val arrayWithNullableElements: kotlin.Array<kotlin.Any?>
val nullableArrayWithNullableElements: kotlin.Array<kotlin.Any?>?
val nullableList: kotlin.collections.MutableList<kotlin.Boolean>?
val mapWithNullableValues: kotlin.collections.MutableMap<kotlin.Int, kotlin.Any?>
@@ -0,0 +1 @@
a.myProperty
@@ -0,0 +1,3 @@
run {
this.method()
}
@@ -0,0 +1 @@
kotlin.arrayOfNulls<kotlin.String>(100)
@@ -0,0 +1 @@
val time: java.util.concurrent.atomic.AtomicInteger = java.util.concurrent.atomic.AtomicInteger()
@@ -0,0 +1,5 @@
try {
this.hashCode()
} catch(e : kotlin.Throwable) {
this.fail()
}
@@ -0,0 +1,2 @@
var a: kotlin.Int = 100
val b: kotlin.Int = a
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
<caret> listOf(1, 2, 3).map { it * it }.filter { it % 2 == 0 }
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
<caret> listOf(1, 2, 3).filter { it < 1 }
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
<caret> listOf(1, 2, 3).any()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
<caret> listOf(1, 2, 3).map { it * it }.all { it < 20 }
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
<caret> listOf("abc").count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
<caret> listOf("abc", 12).map { 10 }.count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
bo<caret>oleanArrayOf(true, true, false).count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
s<caret>etOf(1.toByte(), 20.toByte()).forEach { }
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
charArra<caret>yOf('a', 'b', 'c').count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
Doub<caret>leArray(10).count()
}
@@ -0,0 +1,7 @@
fun main(args: Array<String>) {
byteArray<caret>Of(10, 20)
.map { it.toString() }
.map { if (it == "10") null else 10 }
.map { 10 }
.contains(200)
}
@@ -0,0 +1,6 @@
fun main(args: Array<String>) {
"jetBrains".map { it.isLowerCase() }
.flat<caret>Map { linkedSetOf(1.2, 3.0) }
.map { it.toString() }
.count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(1.<caret>0f).contains(2.0f)
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
intArrayOf<caret>(10).get(0)
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
longArrayOf(1L, 2L<caret>).count { it < 2 }
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
sortedSetOf(10.0).m<caret>ap { null }.count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
lis<caret>tOf(Any(), null).contains(10)
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
lis<caret>tOf(Any(), null).map { true }.contains(false)
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(true, nul<caret>l, false).count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(1.to<caret>Byte(), null).forEach { }
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(','<caret>, '.', null).component1()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(0.4, null)<caret>.component2()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(0.4f, null).indexOf(0<caret>.3f)
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
<caret> listOf(5, null).lastIndexOf(null)
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listO<caret>f(10L, null).isNotEmpty()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(6.toShort<caret>(), null).last()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(0.4, null).<caret>map { 10 }.count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(20, 30).m<caret>ap { Any() }.contains(Any())
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listO<caret>f(20, 30).map { if(it == 20) null else it }.count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
shortArrayOf(1.toShor<caret>t(), 2.toShort()).single()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
<caret> listOf("abc").asSequence().count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
<caret> listOf("abc", 12).asSequence().map { 10 }.count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
bool<caret>eanArrayOf(true, true, false).asSequence().count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
setOf(1.toB<caret>yte(), 20.toByte()).asSequence().forEach { }
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
charArrayOf('a', 'b', 'c').asSe<caret>quence().count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
Doub<caret>leArray(10).asSequence().count()
}
@@ -0,0 +1,7 @@
fun main(args: Array<String>) {
byteArray<caret>Of(10, 20).asSequence()
.map { it.toString() }
.map { if (it == "10") null else 10 }
.map { 10 }
.contains(200)
}
@@ -0,0 +1,6 @@
fun main(args: Array<String>) {
"jetBrains".asS<caret>equence().map { it.isLowerCase() }
.flatMap { linkedSetOf(1.2, 3.0).asSequence() }
.map { it.toString() }
.count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(1.<caret>0f).asSequence().contains(2.0f)
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
intArrayOf(10).asSequence(<caret>).any()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
longArrayOf(1L, 2L<caret>).asSequence().count { it < 2 }
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
sortedSetOf(10.0).asSequence().m<caret>ap { null }.count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
lis<caret>tOf(Any(), null).asSequence().contains(10)
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
lis<caret>tOf(Any(), null).asSequence().map { true }.contains(false)
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(true, nul<caret>l, false).asSequence().count()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(1.to<caret>Byte(), null).asSequence().forEach { }
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(',', '.', nu<caret>ll).asSequence().singleOrNull()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
val elem<caret>ent = listOf(0.4, null).asSequence().elementAt(2)
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(0.4f, null).asSequence().indexOf(0<caret>.3f)
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
<caret> listOf(5, null).asSequence().lastIndexOf(null)
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
listOf(10L, null).asSequence().no<caret>ne()
}

Some files were not shown because too many files have changed in this diff Show More