KT-32366: Add tests for right preview window

- also, fix missing test generation in `GenerateTests` bunch files (which was introduced in e54b43ba)
This commit is contained in:
Roman Golyshev
2019-08-19 18:48:16 +03:00
committed by Roman Golyshev
parent bddf87337c
commit e488e920d8
17 changed files with 203 additions and 28 deletions
@@ -0,0 +1,22 @@
Hello world
Hello world
Hello world
Hello world
Hello world
Hello world
Hello world
<fold text='Hello world...'>Hello world
Hello world</fold>
<fold text='Hello world...'>Hello world
Hello world
Hello world</fold>
Hello world
Hello world
Hello world
@@ -0,0 +1,20 @@
// PREVIEW_ENABLED: TRUE
println("Hello world")
for (x in 1..1) {
println("Hello world")
}
for (x in 1..3) {
println("Hello world")
}
for (x in 1..4) {
println("Hello world")
}
println(List(3) { "Hello world" }.joinToString(separator = "\n"))
println(
List(3) { "Hello world" }.joinToString(separator = "\n")
)
@@ -0,0 +1,3 @@
<fold text='First string...'>First string
Second string
Third string</fold>
@@ -0,0 +1,2 @@
// PREVIEW_ENABLED: TRUE
println("First string\nSecond string\nThird string")
@@ -0,0 +1 @@
Single string
@@ -0,0 +1,2 @@
// PREVIEW_ENABLED: TRUE
println("Single string")