Enhance smoke tests #1766
Enhance smoke tests #1766
JUnit Tests (Windows, dorny/test-reporter@v1) ❌
✅ 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
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)
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)
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