Skip to content

refactored TestComparatorUnit to use ResourceReader as main property

Sign in for the full log view
GitHub Actions / JUnit Tests (Linux, dorny/test-reporter@v1) failed Oct 27, 2023 in 0s

JUnit Tests (Linux, dorny/test-reporter@v1) ❌

Tests failed

Report Passed Failed Skipped Time
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.util.CliUtilsKtTest.xml 4✅ 1s
diktat-common/build/test-results/test/TEST-com.saveourtool.diktat.test.ConfigReaderTest.xml 2✅ 1s
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest.xml 3✅ 13s
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest.xml 14✅ 3s
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.ReporterSelectionTest.xml 1✅ 39ms
diktat-ktlint-engine/build/test-results/test/TEST-com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.xml 3✅ 7s
diktat-maven-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest.xml 2⚪ 5ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.EnumValueCaseTest.xml 3✅ 106ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingFixTest.xml 10✅ 289ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest.xml 39✅ 814ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.MethodNamingWarnTest.xml 8✅ 123ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingFixTest.xml 3✅ 168ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingWarnTest.xml 18✅ 376ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackagePathFixTest.xml 9✅ 168ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.comments.CommentedCodeTest.xml 27✅ 301ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingFixTest.xml 5✅ 232ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingTest.xml 23✅ 415ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleFixTest.xml 13✅ 264ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest.xml 21✅ 164ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocCommentsFixTest.xml 5✅ 2s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocCommentsWarnTest.xml 39✅ 641ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocFormattingFixTest.xml 9✅ 371ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocFormattingTest.xml 22✅ 333ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocMethodsFixTest.xml 8✅ 317ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocMethodsTest.xml 21✅ 300ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocParamPresentWarnTest.xml 6✅ 90ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest.xml 3✅ 41ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleWarnTest.xml 19✅ 199ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesFixTest.xml 6✅ 162ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesWarnTest.xml 30✅ 299ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleFixTest.xml 7✅ 402ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest.xml 18✅ 86ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest.xml 6✅ 123ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.xml 21✅ 184ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderFixTest.xml 4✅ 3s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderRuleWarnTest.xml 13✅ 262ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleFixTest.xml 1✅ 569ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleWarnTest.xml 25✅ 311ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleFixTest.xml 2✅ 17ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.xml 16✅ 203ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.DebugPrintRuleWarnTest.xml 9✅ 108ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EmptyBlockFixTest.xml 1✅ 26ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EmptyBlockWarnTest.xml 17✅ 116ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedFixTest.xml 2✅ 101ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedWarnTest.xml 11✅ 132ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesFixTest.xml 3✅ 56ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesWarnTest.xml 5✅ 57ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleFixTest.xml 13✅ 458ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest.xml 54✅ 1⚪ 533ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleFixTest.xml 2✅ 162ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleWarnTest.xml 2✅ 24ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileSizeWarnTest.xml 4✅ 67ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleFixTest.xml 11✅ 214ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleTest.xml 27✅ 1⚪ 220ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LineLengthFixTest.xml 17✅ 2s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LineLengthWarnTest.xml 8✅ 118ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LocalVariablesWarnTest.xml 34✅ 5⚪ 578ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedFixTest.xml 1✅ 29ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedWarnTest.xml 5✅ 60ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MagicNumberRuleWarnTest.xml 8✅ 60ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceFixTest.xml 2✅ 45ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.xml 6✅ 72ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleFixTest.xml 2✅ 101ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleWarnTest.xml 6✅ 51ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationFixTest.xml 2✅ 23ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationWarnTest.xml 4✅ 30ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleFixTest.xml 2✅ 72ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleWarnTest.xml 3✅ 20ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleFixTest.xml 1✅ 22ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest.xml 7✅ 40ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SortRuleFixTest.xml 2✅ 92ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SortRuleWarnTest.xml 15✅ 147ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationConfigAwareTest.xml 24✅ 106ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest.xml 8✅ 32s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest$Multi-line#20string#20literals.xml 8✅ 32s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Comments#20inside#20binary#20expressions.xml 48✅ 30s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Dot-#20and#20safe-qualified#20expressions.xml 128✅ 30s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Expression#20body#20functions.xml 160✅ 29s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Expressions#20wrapped#20after#20operator.xml 416✅ 29s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Expressions#20wrapped#20before#20operator.xml 368✅ 28s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$If#20expressions.xml 32✅ 26s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Multi-line#20Elvis#20expressions.xml 52✅ 26s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Multi-line#20string#20literals.xml 40✅ 25s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Parentheses-surrounded#20infix#20expressions.xml 128✅ 25s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$String#20templates.xml 12✅ 25s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleWarnTest.xml 64✅ 44s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.WhiteSpaceRuleFixTest.xml 9✅ 298ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.WhiteSpaceRuleWarnTest.xml 37✅ 401ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringConcatenationRuleFixTest.xml 1✅ 193ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringConcatenationWarnTest.xml 12✅ 114ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringTemplateRuleFixTest.xml 1✅ 36ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringTemplateRuleWarnTest.xml 8✅ 82ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.TrailingCommaFixTest.xml 1✅ 52ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.TrailingCommaWarnTest.xml 11✅ 42ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.WhenMustHaveElseFixTest.xml 1✅ 135ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.WhenMustHaveElseWarnTest.xml 8✅ 49ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.AccurateCalculationsWarnTest.xml 7✅ 48ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.NoVarRuleWarnTest.xml 5✅ 53ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.NullChecksRuleFixTest.xml 4✅ 311ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.NullChecksRuleWarnTest.xml 12✅ 149ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleFixTest.xml 1✅ 44ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest.xml 17✅ 1⚪ 272ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.TypeAliasRuleWarnTest.xml 7✅ 104ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.VariableGenericTypeDeclarationRuleFixTest.xml 1✅ 48ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.VariableGenericTypeDeclarationRuleWarnTest.xml 14✅ 266ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.AsyncAndSyncRuleTest.xml 2✅ 66ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsFixTest.xml 3✅ 66ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsWarnTest.xml 5✅ 69ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleFixTest.xml 1✅ 55ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest.xml 4✅ 60ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.CustomLabelsTest.xml 2✅ 42ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.FunctionArgumentsSizeWarnTest.xml 2✅ 26ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.FunctionLengthWarnTest.xml 7✅ 40ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.LambdaLengthWarnTest.xml 8✅ 64ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.LambdaParameterOrderWarnTest.xml 1✅ 27ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.NestedFunctionBlockWarnTest.xml 8✅ 130ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.OverloadingArgumentsFunctionWarnTest.xml 8✅ 185ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.ParameterNameInOuterLambdaRuleWarnTest.xml 8✅ 40ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.AbstractClassesFixTest.xml 1✅ 20ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.AbstractClassesWarnTest.xml 7✅ 107ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.AvoidUtilityClassWarnTest.xml 4✅ 125ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.CompactInitializationFixTest.xml 6✅ 221ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.CompactInitializationWarnTest.xml 7✅ 86ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.CustomGetterSetterWarnTest.xml 5✅ 57ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.DataClassesRuleWarnTest.xml 22✅ 257ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.EmptyPrimaryConstructorFixTest.xml 1✅ 7ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.EmptyPrimaryConstructorWarnTest.xml 2✅ 17ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.ExtensionFunctionsInFileWarnTest.xml 8✅ 84ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.ExtensionFunctionsSameNameWarnTest.xml 6✅ 1⚪ 96ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.ImplicitBackingPropertyWarnTest.xml 9✅ 95ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.InlineClassesWarnTest.xml 14✅ 45ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.PropertyAccessorFieldsWarnTest.xml 5✅ 38ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.RunInScriptFixTest.xml 1✅ 22ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.RunInScriptWarnTest.xml 6✅ 131ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleConstructorRuleFixTest.xml 8✅ 231ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleConstructorRuleWarnTest.xml 2✅ 8ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleInitRuleFixTest.xml 3✅ 58ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleInitRuleWarnTest.xml 4✅ 39ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.StatelessClassesRuleFixTest.xml 1✅ 36ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.StatelessClassesRuleWarnTest.xml 5✅ 46ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsFixTest.xml 1✅ 24ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.xml 5✅ 51ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UseLastIndexFixTest.xml 2✅ 71ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UseLastIndexWarnTest.xml 6✅ 54ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UselessSupertypeFixTest.xml 2✅ 56ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UselessSupertypeWarnTest.xml 2✅ 25ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.RulesConfigValidationTest.xml 2✅ 1⚪ 77ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.AstNodeUtilsTest.xml 32✅ 260ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.AvailableRulesDocTest.xml 1✅ 15ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.FunctionAstNodeUtilsTest.xml 2✅ 11ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.KotlinParserTest.xml 14✅ 71ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.xml 3✅ 513ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.StringCaseUtilsTest.xml 3✅ 1ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.SuppressAnnotatedExpressionTest.xml 2✅ 87ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.SuppressTest.xml 8✅ 139ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.VariablesSearchTest.xml 1✅ 419ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.VariablesWithAssignmentsSearchTest.xml 2✅ 1⚪ 13ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.VariablesWithUsagesSearchTest.xml 11✅ 4⚪ 83ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.WarningsGenerationTest.xml 1✅ 0ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest.xml 1✅ 90ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.util.DiktatRuleTest.xml 2✅ 4ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.util.SuppressingTest.xml 4✅ 51ms
diktat-ruleset/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.DiktatSaveSmokeTest.xml 12✅ 1❌ 6⚪ 65s
diktat-ruleset/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.xml 11✅ 2❌ 6⚪ 9s

