Move stub building test generation to analysis generator
This commit is contained in:
+1
@@ -18,4 +18,5 @@ fun main(args: Array<String>) {
|
||||
private fun TestGroupSuite.generateTests() {
|
||||
generateAnalysisApiTests()
|
||||
generateFirLowLevelApiTests()
|
||||
generateDecompiledTests()
|
||||
}
|
||||
|
||||
+20
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user