diff --git a/src/docs/asciidoc/user-guide/assertj-core-assertions-guide.adoc b/src/docs/asciidoc/user-guide/assertj-core-assertions-guide.adoc index dc8c626..8830987 100644 --- a/src/docs/asciidoc/user-guide/assertj-core-assertions-guide.adoc +++ b/src/docs/asciidoc/user-guide/assertj-core-assertions-guide.adoc @@ -3,7 +3,7 @@ This section describes the assertions provided by AssertJ Core and other useful features to get the best of it. -AssertJ Core http://www.javadoc.io/doc/org.assertj/assertj-core/[Javadoc] explains each assertion, most of them with code examples so be sure to check it if you want to know what a specific assertion does. +AssertJ Core https://www.javadoc.io/doc/org.assertj/assertj-core/[Javadoc] explains each assertion, most of them with code examples so be sure to check it if you want to know what a specific assertion does. [[assertj-core-simple-example]] ==== A simple example @@ -235,7 +235,7 @@ There are a few things to keep in mind when using AssertJ to avoid misusing it. The main trap is to pass the object under test to `assertThat()` and forget to call an assertion afterward. This misuse can be detected by multiple static code analysis tools: -* https://spotbugs.github.io/[SpotBugs] or http://findbugs.sourceforge.net/[FindBugs] with the https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#rv-method-ignores-return-value-is-this-ok-rv-return-value-ignored-inferred[`RV_RETURN_VALUE_IGNORED_INFERRED`] rule +* https://spotbugs.github.io/[SpotBugs] or https://findbugs.sourceforge.net/[FindBugs] with the https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html#rv-method-ignores-return-value-is-this-ok-rv-return-value-ignored-inferred[`RV_RETURN_VALUE_IGNORED_INFERRED`] rule * https://www.sonarsource.com/products/sonarqube/[SonarQube] with the https://sonarsource.atlassian.net/browse/RSPEC-2970[`Assertions should be complete (S2970)`] rule * other tools that can evaluate whether calls to methods annotated with the `@CheckReturnValue` annotation are done correctly. @@ -2750,4 +2750,4 @@ include::{testDir}/example/core/AssumptionsDemo.java[tags=assumption_met] [[assertj-core-javadoc]] ==== Javadoc -http://www.javadoc.io/doc/org.assertj/assertj-core/ is the latest version of AssertJ Core Javadoc, each assertion is explained, most of them with code examples so be sure to check it if you want to know what a specific assertion does. +https://www.javadoc.io/doc/org.assertj/assertj-core/ is the latest version of AssertJ Core Javadoc, each assertion is explained, most of them with code examples so be sure to check it if you want to know what a specific assertion does. diff --git a/src/docs/asciidoc/user-guide/assertj-core-quickstart.adoc b/src/docs/asciidoc/user-guide/assertj-core-quickstart.adoc index 9c3121e..8185630 100644 --- a/src/docs/asciidoc/user-guide/assertj-core-quickstart.adoc +++ b/src/docs/asciidoc/user-guide/assertj-core-quickstart.adoc @@ -186,4 +186,4 @@ image::ide-completion.png[] [[assertj-core-javadoc-quickstart]] ==== Javadoc -http://www.javadoc.io/doc/org.assertj/assertj-core/ is the latest version of AssertJ Core Javadoc, each assertion is explained, most of them with code examples so be sure to check it if you want to know what a specific assertion does. \ No newline at end of file +https://www.javadoc.io/doc/org.assertj/assertj-core/ is the latest version of AssertJ Core Javadoc, each assertion is explained, most of them with code examples so be sure to check it if you want to know what a specific assertion does. \ No newline at end of file diff --git a/src/docs/asciidoc/user-guide/assertj-core.adoc b/src/docs/asciidoc/user-guide/assertj-core.adoc index b8e5efa..b5df76f 100644 --- a/src/docs/asciidoc/user-guide/assertj-core.adoc +++ b/src/docs/asciidoc/user-guide/assertj-core.adoc @@ -11,7 +11,7 @@ programmers writing tests assertions with AssertJ. AssertJ is a Java library that provides a rich set of assertions and truly helpful error messages, improves test code readability, and is designed to be super easy to use within your favorite IDE. -http://www.javadoc.io/doc/org.assertj/assertj-core/ is the latest version of AssertJ Core Javadoc, each assertion is explained, most of them with code examples so be sure to check it if you want to know what a specific assertion does. +https://www.javadoc.io/doc/org.assertj/assertj-core/ is the latest version of AssertJ Core Javadoc, each assertion is explained, most of them with code examples so be sure to check it if you want to know what a specific assertion does. Here are a few examples of AssertJ assertions: diff --git a/src/docs/asciidoc/user-guide/assertj-db-concepts.adoc b/src/docs/asciidoc/user-guide/assertj-db-concepts.adoc index 2baed7e..4e38181 100644 --- a/src/docs/asciidoc/user-guide/assertj-db-concepts.adoc +++ b/src/docs/asciidoc/user-guide/assertj-db-concepts.adoc @@ -93,8 +93,8 @@ It's also with a `AssertDbConnection` that you can instantiate the following ele A https://www.javadoc.io/doc/org.assertj/assertj-db/latest/org/assertj/db/type/AssertDbConnection.html[AssertDbConnection] is created with the factory https://www.javadoc.io/doc/org.assertj/assertj-db/latest/org/assertj/db/type/AssertDbConnectionFactory.html[AssertDbConnectionFactory]. -There are 2 way to begin the AssertDbConnectionFactory, with a http://docs.oracle.com/javase/6/docs/api/javax/sql/DataSource.html[DataSource] ( the classic Java way -to get a http://docs.oracle.com/javase/6/docs/api/java/sql/Connection.html[Connection] to a database ) or with JDBC connection information. +There are 2 way to begin the AssertDbConnectionFactory, with a https://docs.oracle.com/javase/6/docs/api/javax/sql/DataSource.html[DataSource] ( the classic Java way +to get a https://docs.oracle.com/javase/6/docs/api/java/sql/Connection.html[Connection] to a database ) or with JDBC connection information. Below is an example of using a DataSource to connect to H2 in memory database : diff --git a/src/docs/asciidoc/user-guide/assertj-db-quickstart.adoc b/src/docs/asciidoc/user-guide/assertj-db-quickstart.adoc index 2422eb2..4c11dba 100644 --- a/src/docs/asciidoc/user-guide/assertj-db-quickstart.adoc +++ b/src/docs/asciidoc/user-guide/assertj-db-quickstart.adoc @@ -40,7 +40,7 @@ testImplementation("org.assertj:assertj-db:{assertj-db-version}") ===== Other dependency management tool -Check this page to find the relevant http://search.maven.org/#artifactdetails|org.assertj|assertj-db|3.0.1|bundle[assertj db dependency declaration]. +Check this page to find the relevant https://search.maven.org/#artifactdetails|org.assertj|assertj-db|3.0.1|bundle[assertj db dependency declaration]. ==== Statically import org.assertj.db.api.Assertions.assertThat diff --git a/src/docs/asciidoc/user-guide/assertj-guava-release-notes.adoc b/src/docs/asciidoc/user-guide/assertj-guava-release-notes.adoc index ba1b7f2..6477c73 100644 --- a/src/docs/asciidoc/user-guide/assertj-guava-release-notes.adoc +++ b/src/docs/asciidoc/user-guide/assertj-guava-release-notes.adoc @@ -1,7 +1,7 @@ [[assertj-guava-release-notes]] === Release Notes -NOTE: AssertJ Guava main documentation is still in http://joel-costigliola.github.io/assertj/assertj-guava.html until it is moved to this website. +NOTE: AssertJ Guava main documentation is still in https://joel-costigliola.github.io/assertj/assertj-guava.html until it is moved to this website. The latest release notes can be found in the https://github.com/assertj/assertj/releases[GitHub releases]. @@ -11,7 +11,7 @@ Older release notes: - link:#assertj-guava-3-4-0-release-notes[AssertJ Guava 3.4.0] - link:#assertj-guava-3-3-0-release-notes[AssertJ Guava 3.3.0] -Even older release notes can be found in the old site: http://joel-costigliola.github.io/assertj/assertj-guava.html#latest-release. +Even older release notes can be found in the old site: https://joel-costigliola.github.io/assertj/assertj-guava.html#latest-release. [[assertj-guava-3-5-0-release-notes]] ==== AssertJ Guava 3.5.0 diff --git a/src/docs/asciidoc/user-guide/assertj-joda-assertions-guide.adoc b/src/docs/asciidoc/user-guide/assertj-joda-assertions-guide.adoc index 25ba95b..e115ec6 100644 --- a/src/docs/asciidoc/user-guide/assertj-joda-assertions-guide.adoc +++ b/src/docs/asciidoc/user-guide/assertj-joda-assertions-guide.adoc @@ -3,7 +3,7 @@ This section describes the assertions provided by AssertJ Joda Time. -In addition to specific type assertions, each type inherits assertions from http://www.javadoc.io/doc/org.assertj/assertj-core/latest/org/assertj/core/api/AbstractAssert.html[`org.assertj.core.api.AbstractAssert`]. +In addition to specific type assertions, each type inherits assertions from https://www.javadoc.io/doc/org.assertj/assertj-core/latest/org/assertj/core/api/AbstractAssert.html[`org.assertj.core.api.AbstractAssert`]. ==== LocalDate @@ -89,28 +89,28 @@ In addition to specific type assertions, each type inherits assertions from http |Verifies that the actual `LocalDateTime` is strictly after the given one |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/LocalDateTimeAssert.html#isAfter-java.lang.String-[`isAfter(String localDateTimeAsString)`] -|Calls `isAfter(DateTime)` with a `LocalDateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]. +|Calls `isAfter(DateTime)` with a `LocalDateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]. |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/LocalDateTimeAssert.html#isAfterOrEqualTo-org.joda.time.LocalDateTime-[`isAfterOrEqualTo(org.joda.time.LocalDateTime other)`] |Verifies that the actual `LocalDateTime` is after or equals to the given one |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/LocalDateTimeAssert.html#isAfterOrEqualTo-java.lang.String-[`isAfterOrEqualTo(String localDateTimeAsString)`] -|Calls `isAfterOrEqualTo(DateTime)` with a `LocalDateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]. +|Calls `isAfterOrEqualTo(DateTime)` with a `LocalDateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]. |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/LocalDateTimeAssert.html#isBefore-org.joda.time.LocalDateTime-[`isBefore(org.joda.time.LocalDateTime other)`] |Verifies that the actual `LocalDateTime` is strictly before the given one |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/LocalDateTimeAssert.html#isBefore-java.lang.String-[`isBefore(String localDateTimeAsString)`] -|Calls `isBefore(DateTime)` with a `LocalDateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]. +|Calls `isBefore(DateTime)` with a `LocalDateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]. |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/LocalDateTimeAssert.html#isBeforeOrEqualTo-org.joda.time.LocalDateTime-[`isBeforeOrEqualTo(org.joda.time.LocalDateTime other)`] |Verifies that the actual `LocalDateTime` is before or equals to the given one |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/LocalDateTimeAssert.html#isBeforeOrEqualTo-java.lang.String-[`isBeforeOrEqualTo(String localDateTimeAsString)`] -|Calls `isBeforeOrEqualTo(DateTime)` with a `LocalDateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]. +|Calls `isBeforeOrEqualTo(DateTime)` with a `LocalDateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]. |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/LocalDateTimeAssert.html#isEqualTo-java.lang.String-[`isEqualTo(String localDateTimeAsString)`] -|Calls `AbstractAssert.isEqualTo(Object)` passing a `LocalDateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]. +|Calls `AbstractAssert.isEqualTo(Object)` passing a `LocalDateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format]. |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/LocalDateTimeAssert.html#isEqualToIgnoringHours-org.joda.time.LocalDateTime-[`isEqualToIgnoringHours(org.joda.time.LocalDateTime other)`] |Verifies that actual and given `LocalDateTime` have same year, month and day fields (hour, minute, second and millisecond fields are ignored in comparison) @@ -125,13 +125,13 @@ In addition to specific type assertions, each type inherits assertions from http |Verifies that actual and given `LocalDateTime` have same year, month, day, hour, minute and second fields, (millisecond fields are ignored in comparison) |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/LocalDateTimeAssert.html#isIn-java.lang.String\...-[`isIn(String... localDateTimesAsString)`] -|Calls `isIn(DateTime...)` with DateTimes built from given Strings which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format] +|Calls `isIn(DateTime...)` with DateTimes built from given Strings which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format] |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/LocalDateTimeAssert.html#isNotEqualTo-java.lang.String-[`isNotEqualTo(String localDateTimeAsString)`] -|Calls `isNotEqualTo(DateTime)` with a `LocalDateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format] +|Calls `isNotEqualTo(DateTime)` with a `LocalDateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format] |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/LocalDateTimeAssert.html#isNotIn-java.lang.String\...-[`isNotIn(String... dateTimesAsString)`] -|Calls `isNotIn(org.joda.DateTime...)` with DateTime built from the given strings which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format] +|Calls `isNotIn(org.joda.DateTime...)` with DateTime built from the given strings which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#localDateOptionalTimeParser()[ISO DateTime format] |=== @@ -167,31 +167,31 @@ In addition to specific type assertions, each type inherits assertions from http |Verifies that the actual `DateTime` is strictly after the given one |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isAfter-java.lang.String-[`isAfter(String dateTimeAsString)`] -|Calls `isAfter(DateTime)` with a `DateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]. +|Calls `isAfter(DateTime)` with a `DateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]. |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isAfterOrEqualTo-org.joda.time.DateTime-[`isAfterOrEqualTo(org.joda.time.DateTime other)`] |Verifies that the actual `DateTime` is after or equals to the given one |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isAfterOrEqualTo-java.lang.String-[`isAfterOrEqualTo(String dateTimeAsString)`] -|Calls `isAfterOrEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]. +|Calls `isAfterOrEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]. |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isBefore-org.joda.time.DateTime-[`isBefore(org.joda.time.DateTime other)`] |Verifies that the actual `DateTime` is strictly before the given one |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isBefore-java.lang.String-[`isBefore(String dateTimeAsString)`] -|Calls `isBefore(DateTime)` with a `DateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]. +|Calls `isBefore(DateTime)` with a `DateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]. |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isBeforeOrEqualTo-org.joda.time.DateTime-[`isBeforeOrEqualTo(org.joda.time.DateTime other)`] |Verifies that the actual `DateTime` is before or equals to the given one |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isBeforeOrEqualTo-java.lang.String-[`isBeforeOrEqualTo(String dateTimeAsString)`] -|Calls `isBeforeOrEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]. +|Calls `isBeforeOrEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]. |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isEqualTo-org.joda.time.DateTime-[`isEqualTo(org.joda.time.DateTime expected)`] |Verifies that the actual `DateTime` is equal to the given one in actual's DateTimeZone |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isEqualTo-java.lang.String-[`isEqualTo(String dateTimeAsString)`] -|Calls `isEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]. +|Calls `isEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format]. |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isEqualToIgnoringHours-org.joda.time.DateTime-[`isEqualToIgnoringHours(org.joda.time.DateTime other)`] |Verifies that actual and given `DateTime` have same year, month and day fields (hour, minute, second and millisecond fields are ignored in comparison) @@ -209,19 +209,19 @@ In addition to specific type assertions, each type inherits assertions from http |Verifies that the actual `DateTime` is equal to one of the given `DateTime` in the actual's DateTimeZone |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isIn-java.lang.String\...-[`isIn(String... dateTimesAsString)`] -|Calls `isIn(DateTime...)` with DateTimes built from given Strings which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format] +|Calls `isIn(DateTime...)` with DateTimes built from given Strings which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format] |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isNotEqualTo-org.joda.time.DateTime-[`isNotEqualTo(org.joda.time.DateTime expected)`] |Verifies that the actual value is not equal to the given one in actual's DateTimeZone |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isNotEqualTo-java.lang.String-[`isNotEqualTo(String dateTimeAsString)`] -|Calls `isNotEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format] +|Calls `isNotEqualTo(DateTime)` with a `DateTime` built from the given `String` which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format] |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isNotIn-org.joda.time.DateTime\...-[`isNotIn(org.joda.time.DateTime... expected)`] |Verifies that the actual `DateTime` is equal to one of the given `DateTime` in the actual's DateTimeZone |{assertj-joda-time-javadoc-root}org/assertj/jodatime/api/DateTimeAssert.html#isNotIn-java.lang.String\...-[`isNotIn(String... dateTimesAsString)`] -|Calls `isNotIn(org.joda.DateTime...)` with DateTime built from the given strings which must follow http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format] +|Calls `isNotIn(org.joda.DateTime...)` with DateTime built from the given strings which must follow https://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTimeParser()[ISO DateTime format] |===