New rule to check if @Preview (Jetpack Compose) functions end with 'Preview' suffix and are also private. Part 1 #5557
JUnit Tests (macOS, dorny/test-reporter@v1) ❌
✅ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.util.CliUtilsKtTest.xml
4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.util.CliUtilsKtTest | 4✅ | 1s |
✅ diktat-common/build/test-results/test/TEST-com.saveourtool.diktat.test.ConfigReaderTest.xml
2 tests were completed in 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 22s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest | 3✅ | 22s |
✅ diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest.xml
14 tests were completed in 4s with 14 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest | 14✅ | 4s |
✅ diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.ReporterSelectionTest.xml
1 tests were completed in 65ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.plugin.gradle.ReporterSelectionTest | 1✅ | 65ms |
✅ diktat-ktlint-engine/build/test-results/test/TEST-com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.xml
3 tests were completed in 8s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest | 3✅ | 8s |
✅ diktat-maven-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest.xml
2 tests were completed in 4ms with 0 passed, 0 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest | 2⚪ | 4ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.EnumValueCaseTest.xml
3 tests were completed in 77ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.EnumValueCaseTest | 3✅ | 77ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingFixTest.xml
10 tests were completed in 151ms with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingFixTest | 10✅ | 151ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest.xml
39 tests were completed in 666ms with 39 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest | 39✅ | 666ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.MethodNamingWarnTest.xml
8 tests were completed in 138ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.MethodNamingWarnTest | 8✅ | 138ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingFixTest.xml
3 tests were completed in 92ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.PackageNamingFixTest | 3✅ | 92ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingWarnTest.xml
18 tests were completed in 323ms with 18 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.PackageNamingWarnTest | 18✅ | 323ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackagePathFixTest.xml
9 tests were completed in 108ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.PackagePathFixTest | 9✅ | 108ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.comments.CommentedCodeTest.xml
27 tests were completed in 282ms with 27 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter2.comments.CommentedCodeTest | 27✅ | 282ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingFixTest.xml
5 tests were completed in 109ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingFixTest | 5✅ | 109ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingTest.xml
23 tests were completed in 323ms with 23 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter2.CommentsFormattingTest | 23✅ | 323ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleFixTest.xml
13 tests were completed in 331ms with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleFixTest | 13✅ | 331ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest.xml
21 tests were completed in 133ms with 21 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest | 21✅ | 133ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocCommentsFixTest.xml
4 tests were completed in 188ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter2.KdocCommentsFixTest | 4✅ | 188ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocCommentsWarnTest.xml
33 tests were completed in 538ms with 33 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter2.KdocCommentsWarnTest | 33✅ | 538ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocFormattingFixTest.xml
9 tests were completed in 192ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter2.KdocFormattingFixTest | 9✅ | 192ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocFormattingTest.xml
22 tests were completed in 226ms with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter2.KdocFormattingTest | 22✅ | 226ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocMethodsFixTest.xml
8 tests were completed in 217ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter2.KdocMethodsFixTest | 8✅ | 217ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocMethodsTest.xml
21 tests were completed in 255ms with 21 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter2.KdocMethodsTest | 21✅ | 255ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter2.KdocParamPresentWarnTest.xml
6 tests were completed in 56ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter2.KdocParamPresentWarnTest | 6✅ | 56ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest.xml
3 tests were completed in 42ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest | 3✅ | 42ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleWarnTest.xml
19 tests were completed in 188ms with 19 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleWarnTest | 19✅ | 188ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesFixTest.xml
6 tests were completed in 91ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesFixTest | 6✅ | 91ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesWarnTest.xml
30 tests were completed in 374ms with 30 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.BlockStructureBracesWarnTest | 30✅ | 374ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleFixTest.xml
7 tests were completed in 650ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleFixTest | 7✅ | 650ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest.xml
18 tests were completed in 155ms with 18 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest | 18✅ | 155ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest.xml
4 tests were completed in 92ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest | 4✅ | 92ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.xml
21 tests were completed in 245ms with 21 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest | 21✅ | 245ms |
✅ 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 232ms with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.ClassLikeStructuresOrderRuleWarnTest | 13✅ | 232ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleFixTest.xml
1 tests were completed in 754ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleFixTest | 1✅ | 754ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleWarnTest.xml
25 tests were completed in 409ms with 25 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.CollapseIfStatementsRuleWarnTest | 25✅ | 409ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleFixTest.xml
2 tests were completed in 24ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleFixTest | 2✅ | 24ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.xml
16 tests were completed in 162ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest | 16✅ | 162ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.DebugPrintRuleWarnTest.xml
9 tests were completed in 117ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.DebugPrintRuleWarnTest | 9✅ | 117ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EmptyBlockFixTest.xml
1 tests were completed in 16ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.EmptyBlockFixTest | 1✅ | 16ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EmptyBlockWarnTest.xml
17 tests were completed in 133ms with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.EmptyBlockWarnTest | 17✅ | 133ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedFixTest.xml
2 tests were completed in 85ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedFixTest | 2✅ | 85ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedWarnTest.xml
11 tests were completed in 108ms with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.EnumsSeparatedWarnTest | 11✅ | 108ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesFixTest.xml
3 tests were completed in 41ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesFixTest | 3✅ | 41ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesWarnTest.xml
5 tests were completed in 39ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.files.BlankLinesWarnTest | 5✅ | 39ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleFixTest.xml
13 tests were completed in 496ms with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleFixTest | 13✅ | 496ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest.xml
55 tests were completed in 607ms with 54 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest | 54✅ | 1⚪ | 607ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleFixTest.xml
2 tests were completed in 125ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleFixTest | 2✅ | 125ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleWarnTest.xml
2 tests were completed in 23ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.files.TopLevelOrderRuleWarnTest | 2✅ | 23ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileSizeWarnTest.xml
4 tests were completed in 41ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.FileSizeWarnTest | 4✅ | 41ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleFixTest.xml
11 tests were completed in 229ms with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleFixTest | 11✅ | 229ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleTest.xml
28 tests were completed in 334ms with 27 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.FileStructureRuleTest | 27✅ | 1⚪ | 334ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LineLengthFixTest.xml
17 tests were completed in 506ms with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.LineLengthFixTest | 17✅ | 506ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LineLengthWarnTest.xml
8 tests were completed in 90ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.LineLengthWarnTest | 8✅ | 90ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LocalVariablesWarnTest.xml
39 tests were completed in 453ms with 34 passed, 0 failed and 5 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.LocalVariablesWarnTest | 34✅ | 5⚪ | 453ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedFixTest.xml
1 tests were completed in 35ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedFixTest | 1✅ | 35ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedWarnTest.xml
5 tests were completed in 41ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.LongNumericalValuesSeparatedWarnTest | 5✅ | 41ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MagicNumberRuleWarnTest.xml
8 tests were completed in 116ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.MagicNumberRuleWarnTest | 8✅ | 116ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceFixTest.xml
2 tests were completed in 58ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceFixTest | 2✅ | 58ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.xml
6 tests were completed in 69ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest | 6✅ | 69ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleFixTest.xml
2 tests were completed in 101ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleFixTest | 2✅ | 101ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleWarnTest.xml
6 tests were completed in 57ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleWarnTest | 6✅ | 57ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationWarnTest.xml
2 tests were completed in 23ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.PreviewAnnotationWarnTest | 2✅ | 23ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleFixTest.xml
2 tests were completed in 55ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleFixTest | 2✅ | 55ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleWarnTest.xml
3 tests were completed in 32ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.RangeConventionalRuleWarnTest | 3✅ | 32ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleFixTest.xml
1 tests were completed in 21ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleFixTest | 1✅ | 21ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest.xml
7 tests were completed in 76ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest | 7✅ | 76ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SortRuleFixTest.xml
2 tests were completed in 80ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.SortRuleFixTest | 2✅ | 80ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.SortRuleWarnTest.xml
15 tests were completed in 158ms with 15 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.SortRuleWarnTest | 15✅ | 158ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationConfigAwareTest.xml
24 tests were completed in 94ms with 24 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationConfigAwareTest | 24✅ | 94ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest.xml
8 tests were completed in 24s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest | 8✅ | 24s |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleFixTest$Multi-line#20string#20literals.xml
8 tests were completed in 23s 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✅ | 23s |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Comments#20inside#20binary#20expressions.xml
48 tests were completed in 23s with 48 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Comments inside binary expressions | 48✅ | 23s |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter3.spaces.IndentationRuleTest$Dot-#20and#20safe-qualified#20expressions.xml
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.ruleset.utils.AvailableRulesDocTest ► read rules from documentation()
Failed test found in:
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.AvailableRulesDocTest.xml
Error:
org.opentest4j.AssertionFailedError:
Raw output
org.opentest4j.AssertionFailedError:
Cannot find warning PREVIEW_ANNOTATION in ../info/available-rules.md.
You can fix it by adding the following description below with more info to ../info/available-rules.md:
add | | | PREVIEW_ANNOTATION| | | | | to ../info/available-rules.md
==> 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:42)
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:187)
at com.saveourtool.diktat.ruleset.utils.AvailableRulesDocTest.read rules from documentation(AvailableRulesDocTest.kt:37)
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 (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest ► read rules config yml()
Failed test found in:
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.xml
Error:
org.opentest4j.AssertionFailedError: Cannot find warning PREVIEW_ANNOTATION in diKTat/diktat-rules/src/main/resources/diktat-analysis.yml.
Raw output
org.opentest4j.AssertionFailedError: Cannot find warning PREVIEW_ANNOTATION in diKTat/diktat-rules/src/main/resources/diktat-analysis.yml.
You can fix it by adding the following code below to diKTat/diktat-rules/src/main/resources/diktat-analysis.yml:
name: "PREVIEW_ANNOTATION"
enabled: true
configuration: {}
ignoreAnnotated: [] ==> 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:42)
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:187)
at com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.compareRulesAndConfig(RulesConfigYamlTest.kt:93)
at com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.compareRulesAndConfig$default(RulesConfigYamlTest.kt:80)
at com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.read rules config yml(RulesConfigYamlTest.kt:35)
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 (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest ► check DiktatRuleSetFactoryImpl contain all rules()
Failed test found in:
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest.xml
Error:
org.opentest4j.AssertionFailedError:
Raw output
org.opentest4j.AssertionFailedError:
Expecting actual:
["AbstractClassesRule",
"AccurateCalculationsRule",
"AnnotationNewLineRule",
"AsyncAndSyncRule",
"AvoidEmptyPrimaryConstructor",
"AvoidNestedFunctionsRule",
"AvoidUtilityClass",
"BlankLinesRule",
"BlockStructureBraces",
"BooleanExpressionsRule",
"BracesInConditionalsAndLoopsRule",
"CheckInverseMethodRule",
"ClassLikeStructuresOrderRule",
"CollapseIfStatementsRule",
"CommentsFormatting",
"CommentsRule",
"CompactInitialization",
"ConsecutiveSpacesRule",
"CustomGetterSetterRule",
"CustomLabel",
"DataClassesRule",
"DebugPrintRule",
"EmptyBlock",
"EnumsSeparated",
"ExtensionFunctionsInFileRule",
"ExtensionFunctionsSameNameRule",
"FileNaming",
"FileSize",
"FileStructureRule",
"FunctionArgumentsSize",
"FunctionLength",
"HeaderCommentRule",
"IdentifierNaming",
"ImmutableValNoVarRule",
"ImplicitBackingPropertyRule",
"IndentationRule",
"InlineClassesRule",
"KdocComments",
"KdocFormatting",
"KdocMethods",
"LambdaLengthRule",
"LambdaParameterOrder",
"LineLength",
"LocalVariablesRule",
"LongNumericalValuesSeparatedRule",
"MagicNumberRule",
"MultipleModifiersSequence",
"NestedFunctionBlock",
"NewlinesRule",
"NullChecksRule",
"NullableTypeRule",
"OverloadingArgumentsFunction",
"PackageNaming",
"ParameterNameInOuterLambdaRule",
"PropertyAccessorFields",
"RangeConventionalRule",
"RunInScript",
"SingleConstructorRule",
"SingleInitRule",
"SingleLineStatementsRule",
"SmartCastRule",
"SortRule",
"StatelessClassesRule",
"StringConcatenationRule",
"StringTemplateFormatRule",
"TopLevelOrderRule",
"TrailingCommaRule",
"TrivialPropertyAccessors",
"TypeAliasRule",
"UseLastIndex",
"UselessSupertype",
"VariableGenericTypeDeclarationRule",
"WhenMustHaveElseRule",
"WhiteSpaceRule"]
to contain exactly (and in same order):
["AbstractClassesRule",
"AccurateCalculationsRule",
"AnnotationNewLineRule",
"AsyncAndSyncRule",
"AvoidEmptyPrimaryConstructor",
"AvoidNestedFunctionsRule",
"AvoidUtilityClass",
"BlankLinesRule",
"BlockStructureBraces",
"BooleanExpressionsRule",
"BracesInConditionalsAndLoopsRule",
"CheckInverseMethodRule",
"ClassLikeStructuresOrderRule",
"CollapseIfStatementsRule",
"CommentsFormatting",
"CommentsRule",
"CompactInitialization",
"ConsecutiveSpacesRule",
"CustomGetterSetterRule",
"CustomLabel",
"DataClassesRule",
"DebugPrintRule",
"EmptyBlock",
"EnumsSeparated",
"ExtensionFunctionsInFileRule",
"ExtensionFunctionsSameNameRule",
"FileNaming",
"FileSize",
"FileStructureRule",
"FunctionArgumentsSize",
"FunctionLength",
"HeaderCommentRule",
"IdentifierNaming",
"ImmutableValNoVarRule",
"ImplicitBackingPropertyRule",
"IndentationRule",
"InlineClassesRule",
"KdocComments",
"KdocFormatting",
"KdocMethods",
"LambdaLengthRule",
"LambdaParameterOrder",
"LineLength",
"LocalVariablesRule",
"LongNumericalValuesSeparatedRule",
"MagicNumberRule",
"MultipleModifiersSequence",
"NestedFunctionBlock",
"NewlinesRule",
"NullChecksRule",
"NullableTypeRule",
"OverloadingArgumentsFunction",
"PackageNaming",
"ParameterNameInOuterLambdaRule",
"PreviewAnnotationRule",
"PropertyAccessorFields",
"RangeConventionalRule",
"RunInScript",
"SingleConstructorRule",
"SingleInitRule",
"SingleLineStatementsRule",
"SmartCastRule",
"SortRule",
"StatelessClassesRule",
"StringConcatenationRule",
"StringTemplateFormatRule",
"TopLevelOrderRule",
"TrailingCommaRule",
"TrivialPropertyAccessors",
"TypeAliasRule",
"UseLastIndex",
"UselessSupertype",
"VariableGenericTypeDeclarationRule",
"WhenMustHaveElseRule",
"WhiteSpaceRule"]
but could not find the following elements:
["PreviewAnnotationRule"]
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.util.DiktatRuleSetFactoryImplTest.check DiktatRuleSetFactoryImpl contain all rules(DiktatRuleSetFactoryImplTest.kt:47)
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)