FIR IDE: do not use IJ test infrastructure in frontend-api-fir tests
This commit is contained in:
Vendored
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_IDE_IGNORE
|
||||
// FILE: K1.kt
|
||||
class KSub : J1()
|
||||
|
||||
|
||||
Vendored
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_IDE_IGNORE
|
||||
// FILE: K1.kt
|
||||
class K2: <!CYCLIC_INHERITANCE_HIERARCHY!>J1<!>() {
|
||||
class Q : <!UNRESOLVED_REFERENCE!>Nested<!>()
|
||||
|
||||
@@ -6,12 +6,17 @@
|
||||
package org.jetbrains.kotlin.test
|
||||
|
||||
import java.io.File
|
||||
import java.nio.file.Path
|
||||
|
||||
abstract class Assertions {
|
||||
fun assertEqualsToFile(expectedFile: File, actual: String, sanitizer: (String) -> String = { it }) {
|
||||
assertEqualsToFile(expectedFile, actual, sanitizer) { "Actual data differs from file content" }
|
||||
}
|
||||
|
||||
fun assertEqualsToFile(expectedFile: Path, actual: String, sanitizer: (String) -> String = { it }) {
|
||||
assertEqualsToFile(expectedFile.toFile(), actual, sanitizer)
|
||||
}
|
||||
|
||||
abstract fun assertEqualsToFile(
|
||||
expectedFile: File,
|
||||
actual: String,
|
||||
|
||||
Reference in New Issue
Block a user