Change the way of runtime configuration in JsePsiUnifierTest
This commit is contained in:
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo() {
|
||||
when {
|
||||
true -> <selection>{
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo() {
|
||||
when {
|
||||
true -> <selection>{
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo() {
|
||||
when {
|
||||
true -> <selection>{
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(a: Int, b: Int) {
|
||||
var t = a
|
||||
<selection>do {
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(a: Int, b: Int) {
|
||||
<selection>for (i in a - b..a + b) {
|
||||
println(i*i)
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(a: Int, b: Int) {
|
||||
if ((a) + b > 0) {
|
||||
println(a*b)
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(a: Int, b: Int) {
|
||||
<selection>if ((a) + b > 0) {
|
||||
println(a*(b))
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(a: Int, b: Int) {
|
||||
<selection>when((a)) {
|
||||
1 -> println(b)
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(a: Int, b: Int) {
|
||||
<selection>when {
|
||||
(a == 1) -> println(b)
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(a: Int, b: Int) {
|
||||
var t = a
|
||||
<selection>while (t != (a + b)) {
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(f: (Int) -> Unit) {
|
||||
<selection>{ (n: Int, s: String) ->
|
||||
val a = n + 1
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(f: (Int) -> Unit) {
|
||||
{ (m: Int, n: Int, s: String) ->
|
||||
val a = n + m
|
||||
+1
-1
@@ -14,4 +14,4 @@
|
||||
val m = a + this
|
||||
println(b)
|
||||
f(m)
|
||||
}
|
||||
}
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
class A {
|
||||
inner class B
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
class A {
|
||||
fun bar() {
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
fun Int.contains(n: Int): Boolean = n < this
|
||||
|
||||
fun foo(n: Int): Int {
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
var a = 1
|
||||
val b = <selection>a</selection> + 1
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
class A {
|
||||
fun foo() {
|
||||
println(<selection>this</selection>)
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
class A {
|
||||
fun foo() {
|
||||
println(this)
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
import java.util.HashMap
|
||||
|
||||
val a: <selection>Map<String, MutableList<Any>></selection> = HashMap()
|
||||
Reference in New Issue
Block a user