From 24d1362fe2158887f3a0501a6354c29791d8cfe7 Mon Sep 17 00:00:00 2001 From: Matteo Baccan Date: Fri, 17 Nov 2023 20:49:58 +0100 Subject: [PATCH] Dependecy update: jacoco, mockito, maven-jxr --- .mvn/wrapper/maven-wrapper.properties | 2 +- .../org/aeonbits/owner/event/EventListenerOnReloadTest.java | 4 ++-- .../java/org/aeonbits/owner/event/EventListenerTest.java | 6 +++--- pom.xml | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index d8b2495a..eacdc9ed 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -14,5 +14,5 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.1/apache-maven-3.9.1-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar diff --git a/owner/src/test/java/org/aeonbits/owner/event/EventListenerOnReloadTest.java b/owner/src/test/java/org/aeonbits/owner/event/EventListenerOnReloadTest.java index 7197e3ea..961b8876 100644 --- a/owner/src/test/java/org/aeonbits/owner/event/EventListenerOnReloadTest.java +++ b/owner/src/test/java/org/aeonbits/owner/event/EventListenerOnReloadTest.java @@ -46,7 +46,7 @@ import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; -import static org.mockito.Mockito.verifyZeroInteractions; +import static org.mockito.Mockito.verifyNoInteractions; /** * @author Luigi R. Viggiano @@ -136,7 +136,7 @@ public void testPropertyChangeListenerOnReloadWhenRollbackOperationException() t @Test public void testPropertyChangeListenerOnReloadWhenNoChangesHaveBeenMade() throws Throwable { cfg.reload(); - verifyZeroInteractions(propertyChangeListener); + verifyNoInteractions(propertyChangeListener); } @Test diff --git a/owner/src/test/java/org/aeonbits/owner/event/EventListenerTest.java b/owner/src/test/java/org/aeonbits/owner/event/EventListenerTest.java index 4e3c2546..559b818d 100644 --- a/owner/src/test/java/org/aeonbits/owner/event/EventListenerTest.java +++ b/owner/src/test/java/org/aeonbits/owner/event/EventListenerTest.java @@ -44,7 +44,7 @@ import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.verifyZeroInteractions; +import static org.mockito.Mockito.verifyNoInteractions; /** * @author Luigi R. Viggiano @@ -101,7 +101,7 @@ public void testSetPropertyWhenValuesAreEqual() throws Throwable { cfg.setProperty("primeNumber", "13"); assertEquals("13", cfg.primeNumber()); - verifyZeroInteractions(propertyChangeListener); + verifyNoInteractions(propertyChangeListener); } @Test @@ -404,7 +404,7 @@ public void testRemovePropertyChangeListenerWithPropertyName() throws Throwable cfg.setProperty("hostname", "google.com"); cfg.setProperty("port", "22"); - verifyZeroInteractions(propertyChangeListener); + verifyNoInteractions(propertyChangeListener); } @Before diff --git a/pom.xml b/pom.xml index c4942c2f..f323a965 100644 --- a/pom.xml +++ b/pom.xml @@ -185,7 +185,7 @@ org.jacoco jacoco-maven-plugin - 0.8.8 + 0.8.11 prepare-agent @@ -225,7 +225,7 @@ org.mockito mockito-core - 2.28.2 + 4.8.1 test @@ -411,7 +411,7 @@ maven-jxr-plugin - 3.3.0 + 3.3.1 maven-changelog-plugin