Fix deprecations in testData: stepping and evaluate expression tests.

This commit is contained in:
Ilya Gorbunov
2015-09-15 17:13:57 +03:00
parent e40a5457e3
commit 74e1dbff76
33 changed files with 61 additions and 61 deletions
+9 -9
View File
@@ -2,15 +2,15 @@ LineBreakpoint created at arrays.kt:5
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! arrays.ArraysPackage
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
arrays.kt:5
Compile bytecode for array(1, 2).map { it.toString() }
Compile bytecode for array(1, 2, 101, 102).filter { it > 100 }
Compile bytecode for array(1, 2).none()
Compile bytecode for array(1, 2).count()
Compile bytecode for array(1, 2).size
Compile bytecode for array(1, 2).first()
Compile bytecode for array(1, 2).last()
Compile bytecode for intArray(1, 2).max()
Compile bytecode for array(1, 2).max()
Compile bytecode for arrayOf(1, 2).map { it.toString() }
Compile bytecode for arrayOf(1, 2, 101, 102).filter { it > 100 }
Compile bytecode for arrayOf(1, 2).none()
Compile bytecode for arrayOf(1, 2).count()
Compile bytecode for arrayOf(1, 2).size()
Compile bytecode for arrayOf(1, 2).first()
Compile bytecode for arrayOf(1, 2).last()
Compile bytecode for intArrayOf(1, 2).max()
Compile bytecode for arrayOf(1, 2).max()
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0
+2 -2
View File
@@ -6,11 +6,11 @@ Compile bytecode for arrayListOf(1, 2).map { it.toString() }
Compile bytecode for arrayListOf(1, 2, 101, 102).filter { it > 100 }
Compile bytecode for arrayListOf(1, 2).max()
Compile bytecode for arrayListOf(1, 2).count()
Compile bytecode for arrayListOf(1, 2).size
Compile bytecode for arrayListOf(1, 2).size()
Compile bytecode for arrayListOf(1, 2).drop(1)
Compile bytecode for ar.map { if (it > 50) "big" else "small" }
.filter { it == "small" }
.size
.size()
// RESULT: 2: I
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
@@ -4,7 +4,7 @@ Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socke
extractLocalVariables.kt:7
Compile bytecode for a
Compile bytecode for klass.f1(1)
Compile bytecode for args.size
Compile bytecode for args.size()
Compile bytecode for klass.b
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
+1 -1
View File
@@ -5,7 +5,7 @@ simple.kt:6
Compile bytecode for 1
Compile bytecode for 1 + 1
Compile bytecode for val a = 1
a + args.size
a + args.size()
// RESULT: 1: I
+3 -3
View File
@@ -2,9 +2,9 @@ LineBreakpoint created at stdlib.kt:5
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! stdlib.StdlibPackage
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
stdlib.kt:5
Compile bytecode for array(100, 101)
Compile bytecode for array("a", "b", "c")
Compile bytecode for intArray(1, 2)
Compile bytecode for arrayOf(100, 101)
Compile bytecode for arrayOf("a", "b", "c")
Compile bytecode for intArrayOf(1, 2)
Compile bytecode for javaClass<String>()
Compile bytecode for javaClass<Int>()
Compile bytecode for 100.toInt()