-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update all tests to use text blocks #198
base: master
Are you sure you want to change the base?
Conversation
error-prone-contrib/README.md
Outdated
When running the project's tests in IntelliJ IDEA, you might see the following | ||
error: | ||
``` | ||
java: exporting a package from system module jdk.compiler is not allowed with --release | ||
``` | ||
|
||
If this happens, go to _Settings -> Build, Execution, Deployment -> Compiler -> | ||
Java Compiler_ and deselect the option _Use '--release' option for | ||
cross-compilation (Java 9 and later)_. See [IDEA-288052][idea-288052] for | ||
details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new idea
Maven profile "somehow" makes IDEA behave as desired. We'll need to re-test this before merging.
...prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/AmbiguousJsonCreatorTest.java
Show resolved
Hide resolved
...prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/AmbiguousJsonCreatorTest.java
Outdated
Show resolved
Hide resolved
c23e387
to
201ea7c
Compare
7640841
to
5d77f90
Compare
2bc0460
to
a1c93b0
Compare
...prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/AutowiredConstructorTest.java
Outdated
Show resolved
Hide resolved
Rebased and resolved conflicts. |
8f33dd8
to
6d70c51
Compare
error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/util/SourceCode.java
Outdated
Show resolved
Hide resolved
6acef3e
to
86d094f
Compare
42ebd8e
to
6221fc9
Compare
Rebased and resolved conflicts and other issues. The PR now targets NB: I added a commit with a proposal to rename the check. I've updated the suggested commit message accordingly. |
Quality Gate passedIssues Measures |
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
167f021
to
4519571
Compare
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
4519571
to
61120c7
Compare
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
51cd85c
to
e735164
Compare
Quality Gate passedIssues Measures |
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
1 similar comment
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
All `CompilationTestHelper`, `BugCheckerRefactoringTestHelper` and `Compilation` test code is now specified using a single text block. These changes were automated thanks to the new text block support added to the `TestHelperSourceFormat` check (renamed from `ErrorProneTestHelperSourceFormat`).
e735164
to
2437c66
Compare
Quality Gate passedIssues Measures |
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
Edit: PR #603 was spun off from this PR. That change should be merged and finalized first.Suggested commit message: