#1215 - Update RFC-5988 references to RFC-8288.
Update code, javadoc, and documentation changes.
This commit is contained in:
committed by
Greg Turnquist
parent
31a8f77acd
commit
1f49360637
@@ -125,7 +125,7 @@ class LinkUnitTest {
|
||||
* @see #678
|
||||
*/
|
||||
@Test
|
||||
void parsesRFC5988HeaderIntoLink() {
|
||||
void parsesRFC8288HeaderIntoLink() {
|
||||
|
||||
assertSoftly(softly -> {
|
||||
|
||||
@@ -184,7 +184,7 @@ class LinkUnitTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
void rejectsNonRFC5988String() {
|
||||
void rejectsNonRFC8288String() {
|
||||
|
||||
assertThatIllegalArgumentException().isThrownBy(() -> {
|
||||
Link.valueOf("foo");
|
||||
|
||||
@@ -96,7 +96,7 @@ class LinksUnitTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* @see https://tools.ietf.org/html/rfc5988#section-5.5
|
||||
* @see https://tools.ietf.org/html/rfc8288#section-3.5
|
||||
*/
|
||||
@Test
|
||||
void parsesLinksWithWhitespace() {
|
||||
|
||||
@@ -111,7 +111,7 @@ class DefaultCurieProviderUnitTest {
|
||||
* @see #100
|
||||
*/
|
||||
@Test
|
||||
void prefixesNormalRelsThatHaveExtraRFC5988Attributes() {
|
||||
void prefixesNormalRelsThatHaveExtraRFC8288Attributes() {
|
||||
|
||||
Link link = Link.of("https://amazon.com", "custom:rel") //
|
||||
.withHreflang("en") //
|
||||
|
||||
@@ -122,7 +122,7 @@ class Jackson2HalIntegrationTest {
|
||||
* @see #100
|
||||
*/
|
||||
@Test
|
||||
void rendersAllExtraRFC5988Attributes() throws Exception {
|
||||
void rendersAllExtraRFC8288Attributes() throws Exception {
|
||||
|
||||
RepresentationModel<?> resourceSupport = new RepresentationModel<>();
|
||||
resourceSupport.add(Link.of("localhost", "self") //
|
||||
@@ -141,7 +141,7 @@ class Jackson2HalIntegrationTest {
|
||||
* @see #699
|
||||
*/
|
||||
@Test
|
||||
void deserializeAllExtraRFC5988Attributes() throws Exception {
|
||||
void deserializeAllExtraRFC8288Attributes() throws Exception {
|
||||
|
||||
RepresentationModel<?> expected = new RepresentationModel<>();
|
||||
expected.add(Link.of("localhost", "self") //
|
||||
@@ -154,7 +154,7 @@ class Jackson2HalIntegrationTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
void rendersWithOneExtraRFC5988Attribute() throws Exception {
|
||||
void rendersWithOneExtraRFC8288Attribute() throws Exception {
|
||||
|
||||
RepresentationModel<?> resourceSupport = new RepresentationModel<>();
|
||||
resourceSupport.add(Link.of("localhost", "self").withTitle("the title"));
|
||||
@@ -166,7 +166,7 @@ class Jackson2HalIntegrationTest {
|
||||
* @see #699
|
||||
*/
|
||||
@Test
|
||||
void deserializeOneExtraRFC5988Attribute() throws Exception {
|
||||
void deserializeOneExtraRFC8288Attribute() throws Exception {
|
||||
|
||||
RepresentationModel<?> expected = new RepresentationModel<>();
|
||||
expected.add(Link.of("localhost", "self").withTitle("the title"));
|
||||
|
||||
Reference in New Issue
Block a user