Move stub building test generation to analysis generator

This commit is contained in:
Ilya Kirillov
2021-12-20 18:00:33 +03:00
parent 1e9764c639
commit d2832697d9
5 changed files with 23 additions and 20 deletions
@@ -18,4 +18,5 @@ fun main(args: Array<String>) {
private fun TestGroupSuite.generateTests() {
generateAnalysisApiTests()
generateFirLowLevelApiTests()
generateDecompiledTests()
}
@@ -0,0 +1,20 @@
/*
* Copyright 2010-2021 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.
*/
package org.jetbrains.kotlin.generators.tests.analysis.api
import org.jetbrains.kotlin.analysis.decompiler.stub.files.AbstractClsStubBuilderTest
import org.jetbrains.kotlin.generators.TestGroupSuite
internal fun TestGroupSuite.generateDecompiledTests() {
testGroup(
"analysis/decompiled/decompiler-to-file-stubs/tests",
"analysis/decompiled/decompiler-to-file-stubs/testData",
) {
testClass<AbstractClsStubBuilderTest> {
model("clsFileStubBuilder", extension = null, recursive = false)
}
}
}