Skip to content

Commit

Permalink
- Updated to latest dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jdereg committed Jun 22, 2024
1 parent 7729b35 commit 6e27775
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,23 @@
<version.junit-jupiter-api>5.10.2</version.junit-jupiter-api>
<version.junit-jupiter-params>5.10.2</version.junit-jupiter-params>
<version.mockito-junit-jupiter>4.11.0</version.mockito-junit-jupiter>
<version.assertj-core>3.25.3</version.assertj-core>
<version.json-io>4.21.0</version.json-io>
<version.agrona>1.21.1</version.agrona>
<version.assertj-core>3.26.0</version.assertj-core>
<version.json-io>4.24.0</version.json-io>
<version.agrona>1.21.2</version.agrona>

<!-- Build maven-***-plugins -->
<version.maven-jar-plugin>3.4.1</version.maven-jar-plugin>
<version.maven-jar-plugin>3.4.2</version.maven-jar-plugin>
<version.maven-gpg-plugin>3.2.4</version.maven-gpg-plugin>
<version.maven-compiler-plugin>3.13.0</version.maven-compiler-plugin>
<version.maven-javadoc-plugin>3.6.3</version.maven-javadoc-plugin>
<version.maven-surefire-plugin>3.2.5</version.maven-surefire-plugin>
<version.maven-javadoc-plugin>3.7.0</version.maven-javadoc-plugin>
<version.maven-surefire-plugin>3.3.0</version.maven-surefire-plugin>
<version.maven-source-plugin>3.3.1</version.maven-source-plugin>
<version.maven-scr-plugin>1.26.4</version.maven-scr-plugin>
<version.maven-bundle-plugin>5.1.9</version.maven-bundle-plugin>
<version.moditect-maven-plugin>1.2.1.Final</version.moditect-maven-plugin>

<!-- release to Maven Central via Sonatype Nexus -->
<version.nexus-staging-maven-plugin>1.6.13</version.nexus-staging-maven-plugin>
<version.nexus-staging-maven-plugin>1.7.0</version.nexus-staging-maven-plugin>

</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
import org.junit.jupiter.params.provider.MethodSource;

import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;

class StringConversionsTests {

Expand All @@ -35,8 +38,8 @@ public void beforeEach() {
void testClassCompliance() throws Exception {
Class<?> c = StringConversions.class;

assertThat(ClassUtilities.isClassFinal(c)).isTrue();
assertThat(ClassUtilities.areAllConstructorsPrivate(c)).isTrue();
assertTrue(ClassUtilities.isClassFinal(c));
assertTrue(ClassUtilities.areAllConstructorsPrivate(c));
}

private static Stream<Arguments> toYear_withParseableParams() {
Expand Down Expand Up @@ -66,7 +69,7 @@ private static Stream<Arguments> toYear_nullReturn() {
@MethodSource("toYear_nullReturn")
void toYear_withNullableStrings_returnsNull(String source) {
Year year = this.converter.convert(source, Year.class);
assertThat(year).isNull();
assertNull(year);
}

private static Stream<Arguments> toYear_extremeParams() {
Expand All @@ -86,7 +89,7 @@ private static Stream<Arguments> toYear_extremeParams() {
void toYear_withExtremeParams_returnsValue(String source, int value) {
Year expected = Year.of(value);
Year actual = this.converter.convert(source, Year.class);
assertThat(actual).isEqualTo(expected);
assertEquals(expected, actual);
}

private static Stream<Arguments> toCharParams() {
Expand Down

0 comments on commit 6e27775

Please sign in to comment.