Vladimir Sitnikov
17b24b4e2d
chore: suppress checkstyle warnings for text blocks with long strings
...
Validate Gradle Wrapper / Validation (push) Waiting to run
Details
CI / Matrix Preparation (push) Waiting to run
Details
CI / ${{ matrix.name }} (push) Blocked by required conditions
Details
CI / Error Prone (JDK 17) (push) Waiting to run
Details
Release Drafter / Update Release Draft (push) Waiting to run
Details
We can't make those strings shorter, and we can't wrap them.
2025-10-08 21:49:50 +03:00
Tyler Bertrand
91d8aea7c4
Resolve checkstyle cache miss
...
Instead of the absolute path to checkstyle cacheFile which was causing a cache miss, use the relative path from configDir for cacheFile path
2023-09-06 04:14:02 +03:00
Vladimir Sitnikov
878b8b7df4
style: simplify junit.JUmeterTest by rethrowing exceptions instead of catching them
...
Previously the exceptions might be hidden in the logs.
After the refactoring, the exceptions would propagate and fail the test.
2023-05-09 10:03:52 +03:00
Vladimir Sitnikov
8b413c0e1e
style: remove unnecessary default cases in enum switch
...
See https://errorprone.info/bugpattern/UnnecessaryDefaultInEnumSwitch
2023-05-04 13:37:09 +03:00
Vladimir Sitnikov
a9ec76d067
chore: factor build-logic so it is easier to reuse
...
See https://docs.gradle.org/current/userguide/structuring_software_products.html
2023-04-27 14:26:05 +03:00
Felix Schumacher
0b34b4054a
Update checkstyle to 9.3
...
The 10.x branch is Java 11 and higher, only.
Suppress UnnecessaryParentheses for now, as we have quite a few of those and
it seems to be new check.
2022-03-05 16:07:13 +01:00
Felix Schumacher
9d21839314
Update utility jars spotbugs and checksum
2020-08-09 18:41:05 +02:00
Vladimir Sitnikov
b6d11d79d9
Run autostyleApply
2019-12-28 19:28:03 +03:00
Vladimir Sitnikov
447e4ce3d4
Improve repeated checkstyle verifications by caching the state of the verified files
2019-12-04 16:15:56 +03:00
Vladimir Sitnikov
fe92fb1b46
Add Spotless for import order verification and formatting of the code
...
Implemented rules:
* import order
* unused imports
* trim whitespace at end of line
* ensure newline at end of file
* tabs -> spaces for formatting
./gradlew spotlessCheck verifies the code
./gradlew spotlessApply formats it
2019-09-26 23:13:50 +03:00
Graham Russell
bb86cdb1ab
Various sonar fixes ( #485 )
...
* Used Guard Clauses where possible instead of nested ifs
* Use Java 8 features to improve readability
* Use richer assertions
* Formatting/whitespace/comments
* Naming for clarity
* Remove if's around log statements for clarity
* Minor readability changes
* Rename variables and format test for RegexExtractor
* Fix unused import
* Fixed import order and checkstyle.xml indent
* Fixes mistake and further improved HtmlTemplateExporter.
* Reduce size of changes in CSVDataSet
* Revert slower JSONPathAssertion changes.
* Reverted boolean expression simplification
2019-09-18 09:18:33 +02:00
Graham Russell
9b6f3e9fdd
Added extra checkstyle rule Only java files should be in src/*/java
...
Part of #479 on github
2019-08-16 09:59:42 +02:00
Vladimir Sitnikov
2be94e85da
Add Gradle build scripts
2019-08-02 15:17:12 +03:00