✅ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.util.CliUtilsKtTest.xml

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.util.CliUtilsKtTest 4✅ 1s

✅ diktat-common/build/test-results/test/TEST-com.saveourtool.diktat.test.ConfigReaderTest.xml

2 tests were completed in 1s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.test.ConfigReaderTest 2✅ 1s

✅ diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest.xml

3 tests were completed in 13s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest 3✅ 13s

✅ diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest.xml

14 tests were completed in 3s with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest 14✅ 3s

✅ diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.ReporterSelectionTest.xml

1 tests were completed in 39ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.plugin.gradle.ReporterSelectionTest 1✅ 39ms

✅ diktat-ktlint-engine/build/test-results/test/TEST-com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.xml

3 tests were completed in 7s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest 3✅ 7s

✅ diktat-maven-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest.xml

2 tests were completed in 5ms with 0 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest 2⚪ 5ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.EnumValueCaseTest.xml

3 tests were completed in 106ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter1.EnumValueCaseTest 3✅ 106ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingFixTest.xml

10 tests were completed in 289ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingFixTest 10✅ 289ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest.xml

39 tests were completed in 814ms with 39 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest 39✅ 814ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.MethodNamingWarnTest.xml

8 tests were completed in 123ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter1.MethodNamingWarnTest 8✅ 123ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingFixTest.xml

3 tests were completed in 168ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter1.PackageNamingFixTest 3✅ 168ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingWarnTest.xml

18 tests were completed in 376ms with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter1.PackageNamingWarnTest 18✅ 376ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackagePathFixTest.xml

9 tests were completed in 168ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter1.PackagePathFixTest 9✅ 168ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.comments.CommentedCodeTest.xml

27 tests were completed in 301ms with 27 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.comments.CommentedCodeTest 27✅ 301ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingFixTest.xml

5 tests were completed in 232ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingFixTest 5✅ 232ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingTest.xml

23 tests were completed in 415ms with 23 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingTest 23✅ 415ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleFixTest.xml

13 tests were completed in 264ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleFixTest 13✅ 264ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest.xml

21 tests were completed in 164ms with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest 21✅ 164ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocCommentsFixTest.xml

5 tests were completed in 2s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.KdocCommentsFixTest 5✅ 2s

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocCommentsWarnTest.xml

39 tests were completed in 641ms with 39 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.KdocCommentsWarnTest 39✅ 641ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocFormattingFixTest.xml

9 tests were completed in 371ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.KdocFormattingFixTest 9✅ 371ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocFormattingTest.xml

22 tests were completed in 333ms with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.KdocFormattingTest 22✅ 333ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocMethodsFixTest.xml

8 tests were completed in 317ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.KdocMethodsFixTest 8✅ 317ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocMethodsTest.xml

21 tests were completed in 300ms with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.KdocMethodsTest 21✅ 300ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocParamPresentWarnTest.xml

6 tests were completed in 90ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.KdocParamPresentWarnTest 6✅ 90ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest.xml

3 tests were completed in 41ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest 3✅ 41ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleWarnTest.xml

19 tests were completed in 199ms with 19 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleWarnTest 19✅ 199ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesFixTest.xml

6 tests were completed in 162ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesFixTest 6✅ 162ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesWarnTest.xml

30 tests were completed in 299ms with 30 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesWarnTest 30✅ 299ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleFixTest.xml

7 tests were completed in 402ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleFixTest 7✅ 402ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest.xml

18 tests were completed in 86ms with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest 18✅ 86ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest.xml

6 tests were completed in 123ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest 6✅ 123ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.xml

21 tests were completed in 184ms with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest 21✅ 184ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderFixTest.xml

4 tests were completed in 3s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderFixTest 4✅ 3s

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderRuleWarnTest.xml

13 tests were completed in 262ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderRuleWarnTest 13✅ 262ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleFixTest.xml

1 tests were completed in 569ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleFixTest 1✅ 569ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleWarnTest.xml

25 tests were completed in 311ms with 25 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleWarnTest 25✅ 311ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleFixTest.xml

2 tests were completed in 17ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleFixTest 2✅ 17ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.xml

16 tests were completed in 203ms with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest 16✅ 203ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.DebugPrintRuleWarnTest.xml

9 tests were completed in 108ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.DebugPrintRuleWarnTest 9✅ 108ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EmptyBlockFixTest.xml

1 tests were completed in 26ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.EmptyBlockFixTest 1✅ 26ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EmptyBlockWarnTest.xml

17 tests were completed in 116ms with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.EmptyBlockWarnTest 17✅ 116ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedFixTest.xml

2 tests were completed in 101ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedFixTest 2✅ 101ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedWarnTest.xml

