GeezerVison is showing github.com — Improve Test Suite by rcosta358 · Pull Request #293 · liquid-java/liquidjava
Conversation
rcosta358
commented
Sep 12, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Description
Closes #196, #197, #198, and #174.
- Added inline expectations for both errors and warnings using
// Expect: ...
- Made so every reported diagnostic must have a matching expectation, and every expectation must be reported
- Removed pass/fail decisions based on file or directory names
- Simplified test discovery by running Java files individually and leaf directories as grouped tests
Related Issues
#196, #197, #198, and #174.
Type of change
- Bug fix
- New feature
- Documentation update
- Code refactoring
Checklist
- Added/updated tests under
liquidjava-example/src/main/java/testSuite/
-
./mvnw test passes locally
- Updated docs/README if behavior or API changed
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was
linked to
issues
Sep 12, 2026
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
rcosta358 reacted with thumbs up emoji
|
|
|
|
|
@Refinement("(arg0 > 0)?( _ == arg0):(_ == -arg0)")
|
|
|
public int abs(long arg0);
|
|
|
public int abs(long arg0); // Expect: Warning
|
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.
in the future we can also say what type of warning or part of the message or smt to be more accurate
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
I agree, it currently is like that because all warnings share that same title for simplicity.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|