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.
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
Assertions refactoring #1580
Assertions refactoring #1580
Changes from 36 commits
c3deb51
fcf2bf8
d833450
8cb96ad
f3bac7e
c9eb0a7
2c85c38
bd1947f
1e64f80
f7c6373
b10a340
65ddfb3
db54835
1bdf694
9f8a394
6fb7960
a458c1c
b9f054c
cf72d19
eab7c69
9c3390c
9392780
5ae735d
2c65318
a670561
df09034
06a968f
0e5fd2c
8062a96
ba95efa
4bed658
fddc5fc
fd82042
80994f2
b26cf42
0bf10f5
9f47ef6
2971ef7
7d7e504
19f5d4c
6431feb
ba0f900
fdc64e3
7754e3a
7b7f0d0
cdf4c74
b170021
59a7dfc
34b3ab3
45ba126
5e69a82
dfe3af3
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Constructors should call each other:
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.
Hmmmm, this looks like this would be true:
Is that right? Intentional?
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.
Good catch! This is leftover from the previous approach that I missed to update.
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.
[minor] add javadoc to explain the differences between all those methods: exact match, match with any value (even if the method name is quite clear on the latter, but not on the first on the exact match here).
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.
[for reviewer] I left this method for convenience, because there are lots of assertions with just one attribute, but I can remove it if it makes matching logic harder to understand.