Skip to content

chore(deps): update spotless to v7 (major) #7194

chore(deps): update spotless to v7 (major)

chore(deps): update spotless to v7 (major) #7194

GitHub Actions / JUnit Tests (Linux, dorny/test-reporter@v1) failed Jan 15, 2025 in 0s

2806 passed, 2 failed and 18 skipped

Tests failed

Report Passed Failed Skipped Time
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml 6✅ 22s
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSaveSmokeTest.xml 20✅ 1❌ 65s
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml 20✅ 1❌ 6s
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.util.CliUtilsKtTest.xml 8✅ 1⚪ 22ms
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest.xml 2✅ 19s
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest.xml 14✅ 5s
diktat-ktlint-engine/build/test-results/test/TEST-com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.xml 3✅ 4s
diktat-maven-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest.xml 2⚪ 1ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.EnumValueCaseTest.xml 3✅ 64ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingFixTest.xml 10✅ 176ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest.xml 46✅ 614ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.MethodNamingWarnTest.xml 8✅ 98ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingFixTest.xml 3✅ 99ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingWarnTest.xml 18✅ 206ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackagePathFixTest.xml 10✅ 177ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.comments.CommentedCodeTest.xml 27✅ 377ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingFixTest.xml 5✅ 134ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingTest.xml 23✅ 239ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleFixTest.xml 13✅ 156ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest.xml 21✅ 85ms
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 42✅ 448ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocFormattingFixTest.xml 9✅ 259ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocFormattingTest.xml 22✅ 240ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocMethodsFixTest.xml 9✅ 356ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocMethodsTest.xml 28✅ 486ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocParamPresentWarnTest.xml 6✅ 27ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest.xml 3✅ 70ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleWarnTest.xml 19✅ 99ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesFixTest.xml 6✅ 74ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesWarnTest.xml 30✅ 221ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleFixTest.xml 7✅ 327ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest.xml 18✅ 112ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest.xml 6✅ 126ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.xml 21✅ 85ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderFixTest.xml 5✅ 1s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderRuleWarnTest.xml 14✅ 82ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleFixTest.xml 1✅ 506ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleWarnTest.xml 25✅ 185ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleFixTest.xml 2✅ 27ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.xml 16✅ 71ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.DebugPrintRuleWarnTest.xml 9✅ 45ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EmptyBlockFixTest.xml 1✅ 8ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EmptyBlockWarnTest.xml 17✅ 61ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedFixTest.xml 2✅ 71ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedWarnTest.xml 11✅ 65ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesFixTest.xml 3✅ 18ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesWarnTest.xml 5✅ 17ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleFixTest.xml 13✅ 340ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest.xml 55✅ 1⚪ 391ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.SemicolonsRuleFixTest.xml 1✅ 9ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.SemicolonsRuleWarnTest.xml 1✅ 4ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleFixTest.xml 2✅ 113ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleWarnTest.xml 2✅ 17ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileSizeWarnTest.xml 4✅ 23ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleFixTest.xml 11✅ 175ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleTest.xml 27✅ 1⚪ 212ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LineLengthFixTest.xml 17✅ 780ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LineLengthWarnTest.xml 8✅ 57ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LocalVariablesWarnTest.xml 35✅ 5⚪ 224ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedFixTest.xml 1✅ 9ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedWarnTest.xml 5✅ 24ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MagicNumberRuleWarnTest.xml 12✅ 76ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceFixTest.xml 2✅ 31ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.xml 6✅ 27ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleFixTest.xml 2✅ 71ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleWarnTest.xml 6✅ 23ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationFixTest.xml 2✅ 17ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationWarnTest.xml 4✅ 14ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleFixTest.xml 2✅ 52ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleWarnTest.xml 3✅ 15ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleFixTest.xml 1✅ 13ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest.xml 7✅ 28ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SortRuleFixTest.xml 2✅ 56ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SortRuleWarnTest.xml 15✅ 52ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationConfigAwareTest.xml 24✅ 51ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest.xml 8✅ 22s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest$Multi-line#20string#20literals.xml 8✅ 21s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Comments#20inside#20binary#20expressions.xml 48✅ 21s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Dot-#20and#20safe-qualified#20expressions.xml 128✅ 20s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Expression#20body#20functions.xml 160✅ 20s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Expressions#20wrapped#20after#20operator.xml 416✅ 19s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Expressions#20wrapped#20before#20operator.xml 368✅ 18s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$If#20expressions.xml 32✅ 17s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Multi-line#20Elvis#20expressions.xml 52✅ 16s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Multi-line#20string#20literals.xml 40✅ 16s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Parentheses-surrounded#20infix#20expressions.xml 128✅ 16s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$String#20templates.xml 12✅ 16s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleWarnTest.xml 66✅ 32s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.WhiteSpaceRuleFixTest.xml 9✅ 96ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.WhiteSpaceRuleWarnTest.xml 37✅ 226ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringConcatenationRuleFixTest.xml 1✅ 184ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringConcatenationWarnTest.xml 12✅ 111ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringTemplateRuleFixTest.xml 1✅ 17ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringTemplateRuleWarnTest.xml 8✅ 58ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SuperClassListWarnTest.xml 5✅ 47ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.TrailingCommaFixTest.xml 1✅ 47ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.TrailingCommaWarnTest.xml 11✅ 28ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.WhenMustHaveElseFixTest.xml 1✅ 210ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.WhenMustHaveElseWarnTest.xml 8✅ 29ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.AccurateCalculationsWarnTest.xml 7✅ 42ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.NoVarRuleWarnTest.xml 5✅ 26ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.NullChecksRuleFixTest.xml 4✅ 116ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.NullChecksRuleWarnTest.xml 16✅ 68ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleFixTest.xml 1✅ 14ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest.xml 17✅ 1⚪ 77ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.TypeAliasRuleWarnTest.xml 7✅ 63ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.VariableGenericTypeDeclarationRuleFixTest.xml 1✅ 27ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.VariableGenericTypeDeclarationRuleWarnTest.xml 14✅ 54ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.AsyncAndSyncRuleTest.xml 2✅ 10ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsFixTest.xml 3✅ 32ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsWarnTest.xml 5✅ 49ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleFixTest.xml 1✅ 24ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest.xml 4✅ 24ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.CustomLabelsTest.xml 2✅ 16ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.FunctionArgumentsSizeWarnTest.xml 2✅ 10ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.FunctionLengthWarnTest.xml 7✅ 15ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.LambdaLengthWarnTest.xml 8✅ 19ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.LambdaParameterOrderWarnTest.xml 1✅ 17ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.NestedFunctionBlockWarnTest.xml 8✅ 63ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.OverloadingArgumentsFunctionWarnTest.xml 8✅ 39ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.ParameterNameInOuterLambdaRuleWarnTest.xml 13✅ 19ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.AbstractClassesFixTest.xml 1✅ 12ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.AbstractClassesWarnTest.xml 7✅ 25ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.AvoidUtilityClassWarnTest.xml 4✅ 50ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.CompactInitializationFixTest.xml 6✅ 87ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.CompactInitializationWarnTest.xml 7✅ 43ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.CustomGetterSetterWarnTest.xml 7✅ 33ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.DataClassesRuleWarnTest.xml 22✅ 100ms
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✅ 12ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.ExtensionFunctionsInFileWarnTest.xml 8✅ 39ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.ExtensionFunctionsSameNameWarnTest.xml 6✅ 1⚪ 31ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.ImplicitBackingPropertyWarnTest.xml 9✅ 43ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.InlineClassesWarnTest.xml 14✅ 18ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.PropertyAccessorFieldsWarnTest.xml 5✅ 25ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.RunInScriptFixTest.xml 1✅ 10ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.RunInScriptWarnTest.xml 6✅ 41ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleConstructorRuleFixTest.xml 8✅ 78ms
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✅ 31ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleInitRuleWarnTest.xml 4✅ 14ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.StatelessClassesRuleFixTest.xml 1✅ 17ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.StatelessClassesRuleWarnTest.xml 5✅ 19ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsFixTest.xml 1✅ 10ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.xml 5✅ 34ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UseLastIndexFixTest.xml 2✅ 35ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UseLastIndexWarnTest.xml 6✅ 21ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UselessSupertypeFixTest.xml 2✅ 20ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UselessSupertypeWarnTest.xml 2✅ 9ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReaderTest.xml 2✅ 9ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.RulesConfigValidationTest.xml 2✅ 1⚪ 40ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.AstNodeUtilsTest.xml 32✅ 54ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.AvailableRulesDocTest.xml 1✅ 9ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.FunctionAstNodeUtilsTest.xml 2✅ 2ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.KotlinParserTest.xml 14✅ 21ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.xml 3✅ 142ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.StringCaseUtilsTest.xml 3✅ 2ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.SuppressAnnotatedExpressionTest.xml 2✅ 10ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.SuppressTest.xml 8✅ 44ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.VariablesSearchTest.xml 1✅ 4ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.VariablesWithAssignmentsSearchTest.xml 2✅ 1⚪ 3ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.VariablesWithUsagesSearchTest.xml 11✅ 4⚪ 14ms
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✅ 64ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.util.DiktatRuleTest.xml 2✅ 3ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.util.SuppressingTest.xml 4✅ 18ms

✅ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml

6 tests were completed in 22s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.smoke.DiktatCliTest 6✅ 22s

❌ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSaveSmokeTest.xml

21 tests were completed in 65s with 20 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.smoke.DiktatSaveSmokeTest 20✅ 1❌ 65s

❌ com.saveourtool.diktat.smoke.DiktatSaveSmokeTest

✅ regression - should not fail if package is not set()
✅ fix can cause long line()
✅ smoke test #8 - anonymous function()
✅ smoke test with gradle script plugin()
✅ smoke test with kts files()
✅ disable chapters()
✅ smoke test with kts files #2()
✅ smoke test #1()
✅ smoke test #2()
✅ smoke test #3()
✅ smoke test #4()
❌ smoke test #5()
	org.assertj.core.error.AssertJMultipleFailuresError:
✅ smoke test #6()
✅ smoke test #7()
✅ regression - FP of local variables rule()
✅ regression - shouldn't throw exception in cases similar to #371()
✅ regression - should not fail if file has unnecessary semicolons()
✅ smoke test with kts files with package name()
✅ should add newlines between interfaces()
✅ regression - should correctly handle tags with empty lines()
✅ smoke test with multiplatform project layout()

❌ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml

21 tests were completed in 6s with 20 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.smoke.DiktatSmokeTest 20✅ 1❌ 6s