11 tests were completed in 132ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedWarnTest 11✅ 132ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesFixTest.xml

3 tests were completed in 56ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesFixTest 3✅ 56ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesWarnTest.xml

5 tests were completed in 57ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesWarnTest 5✅ 57ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleFixTest.xml

13 tests were completed in 458ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleFixTest 13✅ 458ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest.xml

55 tests were completed in 533ms with 54 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest 54✅ 1⚪ 533ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleFixTest.xml

2 tests were completed in 162ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleFixTest 2✅ 162ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleWarnTest.xml

2 tests were completed in 24ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleWarnTest 2✅ 24ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileSizeWarnTest.xml

4 tests were completed in 67ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.FileSizeWarnTest 4✅ 67ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleFixTest.xml

11 tests were completed in 214ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleFixTest 11✅ 214ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleTest.xml

28 tests were completed in 220ms with 27 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleTest 27✅ 1⚪ 220ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LineLengthFixTest.xml

17 tests were completed in 2s with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.LineLengthFixTest 17✅ 2s

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LineLengthWarnTest.xml

8 tests were completed in 118ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.LineLengthWarnTest 8✅ 118ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LocalVariablesWarnTest.xml

39 tests were completed in 578ms with 34 passed, 0 failed and 5 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.LocalVariablesWarnTest 34✅ 5⚪ 578ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedFixTest.xml

1 tests were completed in 29ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedFixTest 1✅ 29ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedWarnTest.xml

5 tests were completed in 60ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedWarnTest 5✅ 60ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MagicNumberRuleWarnTest.xml

8 tests were completed in 60ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.MagicNumberRuleWarnTest 8✅ 60ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceFixTest.xml

2 tests were completed in 45ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceFixTest 2✅ 45ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.xml

6 tests were completed in 72ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest 6✅ 72ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleFixTest.xml

2 tests were completed in 101ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleFixTest 2✅ 101ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleWarnTest.xml

6 tests were completed in 51ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleWarnTest 6✅ 51ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationFixTest.xml

2 tests were completed in 23ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationFixTest 2✅ 23ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationWarnTest.xml

4 tests were completed in 30ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationWarnTest 4✅ 30ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleFixTest.xml

2 tests were completed in 72ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleFixTest 2✅ 72ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleWarnTest.xml

3 tests were completed in 20ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleWarnTest 3✅ 20ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleFixTest.xml

1 tests were completed in 22ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleFixTest 1✅ 22ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest.xml

7 tests were completed in 40ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest 7✅ 40ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SortRuleFixTest.xml

2 tests were completed in 92ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.SortRuleFixTest 2✅ 92ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SortRuleWarnTest.xml

15 tests were completed in 147ms with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.SortRuleWarnTest 15✅ 147ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationConfigAwareTest.xml

24 tests were completed in 106ms with 24 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationConfigAwareTest 24✅ 106ms

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest.xml

8 tests were completed in 32s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest 8✅ 32s

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest$Multi-line#20string#20literals.xml

8 tests were completed in 32s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest$Multi-line string literals 8✅ 32s
Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

Check failure on line 54 in diktat-ruleset/src/test/kotlin/com/saveourtool/diktat/ruleset/smoke/DiktatSaveSmokeTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Linux, dorny/test-reporter@v1)

com.saveourtool.diktat.ruleset.smoke.DiktatSaveSmokeTest ► fix can cause long line()

Failed test found in:
  diktat-ruleset/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.DiktatSaveSmokeTest.xml
Error:
  org.assertj.core.error.AssertJMultipleFailuresError: 
Raw output
org.assertj.core.error.AssertJMultipleFailuresError: 
Multiple Failures (1 failure)
-- failure 1 --
[The output of "sh -c chmod 777 src/test/resources/test/smoke/save-0.3.4-linuxX64.kexe ; ./src/test/resources/test/smoke/save-0.3.4-linuxX64.kexe src/test/resources/test/smoke/src/main/kotlin ManyLineTransformInLongLineTest.kt --log all"] 
Expecting actual:
  "[DEBUG]: Using the following properties for SAVE execution:
parallelMode=false, threads=1, logType=ALL, reportType=PLAIN, baseline=null, excludeSuites=null, includeSuites=null, language=null, resultOutput=STDOUT, reportDir=save-reports, testRootDir=src/test/resources/test/smoke/src/main/kotlin, testFiles=[ManyLineTransformInLongLineTest.kt]
[INFO]: Welcome to SAVE version 0.3.4
[DEBUG]: Initializing reporter com.saveourtool.save.reporter.plain.PlainTextReporter of type PLAIN
[TRACE]: Discovering parent configs of src/test/resources/test/smoke/src/main/kotlin/save.toml
[DEBUG]: Processing test config from the toml file: src/test/resources/test/smoke/save.toml
[DEBUG]: Processing test config from the toml file: src/test/resources/test/smoke/src/main/kotlin/save.toml
[TRACE]: Add child src/test/resources/test/smoke/src/main/kotlin/save.toml for src/test/resources/test/smoke/save.toml
[TRACE]: Discovering all descendant `save.toml`s of src/test/resources/test/smoke/src/main/kotlin/save.toml
[TRACE]: Discovered 1 files
[TRACE]: Discovered new pluginConfig: GeneralConfig(execCmd=java -showversion -jar ktlint --log-level=debug -R diktat.jar, batchSize=null, batchSeparator=null, tags=[smokeTest], description=SmokeTest, suiteName=SmokeTest, language=Kotlin, excludedTests=null, expectedWarningsPattern=// ;warn:?(.*):(\d*): (.+), expectedWarningsMiddlePattern=null, expectedWarningsEndPattern=null, runConfigPattern=null, timeOutMillis=3600000)
[TRACE]: Discovered new pluginConfig: FixAndWarnPluginConfig(fix=FixPluginConfig(execFlags=-F, resourceNameTestSuffix=null, resourceNameExpectedSuffix=null, ignoreLines=null), warn=WarnPluginConfig(execFlags=null, actualWarningsPattern=(\w+\..+):(\d+):(\d+): (\[.*\].*)$, warningTextHasLine=true, warningTextHasColumn=true, lineCaptureGroup=1, columnCaptureGroup=2, messageCaptureGroup=3, messageCaptureGroupMiddle=null, messageCaptureGroupEnd=null, fileNameCaptureGroupOut=null, lineCaptureGroupOut=2, columnCaptureGroupOut=3, messageCaptureGroupOut=4, exactWarningsMatch=false, testNameRegex=null, linePlaceholder=null, wildCardInDirectoryMode=null, patternForRegexInWarning=null, partialWarnTextMatch=null, testToolResFileOutput=null, ignoreLines=null, benchmarkMode=null, expectedWarningsFormat=null, actualWarningsFormat=null, expectedWarningsFileName=null, actualWarningsFileName=null))
[DEBUG]: Merging configs (with parental configs from higher directory level) for src/test/resources/test/smoke/save.toml
[DEBUG]: Overriding configs for src/test/resources/test/smoke/save.toml
[TRACE]: Discovered new pluginConfig: GeneralConfig(execCmd=java -showversion -jar ktlint --log-level=debug -R diktat.jar, batchSize=null, batchSeparator=null, tags=[smokeTest], description=SmokeTest, suiteName=SmokeTest, language=Kotlin, excludedTests=null, expectedWarningsPattern=// ;warn:?(.*):(\d*): (.+), expectedWarningsMiddlePattern=null, expectedWarningsEndPattern=null, runConfigPattern=null, timeOutMillis=null)
[TRACE]: Discovered new pluginConfig: FixAndWarnPluginConfig(fix=FixPluginConfig(execFlags=-F, resourceNameTestSuffix=null, resourceNameExpectedSuffix=null, ignoreLines=null), warn=WarnPluginConfig(execFlags=null, actualWarningsPattern=(\w+\..+):(\d+):(\d+): (\[.*\].*)$, warningTextHasLine=null, warningTextHasColumn=null, lineCaptureGroup=null, columnCaptureGroup=null, messageCaptureGroup=null, messageCaptureGroupMiddle=null, messageCaptureGroupEnd=null, fileNameCaptureGroupOut=null, lineCaptureGroupOut=null, columnCaptureGroupOut=null, messageCaptureGroupOut=null, exactWarningsMatch=false, testNameRegex=null, linePlaceholder=null, wildCardInDirectoryMode=null, patternForRegexInWarning=null, partialWarnTextMatch=null, testToolResFileOutput=null, ignoreLines=null, benchmarkMode=null, expectedWarningsFormat=null, actualWarningsFormat=null, expectedWarningsFileName=null, actualWarningsFileName=null))
[DEBUG]: Merging configs (with parental configs from higher directory level) for src/test/resources/test/smoke/src/main/kotlin/save.toml
[TRACE]: Using parental config src/test/resources/test/smoke/save.toml to merge it with child config: src/test/resources/test/smoke/src/main/kotlin/save.toml
[TRACE]: Merging process of GENERAL from GeneralConfig(execCmd=java -showversion -jar ktlint --log-level=debug -R diktat.jar, batchSize=null, batchSeparator=null, tags=[smokeTest], description=SmokeTest, suiteName=SmokeTest, language=Kotlin, excludedTests=null, expectedWarningsPattern=// ;warn:?(.*):(\d*): (.+), expectedWarningsMiddlePattern=null, expectedWarningsEndPattern=null, runConfigPattern=null, timeOutMillis=3600000) into GeneralConfig(execCmd=java -showversion -jar ktlint --log-level=debug -R diktat.jar, batchSize=null, batchSeparator=null, tags=[smokeTest], description=SmokeTest, suiteName=SmokeTest, language=Kotlin, excludedTests=null, expectedWarningsPattern=// ;warn:?(.*):(\d*): (.+), expectedWarningsMiddlePattern=null, expectedWarningsEndPattern=null, runConfigPattern=null, timeOutMillis=null)
[TRACE]: Merging process of FIX AND WARN from FixAndWarnPluginConfig(fix=FixPluginConfig(execFlags=-F, resourceNameTestSuffix=null, resourceNameExpectedSuffix=null, ignoreLines=null), warn=WarnPluginConfig(execFlags=null, actualWarningsPattern=(\w+\..+):(\d+):(\d+): (\[.*\].*)$, warningTextHasLine=true, warningTextHasColumn=true, lineCaptureGroup=1, columnCaptureGroup=2, messageCaptureGroup=3, messageCaptureGroupMiddle=null, messageCaptureGroupEnd=null, fileNameCaptureGroupOut=null, lineCaptureGroupOut=2, columnCaptureGroupOut=3, messageCaptureGroupOut=4, exactWarningsMatch=false, testNameRegex=null, linePlaceholder=null, wildCardInDirectoryMode=null, patternForRegexInWarning=null, partialWarnTextMatch=null, testToolResFileOutput=null, ignoreLines=null, benchmarkMode=null, expectedWarningsFormat=null, actualWarningsFormat=null, expectedWarningsFileName=null, actualWarningsFileName=null)) into FixAndWarnPluginConfig(fix=FixPluginConfig(execFlags=-F, resourceNameTestSuffix=null, resourceNameExpectedSuffix=null, ignoreLines=null), warn=WarnPluginConfig(execFlags=null, actualWarningsPattern=(\w+\..+):(\d+):(\d+): (\[.*\].*)$, warningTextHasLine=null, warningTextHasColumn=null, lineCaptureGroup=null, columnCaptureGroup=null, messageCaptureGroup=null, messageCaptureGroupMiddle=null, messageCaptureGroupEnd=null, fileNameCaptureGroupOut=null, lineCaptureGroupOut=null, columnCaptureGroupOut=null, messageCaptureGroupOut=null, exactWarningsMatch=false, testNameRegex=null, linePlaceholder=null, wildCardInDirectoryMode=null, patternForRegexInWarning=null, partialWarnTextMatch=null, testToolResFileOutput=null, ignoreLines=null, benchmarkMode=null, expectedWarningsFormat=null, actualWarningsFormat=null, expectedWarningsFileName=null, actualWarningsFileName=null))
[DEBUG]: Overriding configs for src/test/resources/test/smoke/src/main/kotlin/save.toml
[TRACE]: Add child src/test/resources/test/smoke/src/main/kotlin/save.toml for src/test/resources/test/smoke/save.toml
[TRACE]: Add child src/test/resources/test/smoke/src/main/kotlin/save.toml for src/test/resources/test/smoke/save.toml
[DEBUG]: Following tests have been detected for the current plugin and directory: [src/test/resources/test/smoke/src/main/kotlin/ManyLineTransformInLongLineTest.kt]. 
[DEBUG]: => Executing plugin: FixAndWarnPlugin for [src/test/resources/test/smoke/src/main/kotlin/save.toml]
[TRACE]: Add child src/test/resources/test/smoke/src/main/kotlin/save.toml for src/test/resources/test/smoke/save.toml
[TRACE]: Add child src/test/resources/test/smoke/src/main/kotlin/save.toml for src/test/resources/test/smoke/save.toml
[DEBUG]: Following tests have been detected for the current plugin and directory: [src/test/resources/test/smoke/src/main/kotlin/ManyLineTransformInLongLineTest.kt]. 
[TRACE]: Discovered the following test resources: [FixTestFiles(test=src/test/resources/test/smoke/src/main/kotlin/ManyLineTransformInLongLineTest.kt, expected=src/test/resources/test/smoke/src/main/kotlin/ManyLineTransformInLongLineExpected.kt)]
[DEBUG]: Validated plugin configuration for [src/test/resources/test/smoke/src/main/kotlin/save.toml] ([FIX AND WARN])
[TRACE]: Add child src/test/resources/test/smoke/src/main/kotlin/save.toml for src/test/resources/test/smoke/save.toml
[TRACE]: Add child src/test/resources/test/smoke/src/main/kotlin/save.toml for src/test/resources/test/smoke/save.toml
[DEBUG]: Validated plugin configuration for [src/test/resources/test/smoke/src/main/kotlin/save.toml] ([FIX])
[TRACE]: Creating temp directory: /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/ProcessBuilder_1698400159323
[TRACE]: Creating stdout file of ProcessBuilder: /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/ProcessBuilder_1698400159323/stdout.txt
[TRACE]: Creating stderr file of ProcessBuilder: /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/ProcessBuilder_1698400159323/stderr.txt
[TRACE]: Created temp directory /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/ProcessBuilder_1698400159323 for stderr and stdout of ProcessBuilder
[TRACE]: Modified cmd: cd src/test/resources/test/smoke && java -showversion -jar ktlint --log-level=debug -R diktat.jar -F /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt
[DEBUG]: Executing: (cd src/test/resources/test/smoke && java -showversion -jar ktlint --log-level=debug -R diktat.jar -F /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt) >/home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/ProcessBuilder_1698400159323/stdout.txt 2>/home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/ProcessBuilder_1698400159323/stderr.txt with timeout 3600000 ms
[TRACE]: Attempt to delete file /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/ProcessBuilder_1698400159323/stdout.txt
[TRACE]: Attempt to delete file /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/ProcessBuilder_1698400159323/stderr.txt
[TRACE]: Attempt to delete file /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/ProcessBuilder_1698400159323
[TRACE]: Removed temp directory /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/ProcessBuilder_1698400159323
[DEBUG]: stderr of `java -showversion -jar ktlint --log-level=debug -R diktat.jar -F /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt`:	openjdk version "1.8.0_382"	OpenJDK Runtime Environment (Temurin)(build 1.8.0_382-b05)	OpenJDK 64-Bit Server VM (Temurin)(build 25.382-b05, mixed mode)	
[TRACE]: Execution output:	[09:49:20.296 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered RuleSetProviderV3 with id 'standard' in ktlint JAR, 09:49:20.365 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered RuleSetProviderV3 with id 'diktat-ruleset' in JAR file '/home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/diktat.jar',     KtLint uses a ServiceLoader to dynamically load classes from JAR files specified at the command line of KtLint.,     The JAR file below contains an implementation of an interface which is supported by this version of ktlint:,         Interface: com.pinterest.ktlint.cli.ruleset.core.api.RuleSetProviderV3,         Id       : diktat-ruleset,         JAR file : /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/diktat.jar, 09:49:20.862 [main] DEBUG com.saveourtool.diktat.ruleset.rules.DiktatRuleSetProviderV3Spi - Will run diktat-ruleset with diktat-analysis.yml (it can be placed to the run directory or the default file from resources will be used), 09:49:20.874 [main] DEBUG com.saveourtool.diktat.ruleset.rules.DiktatRuleSetProviderV3Spi - Using diktat-analysis.yml file from the following path: /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/diktat-analysis.yml, 09:49:21.467 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'baseline' in ktlint JAR, 09:49:21.467 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'plain' in ktlint JAR, 09:49:21.467 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'checkstyle' in ktlint JAR, 09:49:21.467 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'json' in ktlint JAR, 09:49:21.467 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'format' in ktlint JAR, 09:49:21.467 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'html' in ktlint JAR, 09:49:21.467 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'plain-summary' in ktlint JAR, 09:49:21.467 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'sarif' in ktlint JAR, 09:49:21.468 [main] DEBUG com.pinterest.ktlint.cli.internal.ReporterAggregator - Initializing "plain" reporter with {plain=true, color=false, color_name=DARK_GRAY, format=true}, 09:49:21.531 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine - Starting with formatting file 'ManyLineTransformInLongLineTest.kt', 09:49:22.989 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.internal.EditorConfigLoader - Effective editorconfig properties for file '/home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt':, 	ktlint_standard: disabled, 	ktlint_experimental: disabled, 	ktlint_test: disabled, 	ktlint_custom: disabled, 09:49:23.122 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.internal.RuleProviderSorter - Rules will be executed in order below:,            - internal:ktlint-suppression, ,            - diktat-ruleset:comments, ,            - diktat-ruleset:single-constructor, ,            - diktat-ruleset:kdoc-comments, ,            - diktat-ruleset:kdoc-methods, ,            - diktat-ruleset:kdoc-formatting, ,            - diktat-ruleset:kdoc-comments-codeblocks-formatting, ,            - diktat-ruleset:file-naming, ,            - diktat-ruleset:package-naming, ,            - diktat-ruleset:identifier-naming, ,            - diktat-ruleset:useless-override, ,            - diktat-ruleset:class-like-structures, ,            - diktat-ruleset:no-else-in-when, ,            - diktat-ruleset:races-rule, ,            - diktat-ruleset:empty-block-structure, ,            - diktat-ruleset:avoid-empty-primary-constructor, ,            - diktat-ruleset:top-level-order, ,            - diktat-ruleset:statement, ,            - diktat-ruleset:multiple-modifiers, ,            - diktat-ruleset:trivial-property-accessors, ,            - diktat-ruleset:custom-getter-setter, ,            - diktat-ruleset:class-compact-initialization, ,            - diktat-ruleset:last-index, ,            - diktat-ruleset:inline-classes, ,            - diktat-ruleset:extension-functions-class-file, ,            - diktat-ruleset:inverse-method, ,            - diktat-ruleset:stateless-class, ,            - diktat-ruleset:implicit-backing-property, ,            - diktat-ruleset:data-classes, ,            - diktat-ruleset:local-variables, ,            - diktat-ruleset:smart-cast-rule, ,            - diktat-ruleset:avoid-utility-class, ,            - diktat-ruleset:getter-setter-fields, ,            - diktat-ruleset:abstract-classes, ,            - diktat-ruleset:trailing-comma, ,            - diktat-ruleset:multiple-init-block, ,            - diktat-ruleset:range, ,            - diktat-ruleset:debug-print, ,            - diktat-ruleset:custom-label, ,            - diktat-ruleset:variable-generic-type, ,            - diktat-ruleset:long-numerical-values, ,            - diktat-ruleset:nested-block, ,            - diktat-ruleset:annotation-new-line, ,            - diktat-ruleset:preview-annotation, ,            - diktat-ruleset:sort-rule, ,            - diktat-ruleset:enum-separated, ,            - diktat-ruleset:string-concatenation, ,            - diktat-ruleset:string-template-format, ,            - diktat-ruleset:accurate-calculations, ,            - diktat-ruleset:collapse-if, ,            - diktat-ruleset:line-length, ,            - diktat-ruleset:run-script, ,            - diktat-ruleset:type-alias, ,            - diktat-ruleset:overloading-default-values, ,            - diktat-ruleset:function-length, ,            - diktat-ruleset:magic-number, ,            - diktat-ruleset:lambda-parameter-order, ,            - diktat-ruleset:argument-size, ,            - diktat-ruleset:blank-lines, ,            - diktat-ruleset:file-size, ,            - diktat-ruleset:sync-in-async, ,            - diktat-ruleset:nullable-type, ,            - diktat-ruleset:null-checks, ,            - diktat-ruleset:no-var-rule, ,            - diktat-ruleset:avoid-nested-functions, ,            - diktat-ruleset:extension-functions-same-name, ,            - diktat-ruleset:lambda-length, ,            - diktat-ruleset:boolean-expressions-rule, ,            - diktat-ruleset:parameter-name-in-outer-lambda, ,            - diktat-ruleset:block-structure, ,            - diktat-ruleset:too-many-spaces, ,            - diktat-ruleset:header-comment, ,            - diktat-ruleset:file-structure, ,            - diktat-ruleset:newlines, ,            - diktat-ruleset:horizontal-whitespace, ,            - diktat-ruleset:indentation, 09:49:27.566 [pool-1-thread-1] WARN com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine - Format was not able to resolve all violations which (theoretically) can be autocorrected in file /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt in 3 consecutive runs of format., 09:49:27.582 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine - Finished with formatting file 'ManyLineTransformInLongLineTest.kt', /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt:1:1: [HEADER_MISSING_IN_NON_SINGLE_CLASS_FILE] files that contain multiple or no classes should contain description of what is inside of this file: there are 0 declared classes and/or objects (cannot be auto-corrected) (diktat-ruleset:header-comment), /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt:3:1: [MISSING_KDOC_TOP_LEVEL] all public and internal top-level classes and functions should have Kdoc: foo (cannot be auto-corrected) (diktat-ruleset:kdoc-comments), /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt:3:1: [MISSING_KDOC_ON_FUNCTION] all public, internal and protected functions should have Kdoc with proper tags: foo (cannot be auto-corrected) (diktat-ruleset:kdoc-methods), /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt:3:1: [TOO_LONG_FUNCTION] function is too long: split it or make more primitive: max length is 35, but you have 211 (cannot be auto-corrected) (diktat-ruleset:function-length), , Summary error count (descending) by rule:,   diktat-ruleset:function-length: 1,   diktat-ruleset:header-comment: 1,   diktat-ruleset:kdoc-comments: 1,   diktat-ruleset:kdoc-methods: 1, 09:49:27.586 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintCommandLine - Finished processing in 7360ms / 1 file(s) scanned / 431 error(s) found, 09:49:27.586 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintCommandLine - Exit ktlint with exit code: 1]
[DEBUG]: Validated plugin configuration for [src/test/resources/test/smoke/src/main/kotlin/save.toml] ([WARN])
[WARN]: Test on resources [FixTestFiles(test=src/test/resources/test/smoke/src/main/kotlin/ManyLineTransformInLongLineTest.kt, expected=src/test/resources/test/smoke/src/main/kotlin/ManyLineTransformInLongLineExpected.kt)] has failed.
[TRACE]: Additional info: ChangeDelta, position 6, lines:
-        20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or <br/>32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 || 42 or 43 or 44 or 45<br/> or 46 or 47 &&[ 48 or 49 ||]
+        20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or <br/>32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 || 42 or 43 or 44 or 45<br/> or 46 or 47 &&


-
+<        48 or 49 ||>
.
[DEBUG]: Completed test execution for resources [FixTestFiles(test=src/test/resources/test/smoke/src/main/kotlin/ManyLineTransformInLongLineTest.kt, expected=src/test/resources/test/smoke/src/main/kotlin/ManyLineTransformInLongLineExpected.kt)].
[TRACE]: Additional info: DebugInfo(execCmd=java -showversion -jar ktlint --log-level=debug -R diktat.jar -F /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt, stdout=09:49:21.531 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine - Starting with formatting file 'ManyLineTransformInLongLineTest.kt'
09:49:22.989 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.internal.EditorConfigLoader - Effective editorconfig properties for file '/home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt':
09:49:27.566 [pool-1-thread-1] WARN com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine - Format was not able to resolve all violations which (theoretically) can be autocorrected in file /home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt in 3 consecutive runs of format.
09:49:27.582 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine - Finished with formatting file 'ManyLineTransformInLongLineTest.kt'
/home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt:1:1: [HEADER_MISSING_IN_NON_SINGLE_CLASS_FILE] files that contain multiple or no classes should contain description of what is inside of this file: there are 0 declared classes and/or objects (cannot be auto-corrected) (diktat-ruleset:header-comment)
/home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt:3:1: [MISSING_KDOC_TOP_LEVEL] all public and internal top-level classes and functions should have Kdoc: foo (cannot be auto-corrected) (diktat-ruleset:kdoc-comments)
/home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt:3:1: [MISSING_KDOC_ON_FUNCTION] all public, internal and protected functions should have Kdoc with proper tags: foo (cannot be auto-corrected) (diktat-ruleset:kdoc-methods)
/home/runner/work/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-1325295058/src/main/kotlin/ManyLineTransformInLongLineTest.kt:3:1: [TOO_LONG_FUNCTION] function is too long: split it or make more primitive: max length is 35, but you have 211 (cannot be auto-corrected) (diktat-ruleset:function-length), stderr=, durationMillis=null, countWarnings=CountWarnings(unmatched=-99, matched=-99, expected=-99, unexpected=-99)).
[DEBUG]: <= Finished execution of: FixAndWarnPlugin for [src/test/resources/test/smoke/src/main/kotlin/save.toml]
[DEBUG]: Finished reporter com.saveourtool.save.reporter.plain.PlainTextReporter of type PLAIN
--------------------------------
| Test suite | Plugin | Test | result | comment |
| ------ | ------ | ------ | ------ | ------ |
| SmokeTest | FixAndWarnPlugin | ManyLineTransformInLongLineTest.kt | Fail | CHANGE: 1 lines |
--------------------------------
FAILED: 1 tests, 0% successful, failed: 1, skipped: 0
[INFO]: SAVE has finished execution. You can rerun with --log debug or --log all for additional information.
"
to contain:
  "SUCCESS" 
at DiktatSaveSmokeTest.saveSmokeTest$lambda$3(DiktatSaveSmokeTest.java:101)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSaveSmokeTest.saveSmokeTest(DiktatSaveSmokeTest.kt:54)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSaveSmokeTest.fixAndCompare(DiktatSaveSmokeTest.kt:39)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTestBase.fix can cause long line(DiktatSmokeTestBase.kt:316)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check failure on line 29 in diktat-ruleset/src/test/kotlin/com/saveourtool/diktat/ruleset/smoke/DiktatSmokeTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Linux, dorny/test-reporter@v1)

com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest ► fix can cause long line()

Failed test found in:
  diktat-ruleset/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.xml
Error:
  org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple Failures (2 failures)
Raw output
org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple Failures (2 failures)
	org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	org.opentest4j.AssertionFailedError: expected: <package com.saveourtool.diktat

fun foo() {
    (1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31
    ?: 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 ?: 40 or 41 or 42 or 43 or 44 or 45 or 46 or 47 or 48 or 49 or 50 or 51 or 52 or 53 + 54 or 55 or 56 or 57 or 58 or 59
    ?: 60 or 61 or 62 or 63 or 64 or 65 or 66 - 67 or 68 or 69 or 70 or 1 + 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 + 19 -
        20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 || 42 or 43 or 44 or 45 or 46 or 47 && 48 or 49 ||
        50 or 51 or 52 or 53 or 54 or 55 or 56 or 57 or 58 or 59 or 60 or 61 or 62 or 63 or 64 or 65 or 66 or 67 or 68 or 69 or 70 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or
            12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 or
            42 or 43 or 44 or 45 or 46 or 47 or 48 or 49 or 50 or 51 or 52 or 53 or 54 or 55 or 56 or 57 or 58 or 59 or 60 or 61 or 62 or 63 or 64 or 65 or 66 or 67 or 68 or 69 or 70)
}
> but was: <package com.saveourtool.diktat

fun foo() {
    (1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31
    ?: 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 ?: 40 or 41 or 42 or 43 or 44 or 45 or 46 or 47 or 48 or 49 or 50 or 51 or 52 or 53 + 54 or 55 or 56 or 57 or 58 or 59
    ?: 60 or 61 or 62 or 63 or 64 or 65 or 66 - 67 or 68 or 69 or 70 or 1 + 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 + 19 -
        20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 || 42 or 43 or 44 or 45 or 46 or 47 &&
        48 or 49 ||
        50 or 51 or 52 or 53 or 54 or 55 or 56 or 57 or 58 or 59 or 60 or 61 or 62 or 63 or 64 or 65 or 66 or 67 or 68 or 69 or 70 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or
            12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 or
            42 or 43 or 44 or 45 or 46 or 47 or 48 or 49 or 50 or 51 or 52 or 53 or 54 or 55 or 56 or 57 or 58 or 59 or 60 or 61 or 62 or 63 or 64 or 65 or 66 or 67 or 68 or 69 or 70)
}
>
	at org.junit.jupiter.api.AssertAll.assertAll(AssertAll.java:80)
	at org.junit.jupiter.api.AssertAll.assertAll(AssertAll.java:44)
	at org.junit.jupiter.api.AssertAll.assertAll(AssertAll.java:38)
	at org.junit.jupiter.api.Assertions.assertAll(Assertions.java:2940)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.fixAndCompare(DiktatSmokeTest.kt:29)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTestBase.fix can cause long line(DiktatSmokeTestBase.kt:316)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	Suppressed: org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
		at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
		at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
		at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
		at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
		at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
		at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:179)
		at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.fixAndCompare$lambda$0(DiktatSmokeTest.kt:31)
		at org.junit.jupiter.api.AssertAll.lambda$assertAll$0(AssertAll.java:68)
		at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
		at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
		at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
		at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
		at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
		at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
		at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
		at org.junit.jupiter.api.AssertAll.assertAll(AssertAll.java:77)
		... 8 more
	Suppressed: org.opentest4j.AssertionFailedError: expected: <package com.saveourtool.diktat

fun foo() {
    (1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31
    ?: 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 ?: 40 or 41 or 42 or 43 or 44 or 45 or 46 or 47 or 48 or 49 or 50 or 51 or 52 or 53 + 54 or 55 or 56 or 57 or 58 or 59
    ?: 60 or 61 or 62 or 63 or 64 or 65 or 66 - 67 or 68 or 69 or 70 or 1 + 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 + 19 -
        20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 || 42 or 43 or 44 or 45 or 46 or 47 && 48 or 49 ||
        50 or 51 or 52 or 53 or 54 or 55 or 56 or 57 or 58 or 59 or 60 or 61 or 62 or 63 or 64 or 65 or 66 or 67 or 68 or 69 or 70 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or
            12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 or
            42 or 43 or 44 or 45 or 46 or 47 or 48 or 49 or 50 or 51 or 52 or 53 or 54 or 55 or 56 or 57 or 58 or 59 or 60 or 61 or 62 or 63 or 64 or 65 or 66 or 67 or 68 or 69 or 70)
}
> but was: <package com.saveourtool.diktat

fun foo() {
    (1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31
    ?: 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 ?: 40 or 41 or 42 or 43 or 44 or 45 or 46 or 47 or 48 or 49 or 50 or 51 or 52 or 53 + 54 or 55 or 56 or 57 or 58 or 59
    ?: 60 or 61 or 62 or 63 or 64 or 65 or 66 - 67 or 68 or 69 or 70 or 1 + 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 + 19 -
        20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 || 42 or 43 or 44 or 45 or 46 or 47 &&
        48 or 49 ||
        50 or 51 or 52 or 53 or 54 or 55 or 56 or 57 or 58 or 59 or 60 or 61 or 62 or 63 or 64 or 65 or 66 or 67 or 68 or 69 or 70 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or
            12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 or
            42 or 43 or 44 or 45 or 46 or 47 or 48 or 49 or 50 or 51 or 52 or 53 or 54 or 55 or 56 or 57 or 58 or 59 or 60 or 61 or 62 or 63 or 64 or 65 or 66 or 67 or 68 or 69 or 70)
}
>
		at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
		at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
		at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
		at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
		at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
		at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141)
		at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.fixAndCompare$lambda$1(DiktatSmokeTest.kt:34)
		at org.junit.jupiter.api.AssertAll.lambda$assertAll$0(AssertAll.java:68)
		at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
		at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
		at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
		at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
		at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
		at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
		at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
		at org.junit.jupiter.api.AssertAll.assertAll(AssertAll.java:77)
		... 8 more
