Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance smoke tests #1766

Merged
merged 12 commits into from
Oct 27, 2023

refactored TestComparatorUnit to use ResourceReader as main property

1d1ab02
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Enhance smoke tests #1766

refactored TestComparatorUnit to use ResourceReader as main property
1d1ab02
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Tests (Windows, dorny/test-reporter@v1) failed Oct 27, 2023 in 2s

JUnit Tests (Windows, 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✅ 2s
diktat-common/build/test-results/test/TEST-com.saveourtool.diktat.test.ConfigReaderTest.xml 2✅ 612ms
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest.xml 3✅ 24s
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest.xml 14✅ 15s
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.ReporterSelectionTest.xml 1✅ 78ms
diktat-ktlint-engine/build/test-results/test/TEST-com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.xml 3✅ 12s
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✅ 100ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingFixTest.xml 10✅ 378ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest.xml 39✅ 499ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.MethodNamingWarnTest.xml 8✅ 192ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingFixTest.xml 3✅ 117ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingWarnTest.xml 18✅ 599ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackagePathFixTest.xml 9✅ 227ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.comments.CommentedCodeTest.xml 27✅ 218ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingFixTest.xml 5✅ 181ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingTest.xml 23✅ 155ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleFixTest.xml 13✅ 211ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest.xml 21✅ 247ms
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✅ 407ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocFormattingFixTest.xml 9✅ 209ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocFormattingTest.xml 22✅ 366ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocMethodsFixTest.xml 8✅ 281ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocMethodsTest.xml 21✅ 357ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocParamPresentWarnTest.xml 6✅ 58ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest.xml 3✅ 46ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleWarnTest.xml 19✅ 126ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesFixTest.xml 6✅ 115ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesWarnTest.xml 30✅ 254ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleFixTest.xml 7✅ 393ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest.xml 18✅ 213ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest.xml 6✅ 223ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.xml 21✅ 161ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderFixTest.xml 4✅ 2s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderRuleWarnTest.xml 13✅ 113ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleFixTest.xml 1✅ 494ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleWarnTest.xml 25✅ 329ms
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✅ 93ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.DebugPrintRuleWarnTest.xml 9✅ 73ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EmptyBlockFixTest.xml 1✅ 19ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EmptyBlockWarnTest.xml 17✅ 70ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedFixTest.xml 2✅ 48ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedWarnTest.xml 11✅ 49ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesFixTest.xml 3✅ 26ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesWarnTest.xml 5✅ 29ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleFixTest.xml 13✅ 279ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest.xml 54✅ 1⚪ 314ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleFixTest.xml 2✅ 105ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleWarnTest.xml 2✅ 109ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileSizeWarnTest.xml 4✅ 104ms
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⚪ 462ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LineLengthFixTest.xml 17✅ 1s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LineLengthWarnTest.xml 8✅ 83ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LocalVariablesWarnTest.xml 34✅ 5⚪ 313ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedFixTest.xml 1✅ 19ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedWarnTest.xml 5✅ 20ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MagicNumberRuleWarnTest.xml 8✅ 88ms
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✅ 35ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleFixTest.xml 2✅ 70ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleWarnTest.xml 6✅ 29ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationFixTest.xml 2✅ 26ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationWarnTest.xml 4✅ 16ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleFixTest.xml 2✅ 337ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleWarnTest.xml 3✅ 12ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleFixTest.xml 1✅ 24ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest.xml 7✅ 35ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SortRuleFixTest.xml 2✅ 61ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SortRuleWarnTest.xml 15✅ 122ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationConfigAwareTest.xml 24✅ 75ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest.xml 8✅ 26s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest$Multi-line#20string#20literals.xml 8✅ 25s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Comments#20inside#20binary#20expressions.xml 48✅ 24s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Dot-#20and#20safe-qualified#20expressions.xml 128✅ 24s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Expression#20body#20functions.xml 160✅ 24s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Expressions#20wrapped#20after#20operator.xml 416✅ 24s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Expressions#20wrapped#20before#20operator.xml 368✅ 23s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$If#20expressions.xml 32✅ 22s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Multi-line#20Elvis#20expressions.xml 52✅ 23s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Multi-line#20string#20literals.xml 40✅ 23s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Parentheses-surrounded#20infix#20expressions.xml 128✅ 22s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$String#20templates.xml 12✅ 22s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleWarnTest.xml 64✅ 43s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.WhiteSpaceRuleFixTest.xml 9✅ 274ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.WhiteSpaceRuleWarnTest.xml 37✅ 365ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringConcatenationRuleFixTest.xml 1✅ 109ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringConcatenationWarnTest.xml 12✅ 85ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringTemplateRuleFixTest.xml 1✅ 54ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringTemplateRuleWarnTest.xml 8✅ 55ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.TrailingCommaFixTest.xml 1✅ 34ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.TrailingCommaWarnTest.xml 11✅ 47ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.WhenMustHaveElseFixTest.xml 1✅ 249ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.WhenMustHaveElseWarnTest.xml 8✅ 55ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.AccurateCalculationsWarnTest.xml 7✅ 57ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.NoVarRuleWarnTest.xml 5✅ 28ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.NullChecksRuleFixTest.xml 4✅ 152ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.NullChecksRuleWarnTest.xml 12✅ 54ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleFixTest.xml 1✅ 21ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest.xml 17✅ 1⚪ 188ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.TypeAliasRuleWarnTest.xml 7✅ 34ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.VariableGenericTypeDeclarationRuleFixTest.xml 1✅ 17ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.VariableGenericTypeDeclarationRuleWarnTest.xml 14✅ 69ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.AsyncAndSyncRuleTest.xml 2✅ 12ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsFixTest.xml 3✅ 24ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsWarnTest.xml 5✅ 35ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleFixTest.xml 1✅ 23ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest.xml 4✅ 18ms
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✅ 14ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.FunctionLengthWarnTest.xml 7✅ 22ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.LambdaLengthWarnTest.xml 8✅ 30ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.LambdaParameterOrderWarnTest.xml 1✅ 87ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.NestedFunctionBlockWarnTest.xml 8✅ 70ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.OverloadingArgumentsFunctionWarnTest.xml 8✅ 66ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.ParameterNameInOuterLambdaRuleWarnTest.xml 8✅ 27ms
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✅ 29ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.AvoidUtilityClassWarnTest.xml 4✅ 277ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.CompactInitializationFixTest.xml 6✅ 305ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.CompactInitializationWarnTest.xml 7✅ 61ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.CustomGetterSetterWarnTest.xml 5✅ 33ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.DataClassesRuleWarnTest.xml 22✅ 128ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.EmptyPrimaryConstructorFixTest.xml 1✅ 14ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.EmptyPrimaryConstructorWarnTest.xml 2✅ 82ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.ExtensionFunctionsInFileWarnTest.xml 8✅ 50ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.ExtensionFunctionsSameNameWarnTest.xml 6✅ 1⚪ 49ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.ImplicitBackingPropertyWarnTest.xml 9✅ 49ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.InlineClassesWarnTest.xml 14✅ 186ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.PropertyAccessorFieldsWarnTest.xml 5✅ 51ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.RunInScriptFixTest.xml 1✅ 13ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.RunInScriptWarnTest.xml 6✅ 351ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleConstructorRuleFixTest.xml 8✅ 406ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleConstructorRuleWarnTest.xml 2✅ 10ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleInitRuleFixTest.xml 3✅ 41ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleInitRuleWarnTest.xml 4✅ 23ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.StatelessClassesRuleFixTest.xml 1✅ 25ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.StatelessClassesRuleWarnTest.xml 5✅ 27ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsFixTest.xml 1✅ 12ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.xml 5✅ 24ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UseLastIndexFixTest.xml 2✅ 33ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UseLastIndexWarnTest.xml 6✅ 24ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UselessSupertypeFixTest.xml 2✅ 46ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UselessSupertypeWarnTest.xml 2✅ 16ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.RulesConfigValidationTest.xml 2✅ 1⚪ 2s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.AstNodeUtilsTest.xml 32✅ 182ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.AvailableRulesDocTest.xml 1✅ 16ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.FunctionAstNodeUtilsTest.xml 2✅ 5ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.KotlinParserTest.xml 14✅ 33ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.xml 3✅ 313ms
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✅ 48ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.SuppressTest.xml 8✅ 55ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.VariablesSearchTest.xml 1✅ 310ms
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⚪ 43ms
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✅ 129ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.util.DiktatRuleTest.xml 2✅ 6ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.util.SuppressingTest.xml 4✅ 14ms
diktat-ruleset/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.DiktatSaveSmokeTest.xml 12✅ 1❌ 6⚪ 74s
diktat-ruleset/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.xml 11✅ 2❌ 6⚪ 11s

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

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

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

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

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

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.test.ConfigReaderTest 2✅ 612ms

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

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

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

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

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

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

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

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

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

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

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

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

✅ 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 100ms with 3 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ 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 407ms with 39 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ 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 93ms with 16 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ 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 462ms with 27 passed, 0 failed and 1 skipped.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ 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 35ms with 6 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

8 tests were completed in 25s 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✅ 25s
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 (Windows, 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 "src/test/resources/test/smoke/save-0.3.4-mingwX64.exe 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: D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\ProcessBuilder_1698400469806
[TRACE]: Creating stdout file of ProcessBuilder: D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\ProcessBuilder_1698400469806\stdout.txt
[TRACE]: Creating stderr file of ProcessBuilder: D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\ProcessBuilder_1698400469806\stderr.txt
[TRACE]: Created temp directory D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\ProcessBuilder_1698400469806 for stderr and stdout of ProcessBuilder
[TRACE]: Modified cmd: cd /d src/test/resources/test/smoke && java -showversion -jar ktlint --log-level=debug -R diktat.jar -F D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\FixPlugin-2109522452\src\main\kotlin\ManyLineTransformInLongLineTest.kt
[DEBUG]: Executing: (cd /d src/test/resources/test/smoke && java -showversion -jar ktlint --log-level=debug -R diktat.jar -F D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\FixPlugin-2109522452\src\main\kotlin\ManyLineTransformInLongLineTest.kt) >D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\ProcessBuilder_1698400469806\stdout.txt 2>D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\ProcessBuilder_1698400469806\stderr.txt with timeout 3600000 ms
[TRACE]: Attempt to delete file D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\ProcessBuilder_1698400469806/stderr.txt
[TRACE]: Attempt to delete file D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\ProcessBuilder_1698400469806/stdout.txt
[TRACE]: Attempt to delete file D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\ProcessBuilder_1698400469806
[TRACE]: Removed temp directory D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\ProcessBuilder_1698400469806
[DEBUG]: stderr of `java -showversion -jar ktlint --log-level=debug -R diktat.jar -F D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\FixPlugin-2109522452\src\main\kotlin\ManyLineTransformInLongLineTest.kt`:	openjdk version "1.8.0_392"	OpenJDK Runtime Environment (Temurin)(build 1.8.0_392-b08)	OpenJDK 64-Bit Server VM (Temurin)(build 25.392-b08, mixed mode)	
[TRACE]: Execution output:	[09:54:30.510 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered RuleSetProviderV3 with id 'standard' in ktlint JAR, 09:54:30.562 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered RuleSetProviderV3 with id 'diktat-ruleset' in JAR file '/D:/a/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 : /D:/a/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/diktat.jar, 09:54:30.949 [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:54:30.954 [main] DEBUG com.saveourtool.diktat.ruleset.rules.DiktatRuleSetProviderV3Spi - Using diktat-analysis.yml file from the following path: D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\diktat-analysis.yml, 09:54:31.330 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'baseline' in ktlint JAR, 09:54:31.330 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'plain' in ktlint JAR, 09:54:31.331 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'checkstyle' in ktlint JAR, 09:54:31.331 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'json' in ktlint JAR, 09:54:31.331 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'format' in ktlint JAR, 09:54:31.331 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'html' in ktlint JAR, 09:54:31.331 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'plain-summary' in ktlint JAR, 09:54:31.331 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintServiceLoader - Discovered ReporterProviderV2 with id 'sarif' in ktlint JAR, 09:54:31.332 [main] DEBUG com.pinterest.ktlint.cli.internal.ReporterAggregator - Initializing "plain" reporter with {plain=true, color=false, color_name=DARK_GRAY, format=true}, 09:54:31.357 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine - Starting with formatting file 'ManyLineTransformInLongLineTest.kt', 09:54:32.348 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.internal.EditorConfigLoader - Effective editorconfig properties for file 'D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\FixPlugin-2109522452\src\main\kotlin\ManyLineTransformInLongLineTest.kt':, 	ktlint_standard: disabled, 	ktlint_experimental: disabled, 	ktlint_test: disabled, 	ktlint_custom: disabled, 09:54:32.425 [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:54:34.980 [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 D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\FixPlugin-2109522452\src\main\kotlin\ManyLineTransformInLongLineTest.kt in 3 consecutive runs of format., 09:54:35.002 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine - Finished with formatting file 'ManyLineTransformInLongLineTest.kt', D:/a/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-2109522452/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), D:/a/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-2109522452/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), D:/a/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-2109522452/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), D:/a/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-2109522452/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:54:35.014 [main] DEBUG com.pinterest.ktlint.cli.internal.KtlintCommandLine - Finished processing in 4565ms / 1 file(s) scanned / 431 error(s) found, 09:54:35.014 [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 D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\FixPlugin-2109522452\src\main\kotlin\ManyLineTransformInLongLineTest.kt, stdout=09:54:31.357 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine - Starting with formatting file 'ManyLineTransformInLongLineTest.kt'
09:54:32.348 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.internal.EditorConfigLoader - Effective editorconfig properties for file 'D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\FixPlugin-2109522452\src\main\kotlin\ManyLineTransformInLongLineTest.kt':
09:54:34.980 [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 D:\a\diktat\diktat\diktat-ruleset\src\test\resources\test\smoke\.save-cli\FixPlugin-2109522452\src\main\kotlin\ManyLineTransformInLongLineTest.kt in 3 consecutive runs of format.
09:54:35.002 [pool-1-thread-1] DEBUG com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine - Finished with formatting file 'ManyLineTransformInLongLineTest.kt'
D:/a/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-2109522452/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)
D:/a/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-2109522452/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)
D:/a/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-2109522452/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)
D:/a/diktat/diktat/diktat-ruleset/src/test/resources/test/smoke/.save-cli/FixPlugin-2109522452/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 (Windows, 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 (Windows, 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