❌ com.saveourtool.diktat.smoke.DiktatSmokeTest

✅ regression - should not fail if package is not set()
✅ fix can cause long line()
✅ smoke test #8 - anonymous function()
✅ smoke test with gradle script plugin()
✅ smoke test with kts files()
✅ disable chapters()
✅ smoke test with kts files #2()
✅ smoke test #1()
✅ smoke test #2()
✅ smoke test #3()
✅ smoke test #4()
❌ smoke test #5()
	org.opentest4j.AssertionFailedError: [lint result for ]
✅ smoke test #6()
✅ smoke test #7()
✅ regression - FP of local variables rule()
✅ regression - shouldn't throw exception in cases similar to #371()
✅ regression - should not fail if file has unnecessary semicolons()
✅ smoke test with kts files with package name()
✅ should add newlines between interfaces()
✅ regression - should correctly handle tags with empty lines()
✅ smoke test with multiplatform project layout()

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

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

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.util.CliUtilsKtTest 8✅ 1⚪ 22ms

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

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

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest 2✅ 19s

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

46 tests were completed in 614ms with 46 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest 46✅ 614ms

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

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

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

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

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

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

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

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

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

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

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

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter1.PackagePathFixTest 10✅ 177ms

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ 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

42 tests were completed in 448ms with 42 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.KdocCommentsWarnTest 42✅ 448ms

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

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

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

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

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

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

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

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

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.KdocMethodsFixTest 9✅ 356ms

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

