Switch 'AbstractVisualizer' to new scheme with configuration kind
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// FIR_IGNORE
|
||||
// WITH_RUNTIME
|
||||
// foo.a: Int
|
||||
// │ fun (Int).compareTo(Int): Int
|
||||
// │ │ foo.b: Int
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// FIR_IGNORE
|
||||
// WITH_RUNTIME
|
||||
// Int
|
||||
// │ distance.x: Int
|
||||
// │ │ fun (Int).plus(Int): Int
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// FIR_IGNORE
|
||||
// WITH_RUNTIME
|
||||
data class Tuple(val x: Int, val y: Int)
|
||||
|
||||
// Int
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// FIR_IGNORE
|
||||
// WITH_RUNTIME
|
||||
fun simple() {
|
||||
// Int Int
|
||||
// │ │
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
fun some() {
|
||||
try {
|
||||
// constructor KotlinNullPointerException()
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// FIR_IGNORE
|
||||
// WITH_RUNTIME
|
||||
fun test() {
|
||||
// Int Int
|
||||
// │ │
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// FIR_IGNORE
|
||||
// WITH_RUNTIME
|
||||
fun foo(limit: Int) {
|
||||
// Int Int
|
||||
// │ │
|
||||
|
||||
@@ -37,10 +37,6 @@ abstract class AbstractVisualizer : KotlinMultiFileTestWithJava<KotlinBaseTest.T
|
||||
return true
|
||||
}
|
||||
|
||||
override fun getConfigurationKind(): ConfigurationKind {
|
||||
return ConfigurationKind.ALL
|
||||
}
|
||||
|
||||
fun doFirBuilderDataTest(filePath: String) {
|
||||
replacement = "fir${File.separator}psi2fir" to "visualizer"
|
||||
doTest(filePath)
|
||||
|
||||
Reference in New Issue
Block a user