Skip to content

chore(deps): update dependency com.squareup:kotlinpoet to v2 (#584) #364

chore(deps): update dependency com.squareup:kotlinpoet to v2 (#584)

chore(deps): update dependency com.squareup:kotlinpoet to v2 (#584) #364

GitHub Actions / JUnit Tests (macOS, dorny/test-reporter@v1) succeeded Nov 30, 2024 in 0s

111 passed, 0 failed and 12 skipped

Tests passed successfully

Report Passed Failed Skipped Time
save-cli/build/test-results/jvmTest/TEST-com.saveourtool.save.cli.GeneralTest.xml 2✅ 112s
save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ExtraFlagsExtractorTest.xml 4✅ 549ms
save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.files.FileUtilsTest.xml 4✅ 27ms
save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ProcessBuilderTest.xml 13✅ 228ms
save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.utils.ProcessBuilderInternalTest.xml 2✅ 58ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ConfigDetectorRegressionTest.xml 1✅ 154ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ConfigDetectorTest.xml 8✅ 184ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicFixTest.xml 9✅ 33s
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml 11✅ 5⚪ 29s
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml 3✅ 7s
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixDirTest.xml 2✅ 8s
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.WarnDirTest.xml 5⚪ 1ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.MergeAndOverrideConfigsTest.xml 8✅ 116ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.PerformAnalysisTest.xml 2✅ 202ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.utils.CliUtilsTest.xml 6✅ 20ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ValidationTest.xml 8✅ 8ms
save-plugins/fix-and-warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest.xml 1✅ 602ms
save-plugins/fix-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugins.fix.FixPluginTest.xml 4✅ 447ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest.xml 5✅ 127ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.ComparisonTest.xml 1✅ 2ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.StringUtilsTest.xml 3✅ 22ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.UtilsTest.xml 3✅ 2ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.WarnPluginTest.xml 9✅ 2⚪ 792ms
save-reporters/build/test-results/jvmTest/TEST-com.saveourtool.save.reporter.json.JsonReporterTest.xml 2✅ 604ms

✅ save-cli/build/test-results/jvmTest/TEST-com.saveourtool.save.cli.GeneralTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.cli.GeneralTest 2✅ 112s

✅ com.saveourtool.save.cli.GeneralTest

✅ examples test from subfolder()[jvm]
✅ examples test()[jvm]

✅ save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ExtraFlagsExtractorTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ExtraFlagsExtractorTest 4✅ 549ms

✅ com.saveourtool.save.core.ExtraFlagsExtractorTest

✅ test for splitByNonEscaped()[jvm]
✅ basic test()[jvm]
✅ should resolve placeholders()[jvm]
✅ should join multiline directives()[jvm]

✅ save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.files.FileUtilsTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.files.FileUtilsTest 4✅ 27ms

✅ com.saveourtool.save.core.files.FileUtilsTest

✅ example for findAllFilesMatching()[jvm]
✅ create relative path in case of branchy file tree()[jvm]
✅ example for findDescendantDirectoriesBy()[jvm]
✅ create relative path when config and test resource located in the same directory()[jvm]

✅ save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ProcessBuilderTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ProcessBuilderTest 13✅ 228ms

✅ com.saveourtool.save.core.ProcessBuilderTest

✅ simple check with redirection()[jvm]
✅ change multiple echo commands with redirections 2()[jvm]
✅ change multiple echo commands with redirections 3()[jvm]
✅ simple check with redirection without whitespaces at all()[jvm]
✅ check stdout()[jvm]
✅ one long echo()[jvm]
✅ check stdout with redirection()[jvm]
✅ change multiple echo commands with redirections()[jvm]
✅ extra whitespaces shouldn't influence to echo()[jvm]
✅ simple check with redirection without first whitespace()[jvm]
✅ simple check()[jvm]
✅ command without echo()[jvm]
✅ empty command()[jvm]

✅ save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.utils.ProcessBuilderInternalTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.utils.ProcessBuilderInternalTest 2✅ 58ms

✅ com.saveourtool.save.core.utils.ProcessBuilderInternalTest

✅ check stderr with additional warning()[jvm]
✅ check stderr()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ConfigDetectorRegressionTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ConfigDetectorRegressionTest 1✅ 154ms

✅ com.saveourtool.save.core.ConfigDetectorRegressionTest

✅ config detector regression test on directories()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ConfigDetectorTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ConfigDetectorTest 8✅ 184ms

✅ com.saveourtool.save.core.ConfigDetectorTest

✅ should fail on the invalid file()[jvm]
✅ should detect single file from a directory()[jvm]
✅ should detect multiple files starting from the middle()[jvm]
✅ should detect starting from bottom with multiple parent configs()[jvm]
✅ should detect starting from bottom()[jvm]
✅ should detect single file()[jvm]
✅ should detect config file from single Test file()[jvm]
✅ should detect multiple files starting from top()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicFixTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.ClassicFixTest 9✅ 33s

✅ com.saveourtool.save.core.integration.ClassicFixTest

✅ execute fix plugin on separate files()[jvm]
✅ execute fix plugin in sarif mode()[jvm]
✅ executing fix plugin on save-toml file in directory()[jvm]
✅ executing fix plugin on parental save-toml file()[jvm]
✅ execute fix plugin on folder()[jvm]
✅ check NoIgnoreLines()[jvm]
✅ check IgnoreLines()[jvm]
✅ tests with the same name()[jvm]
✅ check IgnoreLinesIsEmpty()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml

16 tests were completed in 29s with 11 passed, 0 failed and 5 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.ClassicWarnTest 11✅ 5⚪ 29s

✅ com.saveourtool.save.core.integration.ClassicWarnTest

✅ execute warn-plugin with expected warnings from SARIF()[jvm]
✅ executing warn plugin so that no resources will be found()[jvm]
✅ lines that match ignoreLines should be ignored()[jvm]
✅ execute warn-plugin with actual and expected warnings from SARIF()[jvm]
⚪ execute warn plugin with default testFiles()[jvm]
✅ test output file set()[jvm]
⚪ executing warn plugin on parental directory()[jvm]
✅ tests should have a relative path()[jvm]
✅ execute warn plugin on separate files()[jvm]
✅ executing warn plugin on directory()[jvm]
⚪ execute warn plugin with timeout()[jvm]
✅ executing warn plugin on parental save-toml file()[jvm]
✅ executing warn plugin on directory when files are set with regex()[jvm]
⚪ execute warn plugin with included and excluded suites()[jvm]
✅ execute warn-plugin with actual warnings from SARIF()[jvm]
⚪ executing warn plugin on save-toml file in directory()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.FixAndWarnDirTest 3✅ 7s

✅ com.saveourtool.save.core.integration.FixAndWarnDirTest

✅ execute fix-and-warn plugin on the directory chapter1()[jvm]
✅ execute fix-and-warn plugin on the directory chapter2()[jvm]
✅ execute fix-and-warn plugin on the directory chapter3()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixDirTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.FixDirTest 2✅ 8s

✅ com.saveourtool.save.core.integration.FixDirTest

✅ execute fix plugin()[jvm]
✅ execute fix plugin on the directory chapter1()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.WarnDirTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.WarnDirTest 5⚪ 1ms

✅ com.saveourtool.save.core.integration.WarnDirTest

⚪ execute warn plugin on root directory()[jvm]
⚪ execute warn plugin on the directory chapter1()[jvm]
⚪ execute warn plugin on the directory chapter2()[jvm]
⚪ execute warn plugin on the directory chapter3()[jvm]
⚪ execute warn plugin on the directory chapter4()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.MergeAndOverrideConfigsTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.MergeAndOverrideConfigsTest 8✅ 116ms

✅ com.saveourtool.save.core.MergeAndOverrideConfigsTest

✅ load save toml from middle hierarchy()[jvm]
✅ merge and override two incomplete configs 2()[jvm]
✅ merge and override general configs()[jvm]
✅ merge and override two configs with different fields()[jvm]
✅ merge configs with many parents()[jvm]
✅ override real toml configs()[jvm]
✅ merge real toml configs with empty execFlag in child()[jvm]
✅ merge and override two incomplete configs()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.PerformAnalysisTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.PerformAnalysisTest 2✅ 202ms

✅ com.saveourtool.save.core.PerformAnalysisTest

✅ should execute single test()[jvm]
✅ detect plugins()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.utils.CliUtilsTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.utils.CliUtilsTest 6✅ 20ms

✅ com.saveourtool.save.core.utils.CliUtilsTest

✅ resolve value()[jvm]
✅ parse properties file()[jvm]
✅ read not existed properties file()[jvm]
✅ read properties file()[jvm]
✅ read invalid properties file()[jvm]
✅ parse properties file from not existed folder()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ValidationTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ValidationTest 8✅ 8ms

✅ com.saveourtool.save.core.ValidationTest

✅ validate warn section()[jvm]
✅ invalid general section()[jvm]
✅ set defaults to warn section()[jvm]
✅ set defaults to general section()[jvm]
✅ set defaults to fix section()[jvm]
✅ validate warn section 2()[jvm]
✅ validate warn section 3()[jvm]
✅ validate warn section 4()[jvm]

✅ save-plugins/fix-and-warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest 1✅ 602ms

✅ com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest

✅ base test()[jvm]

✅ save-plugins/fix-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugins.fix.FixPluginTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugins.fix.FixPluginTest 4✅ 447ms

✅ com.saveourtool.save.plugins.fix.FixPluginTest

✅ should detect two files()[jvm]
✅ should calculate diff of discovered files()[jvm]
✅ should detect two files - among other files()[jvm]
✅ test for batchSize()[jvm]

✅ save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest 5✅ 127ms

✅ com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest

✅ should filter out warnings from other files - absolute paths with testRoot being relative()[jvm]
✅ should filter out warnings from other files - relative paths()[jvm]
✅ should filter out warnings from other files()[jvm]
✅ should convert SARIF report to SAVE warnings()[jvm]
✅ should filter out warnings from other files - absolute paths with testRoot being absolute()[jvm]

✅ save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.ComparisonTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.utils.ComparisonTest 1✅ 2ms

✅ com.saveourtool.save.plugin.warn.utils.ComparisonTest

✅ should compare warnings()[jvm]

✅ save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.StringUtilsTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.utils.StringUtilsTest 3✅ 22ms

✅ com.saveourtool.save.plugin.warn.utils.StringUtilsTest

✅ checking the creation of regex messages from strings()[jvm]
✅ regression with regular expressions()[jvm]
✅ checking the search of delimiters in the string()[jvm]

✅ save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.UtilsTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.utils.UtilsTest 3✅ 2ms

✅ com.saveourtool.save.plugin.warn.utils.UtilsTest

✅ should extract warnings from different text with no line but col()[jvm]
✅ should extract warnings from different text with line and col()[jvm]
✅ should extract warnings from different text with line but no col()[jvm]

✅ save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.WarnPluginTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.WarnPluginTest 9✅ 2⚪ 792ms

✅ com.saveourtool.save.plugin.warn.WarnPluginTest

✅ warn-plugin test exception()[jvm]
⚪ warn-plugin test - multiple warnings and ignore technical comments()[jvm]
✅ warn-plugin test - multiple warnings and no line-col()[jvm]
✅ warn-plugin test for batchSize()[jvm]
✅ basic warn-plugin test with exactWarningsMatch = false()[jvm]
✅ regression - test resources in multiple directories()[jvm]
✅ warn-plugin test with default warning without line()[jvm]
⚪ basic warn-plugin test with ignoreTechnicalComments=true()[jvm]
✅ warn-plugin test - multiple warnings()[jvm]
✅ basic warn-plugin test()[jvm]
✅ warn-plugin test for all mods()[jvm]

✅ save-reporters/build/test-results/jvmTest/TEST-com.saveourtool.save.reporter.json.JsonReporterTest.xml

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

Test suite Passed Failed Skipped Time
com.saveourtool.save.reporter.json.JsonReporterTest 2✅ 604ms

✅ com.saveourtool.save.reporter.json.JsonReporterTest

✅ should produce valid serialized Report when plugin crashes()[jvm]
✅ should produce valid serialized Report from ordinary data()[jvm]