Cause 1: org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:179)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.fixAndCompare$lambda$0(DiktatSmokeTest.kt:31)
	at org.junit.jupiter.api.AssertAll.lambda$assertAll$0(AssertAll.java:68)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
	at org.junit.jupiter.api.AssertAll.assertAll(AssertAll.java:77)
	at org.junit.jupiter.api.AssertAll.assertAll(AssertAll.java:44)
	at org.junit.jupiter.api.AssertAll.assertAll(AssertAll.java:38)
	at org.junit.jupiter.api.Assertions.assertAll(Assertions.java:2940)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.fixAndCompare(DiktatSmokeTest.kt:29)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTestBase.fix can cause long line(DiktatSmokeTestBase.kt:316)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
Cause 2: org.opentest4j.AssertionFailedError: expected: <package com.saveourtool.diktat

fun foo() {
    (1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31
    ?: 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 ?: 40 or 41 or 42 or 43 or 44 or 45 or 46 or 47 or 48 or 49 or 50 or 51 or 52 or 53 + 54 or 55 or 56 or 57 or 58 or 59
    ?: 60 or 61 or 62 or 63 or 64 or 65 or 66 - 67 or 68 or 69 or 70 or 1 + 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 + 19 -
        20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 || 42 or 43 or 44 or 45 or 46 or 47 && 48 or 49 ||
        50 or 51 or 52 or 53 or 54 or 55 or 56 or 57 or 58 or 59 or 60 or 61 or 62 or 63 or 64 or 65 or 66 or 67 or 68 or 69 or 70 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or
            12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 or
            42 or 43 or 44 or 45 or 46 or 47 or 48 or 49 or 50 or 51 or 52 or 53 or 54 or 55 or 56 or 57 or 58 or 59 or 60 or 61 or 62 or 63 or 64 or 65 or 66 or 67 or 68 or 69 or 70)
}
> but was: <package com.saveourtool.diktat