28 tests were completed in 486ms with 28 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.KdocMethodsTest 28✅ 486ms

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderFixTest 5✅ 1s

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

14 tests were completed in 82ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderRuleWarnTest 14✅ 82ms

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

56 tests were completed in 391ms with 55 passed, 0 failed and 1 skipped.

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

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

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

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.files.SemicolonsRuleFixTest 1✅ 9ms

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

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

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.files.SemicolonsRuleWarnTest 1✅ 4ms

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

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

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

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleWarnTest.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.files.TopLevelOrderRuleWarnTest 2✅ 17ms

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

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

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

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

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

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

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

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

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

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

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

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.LineLengthFixTest 17✅ 780ms

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

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

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

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

40 tests were completed in 224ms with 35 passed, 0 failed and 5 skipped.

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

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

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

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

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

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

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

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

12 tests were completed in 76ms with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter3.MagicNumberRuleWarnTest 12✅ 76ms

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

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

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

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

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

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

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

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

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

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

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

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

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationFixTest.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.PreviewAnnotationFixTest 2✅ 17ms

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

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

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

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

2 tests were completed in 52ms with 2 passed, 0 failed and 0 skipped.
Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

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

See this annotation in the file changed.

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

com.saveourtool.diktat.smoke.DiktatSaveSmokeTest ► smoke test #5()

