FIR2IR tests: do not try to dump & check external dependencies

(because both wrapped descriptors and FIR-based package descriptors
have no member scopes and aren't able to find class across module deps)
This commit is contained in:
Mikhail Glukhikh
2019-04-08 18:29:24 +03:00
parent 485035952a
commit 40441a18cc
2 changed files with 10 additions and 1 deletions
@@ -30,6 +30,10 @@ abstract class AbstractFir2IrTextTest : AbstractIrTextTestCase() {
.unregisterExtension(JavaElementFinder::class.java)
}
override fun doTest(wholeFile: File, testFiles: List<TestFile>) {
buildFragmentAndTestIt(wholeFile, testFiles)
}
override fun doTest(filePath: String?) {
if (filePath != null) {
val originalTextPath = filePath.replace(".kt", ".txt")