fun foo() {
    (1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31
    ?: 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 ?: 40 or 41 or 42 or 43 or 44 or 45 or 46 or 47 or 48 or 49 or 50 or 51 or 52 or 53 + 54 or 55 or 56 or 57 or 58 or 59
    ?: 60 or 61 or 62 or 63 or 64 or 65 or 66 - 67 or 68 or 69 or 70 or 1 + 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 + 19 -
        20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 || 42 or 43 or 44 or 45 or 46 or 47 &&
        48 or 49 ||
        50 or 51 or 52 or 53 or 54 or 55 or 56 or 57 or 58 or 59 or 60 or 61 or 62 or 63 or 64 or 65 or 66 or 67 or 68 or 69 or 70 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or
            12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 or 21 or 22 or 23 or 24 or 25 or 26 or 27 or 28 or 29 or 30 or 31 or 32 or 33 or 34 or 35 or 36 or 37 or 38 or 39 or 40 or 41 or
            42 or 43 or 44 or 45 or 46 or 47 or 48 or 49 or 50 or 51 or 52 or 53 or 54 or 55 or 56 or 57 or 58 or 59 or 60 or 61 or 62 or 63 or 64 or 65 or 66 or 67 or 68 or 69 or 70)
}
>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.fixAndCompare$lambda$1(DiktatSmokeTest.kt:34)
	at org.junit.jupiter.api.AssertAll.lambda$assertAll$0(AssertAll.java:68)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
	at org.junit.jupiter.api.AssertAll.assertAll(AssertAll.java:77)
	at org.junit.jupiter.api.AssertAll.assertAll(AssertAll.java:44)
	at org.junit.jupiter.api.AssertAll.assertAll(AssertAll.java:38)
	at org.junit.jupiter.api.Assertions.assertAll(Assertions.java:2940)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.fixAndCompare(DiktatSmokeTest.kt:29)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTestBase.fix can cause long line(DiktatSmokeTestBase.kt:316)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check failure on line 79 in diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/rules/DiktatRule.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Linux, dorny/test-reporter@v1)

