[Tests] Introduce replacing source transformer

This commit is contained in:
Evgeniy.Zhelenskiy
2021-12-07 02:48:30 +03:00
parent 38ff3f5a24
commit cb4ec932d7
18 changed files with 80 additions and 42 deletions
@@ -10,7 +10,7 @@ import org.jetbrains.kotlin.test.util.KtTestUtil;
import org.jetbrains.kotlin.konan.blackboxtest.support.group.NativeBlackBoxTestCaseGroupProvider;
import org.jetbrains.kotlin.konan.blackboxtest.support.group.ExtTestCaseGroupProvider;
import org.jetbrains.kotlin.test.TargetBackend;
import org.jetbrains.kotlin.test.runners.TransformersFunctions;
import org.jetbrains.kotlin.test.utils.TransformersFunctions;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
@@ -15705,11 +15705,8 @@ public class NativeExtBlackBoxTestGenerated extends AbstractNativeBlackBoxTest {
@Test
@TestMetadata("boxResultInlineClassOfConstructorCall.kt")
public void testBoxResultInlineClassOfConstructorCall() throws Exception {
// There is a registered source transformer for the testcase: TransformersFunctions::removeOptionalJvmInlineAnnotation
runTest("compiler/testData/codegen/box/inlineClasses/boxResultInlineClassOfConstructorCall.kt");
/*
There is a registered source transformer for the testcase:
TransformersFunctions::removeOptionalJvmInlineAnnotation
*/
}
@Test