// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package org.jetbrains.kotlin.formatter;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;

/**
 * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}.
 * DO NOT MODIFY MANUALLY.
 */
@SuppressWarnings("all")
@TestRoot("idea/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public abstract class FormatterTestGenerated extends AbstractFormatterTest {
    @RunWith(JUnit3RunnerWithInners.class)
    @TestMetadata("testData/formatter")
    public abstract static class Formatter extends AbstractFormatterTest {
        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/formatter/callChain")
        public static class CallChain extends AbstractFormatterTest {
            @java.lang.Override
            @org.jetbrains.annotations.NotNull
            public final KotlinPluginMode getPluginMode() {
                return KotlinPluginMode.K1;
            }

            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("CallChainWrapping.after.kt")
            public void testCallChainWrapping() throws Exception {
                runTest("testData/formatter/callChain/CallChainWrapping.after.kt");
            }

            @TestMetadata("CallChainWrapping2.after.kt")
            public void testCallChainWrapping2() throws Exception {
                runTest("testData/formatter/callChain/CallChainWrapping2.after.kt");
            }

            @TestMetadata("CallChainWrappingChopDown.after.kt")
            public void testCallChainWrappingChopDown() throws Exception {
                runTest("testData/formatter/callChain/CallChainWrappingChopDown.after.kt");
            }

            @TestMetadata("CallChainWrappingInElvis.after.kt")
            public void testCallChainWrappingInElvis() throws Exception {
                runTest("testData/formatter/callChain/CallChainWrappingInElvis.after.kt");
            }

            @TestMetadata("ConsecutiveCalls.after.kt")
            public void testConsecutiveCalls() throws Exception {
                runTest("testData/formatter/callChain/ConsecutiveCalls.after.kt");
            }

            @TestMetadata("ConsecutiveSafeCallsIndent.after.kt")
            public void testConsecutiveSafeCallsIndent() throws Exception {
                runTest("testData/formatter/callChain/ConsecutiveSafeCallsIndent.after.kt");
            }

            @TestMetadata("ContinuationIndentForChainedCalls.after.kt")
            public void testContinuationIndentForChainedCalls() throws Exception {
                runTest("testData/formatter/callChain/ContinuationIndentForChainedCalls.after.kt");
            }

            @TestMetadata("FunctionLiteralsInChainCalls.after.kt")
            public void testFunctionLiteralsInChainCalls() throws Exception {
                runTest("testData/formatter/callChain/FunctionLiteralsInChainCalls.after.kt");
            }

            @TestMetadata("KT15099.after.kt")
            public void testKT15099() throws Exception {
                runTest("testData/formatter/callChain/KT15099.after.kt");
            }

            @TestMetadata("KT20362.after.kt")
            public void testKT20362() throws Exception {
                runTest("testData/formatter/callChain/KT20362.after.kt");
            }

            @TestMetadata("KT22071.after.kt")
            public void testKT22071() throws Exception {
                runTest("testData/formatter/callChain/KT22071.after.kt");
            }

            @TestMetadata("KT22115.after.kt")
            public void testKT22115() throws Exception {
                runTest("testData/formatter/callChain/KT22115.after.kt");
            }

            @TestMetadata("KT22148.after.kt")
            public void testKT22148() throws Exception {
                runTest("testData/formatter/callChain/KT22148.after.kt");
            }

            @TestMetadata("KT22346.after.kt")
            public void testKT22346() throws Exception {
                runTest("testData/formatter/callChain/KT22346.after.kt");
            }

            @TestMetadata("KT36466.after.kt")
            public void testKT36466() throws Exception {
                runTest("testData/formatter/callChain/KT36466.after.kt");
            }

            @TestMetadata("KT37545.after.kt")
            public void testKT37545() throws Exception {
                runTest("testData/formatter/callChain/KT37545.after.kt");
            }

            @TestMetadata("NotCallChain.after.kt")
            public void testNotCallChain() throws Exception {
                runTest("testData/formatter/callChain/NotCallChain.after.kt");
            }
        }

        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/formatter/fileAnnotations")
        public static class FileAnnotations extends AbstractFormatterTest {
            @java.lang.Override
            @org.jetbrains.annotations.NotNull
            public final KotlinPluginMode getPluginMode() {
                return KotlinPluginMode.K1;
            }

            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("afterComment.after.kt")
            public void testAfterComment() throws Exception {
                runTest("testData/formatter/fileAnnotations/afterComment.after.kt");
            }

            @TestMetadata("beforeDeclaration.after.kt")
            public void testBeforeDeclaration() throws Exception {
                runTest("testData/formatter/fileAnnotations/beforeDeclaration.after.kt");
            }

            @TestMetadata("beforeImportList.after.kt")
            public void testBeforeImportList() throws Exception {
                runTest("testData/formatter/fileAnnotations/beforeImportList.after.kt");
            }

            @TestMetadata("beforePackage.after.kt")
            public void testBeforePackage() throws Exception {
                runTest("testData/formatter/fileAnnotations/beforePackage.after.kt");
            }

            @TestMetadata("commentAfter.after.kt")
            public void testCommentAfter() throws Exception {
                runTest("testData/formatter/fileAnnotations/commentAfter.after.kt");
            }

            @TestMetadata("commentAfter2.after.kt")
            public void testCommentAfter2() throws Exception {
                runTest("testData/formatter/fileAnnotations/commentAfter2.after.kt");
            }

            @TestMetadata("commentAfter3.after.kt")
            public void testCommentAfter3() throws Exception {
                runTest("testData/formatter/fileAnnotations/commentAfter3.after.kt");
            }

            @TestMetadata("inEmptyFile.after.kt")
            public void testInEmptyFile() throws Exception {
                runTest("testData/formatter/fileAnnotations/inEmptyFile.after.kt");
            }

            @TestMetadata("manyLinesFromFileBegin.after.kt")
            public void testManyLinesFromFileBegin() throws Exception {
                runTest("testData/formatter/fileAnnotations/manyLinesFromFileBegin.after.kt");
            }

            @TestMetadata("spacesAfterColon.after.kt")
            public void testSpacesAfterColon() throws Exception {
                runTest("testData/formatter/fileAnnotations/spacesAfterColon.after.kt");
            }

            @TestMetadata("spacesBeforeColon.after.kt")
            public void testSpacesBeforeColon() throws Exception {
                runTest("testData/formatter/fileAnnotations/spacesBeforeColon.after.kt");
            }
        }

        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/formatter/modifierList")
        public static class ModifierList extends AbstractFormatterTest {
            @java.lang.Override
            @org.jetbrains.annotations.NotNull
            public final KotlinPluginMode getPluginMode() {
                return KotlinPluginMode.K1;
            }

            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("funAnnotationBeforeAnnotation.after.kt")
            public void testFunAnnotationBeforeAnnotation() throws Exception {
                runTest("testData/formatter/modifierList/funAnnotationBeforeAnnotation.after.kt");
            }

            @TestMetadata("funAnnotationBeforeAnnotationEntry.after.kt")
            public void testFunAnnotationBeforeAnnotationEntry() throws Exception {
                runTest("testData/formatter/modifierList/funAnnotationBeforeAnnotationEntry.after.kt");
            }

            @TestMetadata("funAnnotationBeforeModifiers.after.kt")
            public void testFunAnnotationBeforeModifiers() throws Exception {
                runTest("testData/formatter/modifierList/funAnnotationBeforeModifiers.after.kt");
            }

            @TestMetadata("funAnnotationEntryBeforeAnnotation.after.kt")
            public void testFunAnnotationEntryBeforeAnnotation() throws Exception {
                runTest("testData/formatter/modifierList/funAnnotationEntryBeforeAnnotation.after.kt");
            }

            @TestMetadata("funAnnotationEntryBeforeAnnotationEntry.after.kt")
            public void testFunAnnotationEntryBeforeAnnotationEntry() throws Exception {
                runTest("testData/formatter/modifierList/funAnnotationEntryBeforeAnnotationEntry.after.kt");
            }

            @TestMetadata("funAnnotationEntryBeforeModifiers.after.kt")
            public void testFunAnnotationEntryBeforeModifiers() throws Exception {
                runTest("testData/formatter/modifierList/funAnnotationEntryBeforeModifiers.after.kt");
            }

            @TestMetadata("funModifierBeforeAnnotation.after.kt")
            public void testFunModifierBeforeAnnotation() throws Exception {
                runTest("testData/formatter/modifierList/funModifierBeforeAnnotation.after.kt");
            }

            @TestMetadata("funModifierBeforeAnnotationEntry.after.kt")
            public void testFunModifierBeforeAnnotationEntry() throws Exception {
                runTest("testData/formatter/modifierList/funModifierBeforeAnnotationEntry.after.kt");
            }

            @TestMetadata("funModifierBeforeModifiers.after.kt")
            public void testFunModifierBeforeModifiers() throws Exception {
                runTest("testData/formatter/modifierList/funModifierBeforeModifiers.after.kt");
            }

            @TestMetadata("funTheOnlyModifier.after.kt")
            public void testFunTheOnlyModifier() throws Exception {
                runTest("testData/formatter/modifierList/funTheOnlyModifier.after.kt");
            }

            @TestMetadata("memberFunTheOnlyModifier.after.kt")
            public void testMemberFunTheOnlyModifier() throws Exception {
                runTest("testData/formatter/modifierList/memberFunTheOnlyModifier.after.kt");
            }

            @TestMetadata("memberValTheOnlyModifier.after.kt")
            public void testMemberValTheOnlyModifier() throws Exception {
                runTest("testData/formatter/modifierList/memberValTheOnlyModifier.after.kt");
            }

            @TestMetadata("memberVarTheOnlyModifier.after.kt")
            public void testMemberVarTheOnlyModifier() throws Exception {
                runTest("testData/formatter/modifierList/memberVarTheOnlyModifier.after.kt");
            }

            @TestMetadata("secondMemberFunTheOnlyModifier.after.kt")
            public void testSecondMemberFunTheOnlyModifier() throws Exception {
                runTest("testData/formatter/modifierList/secondMemberFunTheOnlyModifier.after.kt");
            }

            @TestMetadata("secondMemberValTheOnlyModifier.after.kt")
            public void testSecondMemberValTheOnlyModifier() throws Exception {
                runTest("testData/formatter/modifierList/secondMemberValTheOnlyModifier.after.kt");
            }

            @TestMetadata("secondMemberVarTheOnlyModifier.after.kt")
            public void testSecondMemberVarTheOnlyModifier() throws Exception {
                runTest("testData/formatter/modifierList/secondMemberVarTheOnlyModifier.after.kt");
            }
        }

        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/formatter/parameterList")
        public static class ParameterList extends AbstractFormatterTest {
            @java.lang.Override
            @org.jetbrains.annotations.NotNull
            public final KotlinPluginMode getPluginMode() {
                return KotlinPluginMode.K1;
            }

            private void runTest(String testDataFilePath) throws Exception {
                KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
            }

            @TestMetadata("ArgumentListChopAsNeeded.after.kt")
            public void testArgumentListChopAsNeeded() throws Exception {
                runTest("testData/formatter/parameterList/ArgumentListChopAsNeeded.after.kt");
            }

            @TestMetadata("ArgumentListDoNotWrap.after.kt")
            public void testArgumentListDoNotWrap() throws Exception {
                runTest("testData/formatter/parameterList/ArgumentListDoNotWrap.after.kt");
            }

            @TestMetadata("ArgumentListNamedArguments.after.kt")
            public void testArgumentListNamedArguments() throws Exception {
                runTest("testData/formatter/parameterList/ArgumentListNamedArguments.after.kt");
            }

            @TestMetadata("ArgumentListNamedArgumentsFunctionCall.after.kt")
            public void testArgumentListNamedArgumentsFunctionCall() throws Exception {
                runTest("testData/formatter/parameterList/ArgumentListNamedArgumentsFunctionCall.after.kt");
            }

            @TestMetadata("ArgumentListNamedArgumentsInFunction.after.kt")
            public void testArgumentListNamedArgumentsInFunction() throws Exception {
                runTest("testData/formatter/parameterList/ArgumentListNamedArgumentsInFunction.after.kt");
            }

            @TestMetadata("ArgumentListWrapAlways.after.kt")
            public void testArgumentListWrapAlways() throws Exception {
                runTest("testData/formatter/parameterList/ArgumentListWrapAlways.after.kt");
            }

            @TestMetadata("ArgumentListWrapAsNeeded.after.kt")
            public void testArgumentListWrapAsNeeded() throws Exception {
                runTest("testData/formatter/parameterList/ArgumentListWrapAsNeeded.after.kt");
            }

            @TestMetadata("ArgumentListWrapLParen.after.kt")
            public void testArgumentListWrapLParen() throws Exception {
                runTest("testData/formatter/parameterList/ArgumentListWrapLParen.after.kt");
            }

            @TestMetadata("DefaultParameterValues.after.kt")
            public void testDefaultParameterValues() throws Exception {
                runTest("testData/formatter/parameterList/DefaultParameterValues.after.kt");
            }

            @TestMetadata("KT19727.after.kt")
            public void testKT19727() throws Exception {
                runTest("testData/formatter/parameterList/KT19727.after.kt");
            }

            @TestMetadata("ParameterListChopAsNeeded.after.kt")
            public void testParameterListChopAsNeeded() throws Exception {
                runTest("testData/formatter/parameterList/ParameterListChopAsNeeded.after.kt");
            }

            @TestMetadata("ParameterListDoNotWrap.after.kt")
            public void testParameterListDoNotWrap() throws Exception {
                runTest("testData/formatter/parameterList/ParameterListDoNotWrap.after.kt");
            }

            @TestMetadata("ParameterListWrapAlways.after.kt")
            public void testParameterListWrapAlways() throws Exception {
                runTest("testData/formatter/parameterList/ParameterListWrapAlways.after.kt");
            }

            @TestMetadata("ParameterListWrapAsNeeded.after.kt")
            public void testParameterListWrapAsNeeded() throws Exception {
                runTest("testData/formatter/parameterList/ParameterListWrapAsNeeded.after.kt");
            }
        }

        @RunWith(JUnit3RunnerWithInners.class)
        @TestMetadata("testData/formatter/trailingComma")
        public abstract static class TrailingComma extends AbstractFormatterTest {
            @RunWith(JUnit3RunnerWithInners.class)
            @TestMetadata("testData/formatter/trailingComma/collectionLiteralExpression")
            public static class CollectionLiteralExpression extends AbstractFormatterTest {
                @java.lang.Override
                @org.jetbrains.annotations.NotNull
                public final KotlinPluginMode getPluginMode() {
                    return KotlinPluginMode.K1;
                }

                private void runTest(String testDataFilePath) throws Exception {
                    KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
                }

                @TestMetadata("CollectionLiteralEnabled.after.kt")
                public void testCollectionLiteralEnabled() throws Exception {
                    runTest("testData/formatter/trailingComma/collectionLiteralExpression/CollectionLiteralEnabled.after.kt");
                }

                @TestMetadata("CollectionLiteralInAnnotation.after.kt")
                public void testCollectionLiteralInAnnotation() throws Exception {
                    runTest("testData/formatter/trailingComma/collectionLiteralExpression/CollectionLiteralInAnnotation.after.kt");
                }
            }

            @RunWith(JUnit3RunnerWithInners.class)
            @TestMetadata("testData/formatter/trailingComma/contextParameters")
            public static class ContextParameters extends AbstractFormatterTest {
                @java.lang.Override
                @org.jetbrains.annotations.NotNull
                public final KotlinPluginMode getPluginMode() {
                    return KotlinPluginMode.K1;
                }

                private void runTest(String testDataFilePath) throws Exception {
                    KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
                }

                @TestMetadata("ContextParametersList.after.kt")
                public void testContextParametersList() throws Exception {
                    runTest("testData/formatter/trailingComma/contextParameters/ContextParametersList.after.kt");
                }

                @TestMetadata("ContextParametersListDisabled.after.kt")
                public void testContextParametersListDisabled() throws Exception {
                    runTest("testData/formatter/trailingComma/contextParameters/ContextParametersListDisabled.after.kt");
                }
            }

            @RunWith(JUnit3RunnerWithInners.class)
            @TestMetadata("testData/formatter/trailingComma/destructuringDeclarations")
            public static class DestructuringDeclarations extends AbstractFormatterTest {
                @java.lang.Override
                @org.jetbrains.annotations.NotNull
                public final KotlinPluginMode getPluginMode() {
                    return KotlinPluginMode.K1;
                }

                private void runTest(String testDataFilePath) throws Exception {
                    KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
                }

                @TestMetadata("DestructuringDeclarationsDisabled.after.kt")
                public void testDestructuringDeclarationsDisabled() throws Exception {
                    runTest("testData/formatter/trailingComma/destructuringDeclarations/DestructuringDeclarationsDisabled.after.kt");
                }

                @TestMetadata("DestructuringDeclarationsInLambda.after.kt")
                public void testDestructuringDeclarationsInLambda() throws Exception {
                    runTest("testData/formatter/trailingComma/destructuringDeclarations/DestructuringDeclarationsInLambda.after.kt");
                }

                @TestMetadata("MultiVariableDeclaration.after.kt")
                public void testMultiVariableDeclaration() throws Exception {
                    runTest("testData/formatter/trailingComma/destructuringDeclarations/MultiVariableDeclaration.after.kt");
                }
            }

            @RunWith(JUnit3RunnerWithInners.class)
            @TestMetadata("testData/formatter/trailingComma/enumEntry")
            public static class EnumEntry extends AbstractFormatterTest {
                @java.lang.Override
                @org.jetbrains.annotations.NotNull
                public final KotlinPluginMode getPluginMode() {
                    return KotlinPluginMode.K1;
                }

                private void runTest(String testDataFilePath) throws Exception {
                    KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
                }

                @TestMetadata("Enum.after.kt")
                public void testEnum() throws Exception {
                    runTest("testData/formatter/trailingComma/enumEntry/Enum.after.kt");
                }
            }

            @RunWith(JUnit3RunnerWithInners.class)
            @TestMetadata("testData/formatter/trailingComma/indices")
            public static class Indices extends AbstractFormatterTest {
                @java.lang.Override
                @org.jetbrains.annotations.NotNull
                public final KotlinPluginMode getPluginMode() {
                    return KotlinPluginMode.K1;
                }

                private void runTest(String testDataFilePath) throws Exception {
                    KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
                }

                @TestMetadata("IndicesAccess.after.kt")
                public void testIndicesAccess() throws Exception {
                    runTest("testData/formatter/trailingComma/indices/IndicesAccess.after.kt");
                }

                @TestMetadata("IndicesEnabled.after.kt")
                public void testIndicesEnabled() throws Exception {
                    runTest("testData/formatter/trailingComma/indices/IndicesEnabled.after.kt");
                }
            }

            @RunWith(JUnit3RunnerWithInners.class)
            @TestMetadata("testData/formatter/trailingComma/lambdaParameters")
            public static class LambdaParameters extends AbstractFormatterTest {
                @java.lang.Override
                @org.jetbrains.annotations.NotNull
                public final KotlinPluginMode getPluginMode() {
                    return KotlinPluginMode.K1;
                }

                private void runTest(String testDataFilePath) throws Exception {
                    KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
                }

                @TestMetadata("LambdaParameterList.after.kt")
                public void testLambdaParameterList() throws Exception {
                    runTest("testData/formatter/trailingComma/lambdaParameters/LambdaParameterList.after.kt");
                }

                @TestMetadata("LambdaParametersDisabled.after.kt")
                public void testLambdaParametersDisabled() throws Exception {
                    runTest("testData/formatter/trailingComma/lambdaParameters/LambdaParametersDisabled.after.kt");
                }
            }

            @RunWith(JUnit3RunnerWithInners.class)
            @TestMetadata("testData/formatter/trailingComma/typeArguments")
            public static class TypeArguments extends AbstractFormatterTest {
                @java.lang.Override
                @org.jetbrains.annotations.NotNull
                public final KotlinPluginMode getPluginMode() {
                    return KotlinPluginMode.K1;
                }

                private void runTest(String testDataFilePath) throws Exception {
                    KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
                }

                @TestMetadata("TypeArgumentList.after.kt")
                public void testTypeArgumentList() throws Exception {
                    runTest("testData/formatter/trailingComma/typeArguments/TypeArgumentList.after.kt");
                }

                @TestMetadata("TypeArgumentListEnabled.after.kt")
                public void testTypeArgumentListEnabled() throws Exception {
                    runTest("testData/formatter/trailingComma/typeArguments/TypeArgumentListEnabled.after.kt");
                }
            }

            @RunWith(JUnit3RunnerWithInners.class)
            @TestMetadata("testData/formatter/trailingComma/typeParameters")
            public static class TypeParameters extends AbstractFormatterTest {
                @java.lang.Override
                @org.jetbrains.annotations.NotNull
                public final KotlinPluginMode getPluginMode() {
                    return KotlinPluginMode.K1;
                }

                private void runTest(String testDataFilePath) throws Exception {
                    KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
                }

                @TestMetadata("TypeParameterList.after.kt")
                public void testTypeParameterList() throws Exception {
                    runTest("testData/formatter/trailingComma/typeParameters/TypeParameterList.after.kt");
                }

                @TestMetadata("TypeParameterListDisabled.after.kt")
                public void testTypeParameterListDisabled() throws Exception {
                    runTest("testData/formatter/trailingComma/typeParameters/TypeParameterListDisabled.after.kt");
                }
            }

            @RunWith(JUnit3RunnerWithInners.class)
            @TestMetadata("testData/formatter/trailingComma/valueArguments")
            public static class ValueArguments extends AbstractFormatterTest {
                @java.lang.Override
                @org.jetbrains.annotations.NotNull
                public final KotlinPluginMode getPluginMode() {
                    return KotlinPluginMode.K1;
                }

                private void runTest(String testDataFilePath) throws Exception {
                    KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
                }

                @TestMetadata("ArgumentListChopAsNeeded.after.kt")
                public void testArgumentListChopAsNeeded() throws Exception {
                    runTest("testData/formatter/trailingComma/valueArguments/ArgumentListChopAsNeeded.after.kt");
                }

                @TestMetadata("ArgumentListDoNotWrap.after.kt")
                public void testArgumentListDoNotWrap() throws Exception {
                    runTest("testData/formatter/trailingComma/valueArguments/ArgumentListDoNotWrap.after.kt");
                }

                @TestMetadata("ArgumentListWrapAlways.after.kt")
                public void testArgumentListWrapAlways() throws Exception {
                    runTest("testData/formatter/trailingComma/valueArguments/ArgumentListWrapAlways.after.kt");
                }

                @TestMetadata("ArgumentListWrapAsNeeded.after.kt")
                public void testArgumentListWrapAsNeeded() throws Exception {
                    runTest("testData/formatter/trailingComma/valueArguments/ArgumentListWrapAsNeeded.after.kt");
                }

                @TestMetadata("NamedArguments.after.kt")
                public void testNamedArguments() throws Exception {
                    runTest("testData/formatter/trailingComma/valueArguments/NamedArguments.after.kt");
                }

                @TestMetadata("ValueArgumentsEnabled.after.kt")
                public void testValueArgumentsEnabled() throws Exception {
                    runTest("testData/formatter/trailingComma/valueArguments/ValueArgumentsEnabled.after.kt");
                }
            }

            @RunWith(JUnit3RunnerWithInners.class)
            @TestMetadata("testData/formatter/trailingComma/valueParameters")
            public static class ValueParameters extends AbstractFormatterTest {
                @java.lang.Override
                @org.jetbrains.annotations.NotNull
                public final KotlinPluginMode getPluginMode() {
                    return KotlinPluginMode.K1;
                }

                private void runTest(String testDataFilePath) throws Exception {
                    KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
                }

                @TestMetadata("LambdaValueParameters.after.kt")
                public void testLambdaValueParameters() throws Exception {
                    runTest("testData/formatter/trailingComma/valueParameters/LambdaValueParameters.after.kt");
                }

                @TestMetadata("NamedParameters.after.kt")
                public void testNamedParameters() throws Exception {
                    runTest("testData/formatter/trailingComma/valueParameters/NamedParameters.after.kt");
                }

                @TestMetadata("ParameterListChopAsNeeded.after.kt")
                public void testParameterListChopAsNeeded() throws Exception {
                    runTest("testData/formatter/trailingComma/valueParameters/ParameterListChopAsNeeded.after.kt");
                }

                @TestMetadata("ParameterListDoNotWrap.after.kt")
                public void testParameterListDoNotWrap() throws Exception {
                    runTest("testData/formatter/trailingComma/valueParameters/ParameterListDoNotWrap.after.kt");
                }

                @TestMetadata("ParameterListWrapAlways.after.kt")
                public void testParameterListWrapAlways() throws Exception {
                    runTest("testData/formatter/trailingComma/valueParameters/ParameterListWrapAlways.after.kt");
                }

                @TestMetadata("ParameterListWrapAsNeeded.after.kt")
                public void testParameterListWrapAsNeeded() throws Exception {
                    runTest("testData/formatter/trailingComma/valueParameters/ParameterListWrapAsNeeded.after.kt");
                }
            }

            @RunWith(JUnit3RunnerWithInners.class)
            @TestMetadata("testData/formatter/trailingComma/whenEntry")
            public static class WhenEntry extends AbstractFormatterTest {
                @java.lang.Override
                @org.jetbrains.annotations.NotNull
                public final KotlinPluginMode getPluginMode() {
                    return KotlinPluginMode.K1;
                }

                private void runTest(String testDataFilePath) throws Exception {
                    KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
                }

                @TestMetadata("WhenEntry.after.kt")
                public void testWhenEntry() throws Exception {
                    runTest("testData/formatter/trailingComma/whenEntry/WhenEntry.after.kt");
                }

                @TestMetadata("WhenEntryDisabled.after.kt")
                public void testWhenEntryDisabled() throws Exception {
                    runTest("testData/formatter/trailingComma/whenEntry/WhenEntryDisabled.after.kt");
                }

                @TestMetadata("WhenEntryNoIndentBeforeArrow.after.kt")
                public void testWhenEntryNoIndentBeforeArrow() throws Exception {
                    runTest("testData/formatter/trailingComma/whenEntry/WhenEntryNoIndentBeforeArrow.after.kt");
                }

                @TestMetadata("WhenEntryWithGuards.after.kt")
                public void testWhenEntryWithGuards() throws Exception {
                    runTest("testData/formatter/trailingComma/whenEntry/WhenEntryWithGuards.after.kt");
                }
            }
        }

        @RunWith(JUnit3RunnerWithInners.class)