com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest ► smoke test with multiplatform project layout()

Failed test found in:
  diktat-ruleset/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.xml
Error:
  java.lang.Error: Internal error in diktat application
Raw output
java.lang.Error: Internal error in diktat application
	at com.saveourtool.diktat.ruleset.rules.DiktatRule.invoke(DiktatRule.kt:79)
	at com.saveourtool.diktat.ktlint.KtLintRuleWrapper.beforeVisitChildNodes(KtLintRuleWrapper.kt:30)
	at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext$executeRuleOnNodeRecursively$1.invoke(RuleExecutionContext.kt:125)
	at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext$executeRuleOnNodeRecursively$1.invoke(RuleExecutionContext.kt:124)
	at com.pinterest.ktlint.rule.engine.internal.SuppressHandler.handle(SuppressHandler.kt:28)
	at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext.executeRuleOnNodeRecursively(RuleExecutionContext.kt:124)
	at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext.executeRuleOnNodeRecursively(RuleExecutionContext.kt:93)
	at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext.access$executeRuleOnNodeRecursively(RuleExecutionContext.kt:30)
	at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext$executeRuleOnNodeRecursively$2$1.invoke(RuleExecutionContext.kt:132)
	at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext$executeRuleOnNodeRecursively$2$1.invoke(RuleExecutionContext.kt:131)
	at com.pinterest.ktlint.rule.engine.internal.SuppressHandler.handle(SuppressHandler.kt:28)
	at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext.executeRuleOnNodeRecursively(RuleExecutionContext.kt:131)
	at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext.executeRuleOnNodeRecursively(RuleExecutionContext.kt:93)
	at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext.executeRule(RuleExecutionContext.kt:62)
	at com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine$format$3.invoke(KtLintRuleEngine.kt:146)
	at com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine$format$3.invoke(KtLintRuleEngine.kt:145)
	at com.pinterest.ktlint.rule.engine.internal.VisitorProvider$visitor$3.invoke(VisitorProvider.kt:46)
	at com.pinterest.ktlint.rule.engine.internal.VisitorProvider$visitor$3.invoke(VisitorProvider.kt:44)
	at com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine.format(KtLintRuleEngine.kt:145)
	at com.saveourtool.diktat.ktlint.DiktatProcessorFactoryImpl$invoke$1.fix(DiktatProcessorFactoryImpl.kt:26)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.format(KtLintUtils.kt:152)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest$getTestComparatorUnit$2.invoke(DiktatSmokeTest.kt:52)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest$getTestComparatorUnit$2.invoke(DiktatSmokeTest.kt:51)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromFileSystem(TestComparatorUnit.kt:87)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromResources(TestComparatorUnit.kt:57)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromResources$default(TestComparatorUnit.kt:40)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.fixAndCompare(DiktatSmokeTest.kt:28)
	at com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTestBase.smoke test with multiplatform project layout(DiktatSmokeTestBase.kt:322)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
