[LL FIR] generate resolution tests over codegen/box testData

Such testData can contain contract violations and other resolution
problems, so we should check them as well

^KT-62776
^KT-62832
^KT-62834
^KT-62836
This commit is contained in:
Dmitrii Gridin
2023-10-23 17:06:34 +02:00
committed by Space Team
parent 052b9f01af
commit 2eb761adae
15 changed files with 112335 additions and 32 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@@ -36,6 +36,11 @@ abstract class AbstractCompilerBasedTest : AbstractKotlinCompilerTest() {
return true // nothing to highlight
}
return false
return shouldSkipTest(filePath, configuration)
}
/**
* Consider [org.jetbrains.kotlin.test.model.AfterAnalysisChecker.suppressIfNeeded] firstly
*/
protected open fun shouldSkipTest(filePath: String, configuration: TestConfiguration): Boolean = false
}