Skip to content

Update all tests to use text blocks #54

Update all tests to use text blocks

Update all tests to use text blocks #54

Triggered via pull request January 15, 2024 05:31
Status Failure
Total duration 28s
Artifacts

build-jdk11.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 22 warnings
build
Process completed with exit code 1.
2 different changes can be made to a lambda on line 314 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L314
replaced boolean return with false for 1st lambda in isJabelEnabled (no tests cover this line BooleanFalseReturnValsMutator) replaced boolean return with true for 1st lambda in isJabelEnabled (no tests cover this line BooleanTrueReturnValsMutator)
A change can be made to line 209 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L209
removed conditional - replaced comparison check with true (covered by 2 tests RemoveConditionalMutator_ORDER_IF)
A change can be made to line 183 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L183
removed conditional - replaced equality check with true (covered by 4 tests RemoveConditionalMutator_EQUAL_IF)
A change can be made to line 247 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L247
replaced return value with "" for suggestTextBlockIndentation (no tests cover this line EmptyObjectReturnValsMutator)
2 different changes can be made to line 231 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L231
removed call to replace (covered by 2 tests RemoveChainedCallsMutator) swapped parameters 1 and 2 in call to replace (covered by 2 tests ParamSwapMutator)
A change can be made to a lambda on line 252 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L252
replaced return value with Optional.empty for 1st lambda in suggestTextBlockIndentation (covered by 2 tests EmptyObjectReturnValsMutator)
A change can be made to line 175 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L175
removed conditional - replaced equality check with true (covered by 4 tests RemoveConditionalMutator_EQUAL_IF)
2 different changes can be made to line 230 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L230
removed call to replace (covered by 2 tests RemoveChainedCallsMutator) swapped parameters 1 and 2 in call to replace (covered by 2 tests ParamSwapMutator)
2 different changes can be made to line 246 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L246
removed conditional - replaced equality check with false (covered by 2 tests RemoveConditionalMutator_EQUAL_ELSE) removed conditional - replaced equality check with true (covered by 2 tests RemoveConditionalMutator_EQUAL_IF)
A change can be made to a lambda on line 255 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L255
replaced return value with Optional.empty for 2nd lambda in suggestTextBlockIndentation (covered by 2 tests EmptyObjectReturnValsMutator)
A change can be made to line 217 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L217
removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE)
2 different changes can be made to line 216 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L216
removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE) removed conditional - replaced equality check with true (no tests cover this line RemoveConditionalMutator_EQUAL_IF)
2 different changes can be made to line 271 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L271
removed call to substring (covered by 2 tests RemoveChainedCallsMutator) replaced return value with Optional.empty for getIndentation (covered by 2 tests EmptyObjectReturnValsMutator)
A change can be made to line 215 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L215
removed conditional - replaced equality check with false (covered by 2 tests RemoveConditionalMutator_EQUAL_ELSE)
2 different changes can be made to line 313 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L313
replaced boolean return with false for isJabelEnabled (no tests cover this line BooleanFalseReturnValsMutator) replaced boolean return with true for isJabelEnabled (no tests cover this line BooleanTrueReturnValsMutator)
2 different changes can be made to line 267 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L267
changed conditional boundary (covered by 2 tests ConditionalsBoundaryMutator) removed conditional - replaced comparison check with false (covered by 2 tests RemoveConditionalMutator_ORDER_ELSE)
A change can be made to line 193 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L193
removed conditional - replaced equality check with true (covered by 4 tests RemoveConditionalMutator_EQUAL_IF)
2 different changes can be made to a lambda on line 217 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L217
replaced boolean return with false for 1st lambda in canUseTextBlocks (no tests cover this line BooleanFalseReturnValsMutator) replaced boolean return with true for 1st lambda in canUseTextBlocks (no tests cover this line BooleanTrueReturnValsMutator)
A change can be made to line 195 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L195
removed conditional - replaced equality check with true (covered by 4 tests RemoveConditionalMutator_EQUAL_IF)
2 different changes can be made to line 262 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ErrorProneTestHelperSourceFormat.java#L262
removed conditional - replaced equality check with false (covered by 2 tests RemoveConditionalMutator_EQUAL_ELSE) removed conditional - replaced equality check with true (covered by 2 tests RemoveConditionalMutator_EQUAL_IF)
A change can be made to line 45 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/util/SourceCode.java#L45
removed conditional - replaced equality check with false (covered by 5 tests RemoveConditionalMutator_EQUAL_ELSE)
A change can be made to line 51 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/util/SourceCode.java#L51
removed conditional - replaced equality check with true (covered by 5 tests RemoveConditionalMutator_EQUAL_IF)