FIR IDE: mute not passing tests
This commit is contained in:
@@ -11,6 +11,8 @@ import org.jetbrains.kotlin.test.InTextDirectivesUtils
|
||||
import java.io.File
|
||||
|
||||
abstract class AbstractFirPsiCheckerTest : AbstractPsiCheckerTest() {
|
||||
override val captureExceptions: Boolean = false
|
||||
|
||||
override fun isFirPlugin(): Boolean = true
|
||||
|
||||
override fun setUp() {
|
||||
|
||||
+2
@@ -9,6 +9,8 @@ import org.jetbrains.kotlin.idea.test.ProjectDescriptorWithStdlibSources
|
||||
import org.jetbrains.kotlin.test.InTextDirectivesUtils
|
||||
|
||||
abstract class AbstractFirHighlightingTest : AbstractHighlightingTest() {
|
||||
override val captureExceptions: Boolean = false
|
||||
|
||||
override fun getDefaultProjectDescriptor() = ProjectDescriptorWithStdlibSources.INSTANCE
|
||||
|
||||
override fun isFirPlugin() = true
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// IGNORE_FIR
|
||||
|
||||
//package redeclarations {
|
||||
object <error>A</error> {
|
||||
val x : Int = 0
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// IGNORE_FIR
|
||||
|
||||
fun <info textAttributesKey="KOTLIN_FUNCTION_DECLARATION">test</info>() {
|
||||
val <info textAttributesKey="KOTLIN_LOCAL_VARIABLE">vect</info> = <info textAttributesKey="KOTLIN_CONSTRUCTOR">MyIterable</info><<info textAttributesKey="KOTLIN_CLASS">Int</info>>()
|
||||
<info textAttributesKey="KOTLIN_LOCAL_VARIABLE">vect</info>.<info textAttributesKey="KOTLIN_FUNCTION_CALL">filter</info> { <info textAttributesKey="KOTLIN_CLOSURE_DEFAULT_PARAMETER">it</info> != 2 }.<info textAttributesKey="KOTLIN_FUNCTION_CALL">forEach</info> { <info textAttributesKey="KOTLIN_CLOSURE_DEFAULT_PARAMETER">it</info>.<info textAttributesKey="KOTLIN_FUNCTION_CALL">toString</info>() }
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// IGNORE_FIR
|
||||
|
||||
fun main(it: Iterator<Any>) {
|
||||
for (i <caret>in it.iterator()) {}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_FIR
|
||||
fun main() {
|
||||
for (i <caret>in 1..2) {}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// IGNORE_FIR
|
||||
|
||||
fun main() {
|
||||
for (i <caret>in "") {}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_FIR
|
||||
fun test(f: Foo) {
|
||||
for(i <caret>in f) {}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_FIR
|
||||
fun test(f: Foo) {
|
||||
for(i <caret>in f) {}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_FIR
|
||||
fun test(f: Foo) {
|
||||
for(i <caret>in f) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user