Skip to content

refactored TestComparatorUnit to use ResourceReader as main property

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

JUnit Tests (macOS, 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✅ 2s
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest.xml 3✅ 17s
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest.xml 14✅ 3s
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.ReporterSelectionTest.xml 1✅ 35ms
diktat-ktlint-engine/build/test-results/test/TEST-com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.xml 3✅ 6s
diktat-maven-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest.xml 2⚪ 2ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.EnumValueCaseTest.xml 3✅ 71ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingFixTest.xml 10✅ 197ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest.xml 39✅ 1s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.MethodNamingWarnTest.xml 8✅ 189ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingFixTest.xml 3✅ 193ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingWarnTest.xml 18✅ 321ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackagePathFixTest.xml 9✅ 87ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.comments.CommentedCodeTest.xml 27✅ 638ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingFixTest.xml 5✅ 94ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingTest.xml 23✅ 328ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleFixTest.xml 13✅ 157ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest.xml 21✅ 126ms
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✅ 1s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocFormattingFixTest.xml 9✅ 515ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocFormattingTest.xml 22✅ 401ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocMethodsFixTest.xml 8✅ 653ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocMethodsTest.xml 21✅ 680ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocParamPresentWarnTest.xml 6✅ 182ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest.xml 3✅ 76ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleWarnTest.xml 19✅ 414ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesFixTest.xml 6✅ 205ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesWarnTest.xml 30✅ 459ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleFixTest.xml 7✅ 816ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest.xml 18✅ 286ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest.xml 6✅ 342ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.xml 21✅ 474ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderFixTest.xml 4✅ 4s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderRuleWarnTest.xml 13✅ 211ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleFixTest.xml 1✅ 672ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleWarnTest.xml 25✅ 393ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleFixTest.xml 2✅ 26ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.xml 16✅ 344ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.DebugPrintRuleWarnTest.xml 9✅ 184ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EmptyBlockFixTest.xml 1✅ 40ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EmptyBlockWarnTest.xml 17✅ 287ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedFixTest.xml 2✅ 133ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedWarnTest.xml 11✅ 301ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesFixTest.xml 3✅ 29ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesWarnTest.xml 5✅ 31ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleFixTest.xml 13✅ 251ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest.xml 54✅ 1⚪ 322ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleFixTest.xml 2✅ 94ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleWarnTest.xml 2✅ 11ms
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✅ 693ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleTest.xml 27✅ 1⚪ 529ms
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✅ 49ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LocalVariablesWarnTest.xml 34✅ 5⚪ 306ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedFixTest.xml 1✅ 13ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedWarnTest.xml 5✅ 28ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MagicNumberRuleWarnTest.xml 8✅ 69ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceFixTest.xml 2✅ 91ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.xml 6✅ 39ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleFixTest.xml 2✅ 294ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleWarnTest.xml 6✅ 46ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationFixTest.xml 2✅ 138ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationWarnTest.xml 4✅ 137ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleFixTest.xml 2✅ 49ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleWarnTest.xml 3✅ 21ms
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✅ 270ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SortRuleFixTest.xml 2✅ 118ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SortRuleWarnTest.xml 15✅ 256ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationConfigAwareTest.xml 24✅ 69ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest.xml 8✅ 34s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest$Multi-line#20string#20literals.xml 8✅ 33s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Comments#20inside#20binary#20expressions.xml 48✅ 32s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Dot-#20and#20safe-qualified#20expressions.xml 128✅ 32s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Expression#20body#20functions.xml 160✅ 32s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Expressions#20wrapped#20after#20operator.xml 416✅ 33s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Expressions#20wrapped#20before#20operator.xml 368✅ 32s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$If#20expressions.xml 32✅ 31s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Multi-line#20Elvis#20expressions.xml 52✅ 31s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Multi-line#20string#20literals.xml 40✅ 31s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Parentheses-surrounded#20infix#20expressions.xml 128✅ 31s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$String#20templates.xml 12✅ 31s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleWarnTest.xml 64✅ 45s
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.WhiteSpaceRuleFixTest.xml 9✅ 506ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.WhiteSpaceRuleWarnTest.xml 37✅ 661ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringConcatenationRuleFixTest.xml 1✅ 354ms
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✅ 111ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.StringTemplateRuleWarnTest.xml 8✅ 111ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.TrailingCommaFixTest.xml 1✅ 26ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.TrailingCommaWarnTest.xml 11✅ 42ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.WhenMustHaveElseFixTest.xml 1✅ 128ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.WhenMustHaveElseWarnTest.xml 8✅ 89ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.AccurateCalculationsWarnTest.xml 7✅ 204ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.NoVarRuleWarnTest.xml 5✅ 204ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.NullChecksRuleFixTest.xml 4✅ 358ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.NullChecksRuleWarnTest.xml 12✅ 236ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleFixTest.xml 1✅ 17ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest.xml 17✅ 1⚪ 316ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.TypeAliasRuleWarnTest.xml 7✅ 168ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.VariableGenericTypeDeclarationRuleFixTest.xml 1✅ 83ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter4.VariableGenericTypeDeclarationRuleWarnTest.xml 14✅ 234ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.AsyncAndSyncRuleTest.xml 2✅ 62ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsFixTest.xml 3✅ 97ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsWarnTest.xml 5✅ 83ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleFixTest.xml 1✅ 284ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest.xml 4✅ 32ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.CustomLabelsTest.xml 2✅ 20ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.FunctionArgumentsSizeWarnTest.xml 2✅ 31ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.FunctionLengthWarnTest.xml 7✅ 39ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.LambdaLengthWarnTest.xml 8✅ 92ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.LambdaParameterOrderWarnTest.xml 1✅ 12ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.NestedFunctionBlockWarnTest.xml 8✅ 229ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.OverloadingArgumentsFunctionWarnTest.xml 8✅ 226ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter5.ParameterNameInOuterLambdaRuleWarnTest.xml 8✅ 26ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.AbstractClassesFixTest.xml 1✅ 96ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.AbstractClassesWarnTest.xml 7✅ 59ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.AvoidUtilityClassWarnTest.xml 4✅ 229ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.CompactInitializationFixTest.xml 6✅ 337ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.CompactInitializationWarnTest.xml 7✅ 87ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.CustomGetterSetterWarnTest.xml 5✅ 104ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.DataClassesRuleWarnTest.xml 22✅ 729ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.EmptyPrimaryConstructorFixTest.xml 1✅ 16ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.EmptyPrimaryConstructorWarnTest.xml 2✅ 39ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.ExtensionFunctionsInFileWarnTest.xml 8✅ 126ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.ExtensionFunctionsSameNameWarnTest.xml 6✅ 1⚪ 169ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.ImplicitBackingPropertyWarnTest.xml 9✅ 92ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.InlineClassesWarnTest.xml 14✅ 133ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.PropertyAccessorFieldsWarnTest.xml 5✅ 149ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.RunInScriptFixTest.xml 1✅ 97ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.RunInScriptWarnTest.xml 6✅ 137ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleConstructorRuleFixTest.xml 8✅ 469ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleConstructorRuleWarnTest.xml 2✅ 26ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleInitRuleFixTest.xml 3✅ 95ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.SingleInitRuleWarnTest.xml 4✅ 58ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.StatelessClassesRuleFixTest.xml 1✅ 66ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.StatelessClassesRuleWarnTest.xml 5✅ 76ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsFixTest.xml 1✅ 44ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.xml 5✅ 70ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UseLastIndexFixTest.xml 2✅ 140ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UseLastIndexWarnTest.xml 6✅ 74ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UselessSupertypeFixTest.xml 2✅ 125ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter6.UselessSupertypeWarnTest.xml 2✅ 172ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.RulesConfigValidationTest.xml 2✅ 1⚪ 72ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.AstNodeUtilsTest.xml 32✅ 348ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.AvailableRulesDocTest.xml 1✅ 20ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.FunctionAstNodeUtilsTest.xml 2✅ 51ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.KotlinParserTest.xml 14✅ 73ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.xml 3✅ 586ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.StringCaseUtilsTest.xml 3✅ 3ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.SuppressAnnotatedExpressionTest.xml 2✅ 25ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.SuppressTest.xml 8✅ 161ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.VariablesSearchTest.xml 1✅ 419ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.VariablesWithAssignmentsSearchTest.xml 2✅ 1⚪ 18ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.VariablesWithUsagesSearchTest.xml 11✅ 4⚪ 113ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.WarningsGenerationTest.xml 1✅ 1ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest.xml 1✅ 162ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.util.DiktatRuleTest.xml 2✅ 15ms
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.util.SuppressingTest.xml 4✅ 66ms
diktat-ruleset/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.DiktatSaveSmokeTest.xml 19⚪ 27ms
diktat-ruleset/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.smoke.DiktatSmokeTest.xml 11✅ 2❌ 6⚪ 21s

✅ 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 2s with 2 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest 39✅ 1s

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ruleset.chapter2.KdocCommentsWarnTest 39✅ 1s

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderRuleWarnTest.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.chapter3.ClassLikeStructuresOrderRuleWarnTest 13✅ 211ms

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

8 tests were completed in 33s 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✅ 33s
Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

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 (macOS, 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 (macOS, 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