| /* |
| * 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.psi.AbstractByDecompiledPsiStubBuilderTest |
| 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) |
| } |
| } |
| |
| testGroup( |
| "analysis/decompiled/decompiler-to-psi/tests", |
| "analysis/decompiled/decompiler-to-file-stubs/testData", |
| ) { |
| testClass<AbstractByDecompiledPsiStubBuilderTest> { |
| model("clsFileStubBuilder", extension = null, recursive = false) |
| } |
| } |
| } |