Failed test found in:
  diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.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 /tmp/junit4708430659652848723/save-0.3.4-linuxX64.kexe ; /tmp/junit4708430659652848723/save-0.3.4-linuxX64.kexe /tmp/junit4708430659652848723/src/main/kotlin Example5Test.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=/tmp/junit4708430659652848723/src/main/kotlin, testFiles=[Example5Test.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 /tmp/junit4708430659652848723/src/main/kotlin/save.toml
[DEBUG]: Processing test config from the toml file: /tmp/junit4708430659652848723/save.toml
[DEBUG]: Processing test config from the toml file: /tmp/junit4708430659652848723/src/main/kotlin/save.toml
[TRACE]: Add child /tmp/junit4708430659652848723/src/main/kotlin/save.toml for /tmp/junit4708430659652848723/save.toml
[TRACE]: Discovering all descendant `save.toml`s of /tmp/junit4708430659652848723/src/main/kotlin/save.toml
[TRACE]: Discovered 1 files
[TRACE]: Discovered new pluginConfig: GeneralConfig(execCmd=java -showversion -jar diktat.jar --log-level debug, 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=--mode fix, 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 /tmp/junit4708430659652848723/save.toml
[DEBUG]: Overriding configs for /tmp/junit4708430659652848723/save.toml
[TRACE]: Discovered new pluginConfig: GeneralConfig(execCmd=java -showversion -jar diktat.jar --log-level debug, 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=--mode fix, 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 /tmp/junit4708430659652848723/src/main/kotlin/save.toml
[TRACE]: Using parental config /tmp/junit4708430659652848723/save.toml to merge it with child config: /tmp/junit4708430659652848723/src/main/kotlin/save.toml
[TRACE]: Merging process of GENERAL from GeneralConfig(execCmd=java -showversion -jar diktat.jar --log-level debug, 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 diktat.jar --log-level debug, 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=--mode fix, 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=--mode fix, 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 /tmp/junit4708430659652848723/src/main/kotlin/save.toml
[TRACE]: Add child /tmp/junit4708430659652848723/src/main/kotlin/save.toml for /tmp/junit4708430659652848723/save.toml
[TRACE]: Add child /tmp/junit4708430659652848723/src/main/kotlin/save.toml for /tmp/junit4708430659652848723/save.toml
[DEBUG]: Following tests have been detected for the current plugin and directory: [/tmp/junit4708430659652848723/src/main/kotlin/Example5Test.kt]. 
[DEBUG]: => Executing plugin: FixAndWarnPlugin for [/tmp/junit4708430659652848723/src/main/kotlin/save.toml]
[TRACE]: Add child /tmp/junit4708430659652848723/src/main/kotlin/save.toml for /tmp/junit4708430659652848723/save.toml
[TRACE]: Add child /tmp/junit4708430659652848723/src/main/kotlin/save.toml for /tmp/junit4708430659652848723/save.toml
[DEBUG]: Following tests have been detected for the current plugin and directory: [/tmp/junit4708430659652848723/src/main/kotlin/Example5Test.kt]. 
[TRACE]: Discovered the following test resources: [FixTestFiles(test=/tmp/junit4708430659652848723/src/main/kotlin/Example5Test.kt, expected=/tmp/junit4708430659652848723/src/main/kotlin/Example5Expected.kt)]
[DEBUG]: Validated plugin configuration for [/tmp/junit4708430659652848723/src/main/kotlin/save.toml] ([FIX AND WARN])
[TRACE]: Add child /tmp/junit4708430659652848723/src/main/kotlin/save.toml for /tmp/junit4708430659652848723/save.toml
[TRACE]: Add child /tmp/junit4708430659652848723/src/main/kotlin/save.toml for /tmp/junit4708430659652848723/save.toml
[DEBUG]: Validated plugin configuration for [/tmp/junit4708430659652848723/src/main/kotlin/save.toml] ([FIX])
[TRACE]: Creating temp directory: /tmp/junit4708430659652848723/.save-cli/ProcessBuilder_1736903121412
[TRACE]: Creating stdout file of ProcessBuilder: /tmp/junit4708430659652848723/.save-cli/ProcessBuilder_1736903121412/stdout.txt
[TRACE]: Creating stderr file of ProcessBuilder: /tmp/junit4708430659652848723/.save-cli/ProcessBuilder_1736903121412/stderr.txt
[TRACE]: Created temp directory /tmp/junit4708430659652848723/.save-cli/ProcessBuilder_1736903121412 for stderr and stdout of ProcessBuilder
[TRACE]: Modified cmd: cd /tmp/junit4708430659652848723 && java -showversion -jar diktat.jar --log-level debug --mode fix /tmp/junit4708430659652848723/.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt
[DEBUG]: Executing: (cd /tmp/junit4708430659652848723 && java -showversion -jar diktat.jar --log-level debug --mode fix /tmp/junit4708430659652848723/.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt) >/tmp/junit4708430659652848723/.save-cli/ProcessBuilder_1736903121412/stdout.txt 2>/tmp/junit4708430659652848723/.save-cli/ProcessBuilder_1736903121412/stderr.txt with timeout 3600000 ms
[TRACE]: Attempt to delete file /tmp/junit4708430659652848723/.save-cli/ProcessBuilder_1736903121412/stderr.txt
[TRACE]: Attempt to delete file /tmp/junit4708430659652848723/.save-cli/ProcessBuilder_1736903121412/stdout.txt
[TRACE]: Attempt to delete file /tmp/junit4708430659652848723/.save-cli/ProcessBuilder_1736903121412
[TRACE]: Removed temp directory /tmp/junit4708430659652848723/.save-cli/ProcessBuilder_1736903121412
[DEBUG]: stderr of `java -showversion -jar diktat.jar --log-level debug --mode fix /tmp/junit4708430659652848723/.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt`:	openjdk version "1.8.0_432"	OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-b06)	OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b06, mixed mode)	
[TRACE]: Execution output:	[01:05:21.843 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null, 01:05:22.364 [main] DEBUG com.saveourtool.diktat.DiktatMain - Start processing the file: /tmp/junit4708430659652848723/.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt, 01:05:22.368 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.CodeFormatter - Starting with processing file 'Example5Test.kt', 01:05:22.818 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.EditorConfigLoader - Effective editorconfig properties for file '/tmp/junit4708430659652848723/.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt':, 	end_of_line: lf, 	ktlint_standard: disabled, 	ktlint_experimental: disabled, 	ktlint_test: disabled, 	ktlint_custom: disabled, 01:05:22.853 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.RuleProviderSorter - Rules will be executed in order below:,            - internal:ktlint-suppression, ,            - diktat-ruleset:semicolon, ,            - 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, 01:05:23.033 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.CodeFormatter - Finished with processing file 'Example5Test.kt', 01:05:23.033 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.CodeFormatter - Starting with processing file 'Example5Test.kt', 01:05:23.038 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.EditorConfigLoader - Effective editorconfig properties for file '/tmp/junit4708430659652848723/.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt':, 	end_of_line: lf, 	ktlint_standard: disabled, 	ktlint_experimental: disabled, 	ktlint_test: disabled, 	ktlint_custom: disabled, .save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt:1:1: [FILE_NAME_MATCH_CLASS] file name is incorrect - it should match with the class described in it if there is the only one class declared: Example5Test.kt vs Some (cannot be auto-corrected) (diktat-ruleset:file-naming), .save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt:12:1: [MISSING_KDOC_TOP_LEVEL] all public and internal top-level classes and functions should have Kdoc: Some (cannot be auto-corrected) (diktat-ruleset:kdoc-comments), .save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt:12:1: [INLINE_CLASS_CAN_BE_USED] inline class can be used: class Some (cannot be auto-corrected) (diktat-ruleset:inline-classes), .save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt:12:1: [USE_DATA_CLASS] this class can be converted to a data class: Some (cannot be auto-corrected) (diktat-ruleset:data-classes), .save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt:13:5: [MISSING_KDOC_CLASS_ELEMENTS] all public, internal and protected classes, functions and variables inside the class should have Kdoc: config (cannot be auto-corrected) (diktat-ruleset:kdoc-comments), 01:05:23.071 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.CodeFormatter - Finished with processing file 'Example5Test.kt', 01:05:23.072 [main] WARN  com.saveourtool.diktat.DiktatMain - Original and formatted content differ, writing to /tmp/junit4708430659652848723/.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt..., , Summary error count (descending) by rule:,   diktat-ruleset:kdoc-comments: 2,   diktat-ruleset:data-classes: 1,   diktat-ruleset:file-naming: 1,   diktat-ruleset:inline-classes: 1]
[DEBUG]: Validated plugin configuration for [/tmp/junit4708430659652848723/src/main/kotlin/save.toml] ([WARN])
[WARN]: Test on resources [FixTestFiles(test=/tmp/junit4708430659652848723/src/main/kotlin/Example5Test.kt, expected=/tmp/junit4708430659652848723/src/main/kotlin/Example5Expected.kt)] has failed.
[TRACE]: Additional info: ChangeDelta, position 1, lines:
-    Copyright 2018-202[4] John Doe.
+    Copyright 2018-202<5> John Doe.
.
[DEBUG]: Completed test execution for resources [FixTestFiles(test=/tmp/junit4708430659652848723/src/main/kotlin/Example5Test.kt, expected=/tmp/junit4708430659652848723/src/main/kotlin/Example5Expected.kt)].
[TRACE]: Additional info: DebugInfo(execCmd=java -showversion -jar diktat.jar --log-level debug --mode fix /tmp/junit4708430659652848723/.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt, stdout=01:05:22.364 [main] DEBUG com.saveourtool.diktat.DiktatMain - Start processing the file: /tmp/junit4708430659652848723/.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt
01:05:22.368 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.CodeFormatter - Starting with processing file 'Example5Test.kt'
01:05:22.818 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.EditorConfigLoader - Effective editorconfig properties for file '/tmp/junit4708430659652848723/.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt':
01:05:23.033 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.CodeFormatter - Finished with processing file 'Example5Test.kt'
01:05:23.033 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.CodeFormatter - Starting with processing file 'Example5Test.kt'
01:05:23.038 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.EditorConfigLoader - Effective editorconfig properties for file '/tmp/junit4708430659652848723/.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt':
.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt:1:1: [FILE_NAME_MATCH_CLASS] file name is incorrect - it should match with the class described in it if there is the only one class declared: Example5Test.kt vs Some (cannot be auto-corrected) (diktat-ruleset:file-naming)
.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt:12:1: [MISSING_KDOC_TOP_LEVEL] all public and internal top-level classes and functions should have Kdoc: Some (cannot be auto-corrected) (diktat-ruleset:kdoc-comments)
.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt:12:1: [INLINE_CLASS_CAN_BE_USED] inline class can be used: class Some (cannot be auto-corrected) (diktat-ruleset:inline-classes)
.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt:12:1: [USE_DATA_CLASS] this class can be converted to a data class: Some (cannot be auto-corrected) (diktat-ruleset:data-classes)
.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt:13:5: [MISSING_KDOC_CLASS_ELEMENTS] all public, internal and protected classes, functions and variables inside the class should have Kdoc: config (cannot be auto-corrected) (diktat-ruleset:kdoc-comments)
01:05:23.071 [main] DEBUG com.pinterest.ktlint.rule.engine.internal.CodeFormatter - Finished with processing file 'Example5Test.kt'
01:05:23.072 [main] WARN  com.saveourtool.diktat.DiktatMain - Original and formatted content differ, writing to /tmp/junit4708430659652848723/.save-cli/FixPlugin-534928897/src/main/kotlin/Example5Test.kt..., stderr=, durationMillis=null, countWarnings=CountWarnings(unmatched=-99, matched=-99, expected=-99, unexpected=-99)).
[DEBUG]: <= Finished execution of: FixAndWarnPlugin for [/tmp/junit4708430659652848723/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 | Example5Test.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:85)
	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.smoke.DiktatSaveSmokeTest.saveSmokeTest(DiktatSaveSmokeTest.kt:48)
	at com.saveourtool.diktat.smoke.DiktatSaveSmokeTest.fixAndCompare(DiktatSaveSmokeTest.kt:33)
	at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.smoke test #5(DiktatSmokeTestBase.kt:165)
	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 90 in diktat-common-test/src/main/kotlin/com/saveourtool/diktat/test/framework/processing/TestFileContent.kt

See this annotation in the file changed.

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

com.saveourtool.diktat.smoke.DiktatSmokeTest ► smoke test #5()

Failed test found in:
  diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
Error:
  org.opentest4j.AssertionFailedError: [lint result for ] 
Raw output
org.opentest4j.AssertionFailedError: [lint result for ] 
expected: 
  "/*
      Copyright 2018-2024 John Doe.
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  */
  
  package com.saveourtool.diktat
  
  class Some {
      val config = Config()
  }
  "
 but was: 
  "/*
      Copyright 2018-2025 John Doe.
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  */
  
  package com.saveourtool.diktat
  
  class Some {
      val config = Config()
  }
  "
	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.test.framework.processing.DefaultTestFileContent.assertSuccessful(TestFileContent.kt:90)
	at com.saveourtool.diktat.smoke.DiktatSmokeTest.fixAndCompare(DiktatSmokeTest.kt:28)
	at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.smoke test #5(DiktatSmokeTestBase.kt:165)
	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)