Caused by: com.saveourtool.diktat.ruleset.utils.KotlinParseException: Text is not valid: [package com.saveourtool.diktat.......jsMain.kotlin.com.saveourtool.diktat.scripts]
	at com.saveourtool.diktat.ruleset.utils.KotlinParser.createNode(KotlinParser.kt:75)
	at com.saveourtool.diktat.ruleset.rules.chapter1.PackageNaming.insertNewPackageName(PackageNaming.kt:235)
	at com.saveourtool.diktat.ruleset.rules.chapter1.PackageNaming.access$insertNewPackageName(PackageNaming.kt:43)
	at com.saveourtool.diktat.ruleset.rules.chapter1.PackageNaming$checkFilePathMatchesWithPackageName$2.invoke(PackageNaming.kt:281)
	at com.saveourtool.diktat.ruleset.rules.chapter1.PackageNaming$checkFilePathMatchesWithPackageName$2.invoke(PackageNaming.kt:279)
	at com.saveourtool.diktat.ruleset.constants.Warnings.warnAndFix(Warnings.kt:310)
	at com.saveourtool.diktat.ruleset.rules.chapter1.PackageNaming.checkFilePathMatchesWithPackageName(PackageNaming.kt:279)
	at com.saveourtool.diktat.ruleset.rules.chapter1.PackageNaming.logic(PackageNaming.kt:79)
	at com.saveourtool.diktat.ruleset.rules.DiktatRule.invoke(DiktatRule.kt:66)
	... 30 more