Provide `Comparable` assertions for `URI`
See original GitHub issueSummary
java.net.URI
is a Comparable
, so AbstractUriAssert
should extend AbstractComparableAssert
.
I assume this to be a minor, non-breaking change. I’d do a PR, but the overhead seems to be too big in my eyes.
Note: java.net.URL
is not comparable.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Provide Comparable assertions for URI #2487 - GitHub
Hi, as for test cases, methods of AbstractComparableAssert are already tested in org.assertj.core.api.comparable.AbstractComparableAssert_*_Test ...
Read more >URI Declaration in Semantic Web Architecture - David Booth
A URI declaration permits assertions about a URI's associated resource to be classified into two groups: core assertions, which are provided by the...
Read more >Comparing entire url through Assert.assertEquals
So assertEquals() will validate if two Strings are identical. Hence you see the error. Solution. To assert the presence of https://accounts.
Read more >AssertJ - fluent assertions java library - GitHub Pages
AssertJ provides assertions specific to the object under test type, the following sections list the supported types grouped by categories. The provided ......
Read more >org.assertj.core.api (AssertJ fluent assertions 2.3.0 API) - javadoc.io
Provides a Assert for the current object. ComparableAssert<S extends ... Assertion methods applicable to Comparable s. ... Assertion class for URI s.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the offer. I know how to do all of that. I’ll be happy to do this when I have something more substantial to add.
Got it and I am happy to help get you onboarded. What you mentioned is sort of prerequisite for any contributions 🙂