Move debugger test data to the new location
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
package streams.collection.map
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
// Breakpoint!
|
||||
listOf(1, 2).map { it * it }
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
package streams.collection.map
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val dst = mutableListOf(1, 2, 3)
|
||||
// Breakpoint!
|
||||
listOf(4, 5, 6).mapTo(dst, { it * it }).filter { it % 4 != 0 }.mapTo(dst, { it * it })
|
||||
println(dst)
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
LineBreakpoint created at Map.kt:5
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
Map.kt:5
|
||||
listOf(1, 2)
|
||||
.map({ it * it })
|
||||
map
|
||||
before: 2
|
||||
after: nothing
|
||||
mappings for map
|
||||
direct:
|
||||
2 -> nothing
|
||||
reverse:
|
||||
empty
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
idea/jvm-debugger/jvm-debugger-test/testData/sequence/streams/collection/map/mapToSameCollection.out
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
LineBreakpoint created at MapToSameCollection.kt:6
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
MapToSameCollection.kt:6
|
||||
listOf(4, 5, 6)
|
||||
.mapTo(dst, { it * it })
|
||||
mapTo
|
||||
before: 3
|
||||
after: nothing
|
||||
mappings for mapTo
|
||||
direct:
|
||||
3 -> nothing
|
||||
reverse:
|
||||
empty
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
[1, 2, 3, 16, 25, 36, 16, 25, 36, 1, 4, 9, 625, 625]
|
||||
Reference in New Issue
Block a user